{"openapi":"3.1.0","info":{"title":"AspireACE API — 100-Engine Cognitive Mesh","description":"AI-powered JEE/NEET exam preparation platform — BFF + Kernel.\n\n**107 Engines:** ENG-001..ENG-064 + ENG-CAP-001 + ENG-CONV-001 + EDU-001..EDU-039 + EDU-REV-001 + EDU-SESS-001\n**Layer 1 BFF:** /api/v1/* — frontend-friendly aggregation\n**Layer 2 Kernel:** /api/v1/kernel/* — SPRE + engine execution\n**Layer 3 SPRE:** /v1/spre/* — digital twin CRUD\n**Layer 6-8 Pipelines:** P0+P1 insights, P2 practice, P3 engagement\n**Layer 11 RAG:** VectorStore NCERT retrieval (FAISS default, Qdrant toggle)\n**Layer 12 JARVIS:** 10-stage cognitive pipeline\n","version":"3.0.0"},"paths":{"/api/ops/iam/me":{"get":{"tags":["platform-iam"],"summary":"Me","operationId":"me_api_ops_iam_me_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/iam/posture":{"get":{"tags":["platform-iam"],"summary":"Posture","operationId":"posture_api_ops_iam_posture_get","parameters":[{"name":"tenant_id","in":"query","required":false,"schema":{"type":"string","default":"platform","title":"Tenant Id"}},{"name":"environment","in":"query","required":false,"schema":{"type":"string","default":"production","title":"Environment"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/iam/identities":{"get":{"tags":["platform-iam"],"summary":"Identities","operationId":"identities_api_ops_iam_identities_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Q"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Status"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Cursor"}},{"name":"tenant_id","in":"query","required":false,"schema":{"type":"string","default":"platform","title":"Tenant Id"}},{"name":"environment","in":"query","required":false,"schema":{"type":"string","default":"production","title":"Environment"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["platform-iam"],"summary":"Create Identity","operationId":"create_identity_api_ops_iam_identities_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Approval-Receipt-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Approval-Receipt-Id"}},{"name":"X-Platform-Tenant","in":"header","required":false,"schema":{"type":"string","default":"platform","title":"X-Platform-Tenant"}},{"name":"X-Platform-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Platform-Environment"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityCreateRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/iam/identities/{identity_id}":{"get":{"tags":["platform-iam"],"summary":"Identity Detail","operationId":"identity_detail_api_ops_iam_identities__identity_id__get","parameters":[{"name":"identity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Identity Id"}},{"name":"tenant_id","in":"query","required":false,"schema":{"type":"string","default":"platform","title":"Tenant Id"}},{"name":"environment","in":"query","required":false,"schema":{"type":"string","default":"production","title":"Environment"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/iam/roles":{"get":{"tags":["platform-iam"],"summary":"Roles","operationId":"roles_api_ops_iam_roles_get","parameters":[{"name":"tenant_id","in":"query","required":false,"schema":{"type":"string","default":"platform","title":"Tenant Id"}},{"name":"environment","in":"query","required":false,"schema":{"type":"string","default":"production","title":"Environment"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["platform-iam"],"summary":"Publish Role","operationId":"publish_role_api_ops_iam_roles_post","parameters":[{"name":"X-Independent-Approver-Identity-Id","in":"header","required":true,"schema":{"type":"string","format":"uuid","title":"X-Independent-Approver-Identity-Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Approval-Receipt-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Approval-Receipt-Id"}},{"name":"X-Platform-Tenant","in":"header","required":false,"schema":{"type":"string","default":"platform","title":"X-Platform-Tenant"}},{"name":"X-Platform-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Platform-Environment"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleDefinitionCreateRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/iam/bindings/pending":{"get":{"tags":["platform-iam"],"summary":"Pending Bindings","operationId":"pending_bindings_api_ops_iam_bindings_pending_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"tenant_id","in":"query","required":false,"schema":{"type":"string","default":"platform","title":"Tenant Id"}},{"name":"environment","in":"query","required":false,"schema":{"type":"string","default":"production","title":"Environment"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/iam/access-reviews":{"get":{"tags":["platform-iam"],"summary":"Access Reviews","operationId":"access_reviews_api_ops_iam_access_reviews_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"tenant_id","in":"query","required":false,"schema":{"type":"string","default":"platform","title":"Tenant Id"}},{"name":"environment","in":"query","required":false,"schema":{"type":"string","default":"production","title":"Environment"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["platform-iam"],"summary":"Open Access Review","operationId":"open_access_review_api_ops_iam_access_reviews_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Approval-Receipt-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Approval-Receipt-Id"}},{"name":"X-Platform-Tenant","in":"header","required":false,"schema":{"type":"string","default":"platform","title":"X-Platform-Tenant"}},{"name":"X-Platform-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Platform-Environment"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessReviewCreateRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/iam/break-glass":{"get":{"tags":["platform-iam"],"summary":"Break Glass List","operationId":"break_glass_list_api_ops_iam_break_glass_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"State"}},{"name":"tenant_id","in":"query","required":false,"schema":{"type":"string","default":"platform","title":"Tenant Id"}},{"name":"environment","in":"query","required":false,"schema":{"type":"string","default":"production","title":"Environment"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["platform-iam"],"summary":"Break Glass","operationId":"break_glass_api_ops_iam_break_glass_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Platform-Tenant","in":"header","required":false,"schema":{"type":"string","default":"platform","title":"X-Platform-Tenant"}},{"name":"X-Platform-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Platform-Environment"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BreakGlassRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/iam/expiry-sweep":{"post":{"tags":["platform-iam"],"summary":"Expiry Sweep","description":"Run the bounded IAM expiry worker for an operator rehearsal/readback.","operationId":"expiry_sweep_api_ops_iam_expiry_sweep_post","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":2000,"minimum":1,"default":500,"title":"Limit"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Approval-Receipt-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Approval-Receipt-Id"}},{"name":"X-Platform-Tenant","in":"header","required":false,"schema":{"type":"string","default":"platform","title":"X-Platform-Tenant"}},{"name":"X-Platform-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Platform-Environment"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/iam/authorize":{"post":{"tags":["platform-iam"],"summary":"Authorize","operationId":"authorize_api_ops_iam_authorize_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthorizationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/iam/identities/{identity_id}/status":{"post":{"tags":["platform-iam"],"summary":"Change Identity Status","operationId":"change_identity_status_api_ops_iam_identities__identity_id__status_post","parameters":[{"name":"identity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Identity Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Approval-Receipt-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Approval-Receipt-Id"}},{"name":"X-Platform-Tenant","in":"header","required":false,"schema":{"type":"string","default":"platform","title":"X-Platform-Tenant"}},{"name":"X-Platform-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Platform-Environment"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityStatusRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/iam/bindings":{"post":{"tags":["platform-iam"],"summary":"Propose Binding","operationId":"propose_binding_api_ops_iam_bindings_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Approval-Receipt-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Approval-Receipt-Id"}},{"name":"X-Platform-Tenant","in":"header","required":false,"schema":{"type":"string","default":"platform","title":"X-Platform-Tenant"}},{"name":"X-Platform-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Platform-Environment"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleBindingCreateRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/iam/bindings/{binding_id}/approve":{"post":{"tags":["platform-iam"],"summary":"Approve Binding","operationId":"approve_binding_api_ops_iam_bindings__binding_id__approve_post","parameters":[{"name":"binding_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Binding Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Platform-Tenant","in":"header","required":false,"schema":{"type":"string","default":"platform","title":"X-Platform-Tenant"}},{"name":"X-Platform-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Platform-Environment"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BindingApprovalRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/iam/bindings/{binding_id}/revoke":{"post":{"tags":["platform-iam"],"summary":"Revoke Binding","operationId":"revoke_binding_api_ops_iam_bindings__binding_id__revoke_post","parameters":[{"name":"binding_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Binding Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Platform-Tenant","in":"header","required":false,"schema":{"type":"string","default":"platform","title":"X-Platform-Tenant"}},{"name":"X-Platform-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Platform-Environment"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExpectedVersionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/iam/sessions":{"post":{"tags":["platform-iam"],"summary":"Create Session","operationId":"create_session_api_ops_iam_sessions_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Platform-Tenant","in":"header","required":false,"schema":{"type":"string","default":"platform","title":"X-Platform-Tenant"}},{"name":"X-Platform-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Platform-Environment"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivilegedSessionCreateRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/iam/sessions/{session_id}/revoke":{"post":{"tags":["platform-iam"],"summary":"Revoke Session","operationId":"revoke_session_api_ops_iam_sessions__session_id__revoke_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Session Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Platform-Tenant","in":"header","required":false,"schema":{"type":"string","default":"platform","title":"X-Platform-Tenant"}},{"name":"X-Platform-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Platform-Environment"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExpectedVersionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/iam/service-accounts":{"post":{"tags":["platform-iam"],"summary":"Create Service Account","operationId":"create_service_account_api_ops_iam_service_accounts_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Approval-Receipt-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Approval-Receipt-Id"}},{"name":"X-Platform-Tenant","in":"header","required":false,"schema":{"type":"string","default":"platform","title":"X-Platform-Tenant"}},{"name":"X-Platform-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Platform-Environment"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceAccountCreateRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/iam/service-accounts/{service_account_id}/rotate":{"post":{"tags":["platform-iam"],"summary":"Rotate Service Account","operationId":"rotate_service_account_api_ops_iam_service_accounts__service_account_id__rotate_post","parameters":[{"name":"service_account_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Service Account Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Approval-Receipt-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Approval-Receipt-Id"}},{"name":"X-Platform-Tenant","in":"header","required":false,"schema":{"type":"string","default":"platform","title":"X-Platform-Tenant"}},{"name":"X-Platform-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Platform-Environment"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceAccountRotateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/iam/service-accounts/{service_account_id}/revoke":{"post":{"tags":["platform-iam"],"summary":"Revoke Service Account","operationId":"revoke_service_account_api_ops_iam_service_accounts__service_account_id__revoke_post","parameters":[{"name":"service_account_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Service Account Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Approval-Receipt-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Approval-Receipt-Id"}},{"name":"X-Platform-Tenant","in":"header","required":false,"schema":{"type":"string","default":"platform","title":"X-Platform-Tenant"}},{"name":"X-Platform-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Platform-Environment"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceAccountRevokeRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/iam/access-reviews/{review_id}/decisions":{"post":{"tags":["platform-iam"],"summary":"Decide Access Review","operationId":"decide_access_review_api_ops_iam_access_reviews__review_id__decisions_post","parameters":[{"name":"review_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Review Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Platform-Tenant","in":"header","required":false,"schema":{"type":"string","default":"platform","title":"X-Platform-Tenant"}},{"name":"X-Platform-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Platform-Environment"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessReviewDecisionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/shell/bootstrap":{"get":{"tags":["platform-ops-shared"],"summary":"Shell Bootstrap","operationId":"shell_bootstrap_api_ops_shell_bootstrap_get","parameters":[{"name":"active_workspace","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Active Workspace"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/workspaces":{"get":{"tags":["platform-ops-shared"],"summary":"Workspaces","operationId":"workspaces_api_ops_workspaces_get","parameters":[{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/saved-views":{"get":{"tags":["platform-ops-shared"],"summary":"Saved Views","operationId":"saved_views_api_ops_saved_views_get","parameters":[{"name":"workspace_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Workspace Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["platform-ops-shared"],"summary":"Save View","operationId":"save_view_api_ops_saved_views_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavedViewUpsert"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/context/options":{"get":{"tags":["platform-ops-shared"],"summary":"Context Options","operationId":"context_options_api_ops_context_options_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/context/validate":{"post":{"tags":["platform-ops-shared"],"summary":"Context Validate","operationId":"context_validate_api_ops_context_validate_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContextValidationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/context/snapshots":{"post":{"tags":["platform-ops-shared"],"summary":"Context Snapshot Create","operationId":"context_snapshot_create_api_ops_context_snapshots_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContextSnapshotCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/context/snapshots/{snapshot_id}":{"get":{"tags":["platform-ops-shared"],"summary":"Context Snapshot Get","operationId":"context_snapshot_get_api_ops_context_snapshots__snapshot_id__get","parameters":[{"name":"snapshot_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Snapshot Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/search/entity-types":{"get":{"tags":["platform-ops-shared"],"summary":"Search Entity Types","operationId":"search_entity_types_api_ops_search_entity_types_get","parameters":[{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/search/suggestions":{"get":{"tags":["platform-ops-shared"],"summary":"Search Suggestions","operationId":"search_suggestions_api_ops_search_suggestions_get","parameters":[{"name":"prefix","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":80,"title":"Prefix"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":20,"minimum":1,"default":10,"title":"Limit"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/search/reindex/{entity_type}":{"post":{"tags":["platform-ops-shared"],"summary":"Search Reindex","operationId":"search_reindex_api_ops_search_reindex__entity_type__post","parameters":[{"name":"entity_type","in":"path","required":true,"schema":{"type":"string","title":"Entity Type"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchReindexRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/search":{"get":{"tags":["platform-ops-shared"],"summary":"Search","operationId":"search_api_ops_search_get","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"title":"Q"}},{"name":"entity_type","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[],"title":"Entity Type"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/evidence/exports":{"post":{"tags":["platform-ops-shared"],"summary":"Evidence Export","operationId":"evidence_export_api_ops_evidence_exports_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvidenceExportRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/evidence/rebuild":{"post":{"tags":["platform-ops-shared"],"summary":"Evidence Rebuild","operationId":"evidence_rebuild_api_ops_evidence_rebuild_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvidenceRebuildRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/evidence/{entity_type}/{entity_id}":{"get":{"tags":["platform-ops-shared"],"summary":"Evidence Timeline","operationId":"evidence_timeline_api_ops_evidence__entity_type___entity_id__get","parameters":[{"name":"entity_type","in":"path","required":true,"schema":{"type":"string","title":"Entity Type"}},{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","title":"Entity Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":200,"title":"Limit"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/evidence/{evidence_ref}":{"get":{"tags":["platform-ops-shared"],"summary":"Evidence Detail","operationId":"evidence_detail_api_ops_evidence__evidence_ref__get","parameters":[{"name":"evidence_ref","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Evidence Ref"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/work-items":{"get":{"tags":["platform-ops-shared"],"summary":"Work Items","operationId":"work_items_api_ops_work_items_get","parameters":[{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"State"}},{"name":"assignee_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Assignee Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":100,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Cursor"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/work-items/{work_item_id}":{"get":{"tags":["platform-ops-shared"],"summary":"Work Item Detail","operationId":"work_item_detail_api_ops_work_items__work_item_id__get","parameters":[{"name":"work_item_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Work Item Id"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/work-items/{work_item_id}/assign":{"post":{"tags":["platform-ops-shared"],"summary":"Work Item Assign","operationId":"work_item_assign_api_ops_work_items__work_item_id__assign_post","parameters":[{"name":"work_item_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Work Item Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkAssignmentRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/work-items/{work_item_id}/transition":{"post":{"tags":["platform-ops-shared"],"summary":"Work Item Transition","operationId":"work_item_transition_api_ops_work_items__work_item_id__transition_post","parameters":[{"name":"work_item_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Work Item Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkTransitionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/work-items/{work_item_id}/priority":{"post":{"tags":["platform-ops-shared"],"summary":"Work Item Priority","operationId":"work_item_priority_api_ops_work_items__work_item_id__priority_post","parameters":[{"name":"work_item_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Work Item Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkPriorityRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/work-items/{work_item_id}/resolve":{"post":{"tags":["platform-ops-shared"],"summary":"Work Item Resolve","operationId":"work_item_resolve_api_ops_work_items__work_item_id__resolve_post","parameters":[{"name":"work_item_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Work Item Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkResolveRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/work-items/{work_item_id}/reopen":{"post":{"tags":["platform-ops-shared"],"summary":"Work Item Reopen","operationId":"work_item_reopen_api_ops_work_items__work_item_id__reopen_post","parameters":[{"name":"work_item_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Work Item Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkReopenRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/cases":{"post":{"tags":["platform-ops-shared"],"summary":"Case Create","operationId":"case_create_api_ops_cases_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/cases/{case_id}":{"get":{"tags":["platform-ops-shared"],"summary":"Case Detail","operationId":"case_detail_api_ops_cases__case_id__get","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Case Id"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/cases/{case_id}/notes":{"post":{"tags":["platform-ops-shared"],"summary":"Case Note","operationId":"case_note_api_ops_cases__case_id__notes_post","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Case Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseNoteRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/cases/{case_id}/links":{"post":{"tags":["platform-ops-shared"],"summary":"Case Link","operationId":"case_link_api_ops_cases__case_id__links_post","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Case Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseLinkRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/cases/{case_id}/communications":{"post":{"tags":["platform-ops-shared"],"summary":"Case Communication","operationId":"case_communication_api_ops_cases__case_id__communications_post","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Case Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseCommunicationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/cases/{case_id}/resolve":{"post":{"tags":["platform-ops-shared"],"summary":"Case Resolve","operationId":"case_resolve_api_ops_cases__case_id__resolve_post","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Case Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseResolveRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/cases/{case_id}/close":{"post":{"tags":["platform-ops-shared"],"summary":"Case Close","operationId":"case_close_api_ops_cases__case_id__close_post","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Case Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApprovalTransitionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/approvals":{"post":{"tags":["platform-ops-shared"],"summary":"Approval Create","operationId":"approval_create_api_ops_approvals_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApprovalCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/approvals/{approval_id}":{"get":{"tags":["platform-ops-shared"],"summary":"Approval Detail","operationId":"approval_detail_api_ops_approvals__approval_id__get","parameters":[{"name":"approval_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Approval Id"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/approvals/{approval_id}/decisions":{"post":{"tags":["platform-ops-shared"],"summary":"Approval Decision","operationId":"approval_decision_api_ops_approvals__approval_id__decisions_post","parameters":[{"name":"approval_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Approval Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApprovalDecisionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/approvals/{approval_id}/withdraw":{"post":{"tags":["platform-ops-shared"],"summary":"Approval Withdraw","operationId":"approval_withdraw_api_ops_approvals__approval_id__withdraw_post","parameters":[{"name":"approval_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Approval Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApprovalTransitionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/approvals/{approval_id}/revoke":{"post":{"tags":["platform-ops-shared"],"summary":"Approval Revoke","operationId":"approval_revoke_api_ops_approvals__approval_id__revoke_post","parameters":[{"name":"approval_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Approval Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApprovalTransitionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/approvals/{approval_id}/validate":{"post":{"tags":["platform-ops-shared"],"summary":"Approval Validate","operationId":"approval_validate_api_ops_approvals__approval_id__validate_post","parameters":[{"name":"approval_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Approval Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApprovalValidateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/receipts/verify":{"post":{"tags":["platform-ops-shared"],"summary":"Receipt Verify","operationId":"receipt_verify_api_ops_receipts_verify_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReceiptVerifyRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/receipts/{receipt_id}":{"get":{"tags":["platform-ops-shared"],"summary":"Receipt Detail","operationId":"receipt_detail_api_ops_receipts__receipt_id__get","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Receipt Id"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/entities/{entity_type}/{entity_id}/receipts":{"get":{"tags":["platform-ops-shared"],"summary":"Entity Receipts","operationId":"entity_receipts_api_ops_entities__entity_type___entity_id__receipts_get","parameters":[{"name":"entity_type","in":"path","required":true,"schema":{"type":"string","title":"Entity Type"}},{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","title":"Entity Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":100,"title":"Limit"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/incidents":{"post":{"tags":["platform-ops-shared"],"summary":"Incident Create","operationId":"incident_create_api_ops_incidents_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IncidentCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/incidents/{incident_id}":{"get":{"tags":["platform-ops-shared"],"summary":"Incident Detail","operationId":"incident_detail_api_ops_incidents__incident_id__get","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Incident Id"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/incidents/{incident_id}/timeline":{"post":{"tags":["platform-ops-shared"],"summary":"Incident Timeline Append","operationId":"incident_timeline_append_api_ops_incidents__incident_id__timeline_post","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Incident Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IncidentTimelineRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/incidents/{incident_id}/impacts":{"post":{"tags":["platform-ops-shared"],"summary":"Incident Impact","operationId":"incident_impact_api_ops_incidents__incident_id__impacts_post","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Incident Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IncidentImpactRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/incidents/{incident_id}/mitigations":{"post":{"tags":["platform-ops-shared"],"summary":"Incident Mitigation","operationId":"incident_mitigation_api_ops_incidents__incident_id__mitigations_post","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Incident Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IncidentMitigationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/incidents/{incident_id}/state":{"post":{"tags":["platform-ops-shared"],"summary":"Incident State","operationId":"incident_state_api_ops_incidents__incident_id__state_post","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Incident Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IncidentStateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/incidents/{incident_id}/communications":{"post":{"tags":["platform-ops-shared"],"summary":"Incident Communication","operationId":"incident_communication_api_ops_incidents__incident_id__communications_post","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Incident Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IncidentCommunicationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/incidents/{incident_id}/postmortem":{"post":{"tags":["platform-ops-shared"],"summary":"Incident Postmortem","operationId":"incident_postmortem_api_ops_incidents__incident_id__postmortem_post","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Incident Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IncidentPostmortemRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/changes":{"post":{"tags":["platform-ops-shared"],"summary":"Change Create","operationId":"change_create_api_ops_changes_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangeCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/changes/{change_id}":{"get":{"tags":["platform-ops-shared"],"summary":"Change Detail","operationId":"change_detail_api_ops_changes__change_id__get","parameters":[{"name":"change_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Change Id"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/changes/{change_id}/assess":{"post":{"tags":["platform-ops-shared"],"summary":"Change Assess","operationId":"change_assess_api_ops_changes__change_id__assess_post","parameters":[{"name":"change_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Change Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangeAssessRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/changes/{change_id}/request-approval":{"post":{"tags":["platform-ops-shared"],"summary":"Change Request Approval","operationId":"change_request_approval_api_ops_changes__change_id__request_approval_post","parameters":[{"name":"change_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Change Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangeApprovalRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/changes/{change_id}/execute":{"post":{"tags":["platform-ops-shared"],"summary":"Change Execute","operationId":"change_execute_api_ops_changes__change_id__execute_post","parameters":[{"name":"change_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Change Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangeExecuteRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/changes/{change_id}/readback":{"post":{"tags":["platform-ops-shared"],"summary":"Change Readback","operationId":"change_readback_api_ops_changes__change_id__readback_post","parameters":[{"name":"change_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Change Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangeReadbackRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/changes/{change_id}/rollback":{"post":{"tags":["platform-ops-shared"],"summary":"Change Rollback","operationId":"change_rollback_api_ops_changes__change_id__rollback_post","parameters":[{"name":"change_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Change Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangeRollbackRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/telemetry/health":{"get":{"tags":["platform-telemetry"],"summary":"Semantic Health","operationId":"semantic_health_api_ops_telemetry_health_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Semantic Health Api Ops Telemetry Health Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/telemetry/metrics":{"get":{"tags":["platform-telemetry"],"summary":"Metrics","operationId":"metrics_api_ops_telemetry_metrics_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","maxLength":160,"default":"","title":"Q"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Metrics Api Ops Telemetry Metrics Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/telemetry/events":{"get":{"tags":["platform-telemetry"],"summary":"Events","operationId":"events_api_ops_telemetry_events_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","maxLength":160,"default":"","title":"Q"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Events Api Ops Telemetry Events Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/telemetry/bindings":{"get":{"tags":["platform-telemetry"],"summary":"Dashboard Bindings","operationId":"dashboard_bindings_api_ops_telemetry_bindings_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Dashboard Bindings Api Ops Telemetry Bindings Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/telemetry/definitions/{definition_id}":{"get":{"tags":["platform-telemetry"],"summary":"Definition Detail","operationId":"definition_detail_api_ops_telemetry_definitions__definition_id__get","parameters":[{"name":"definition_id","in":"path","required":true,"schema":{"type":"string","title":"Definition Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Definition Detail Api Ops Telemetry Definitions  Definition Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/telemetry/definitions":{"post":{"tags":["platform-telemetry"],"summary":"Propose Definition","operationId":"propose_definition_api_ops_telemetry_definitions_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefinitionCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Propose Definition Api Ops Telemetry Definitions Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/telemetry/definitions/{definition_id}/publish":{"post":{"tags":["platform-telemetry"],"summary":"Publish Definition","operationId":"publish_definition_api_ops_telemetry_definitions__definition_id__publish_post","parameters":[{"name":"definition_id","in":"path","required":true,"schema":{"type":"string","title":"Definition Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefinitionPublishRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Publish Definition Api Ops Telemetry Definitions  Definition Id  Publish Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/telemetry/validate":{"post":{"tags":["platform-telemetry"],"summary":"Validate Semantics","operationId":"validate_semantics_api_ops_telemetry_validate_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Validate Semantics Api Ops Telemetry Validate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/telemetry/query":{"get":{"tags":["platform-telemetry"],"summary":"Query Semantics","operationId":"query_semantics_api_ops_telemetry_query_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","maxLength":160,"default":"","title":"Q"}},{"name":"semantic_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Semantic Type"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Query Semantics Api Ops Telemetry Query Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/capabilities/graph":{"get":{"tags":["capability-readiness"],"summary":"Readiness Graph","operationId":"readiness_graph_api_ops_capabilities_graph_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Q"}},{"name":"domain_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Domain Id"}},{"name":"readiness_state","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Readiness State"}},{"name":"active_work_only","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Active Work Only"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/capabilities/{capability_id}":{"get":{"tags":["capability-readiness"],"summary":"Readiness Capability","operationId":"readiness_capability_api_ops_capabilities__capability_id__get","parameters":[{"name":"capability_id","in":"path","required":true,"schema":{"type":"string","title":"Capability Id"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/readiness/evidence":{"get":{"tags":["readiness-evidence"],"summary":"Readiness Evidence Intake","operationId":"readiness_evidence_intake_api_ops_readiness_evidence_get","parameters":[{"name":"capability_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"Capability Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":80,"title":"Limit"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["readiness-evidence"],"summary":"Readiness Evidence Submit","operationId":"readiness_evidence_submit_api_ops_readiness_evidence_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReadinessEvidenceSubmit"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/readiness/evidence/{receipt_id}/verify":{"post":{"tags":["readiness-evidence"],"summary":"Readiness Evidence Verify","operationId":"readiness_evidence_verify_api_ops_readiness_evidence__receipt_id__verify_post","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Receipt Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReadinessEvidenceVerify"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/executive/command":{"get":{"tags":["platform-management"],"summary":"Executive Command","operationId":"executive_command_api_ops_executive_command_get","parameters":[{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/executive/decisions":{"get":{"tags":["platform-management"],"summary":"Executive Decisions","operationId":"executive_decisions_api_ops_executive_decisions_get","parameters":[{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["platform-management"],"summary":"Executive Decision Create","operationId":"executive_decision_create_api_ops_executive_decisions_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecutiveDecisionCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/executive/decisions/{decision_id}/decision":{"post":{"tags":["platform-management"],"summary":"Executive Decision Record","operationId":"executive_decision_record_api_ops_executive_decisions__decision_id__decision_post","parameters":[{"name":"decision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Decision Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecutiveDecisionRecord"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/executive/portfolio":{"get":{"tags":["platform-management"],"summary":"Executive Portfolio","operationId":"executive_portfolio_api_ops_executive_portfolio_get","parameters":[{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/executive/portfolio/{bet_id}/decision":{"post":{"tags":["platform-management"],"summary":"Executive Portfolio Decision","operationId":"executive_portfolio_decision_api_ops_executive_portfolio__bet_id__decision_post","parameters":[{"name":"bet_id","in":"path","required":true,"schema":{"type":"string","title":"Bet Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PortfolioDecision"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/executive/risk":{"get":{"tags":["platform-management"],"summary":"Executive Risk","operationId":"executive_risk_api_ops_executive_risk_get","parameters":[{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/executive/risks/{risk_id}/accept":{"post":{"tags":["platform-management"],"summary":"Executive Risk Accept","operationId":"executive_risk_accept_api_ops_executive_risks__risk_id__accept_post","parameters":[{"name":"risk_id","in":"path","required":true,"schema":{"type":"string","title":"Risk Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RiskAcceptance"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/program/programmes":{"get":{"tags":["platform-management"],"summary":"Programmes","operationId":"programmes_api_ops_program_programmes_get","parameters":[{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["platform-management"],"summary":"Programme Create","operationId":"programme_create_api_ops_program_programmes_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProgrammeCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/program/programmes/{programme_id}":{"get":{"tags":["platform-management"],"summary":"Programme Detail","operationId":"programme_detail_api_ops_program_programmes__programme_id__get","parameters":[{"name":"programme_id","in":"path","required":true,"schema":{"type":"string","title":"Programme Id"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/program/programmes/{programme_id}/state":{"post":{"tags":["platform-management"],"summary":"Programme State","operationId":"programme_state_api_ops_program_programmes__programme_id__state_post","parameters":[{"name":"programme_id","in":"path","required":true,"schema":{"type":"string","title":"Programme Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProgrammeStateChange"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/program/milestones":{"post":{"tags":["platform-management"],"summary":"Milestone Upsert","operationId":"milestone_upsert_api_ops_program_milestones_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MilestoneUpsert"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/program/dependencies":{"post":{"tags":["platform-management"],"summary":"Dependency Create","operationId":"dependency_create_api_ops_program_dependencies_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DependencyCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/program/proof-transitions":{"post":{"tags":["platform-management"],"summary":"Proof Transition","operationId":"proof_transition_api_ops_program_proof_transitions_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProofTransition"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/program/blockers/{blocker_id}/escalate":{"post":{"tags":["platform-management"],"summary":"Blocker Escalate","operationId":"blocker_escalate_api_ops_program_blockers__blocker_id__escalate_post","parameters":[{"name":"blocker_id","in":"path","required":true,"schema":{"type":"string","title":"Blocker Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlockerEscalation"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/program/capacity":{"get":{"tags":["platform-management"],"summary":"Programme Capacity","operationId":"programme_capacity_api_ops_program_capacity_get","parameters":[{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/program/handoffs":{"get":{"tags":["platform-management"],"summary":"Programme Handoffs","operationId":"programme_handoffs_api_ops_program_handoffs_get","parameters":[{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/product/command":{"get":{"tags":["platform-management"],"summary":"Product Command","operationId":"product_command_api_ops_product_command_get","parameters":[{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/product/rollouts":{"get":{"tags":["platform-management"],"summary":"Product Rollouts","operationId":"product_rollouts_api_ops_product_rollouts_get","parameters":[{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["platform-management"],"summary":"Product Rollout Create","operationId":"product_rollout_create_api_ops_product_rollouts_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RolloutCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/product/rollouts/{rollout_id}/hold":{"post":{"tags":["platform-management"],"summary":"Product Rollout Hold","operationId":"product_rollout_hold_api_ops_product_rollouts__rollout_id__hold_post","parameters":[{"name":"rollout_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Rollout Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RolloutHold"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/product/experiments":{"get":{"tags":["platform-management"],"summary":"Product Experiments","operationId":"product_experiments_api_ops_product_experiments_get","parameters":[{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["platform-management"],"summary":"Product Experiment Create","operationId":"product_experiment_create_api_ops_product_experiments_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExperimentCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/product/experiments/{experiment_id}/decision":{"post":{"tags":["platform-management"],"summary":"Product Experiment Decision","operationId":"product_experiment_decision_api_ops_product_experiments__experiment_id__decision_post","parameters":[{"name":"experiment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Experiment Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExperimentDecision"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/product/journeys":{"get":{"tags":["platform-management"],"summary":"Product Journeys","operationId":"product_journeys_api_ops_product_journeys_get","parameters":[{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/product/packs":{"get":{"tags":["platform-management"],"summary":"Product Packs","operationId":"product_packs_api_ops_product_packs_get","parameters":[{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/product/packs/{pack_id}":{"get":{"tags":["platform-management"],"summary":"Product Pack","operationId":"product_pack_api_ops_product_packs__pack_id__get","parameters":[{"name":"pack_id","in":"path","required":true,"schema":{"type":"string","title":"Pack Id"}},{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/product/feedback":{"get":{"tags":["platform-management"],"summary":"Product Feedback","operationId":"product_feedback_api_ops_product_feedback_get","parameters":[{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/product/economics":{"get":{"tags":["platform-management"],"summary":"Product Economics","operationId":"product_economics_api_ops_product_economics_get","parameters":[{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/internal/receipts":{"post":{"tags":["platform-ops-internal"],"summary":"Internal Receipt Issue","operationId":"internal_receipt_issue_api_internal_receipts_post","parameters":[{"name":"X-Environment","in":"header","required":false,"schema":{"type":"string","default":"production","title":"X-Environment"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string","title":"X-Tenant-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReceiptIssueRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/ops/privacy/revocation-verifications/{work_id}/recover":{"post":{"tags":["Privacy recovery"],"summary":"Recover Verification Work","operationId":"recover_verification_work_api_ops_privacy_revocation_verifications__work_id__recover_post","parameters":[{"name":"work_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Work Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":180,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerificationRecoveryRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Recover Verification Work Api Ops Privacy Revocation Verifications  Work Id  Recover Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/contracts/health":{"get":{"tags":["shared-contracts"],"summary":"Contract Health","operationId":"contract_health_internal_v1_contracts_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Contract Health Internal V1 Contracts Health Get"}}}}}}},"/internal/v1/contracts/{contract_id}":{"get":{"tags":["shared-contracts"],"summary":"Get Contract","operationId":"get_contract_internal_v1_contracts__contract_id__get","parameters":[{"name":"contract_id","in":"path","required":true,"schema":{"type":"string","title":"Contract Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Contract Internal V1 Contracts  Contract Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/commands/{scope}/{key}":{"get":{"tags":["shared-custody"],"summary":"Get Command Receipt","operationId":"get_command_receipt_internal_v1_commands__scope___key__get","parameters":[{"name":"scope","in":"path","required":true,"schema":{"type":"string","title":"Scope"}},{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommandReceipt"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/learning-truths":{"post":{"tags":["learning-truth-spine"],"summary":"Register Learning Truth","operationId":"register_learning_truth_internal_v1_learning_truths_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"title":"Idempotency-Key"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LearningTruthCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Register Learning Truth Internal V1 Learning Truths Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/learning-truths/{truth_id}":{"get":{"tags":["learning-truth-spine"],"summary":"Read Learning Truth","operationId":"read_learning_truth_internal_v1_learning_truths__truth_id__get","parameters":[{"name":"truth_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Truth Id"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Learning Truth Internal V1 Learning Truths  Truth Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/corrections":{"post":{"tags":["learning-truth-spine"],"summary":"Start Correction","operationId":"start_correction_internal_v1_corrections_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"title":"Idempotency-Key"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CorrectionStartCommand"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Start Correction Internal V1 Corrections Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/corrections/{correction_id}/acks":{"post":{"tags":["learning-truth-spine"],"summary":"Acknowledge Correction","operationId":"acknowledge_correction_internal_v1_corrections__correction_id__acks_post","parameters":[{"name":"correction_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Correction Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"title":"Idempotency-Key"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CorrectionAckCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Acknowledge Correction Internal V1 Corrections  Correction Id  Acks Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/corrections/{correction_id}":{"get":{"tags":["learning-truth-spine"],"summary":"Read Correction","operationId":"read_correction_internal_v1_corrections__correction_id__get","parameters":[{"name":"correction_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Correction Id"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Correction Internal V1 Corrections  Correction Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/learning-truths/{truth_id}/parent-projections":{"post":{"tags":["learning-truth-spine"],"summary":"Link Parent Projection","operationId":"link_parent_projection_internal_v1_learning_truths__truth_id__parent_projections_post","parameters":[{"name":"truth_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Truth Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"title":"Idempotency-Key"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ParentProjectionLinkCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Link Parent Projection Internal V1 Learning Truths  Truth Id  Parent Projections Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/learning-truths/{truth_id}/proofs":{"post":{"tags":["learning-truth-spine"],"summary":"Compile Golden Chain","operationId":"compile_golden_chain_internal_v1_learning_truths__truth_id__proofs_post","parameters":[{"name":"truth_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Truth Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"title":"Idempotency-Key"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoldenChainCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Compile Golden Chain Internal V1 Learning Truths  Truth Id  Proofs Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/product-threads":{"post":{"tags":["product-thread-exact-return"],"summary":"Launch Product Thread","operationId":"launch_product_thread_api_v1_product_threads_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThreadLaunchCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Launch Product Thread Api V1 Product Threads Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["app-wide-os-v3"],"summary":"Get Product Threads","operationId":"get_product_threads_api_v1_product_threads_get","parameters":[{"name":"product_id","in":"query","required":true,"schema":{"type":"string","minLength":1,"title":"Product Id"}},{"name":"context","in":"query","required":false,"schema":{"type":"string","default":"grade_result","title":"Context"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Product Threads Api V1 Product Threads Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/product-threads/{thread_id}":{"get":{"tags":["product-thread-exact-return"],"summary":"Read Product Thread","operationId":"read_product_thread_api_v1_product_threads__thread_id__get","parameters":[{"name":"thread_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Thread Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Product Thread Api V1 Product Threads  Thread Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/product-threads/{thread_id}/use":{"post":{"tags":["product-thread-exact-return"],"summary":"Record Product Use","operationId":"record_product_use_api_v1_product_threads__thread_id__use_post","parameters":[{"name":"thread_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Thread Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThreadUseCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Record Product Use Api V1 Product Threads  Thread Id  Use Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/product-threads/{thread_id}/return":{"post":{"tags":["product-thread-exact-return"],"summary":"Return Product Thread","operationId":"return_product_thread_api_v1_product_threads__thread_id__return_post","parameters":[{"name":"thread_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Thread Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThreadReturnCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Return Product Thread Api V1 Product Threads  Thread Id  Return Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/product-threads/{thread_id}/resume":{"get":{"tags":["product-thread-exact-return"],"summary":"Resume Product Thread","operationId":"resume_product_thread_api_v1_product_threads__thread_id__resume_get","parameters":[{"name":"thread_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Thread Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Resume Product Thread Api V1 Product Threads  Thread Id  Resume Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/spine/integrations/{integration_id}/receipts":{"post":{"tags":["spine-accepted-contract-integration"],"summary":"Record Integration Receipt","operationId":"record_integration_receipt_internal_v1_spine_integrations__integration_id__receipts_post","parameters":[{"name":"integration_id","in":"path","required":true,"schema":{"enum":["SPINE-INT-01","SPINE-INT-02","SPINE-INT-03","SPINE-INT-04","SPINE-INT-05"],"type":"string","title":"Integration Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"title":"Idempotency-Key"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpineIntegrationReceiptCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpineIntegrationReceipt"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/spine/integrations/health":{"get":{"tags":["spine-accepted-contract-integration"],"summary":"Integration Health","operationId":"integration_health_internal_v1_spine_integrations_health_get","parameters":[{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Integration Health Internal V1 Spine Integrations Health Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/spine/integrations/products/{product_id}":{"get":{"tags":["spine-accepted-contract-integration"],"summary":"Product Readiness","operationId":"product_readiness_internal_v1_spine_integrations_products__product_id__get","parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"string","title":"Product Id"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpineProductReadinessDecision"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/spine/integrations/products/{product_id}/runtime-flags":{"get":{"tags":["spine-accepted-contract-integration"],"summary":"Runtime Flags","operationId":"runtime_flags_internal_v1_spine_integrations_products__product_id__runtime_flags_get","parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"string","title":"Product Id"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpineRuntimeFlagProjection"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/spine/release-authorizations":{"post":{"tags":["spine-accepted-contract-integration"],"summary":"Record Release Authorization","operationId":"record_release_authorization_internal_v1_spine_release_authorizations_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"title":"Idempotency-Key"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpineReleaseAuthorizationCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpineReleaseAuthorization"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/cross-pack/runs":{"post":{"tags":["cross-pack-convergence"],"summary":"Create Run","operationId":"create_run_internal_v1_cross_pack_runs_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"title":"Idempotency-Key"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConvergenceCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrossPackConvergenceReceipt"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/cross-pack/runs/{run_id}":{"get":{"tags":["cross-pack-convergence"],"summary":"Read Run","operationId":"read_run_internal_v1_cross_pack_runs__run_id__get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrossPackConvergenceReceipt"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/cross-pack/routes/resolve":{"post":{"tags":["cross-pack-convergence"],"summary":"Route Resolution","operationId":"route_resolution_internal_v1_cross_pack_routes_resolve_post","parameters":[{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/cross_pack_convergence__models__RouteRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/cross-pack/handoffs/evaluate":{"post":{"tags":["cross-pack-convergence"],"summary":"Handoff Evaluation","operationId":"handoff_evaluation_internal_v1_cross_pack_handoffs_evaluate_post","parameters":[{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_handoff_evaluation_internal_v1_cross_pack_handoffs_evaluate_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/practice/surface":{"get":{"tags":["pracimp-pr03-practice-convergence"],"summary":"Get Surface","operationId":"get_surface_api_v1_practice_surface_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Surface Api V1 Practice Surface Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/practice/surface/receipts":{"post":{"tags":["pracimp-pr03-practice-convergence"],"summary":"Create Surface Receipt","operationId":"create_surface_receipt_api_v1_practice_surface_receipts_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectionReceiptCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Surface Receipt Api V1 Practice Surface Receipts Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/practice/telemetry":{"post":{"tags":["pracimp-pr03-practice-convergence"],"summary":"Create Telemetry Receipt","operationId":"create_telemetry_receipt_api_v1_practice_telemetry_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/practice_convergence_models__TelemetryCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Telemetry Receipt Api V1 Practice Telemetry Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/practice/handoffs/resolve":{"post":{"tags":["pracimp-pr03-practice-convergence"],"summary":"Create Handoff Receipt","operationId":"create_handoff_receipt_api_v1_practice_handoffs_resolve_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HandoffCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Handoff Receipt Api V1 Practice Handoffs Resolve Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/practice/surface/readback":{"get":{"tags":["pracimp-pr03-internal"],"summary":"Internal Readback","operationId":"internal_readback_internal_v1_practice_surface_readback_get","parameters":[{"name":"owner_id","in":"query","required":true,"schema":{"type":"string","title":"Owner Id"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Internal Readback Internal V1 Practice Surface Readback Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/dpp/sessions/{session_id}/continuity":{"get":{"tags":["pracimp-pr01-dpp-authority"],"summary":"Get Dpp Continuity","description":"Source preference metadata, with packet only under its current grant.","operationId":"get_dpp_continuity_api_v1_dpp_sessions__session_id__continuity_get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Dpp Continuity Api V1 Dpp Sessions  Session Id  Continuity Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["pracimp-pr01-dpp-authority"],"summary":"Update Dpp Continuity","description":"Withdraw/restore the source summary without altering submitted answers.","operationId":"update_dpp_continuity_api_v1_dpp_sessions__session_id__continuity_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DppContinuityPreference"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Update Dpp Continuity Api V1 Dpp Sessions  Session Id  Continuity Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/dpp/today":{"get":{"tags":["pracimp-pr01-dpp-authority"],"summary":"Get Today Dpp","operationId":"get_today_dpp_api_v1_dpp_today_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Today Dpp Api V1 Dpp Today Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/dpp/sessions":{"post":{"tags":["pracimp-pr01-dpp-authority"],"summary":"Create Dpp Session","operationId":"create_dpp_session_api_v1_dpp_sessions_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDppSessionRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Dpp Session Api V1 Dpp Sessions Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/dpp/sessions/{session_id}":{"get":{"tags":["pracimp-pr01-dpp-authority"],"summary":"Get Dpp Session","operationId":"get_dpp_session_api_v1_dpp_sessions__session_id__get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Dpp Session Api V1 Dpp Sessions  Session Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/dpp/sessions/{session_id}/completions/{completion_id}/versions/{completion_version}":{"get":{"tags":["pracimp-pr01-dpp-authority"],"summary":"Get Current Dpp Completion Revision","description":"Return minimal metadata for one exact, still-current completion receipt.","operationId":"get_current_dpp_completion_revision_api_v1_dpp_sessions__session_id__completions__completion_id__versions__completion_version__get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"completion_id","in":"path","required":true,"schema":{"type":"string","title":"Completion Id"}},{"name":"completion_version","in":"path","required":true,"schema":{"type":"integer","title":"Completion Version"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Current Dpp Completion Revision Api V1 Dpp Sessions  Session Id  Completions  Completion Id  Versions  Completion Version  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/dpp/sessions/{session_id}/repairs":{"get":{"tags":["pracimp-pr01-dpp-authority"],"summary":"Get Dpp Repairs","description":"Own-account, current-completion OS07 source readback; no repair writer.","operationId":"get_dpp_repairs_api_v1_dpp_sessions__session_id__repairs_get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Dpp Repairs Api V1 Dpp Sessions  Session Id  Repairs Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/dpp/sessions/{session_id}/review":{"get":{"tags":["pracimp-pr01-dpp-authority"],"summary":"Review Dpp Session","description":"Every answered question of the student's own set with right/wrong, the correct answer and a\nshort explanation (Track J). Owner only; read-only.","operationId":"review_dpp_session_api_v1_dpp_sessions__session_id__review_get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Review Dpp Session Api V1 Dpp Sessions  Session Id  Review Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/dpp/sessions/{session_id}/answers":{"post":{"tags":["pracimp-pr01-dpp-authority"],"summary":"Give Dpp Answer","operationId":"give_dpp_answer_api_v1_dpp_sessions__session_id__answers_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GiveAnswerRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Give Dpp Answer Api V1 Dpp Sessions  Session Id  Answers Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/dpp/sessions/{session_id}/answers/replay":{"post":{"tags":["pracimp-pr01-dpp-authority"],"summary":"Replay Dpp Answers","operationId":"replay_dpp_answers_api_v1_dpp_sessions__session_id__answers_replay_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReplayAnswersRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Replay Dpp Answers Api V1 Dpp Sessions  Session Id  Answers Replay Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/dpp/sessions/{session_id}/complete":{"post":{"tags":["pracimp-pr01-dpp-authority"],"summary":"Complete Dpp","operationId":"complete_dpp_api_v1_dpp_sessions__session_id__complete_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompleteDppRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Complete Dpp Api V1 Dpp Sessions  Session Id  Complete Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/practice/dpp/sessions/{session_id}/corrections":{"post":{"tags":["pracimp-pr01-internal"],"summary":"Correct Dpp Session","operationId":"correct_dpp_session_internal_v1_practice_dpp_sessions__session_id__corrections_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/practice_dpp_routes_common__CorrectionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Correct Dpp Session Internal V1 Practice Dpp Sessions  Session Id  Corrections Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/practice/dpp/sessions/{session_id}/readback":{"get":{"tags":["pracimp-pr01-internal"],"summary":"Readback Dpp Session","operationId":"readback_dpp_session_internal_v1_practice_dpp_sessions__session_id__readback_get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Readback Dpp Session Internal V1 Practice Dpp Sessions  Session Id  Readback Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/dpp/start":{"post":{"tags":["dpp"],"summary":"Start Dpp","description":"Start a new DPP session — returns adaptive questions.\n\nTier 0: ENG-010 (Question Bank Engine, IRT-aware) via the in-process\ndispatcher. Falls through to the legacy `ORDER BY RANDOM()` SELECT on\nNone — matches the contract used by `dpp_block_routes._pick_questions`.\n\nFix for T3 SCEN-004 (D-033, 2026-05-22): pre-fix this route was a pure\nDB SELECT — no engine dispatch, so no `engine_call_log` row was ever\nwritten and the scenario's `assert engine fired under trace_id` step\ntimed out. ENG-010 dispatch closes the gap and gives every DPP start\nreal IRT-ordered items on seeded subjects.","operationId":"start_dpp_api_v1_dpp_start_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/api_bff_routes__DPPStartRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/dpp/answer":{"post":{"tags":["dpp-practice"],"summary":"Submit Dpp Answer","description":"Submit a single DPP answer. Called per-question during session.\nIdempotent — safe to retry from offline queue.","operationId":"submit_dpp_answer_api_v1_dpp_answer_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DPPAnswerSubmit"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/dpp/complete":{"post":{"tags":["dpp-practice"],"summary":"Complete Dpp Session","description":"Mark DPP session complete. Triggers SPRE update + streak check.","operationId":"complete_dpp_session_api_v1_dpp_complete_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DPPSessionComplete"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/dpp/submit":{"post":{"tags":["dpp"],"summary":"Submit Dpp Response","description":"Submit answer for one DPP question.\n\nExpected body:\n  session_id, student_id, item_id (or question_id), answer, time_taken_seconds?\n\nBehavior:\n  1. Look up the cached correct-answer for this item (set by /dpp/generate).\n  2. Insert dpp_responses row with is_correct + response_time_ms.\n  3. Try DAG pipeline P-044 (theta update + directive) when flag is on;\n     fall back to a simple acknowledgement otherwise.","operationId":"submit_dpp_response_api_v1_dpp_submit_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/dpp/pack/{student_id}":{"get":{"tags":["dpp-practice"],"summary":"Get Offline Dpp Pack","operationId":"get_offline_dpp_pack_api_v1_dpp_pack__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"Physics","title":"Subject"}},{"name":"question_count","in":"query","required":false,"schema":{"type":"integer","maximum":30,"minimum":3,"default":10,"title":"Question Count"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/dpp/feedback/{session_id}":{"get":{"tags":["dpp"],"summary":"Get Dpp Feedback","description":"Post-DPP feedback: per-question results + recommendations.","operationId":"get_dpp_feedback_api_v1_dpp_feedback__session_id__get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sync/practice/status/{student_id}":{"get":{"tags":["sync-practice"],"summary":"Get Sync Status","description":"Offline sync queue status — pending uploads, recent syncs, conflicts.","operationId":"p2_sync_get_status","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sync/practice/push":{"post":{"tags":["sync-practice"],"summary":"Sync Push","description":"Push offline events to server. CRDT merge rules applied.\nStudent answers → CLIENT WINS. Idempotent.","operationId":"p2_sync_push","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SyncPushRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sync/practice/pull/{student_id}":{"get":{"tags":["sync-practice"],"summary":"Sync Pull","description":"Pull server-side changes since last sync. For offline cache refresh.","operationId":"sync_pull_api_v1_sync_practice_pull__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"last_sync_ts","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Sync Ts"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/test/papers":{"get":{"tags":["test"],"summary":"Get Mock Papers","description":"Return durable mock_papers rows; falls back to generated catalog entries.","operationId":"get_mock_papers_api_v1_test_papers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/test/sessions":{"post":{"tags":["mockimp-pr01-mock-authority","mockimp-pr01-catalogue-start"],"summary":"Start Mock Session","operationId":"start_mock_session_api_v1_test_sessions_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MockSessionStartCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Start Mock Session Api V1 Test Sessions Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/test/sessions/{session_id}/answers":{"post":{"tags":["mockimp-pr01-mock-authority","mockimp-pr01-attempt-custody"],"summary":"Persist Mock Answer","operationId":"persist_mock_answer_api_v1_test_sessions__session_id__answers_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MockAnswerCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Persist Mock Answer Api V1 Test Sessions  Session Id  Answers Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/test/sessions/{session_id}":{"get":{"tags":["mockimp-pr01-mock-authority","mockimp-pr01-attempt-custody"],"summary":"Get Mock Session","operationId":"get_mock_session_api_v1_test_sessions__session_id__get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Mock Session Api V1 Test Sessions  Session Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/test/sessions/{session_id}/clock":{"get":{"tags":["mockimp-pr01-mock-authority","mockimp-pr01-attempt-custody"],"summary":"Get Mock Clock","operationId":"get_mock_clock_api_v1_test_sessions__session_id__clock_get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Mock Clock Api V1 Test Sessions  Session Id  Clock Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/test/sessions/{session_id}/submit":{"post":{"tags":["mockimp-pr01-mock-authority","mockimp-pr01-submit-score"],"summary":"Submit Mock Session","operationId":"submit_mock_session_api_v1_test_sessions__session_id__submit_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MockSubmitCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Submit Mock Session Api V1 Test Sessions  Session Id  Submit Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/test/sessions/{session_id}/self-marking":{"get":{"tags":["mockimp-pr01-mock-authority","mock-self-marking"],"summary":"Get Self Marking","operationId":"get_self_marking_api_v1_test_sessions__session_id__self_marking_get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Self Marking Api V1 Test Sessions  Session Id  Self Marking Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/test/sessions/{session_id}/self-marks":{"post":{"tags":["mockimp-pr01-mock-authority","mock-self-marking"],"summary":"Post Self Marks","operationId":"post_self_marks_api_v1_test_sessions__session_id__self_marks_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MockSelfMarksCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Post Self Marks Api V1 Test Sessions  Session Id  Self Marks Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/test/sessions/{session_id}/ai-marking":{"post":{"tags":["mockimp-pr01-mock-authority","mock-cbse-ai-marking"],"summary":"Post Ai Marking","operationId":"post_ai_marking_api_v1_test_sessions__session_id__ai_marking_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MockAiMarkingRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Post Ai Marking Api V1 Test Sessions  Session Id  Ai Marking Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mock/{session_id}/result":{"get":{"tags":["mockimp-pr01-mock-authority","mockimp-pr01-result-review"],"summary":"Get Mock Result","operationId":"get_mock_result_api_v1_mock__session_id__result_get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Mock Result Api V1 Mock  Session Id  Result Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mock/{session_id}/results/{score_id}":{"get":{"tags":["mockimp-pr01-mock-authority","mockimp-pr01-result-review"],"summary":"Get Acknowledged Mock Score Revision","description":"Hydrate the exact released score revision named by a learner receipt.\n\nThis route is intentionally receipt-bound: an owner may open only a score\nrevision with its exact existing RECEIVED row. A newer score never\nsubstitutes for the requested revision, and an unreleased/revoked score is\nnot rendered as a result.","operationId":"get_acknowledged_mock_score_revision_api_v1_mock__session_id__results__score_id__get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"score_id","in":"path","required":true,"schema":{"type":"string","title":"Score Id"}},{"name":"score_version","in":"query","required":true,"schema":{"type":"integer","title":"Score Version"}},{"name":"acknowledgement_id","in":"query","required":true,"schema":{"type":"string","title":"Acknowledgement Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Acknowledged Mock Score Revision Api V1 Mock  Session Id  Results  Score Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mock/{session_id}/review":{"get":{"tags":["mockimp-pr01-mock-authority","mockimp-pr01-result-review"],"summary":"Get Mock Review","operationId":"get_mock_review_api_v1_mock__session_id__review_get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Mock Review Api V1 Mock  Session Id  Review Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mock/imports":{"post":{"tags":["mockimp-pr01-mock-authority","mockimp-pr01-result-review"],"summary":"Import External Mock","operationId":"import_external_mock_api_v1_mock_imports_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MockExternalImportCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Import External Mock Api V1 Mock Imports Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mock/{session_id}/clarifications":{"get":{"tags":["mockimp-pr01-mock-authority","mockimp-pr01-clarification-receipts"],"summary":"List Clarifications","operationId":"list_clarifications_api_v1_mock__session_id__clarifications_get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Clarifications Api V1 Mock  Session Id  Clarifications Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mock/clarifications/{clarification_id}/responses":{"post":{"tags":["mockimp-pr01-mock-authority","mockimp-pr01-clarification-receipts"],"summary":"Respond To Clarification","operationId":"respond_to_clarification_api_v1_mock_clarifications__clarification_id__responses_post","parameters":[{"name":"clarification_id","in":"path","required":true,"schema":{"type":"string","title":"Clarification Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/mock_clarification__models__ClarificationResponse"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Respond To Clarification Api V1 Mock Clarifications  Clarification Id  Responses Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mock/{session_id}/results/acknowledgements":{"post":{"tags":["mockimp-pr01-mock-authority","mockimp-pr01-clarification-receipts"],"summary":"Acknowledge Result","operationId":"acknowledge_result_api_v1_mock__session_id__results_acknowledgements_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResultAcknowledgement"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Acknowledge Result Api V1 Mock  Session Id  Results Acknowledgements Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mock/{session_id}/results/{score_id}/acknowledgement":{"get":{"tags":["mockimp-pr01-mock-authority","mockimp-pr01-clarification-receipts"],"summary":"Read Result Acknowledgement","operationId":"read_result_acknowledgement_api_v1_mock__session_id__results__score_id__acknowledgement_get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"score_id","in":"path","required":true,"schema":{"type":"string","title":"Score Id"}},{"name":"score_version","in":"query","required":true,"schema":{"type":"integer","title":"Score Version"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Result Acknowledgement Api V1 Mock  Session Id  Results  Score Id  Acknowledgement Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/mock/papers/snapshots":{"post":{"tags":["mockimp-pr01-internal","mockimp-pr01-internal"],"summary":"Publish Mock Paper Snapshot","operationId":"publish_mock_paper_snapshot_internal_v1_mock_papers_snapshots_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MockPaperSnapshotCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Publish Mock Paper Snapshot Internal V1 Mock Papers Snapshots Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/mock/sessions/{session_id}/corrections":{"post":{"tags":["mockimp-pr01-internal","mockimp-pr01-internal"],"summary":"Correct Mock Session","operationId":"correct_mock_session_internal_v1_mock_sessions__session_id__corrections_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MockCorrectionCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Correct Mock Session Internal V1 Mock Sessions  Session Id  Corrections Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/mock/sessions/{session_id}/readback":{"get":{"tags":["mockimp-pr01-internal","mockimp-pr01-internal"],"summary":"Readback Mock Session","operationId":"readback_mock_session_internal_v1_mock_sessions__session_id__readback_get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Readback Mock Session Internal V1 Mock Sessions  Session Id  Readback Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/mock/sessions/{session_id}/clarifications":{"post":{"tags":["mockimp-pr01-internal","mockimp-pr01-internal-clarifications"],"summary":"Issue Clarification","description":"An authenticated Mock source service issues an integrity clarification.\n\nThis route is internal-only. Learner response routes never create requests.","operationId":"issue_clarification_internal_v1_mock_sessions__session_id__clarifications_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/mock_clarification__models__ClarificationIssue"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Issue Clarification Internal V1 Mock Sessions  Session Id  Clarifications Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/mock/clarifications/{clarification_id}/cancel":{"post":{"tags":["mockimp-pr01-internal","mockimp-pr01-internal-clarifications"],"summary":"Cancel Clarification","operationId":"cancel_clarification_internal_v1_mock_clarifications__clarification_id__cancel_post","parameters":[{"name":"clarification_id","in":"path","required":true,"schema":{"type":"string","title":"Clarification Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Cancel Clarification Internal V1 Mock Clarifications  Clarification Id  Cancel Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/mock/clarifications/{clarification_id}/expire":{"post":{"tags":["mockimp-pr01-internal","mockimp-pr01-internal-clarifications"],"summary":"Expire Clarification","operationId":"expire_clarification_internal_v1_mock_clarifications__clarification_id__expire_post","parameters":[{"name":"clarification_id","in":"path","required":true,"schema":{"type":"string","title":"Clarification Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Expire Clarification Internal V1 Mock Clarifications  Clarification Id  Expire Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/proof/ledger":{"get":{"tags":["proofimp-pr01-proof-ledger"],"summary":"Get Proof Ledger","operationId":"get_proof_ledger_api_v1_proof_ledger_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Proof Ledger Api V1 Proof Ledger Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/proof/loops/{loop_id}":{"get":{"tags":["proofimp-pr01-proof-ledger"],"summary":"Get Proof Loop","description":"One loop, and only if it is this student's.\n\nThe ownership check is written out rather than relying on the ledger query's\nown `owner_id` filter. Both would work today; only the explicit one can be\nwatched failing, and a silent 404 for someone else's loop is\nindistinguishable from a typo in the identifier.","operationId":"get_proof_loop_api_v1_proof_loops__loop_id__get","parameters":[{"name":"loop_id","in":"path","required":true,"schema":{"type":"string","title":"Loop Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Proof Loop Api V1 Proof Loops  Loop Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/buddy/preferences":{"get":{"tags":["growimp-pr01-growth-authority"],"summary":"Get Buddy Preferences","description":"The learner's Buddy choice, read from the store Ask and JARVIS read.\n\nValues come from `student_preferences` (the resolver). The growth table only\nsupplies the version used for optimistic concurrency and the non-voice dials.\nA read failure is a declared 503, never silent defaults.","operationId":"get_buddy_preferences_api_v1_buddy_preferences_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Buddy Preferences Api V1 Buddy Preferences Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["growimp-pr01-growth-authority"],"summary":"Put Buddy Preferences","operationId":"put_buddy_preferences_api_v1_buddy_preferences_put","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuddyPreferencesPut"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Put Buddy Preferences Api V1 Buddy Preferences Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/buddy/moments/evaluate":{"post":{"tags":["growimp-pr01-growth-authority"],"summary":"Evaluate Buddy Moment","description":"Decide whether Buddy speaks for one server-written source event.\n\nA moment is OFFERED only when a REVIEWED, non-recalled catalogue line exists for\nthe trigger and language. With an empty catalogue (production today) every\ndecision is a recorded ABSTAIN / TEMPLATE_UNAVAILABLE. While the placement flag\nis off the endpoint does not evaluate at all.","operationId":"evaluate_buddy_moment_api_v1_buddy_moments_evaluate_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuddyMomentEvaluate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Evaluate Buddy Moment Api V1 Buddy Moments Evaluate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/buddy/moments/current":{"get":{"tags":["growimp-pr01-growth-authority"],"summary":"Get Current Buddy Moment","description":"The one live moment, or an honest reason for silence.\n\nThe line text is read back from the catalogue by exact key and version and is\nshown only if it is still showable; a recalled or un-reviewed line turns the\nmoment into silence the next time it is read.","operationId":"get_current_buddy_moment_api_v1_buddy_moments_current_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Current Buddy Moment Api V1 Buddy Moments Current Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/buddy/moments/{moment_id}/responses":{"post":{"tags":["growimp-pr01-growth-authority"],"summary":"Respond To Buddy Moment","operationId":"respond_to_buddy_moment_api_v1_buddy_moments__moment_id__responses_post","parameters":[{"name":"moment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Moment Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuddyMomentResponseCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Respond To Buddy Moment Api V1 Buddy Moments  Moment Id  Responses Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/wellness/consents":{"post":{"tags":["growimp-pr01-growth-authority"],"summary":"Create Wellness Consent","operationId":"create_wellness_consent_api_v1_wellness_consents_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WellnessConsentCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Wellness Consent Api V1 Wellness Consents Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/wellness/check-ins":{"post":{"tags":["growimp-pr01-growth-authority"],"summary":"Create Wellness Check In","operationId":"create_wellness_check_in_api_v1_wellness_check_ins_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WellnessCheckInCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Wellness Check In Api V1 Wellness Check Ins Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/wellness/support":{"get":{"tags":["growimp-pr01-growth-authority"],"summary":"Get Wellness Support","operationId":"get_wellness_support_api_v1_wellness_support_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Wellness Support Api V1 Wellness Support Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/wellness/safety-resources":{"get":{"tags":["growimp-pr01-growth-authority"],"summary":"Get Wellness Safety Resources","operationId":"get_wellness_safety_resources_api_v1_wellness_safety_resources_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Wellness Safety Resources Api V1 Wellness Safety Resources Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/wellness/consents/{consent_id}":{"delete":{"tags":["growimp-pr01-growth-authority"],"summary":"Withdraw Wellness Consent","operationId":"withdraw_wellness_consent_api_v1_wellness_consents__consent_id__delete","parameters":[{"name":"consent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Consent Id"}},{"name":"expected_version","in":"query","required":true,"schema":{"type":"integer","title":"Expected Version"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Withdraw Wellness Consent Api V1 Wellness Consents  Consent Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/wellness/purge-status":{"get":{"tags":["growimp-pr01-growth-authority"],"summary":"Get Wellness Purge Status","operationId":"get_wellness_purge_status_api_v1_wellness_purge_status_get","parameters":[{"name":"consent_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Consent Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Wellness Purge Status Api V1 Wellness Purge Status Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/achievements":{"get":{"tags":["growimp-pr02-evidence-growth"],"summary":"Get Achievements","operationId":"get_achievements_api_v1_achievements_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Achievements Api V1 Achievements Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/achievements/awards/{award_ref}":{"get":{"tags":["growimp-pr02-evidence-growth"],"summary":"Get Achievement Award Detail","description":"Read an exact self-owned award and its current explicit lifecycle state.","operationId":"get_achievement_award_detail_api_v1_achievements_awards__award_ref__get","parameters":[{"name":"award_ref","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Award Ref"}},{"name":"decision_id","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Decision Id"}},{"name":"lifecycle_receipt_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Lifecycle Receipt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Achievement Award Detail Api V1 Achievements Awards  Award Ref  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/continuity":{"get":{"tags":["growimp-pr02-evidence-growth"],"summary":"Get Continuity","operationId":"get_continuity_api_v1_continuity_get","parameters":[{"name":"timezone","in":"query","required":false,"schema":{"type":"string","minLength":3,"maxLength":64,"default":"Asia/Kolkata","title":"Timezone"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":371,"minimum":1,"default":35,"title":"Days"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Continuity Api V1 Continuity Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/recaps":{"post":{"tags":["growimp-pr02-evidence-growth"],"summary":"Create Recap","operationId":"create_recap_api_v1_recaps_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecapCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Recap Api V1 Recaps Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/recaps/{recap_id}":{"get":{"tags":["growimp-pr02-evidence-growth"],"summary":"Get Recap","operationId":"get_recap_api_v1_recaps__recap_id__get","parameters":[{"name":"recap_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Recap Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Recap Api V1 Recaps  Recap Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/recaps/{recap_id}/share":{"post":{"tags":["growimp-pr02-evidence-growth"],"summary":"Share Recap With Parent","operationId":"share_recap_with_parent_api_v1_recaps__recap_id__share_post","parameters":[{"name":"recap_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Recap Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecapShareCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Share Recap With Parent Api V1 Recaps  Recap Id  Share Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/recaps/{recap_id}/plan-proposals":{"post":{"tags":["growimp-pr02-evidence-growth"],"summary":"Create Recap Plan Proposal","operationId":"create_recap_plan_proposal_api_v1_recaps__recap_id__plan_proposals_post","parameters":[{"name":"recap_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Recap Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecapPlanProposalCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Recap Plan Proposal Api V1 Recaps  Recap Id  Plan Proposals Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/achievements/evidence":{"post":{"tags":["growimp-pr02-internal-evidence"],"summary":"Ingest Achievement Evidence","description":"Admit only signed source receipts; caller-supplied evidence refs are rejected.","operationId":"ingest_achievement_evidence_internal_v1_achievements_evidence_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActivityEvidenceReceiptV1"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Ingest Achievement Evidence Internal V1 Achievements Evidence Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/achievements/lifecycle/corrections":{"post":{"tags":["growimp-pr02-internal-evidence"],"summary":"Correct Achievement Decision","description":"Append a correction receipt linking two existing source-minted awards.","operationId":"correct_achievement_decision_internal_v1_achievements_lifecycle_corrections_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AchievementCorrectionCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Correct Achievement Decision Internal V1 Achievements Lifecycle Corrections Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/achievements/lifecycle/revocations":{"post":{"tags":["growimp-pr02-internal-evidence"],"summary":"Revoke Achievement Decision","description":"Append a revocation receipt for one exact current source mint.","operationId":"revoke_achievement_decision_internal_v1_achievements_lifecycle_revocations_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AchievementRevocationCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Revoke Achievement Decision Internal V1 Achievements Lifecycle Revocations Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/growth/quiet-house/coordinates":{"get":{"tags":["growimp-pr03-quiet-house"],"summary":"Get Quiet House Coordinates","description":"Return only current IDs, versions, states and integrity coordinates.\n\nRaw wellness signals, answers, notes, recap narrative and Parent identities\nare deliberately excluded. The authenticated subject is the only resource\nselector.","operationId":"get_quiet_house_coordinates_api_v1_growth_quiet_house_coordinates_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Quiet House Coordinates Api V1 Growth Quiet House Coordinates Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/buddy/catalogue":{"get":{"tags":["buddy"],"summary":"Get Buddy Catalogue","description":"Server-versioned options, and what this learner may write today.","operationId":"buddy_get_catalogue","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Buddy Get Catalogue"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/buddy/budget":{"get":{"tags":["buddy"],"summary":"Get Buddy Budget","description":"Used, cap, remaining and reset time, so quiet can be explained honestly.","operationId":"buddy_get_budget","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Buddy Get Budget"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/buddy/first-run":{"get":{"tags":["buddy"],"summary":"Get First Run","operationId":"buddy_get_first_run","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Buddy Get First Run"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["buddy"],"summary":"Post First Run","description":"Record that the one-time choice was offered, taken or skipped.\n\nIdempotent: repeating an action leaves the first timestamp in place. A skipped\nlearner is offered the choice exactly once more after a week, and never after.","operationId":"buddy_post_first_run","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FirstRunPost"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Buddy Post First Run"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/buddy/voice-availability":{"get":{"tags":["buddy"],"summary":"Get Voice Availability","description":"Which voices exist. With no provider bound the answer is a plain 'off'.","operationId":"buddy_get_voice_availability","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Buddy Get Voice Availability"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/buddy/moments/{moment_id}/retract":{"post":{"tags":["buddy"],"summary":"Retract Buddy Moment","description":"Operator recall of one moment after an upstream correction. Idempotent.\n\nThe moment stops being readable immediately (the current-moment read filters\nrevoked rows). Recalling a whole line is done on the catalogue row, which also\nsilences every moment that used it.","operationId":"buddy_post_moment_retract","parameters":[{"name":"moment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Moment Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Buddy Post Moment Retract"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/wellness/resource-catalogue":{"get":{"tags":["wellness-resource-catalogue-internal"],"summary":"List Catalogue","operationId":"list_catalogue_api_v1_internal_wellness_resource_catalogue_get","parameters":[{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Catalogue Api V1 Internal Wellness Resource Catalogue Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/wellness/resource-catalogue/reviews":{"post":{"tags":["wellness-resource-catalogue-internal"],"summary":"Record Review","operationId":"record_review_api_v1_internal_wellness_resource_catalogue_reviews_post","parameters":[{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogueReviewCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Record Review Api V1 Internal Wellness Resource Catalogue Reviews Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/system/first-value/candidates":{"post":{"tags":["sysimp-pr02-first-value"],"summary":"Publish First Value Candidate","operationId":"publish_first_value_candidate_internal_v1_system_first_value_candidates_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CandidatePublicationCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Publish First Value Candidate Internal V1 System First Value Candidates Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/onboarding/first-value":{"post":{"tags":["sysimp-pr02-first-value"],"summary":"Choose First Value","operationId":"choose_first_value_api_v1_onboarding_first_value_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FirstValueSelectCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Choose First Value Api V1 Onboarding First Value Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/onboarding/first-value/{decision_id}/complete":{"post":{"tags":["sysimp-pr02-first-value"],"summary":"Complete First Value","operationId":"complete_first_value_api_v1_onboarding_first_value__decision_id__complete_post","parameters":[{"name":"decision_id","in":"path","required":true,"schema":{"type":"string","title":"Decision Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FirstValueCompleteCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Complete First Value Api V1 Onboarding First Value  Decision Id  Complete Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/onboarding/state":{"get":{"tags":["sysimp-pr02-first-value"],"summary":"Onboarding State","operationId":"onboarding_state_api_v1_onboarding_state_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Onboarding State Api V1 Onboarding State Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/system/parent/projection-sources":{"post":{"tags":["sysimp-pr02-parent-projection"],"summary":"Publish Parent Projection Source","operationId":"publish_parent_projection_source_internal_v1_system_parent_projection_sources_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ParentSourcePublication"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Publish Parent Projection Source Internal V1 System Parent Projection Sources Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/children/{child_id}/projection":{"get":{"tags":["sysimp-pr02-parent-projection"],"summary":"Get Parent Projection","operationId":"get_parent_projection_api_v1_parent_children__child_id__projection_get","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"purpose","in":"query","required":false,"schema":{"enum":["overview","progress","plan","support","notifications","shared"],"type":"string","default":"overview","title":"Purpose"}},{"name":"fields","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Fields"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Parent Projection Api V1 Parent Children  Child Id  Projection Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/account/deletion-reauth":{"post":{"tags":["sysimp-pr02-account-lifecycle"],"summary":"Create Deletion Reauth","operationId":"create_deletion_reauth_api_v1_account_deletion_reauth_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeletionReauthCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Deletion Reauth Api V1 Account Deletion Reauth Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/system/account/reauth-receipts":{"post":{"tags":["sysimp-pr02-account-lifecycle"],"summary":"Publish Reauth Receipt","operationId":"publish_reauth_receipt_internal_v1_system_account_reauth_receipts_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReauthReceiptPublication"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Publish Reauth Receipt Internal V1 System Account Reauth Receipts Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/system/account/purge-targets":{"post":{"tags":["sysimp-pr02-account-lifecycle"],"summary":"Publish Purge Target","operationId":"publish_purge_target_internal_v1_system_account_purge_targets_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurgeTargetPublication"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Publish Purge Target Internal V1 System Account Purge Targets Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/system/account/legal-holds":{"post":{"tags":["sysimp-pr02-account-lifecycle"],"summary":"Publish Legal Hold","operationId":"publish_legal_hold_internal_v1_system_account_legal_holds_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegalHoldPublication"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Publish Legal Hold Internal V1 System Account Legal Holds Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/account/exports":{"post":{"tags":["sysimp-pr02-account-lifecycle"],"summary":"Request Account Export","operationId":"request_account_export_api_v1_account_exports_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountExportCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Request Account Export Api V1 Account Exports Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/system/account/exports/{export_id}/complete":{"post":{"tags":["sysimp-pr02-account-lifecycle"],"summary":"Complete Account Export","operationId":"complete_account_export_internal_v1_system_account_exports__export_id__complete_post","parameters":[{"name":"export_id","in":"path","required":true,"schema":{"type":"string","title":"Export Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportCompletionCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Complete Account Export Internal V1 System Account Exports  Export Id  Complete Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/account/exports/{export_id}":{"get":{"tags":["sysimp-pr02-account-lifecycle"],"summary":"Get Account Export","operationId":"get_account_export_api_v1_account_exports__export_id__get","parameters":[{"name":"export_id","in":"path","required":true,"schema":{"type":"string","title":"Export Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Account Export Api V1 Account Exports  Export Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/account/deletions/{deletion_id}/cancel":{"post":{"tags":["sysimp-pr02-account-lifecycle"],"summary":"Cancel Account Deletion","operationId":"cancel_account_deletion_api_v1_account_deletions__deletion_id__cancel_post","parameters":[{"name":"deletion_id","in":"path","required":true,"schema":{"type":"string","title":"Deletion Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountDeletionCancelCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Cancel Account Deletion Api V1 Account Deletions  Deletion Id  Cancel Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/system/account/deletions/{deletion_id}/tasks/{task_ref}/complete":{"post":{"tags":["sysimp-pr02-account-lifecycle"],"summary":"Complete Purge Task","operationId":"complete_purge_task_internal_v1_system_account_deletions__deletion_id__tasks__task_ref__complete_post","parameters":[{"name":"deletion_id","in":"path","required":true,"schema":{"type":"string","title":"Deletion Id"}},{"name":"task_ref","in":"path","required":true,"schema":{"type":"string","title":"Task Ref"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurgeTaskCompletionCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Complete Purge Task Internal V1 System Account Deletions  Deletion Id  Tasks  Task Ref  Complete Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/system/account/deletions/{deletion_id}/finalize":{"post":{"tags":["sysimp-pr02-account-lifecycle"],"summary":"Finalize Account Deletion","operationId":"finalize_account_deletion_internal_v1_system_account_deletions__deletion_id__finalize_post","parameters":[{"name":"deletion_id","in":"path","required":true,"schema":{"type":"string","title":"Deletion Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FinalizeDeletionCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Finalize Account Deletion Internal V1 System Account Deletions  Deletion Id  Finalize Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/account/deletions/{deletion_id}":{"get":{"tags":["sysimp-pr02-account-lifecycle"],"summary":"Get Account Deletion","operationId":"get_account_deletion_api_v1_account_deletions__deletion_id__get","parameters":[{"name":"deletion_id","in":"path","required":true,"schema":{"type":"string","title":"Deletion Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Account Deletion Api V1 Account Deletions  Deletion Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/account/lifecycle":{"get":{"tags":["sysimp-pr02-account-lifecycle"],"summary":"Get Account Lifecycle","operationId":"get_account_lifecycle_api_v1_account_lifecycle_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Account Lifecycle Api V1 Account Lifecycle Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/account/deletions":{"post":{"tags":["sysimp-pr02-account-lifecycle"],"summary":"Request Account Deletion","operationId":"request_account_deletion_api_v1_account_deletions_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountDeletionCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Request Account Deletion Api V1 Account Deletions Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/system/civic-house/commerce":{"get":{"tags":["sysimp-pr03-civic-house"],"summary":"Commerce Civic Projection","operationId":"commerce_civic_projection_api_v1_system_civic_house_commerce_get","parameters":[{"name":"product_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":96},{"type":"null"}],"title":"Product Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Commerce Civic Projection Api V1 System Civic House Commerce Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/system/civic-house/summary":{"get":{"tags":["sysimp-pr03-civic-house"],"summary":"System Civic Summary","operationId":"system_civic_summary_api_v1_system_civic_house_summary_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response System Civic Summary Api V1 System Civic House Summary Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/adaptive-home/decisions":{"post":{"tags":["adaptive-home-authority"],"summary":"Resolve Adaptive Home Decision","operationId":"resolve_adaptive_home_decision_api_v1_adaptive_home_decisions_post","parameters":[{"name":"X-Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdaptiveDecisionRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Resolve Adaptive Home Decision Api V1 Adaptive Home Decisions Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/adaptive-home/public":{"get":{"tags":["adaptive-home-authority"],"summary":"Get Public Adaptive Home Decision","operationId":"get_public_adaptive_home_decision_api_v1_adaptive_home_public_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Public Adaptive Home Decision Api V1 Adaptive Home Public Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/adaptive-home/ensure-current":{"post":{"tags":["adaptive-home-authority"],"summary":"Ensure Current Adaptive Home Decision","description":"Return a current decision or create one from server-owned consent/purpose.","operationId":"ensure_current_adaptive_home_decision_api_v1_adaptive_home_ensure_current_post","parameters":[{"name":"X-Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnsureAdaptiveDecisionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Ensure Current Adaptive Home Decision Api V1 Adaptive Home Ensure Current Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/adaptive-home/simulations":{"post":{"tags":["adaptive-home-authority"],"summary":"Simulate Adaptive Home Decision","operationId":"simulate_adaptive_home_decision_internal_v1_adaptive_home_simulations_post","parameters":[{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdaptiveSimulationRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Simulate Adaptive Home Decision Internal V1 Adaptive Home Simulations Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/adaptive-home/simulations/{simulation_id}":{"get":{"tags":["adaptive-home-authority"],"summary":"Get Adaptive Home Simulation","operationId":"get_adaptive_home_simulation_internal_v1_adaptive_home_simulations__simulation_id__get","parameters":[{"name":"simulation_id","in":"path","required":true,"schema":{"type":"string","title":"Simulation Id"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Adaptive Home Simulation Internal V1 Adaptive Home Simulations  Simulation Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/adaptive-home/decisions/{decision_id}/corrections":{"post":{"tags":["adaptive-home-authority"],"summary":"Correct Adaptive Home Decision","operationId":"correct_adaptive_home_decision_internal_v1_adaptive_home_decisions__decision_id__corrections_post","parameters":[{"name":"decision_id","in":"path","required":true,"schema":{"type":"string","title":"Decision Id"}},{"name":"X-Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Idempotency-Key"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdaptiveCorrectionRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Correct Adaptive Home Decision Internal V1 Adaptive Home Decisions  Decision Id  Corrections Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/adaptive-home/bridges":{"post":{"tags":["adaptive-home-bridge"],"summary":"Create Adaptive Home Bridge","operationId":"create_adaptive_home_bridge_api_v1_adaptive_home_bridges_post","parameters":[{"name":"X-Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BridgeMaterialiseRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Adaptive Home Bridge Api V1 Adaptive Home Bridges Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/adaptive-home/bridges/current":{"get":{"tags":["adaptive-home-bridge"],"summary":"Get Current Adaptive Home Bridge","operationId":"get_current_adaptive_home_bridge_api_v1_adaptive_home_bridges_current_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Current Adaptive Home Bridge Api V1 Adaptive Home Bridges Current Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/adaptive-home/decisions/{decision_id}/render-ack":{"post":{"tags":["adaptive-home-bridge"],"summary":"Acknowledge Adaptive Home Render","operationId":"acknowledge_adaptive_home_render_api_v1_adaptive_home_decisions__decision_id__render_ack_post","parameters":[{"name":"decision_id","in":"path","required":true,"schema":{"type":"string","title":"Decision Id"}},{"name":"X-Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderAcknowledgementRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Acknowledge Adaptive Home Render Api V1 Adaptive Home Decisions  Decision Id  Render Ack Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/adaptive-home/telemetry":{"post":{"tags":["adaptive-home-bridge"],"summary":"Record Adaptive Home Telemetry","operationId":"record_adaptive_home_telemetry_api_v1_adaptive_home_telemetry_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdaptiveTelemetryRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Record Adaptive Home Telemetry Api V1 Adaptive Home Telemetry Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/adaptive-home/property-matrix/compile":{"post":{"tags":["adaptive-home-bridge"],"summary":"Compile Adaptive Property Matrix","operationId":"compile_adaptive_property_matrix_internal_v1_adaptive_home_property_matrix_compile_post","parameters":[{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Compile Adaptive Property Matrix Internal V1 Adaptive Home Property Matrix Compile Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/adaptive-home/bridges/{bridge_projection_id}":{"get":{"tags":["adaptive-home-bridge"],"summary":"Read Adaptive Home Bridge","operationId":"read_adaptive_home_bridge_internal_v1_adaptive_home_bridges__bridge_projection_id__get","parameters":[{"name":"bridge_projection_id","in":"path","required":true,"schema":{"type":"string","title":"Bridge Projection Id"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Adaptive Home Bridge Internal V1 Adaptive Home Bridges  Bridge Projection Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/plan/today/{student_id}":{"get":{"tags":["daily-plan-cl-080"],"summary":"Get Today Plan","description":"Idempotent: returns today's plan; generates one on first call.\n\nWave 5 perf polish (s29 2026-05-07): when no plan exists yet, the\nrequest enqueues generation onto Redis Streams (PlanGenConsumer in\n`plan_gen_queue.py` drains it) and returns a `generating` envelope\nwith `is_pending: true` + `retry_after_ms: 1500`. The FE polls until\nthe worker writes the row, then this endpoint returns the real plan.\nCuts cold p95 from ~10-30s (sequential reads + Neon cold-compute) to\n~50ms (lock + enqueue).\n\nInline fallback: if redis is unavailable (degraded dev/test\nenvironment), we run `_ensure_today_plan` synchronously so the\nendpoint stays functional.\n\nFirst-generation may emit `plan.adapted` for GROW+ (PR-220 policy in\n`plan_adaptation.py`) so analytics can distinguish DNA-shaped plans\nfrom static templates.\n\nFREE tier sees the same payload by default (PR-225 placeholder is a\nno-op pass-through). When founder lands a FREE-slim variant, the\n`slim_for_freetier(plan)` call below diverges.","operationId":"pr_205_get_today","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/plan/regenerate":{"post":{"tags":["daily-plan-cl-080"],"summary":"Regenerate Plan","description":"CL-080 Phase C C3 — explicit \"regenerate today's plan\" CTA.\n\nDrops today's plan + blocks (CASCADE on plan_blocks via FK) and runs\nthe generator fresh. Tier-gated: ACE+ only (FREE keeps the static\ntemplate all day). The DailyPlanPanel surfaces a \"Regenerate\" button\nthat POSTs here.\n\nUse cases:\n  • Student upgraded tier mid-day — wants a richer plan\n  • Wellness pulse showed a state shift — wants a softer plan\n  • Generator misfired (over_capacity, wrong topic) — fix-and-retry\n\nEmits `plan.regenerated` with the trigger reason so analytics can\nmeasure how often students manually regenerate vs the auto-adapt\npath (PR-220 / Phase C C4).","operationId":"pr_210_regenerate_plan","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegenerateBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/plan/history/{student_id}":{"get":{"tags":["daily-plan-cl-080"],"summary":"Plan History","description":"Read the student's persisted Daily Plan history.\n\nThis closes the product-loop contract for CL-080: generated plans are not\njust today's transient surface. They are a dated history of plan envelopes,\nblock state, adherence, and generation reasons, scoped at the BFF boundary.","operationId":"pr_205_plan_history","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":60,"minimum":1,"default":14,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/plan/{plan_id}/narrative":{"get":{"tags":["daily-plan-cl-080"],"summary":"Plan Narrative","description":"PR-205 SCALE — JARVIS-narrated \"why this plan today?\" storytelling.\n\nWave 1 thin implementation: pulls the plan + its blocks + the\nstudent's tier and asks JARVIS to compose a 3-4 sentence narrative\nthat:\n  • names the day's primary focus (subject / chapter)\n  • cites one concrete signal (weakest topic, mock recency,\n    adherence delta, exam countdown) used to shape the plan\n  • closes with a single actionable next step\n\nSCALE-only (PR-205 tier_expression §3). Returns 403 below SCALE\nso the FE can show the upsell. Best-effort: if the JARVIS pipeline\nis unreachable, returns a deterministic fallback narrative built\nfrom the plan envelope so the surface never blanks.\n\nThe narrative is a synchronous one-shot call — short prompt, short\nresponse — distinct from the multi-turn /api/v1/jarvis/chat path.","operationId":"pr_205_plan_narrative","parameters":[{"name":"plan_id","in":"path","required":true,"schema":{"type":"integer","title":"Plan Id"}},{"name":"student_id","in":"query","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/plan/{plan_id}/view":{"post":{"tags":["daily-plan-cl-080"],"summary":"View Plan","description":"Emit plan.viewed when the FE renders the DailyPlanScreen.","operationId":"pr_205_view_plan","parameters":[{"name":"plan_id","in":"path","required":true,"schema":{"type":"integer","title":"Plan Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/plan_view_routes__ViewBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/plan/{plan_id}/block/{block_order}/start":{"post":{"tags":["daily-plan-cl-080"],"summary":"Start Block","description":"Transition the block to 'started'. Idempotent — a re-start (e.g. after\nnetwork drop) keeps the original started_at.","operationId":"pr_215_block_start","parameters":[{"name":"plan_id","in":"path","required":true,"schema":{"type":"integer","title":"Plan Id"}},{"name":"block_order","in":"path","required":true,"schema":{"type":"integer","title":"Block Order"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlockStartBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/plan/{plan_id}/block/{block_order}/complete":{"post":{"tags":["daily-plan-cl-080"],"summary":"Complete Block","description":"Transition the block to 'completed' + recompute plan adherence_score.\nAuto-completes the parent plan when all blocks are completed.","operationId":"pr_215_block_complete","parameters":[{"name":"plan_id","in":"path","required":true,"schema":{"type":"integer","title":"Plan Id"}},{"name":"block_order","in":"path","required":true,"schema":{"type":"integer","title":"Block Order"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlockCompleteBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/plan/{plan_id}/block/{block_order}/defer":{"post":{"tags":["daily-plan-cl-080"],"summary":"Defer Block","description":"CL-080 Phase C C2 — defer a still-pending block to tomorrow.\n\nTier-gated: GROW+ only (FREE / ACE → 403). Action:\n  1. Lookup the block. Must be in `pending` or `started` state — already\n     completed blocks can't be deferred.\n  2. Mark today's block as `skipped` with `block_meta.deferred_to_tomorrow = true`\n     so tomorrow's generator (plan_generator._ensure_today_plan) can pick it up.\n  3. Emit `plan.block_deferred` (PR-220-attributed) so analytics tracks\n     which products / topics get deferred + adaptation policy reacts.\n\nTomorrow's plan creation is synchronous: the endpoint appends the copy\nimmediately so the action is durable before the student leaves the screen.","operationId":"pr_220_defer_block","parameters":[{"name":"plan_id","in":"path","required":true,"schema":{"type":"integer","title":"Plan Id"}},{"name":"block_order","in":"path","required":true,"schema":{"type":"integer","title":"Block Order"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlockDeferBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/plan/dpp-fix-next":{"post":{"tags":["daily-plan-cl-080"],"summary":"Schedule Dpp Fix Next","description":"Pack 10 DPP-005 - durable \"add rest to tomorrow's plan\".\n\nDaily DPP is FREE, so this is not the GROW-only block deferral feature.\nIt creates/reuses tomorrow's plan and idempotently appends concept repair\nblocks keyed by source session + concept. Routing itself does not move\nmastery; downstream graded repair blocks do.","operationId":"dpp_fix_next_schedule_tomorrow","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DppFixPlanBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/plan/{plan_id}/block/{block_order}/skip":{"post":{"tags":["daily-plan-cl-080"],"summary":"Skip Block","description":"CL-080 Phase C C4 - explicit skip path without tomorrow copy.","operationId":"pr_220_skip_block","parameters":[{"name":"plan_id","in":"path","required":true,"schema":{"type":"integer","title":"Plan Id"}},{"name":"block_order","in":"path","required":true,"schema":{"type":"integer","title":"Block Order"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlockSkipBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/plan/{plan_id}/blocks/reorder":{"post":{"tags":["daily-plan-cl-080"],"summary":"Reorder Blocks","description":"CL-080 Phase C C1 — drag-reorder a plan's blocks.\n\nTier-gated: GROW+ only (FREE / ACE → 403). Action:\n  1. Lookup the plan + its current block_order set.\n  2. Validate that `new_order` is a permutation of existing orders\n     (same length, same set of integers, no duplicates) — prevents\n     malformed FE state from corrupting the plan.\n  3. Reject if any non-pending block has been touched (started/\n     completed/skipped). You can't reorder the past — only what's\n     still pending.\n  4. Apply the permutation: rewrite each block's `block_order` to\n     match its new position. Postgres UNIQUE(plan_id, block_order)\n     means the renumber must happen in two passes (offset to a\n     non-conflicting range, then settle to the target indices)\n     OR inside a single transaction that ignores the constraint\n     momentarily — we use the offset-then-settle approach.\n  5. Emit `plan.blocks_reordered` (PR-220-attributed).\n\nThe frontend drag-reorder UI (dnd-kit etc.) is a separate iteration —\nthis endpoint is the persistence contract.","operationId":"pr_220_reorder_blocks","parameters":[{"name":"plan_id","in":"path","required":true,"schema":{"type":"integer","title":"Plan Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlockReorderBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/plan/today":{"get":{"tags":["daily-plan-cl-080"],"summary":"Get Canonical Today Plan","description":"Return today's compatibility projection plus its immutable authority object.","operationId":"planimp_pr01_get_today","parameters":[{"name":"timezone","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":80,"title":"Timezone"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Planimp Pr01 Get Today"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/plan/generations":{"post":{"tags":["daily-plan-cl-080"],"summary":"Generate Canonical Plan Day","operationId":"planimp_pr01_generate","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanGenerationRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Planimp Pr01 Generate"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/plan/{authority_plan_id}/blocks/{block_id}/commands":{"post":{"tags":["daily-plan-cl-080"],"summary":"Command Plan Block","operationId":"planimp_pr01_block_command","parameters":[{"name":"authority_plan_id","in":"path","required":true,"schema":{"type":"string","title":"Authority Plan Id"}},{"name":"block_id","in":"path","required":true,"schema":{"type":"string","title":"Block Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanBlockCommandRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Planimp Pr01 Block Command"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/plan/{authority_plan_id}/replan-proposals":{"post":{"tags":["daily-plan-cl-080"],"summary":"Create Replan Proposal","operationId":"planimp_pr01_create_replan","parameters":[{"name":"authority_plan_id","in":"path","required":true,"schema":{"type":"string","title":"Authority Plan Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanReplanProposalRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Planimp Pr01 Create Replan"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/plan/{authority_plan_id}/replan-proposals/{proposal_id}/confirm":{"post":{"tags":["daily-plan-cl-080"],"summary":"Confirm Replan Proposal","operationId":"planimp_pr01_confirm_replan","parameters":[{"name":"authority_plan_id","in":"path","required":true,"schema":{"type":"string","title":"Authority Plan Id"}},{"name":"proposal_id","in":"path","required":true,"schema":{"type":"string","title":"Proposal Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanReplanConfirmRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Planimp Pr01 Confirm Replan"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/plan/{authority_plan_id}/modes":{"get":{"tags":["daily-plan-cl-080"],"summary":"Get Plan Modes","operationId":"planimp_pr01_modes","parameters":[{"name":"authority_plan_id","in":"path","required":true,"schema":{"type":"string","title":"Authority Plan Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Planimp Pr01 Modes"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/plan/calendar":{"get":{"tags":["daily-plan-cl-080"],"summary":"Get Plan Calendar","operationId":"planimp_pr01_calendar","parameters":[{"name":"start","in":"query","required":true,"schema":{"type":"string","format":"date","title":"Start"}},{"name":"end","in":"query","required":true,"schema":{"type":"string","format":"date","title":"End"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Planimp Pr01 Calendar"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/plan/surface":{"get":{"tags":["daily-plan-cl-080"],"summary":"Get Plan Surface","operationId":"planimp_pr02_surface","parameters":[{"name":"timezone","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":80,"title":"Timezone"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Planimp Pr02 Surface"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/plan/surface/receipts":{"post":{"tags":["daily-plan-cl-080"],"summary":"Create Plan Surface Receipt","operationId":"planimp_pr02_surface_receipt","parameters":[{"name":"timezone","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":80,"title":"Timezone"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectionReceiptCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Planimp Pr02 Surface Receipt"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/plan/surface/telemetry":{"post":{"tags":["daily-plan-cl-080"],"summary":"Create Plan Surface Telemetry","operationId":"planimp_pr02_telemetry","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/plan_surface_models__TelemetryCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Planimp Pr02 Telemetry"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/plan/returns/resolve":{"post":{"tags":["daily-plan-cl-080"],"summary":"Resolve Plan Return","operationId":"planimp_pr02_return","parameters":[{"name":"timezone","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":80,"title":"Timezone"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReturnCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Planimp Pr02 Return"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/plan/week/{student_id}":{"get":{"tags":["daily-plan-cl-080"],"summary":"Get Plan Week","operationId":"your_plan_week","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"start","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Your Plan Week"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/plan/evidence-receipts":{"post":{"tags":["study-plan-authority-internal"],"summary":"Absorb Plan Evidence","operationId":"planimp_pr01_absorb_evidence","parameters":[{"name":"X-Plan-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Plan-Internal-Token"}},{"name":"X-Plan-Service-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Plan-Service-Id"}},{"name":"X-Request-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Request-Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanEvidenceReceiptRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Planimp Pr01 Absorb Evidence"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/plan/repair-episodes/{episode_id}/absorb":{"post":{"tags":["study-plan-authority-internal"],"summary":"Absorb Plan Repair","operationId":"planimp_absorb_os07_repair","parameters":[{"name":"episode_id","in":"path","required":true,"schema":{"type":"string","title":"Episode Id"}},{"name":"X-Plan-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Plan-Internal-Token"}},{"name":"X-Plan-Service-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Plan-Service-Id"}},{"name":"X-Request-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Request-Id"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Planimp Absorb Os07 Repair"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/plan/surface/readback":{"get":{"tags":["study-plan-surface-internal"],"summary":"Internal Plan Surface Readback","operationId":"planimp_pr02_readback","parameters":[{"name":"owner_id","in":"query","required":true,"schema":{"type":"string","title":"Owner Id"}},{"name":"X-Plan-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Plan-Internal-Token"}},{"name":"X-Plan-Service-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Plan-Service-Id"}},{"name":"X-Request-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Request-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Planimp Pr02 Readback"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/consent/update":{"post":{"tags":["auth"],"summary":"Update Consent Status","description":"G-LAUNCH-09: persist a consent grant/revoke and invalidate the cached\nconsent state so the front-end gate re-fetches on next render.\n\nAccepts either:\n  - {state | status: \"GRANTED\" | \"REVOKED\"}  (explicit shape)\n  - {granted: true | false}                  (boolean shape used by\n                                               ConsentManagement.jsx\n                                               and the auth_service\n                                               ConsentUpdate model)\nWithout the granted-bool branch, calling with `granted: false` was\nsilently treated as GRANTED — flipping the toggle in\nConsentManagement did nothing on the server (2026-04-26 audit).","operationId":"update_consent_status_api_v1_auth_consent_update_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/consent/status/{student_id}":{"get":{"tags":["auth"],"summary":"Get Consent Status","description":"G-LAUNCH-09: read-through cached consent state for the 7 canonical\npurposes. Front-end ConsentGate uses `shell_unblocked` to decide whether\nto render the app shell or the consent flow.\nSpec: docs/launch-specs/ATRIYA_G_LAUNCH_09_SPEC_v1_0_20260425.md §3.2.\n\nOwner-scoped. This response names a real person's consent decisions across\nall seven purposes, so it is personal data and never public. The router dep\nalready enforces ownership; this second check is deliberate defence in\ndepth, matching get_profile below, so the route stays closed even if the\nrouter-level dependency is ever dropped or reordered.","operationId":"get_consent_status_api_v1_auth_consent_status__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/student/{student_id}/profile":{"get":{"tags":["student"],"summary":"Get Profile","description":"Get full student profile + SPRE dimensions.","operationId":"get_profile_api_v1_student__student_id__profile_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["student"],"summary":"Update Profile","description":"Update student profile fields. Not wired: nothing is stored.\n\nIt used to return ``status: updated`` without writing anything, and the\nSettings screen then showed \"Saved\". Notification and privacy preferences\nhave no store behind this route, so it now says so.","operationId":"update_profile_api_v1_student__student_id__profile_put","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Updates"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/student/onboard":{"post":{"tags":["student"],"summary":"Onboard Student","description":"First-time onboarding flow. Not wired: this route creates nothing.\n\nIt used to answer ``status: onboarded`` with the fixed id ``stu_new_001``\nfor every caller, unauthenticated, and apps/web's onboarding screen then\nadopted that id (``res.student_id``) -- so every guest would have shared one\nstudent id. Signed-in learners use /api/v1/auth/onboarding/exam instead.","operationId":"onboard_student_api_v1_student_onboard_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnboardingRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/student/{student_id}/subscription":{"get":{"summary":"Get Subscription","description":"SD14: Current subscription tier, features, billing info.","operationId":"btl_get_subscription","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/student/{student_id}/streak":{"get":{"tags":["student"],"summary":"Get Streak","description":"Get streak data.","operationId":"get_streak_api_v1_student__student_id__streak_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/student/{student_id}/subjects":{"get":{"tags":["student"],"summary":"Get Subjects","description":"Get student's subjects with mastery levels from SPRE.","operationId":"get_subjects_api_v1_student__student_id__subjects_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/student/{student_id}/history":{"get":{"tags":["student"],"summary":"Get Activity History","description":"Get recent activity history.","operationId":"get_activity_history_api_v1_student__student_id__history_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":7,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/student/{student_id}/data":{"delete":{"tags":["student"],"summary":"Request Erasure","description":"DPDP scoped erasure request. Not wired: nothing is queued.\n\nIt used to return ``erasure_queued`` with a \"24 hours\" SLA while doing\nnothing, and the privacy screen told the learner their wellness data\ndeletion \"completes within 24 hours\". Whole-account deletion is the real\nflow (POST /api/v1/auth/delete-account). Scoped deletion is routed to the\ndata-protection officer until a purge job exists.","operationId":"request_erasure_api_v1_student__student_id__data_delete","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/student/{student_id}/mastery-radar":{"get":{"tags":["student"],"summary":"Get Mastery Radar","description":"Mastery radar: canonical Twin primary, named compatibility rollback,\nthen SPRE projection. Empty learners receive an honest forming state.\nReturns rank prediction + percentile for Profile/RankDetail/Insights.\n\nP7 (canary): when `infra.erk_routing` flag is ON and ENG-006 AcesPredict\nis reachable, dispatch to the engine. Falls back to inline compute below\nif flag off, engine unavailable, or engine returns mock. Safe rollout.","operationId":"get_mastery_radar_api_v1_student__student_id__mastery_radar_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/student/{student_id}/goals":{"get":{"tags":["student"],"summary":"Get Student Goals","description":"Goal tracker envelope. Null rank/date means the UI setup state.","operationId":"get_student_goals_api_v1_student__student_id__goals_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["student"],"summary":"Update Student Goals","description":"Persist or explicitly revoke the student's one versioned goal.","operationId":"update_student_goals_api_v1_student__student_id__goals_put","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudentGoalUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/state/{student_id}":{"get":{"tags":["kernel"],"summary":"Get Console State","description":"Single call that powers the entire Console (S5) screen.\nAggregates: JARVIS greeting + SPRE profile + rank + DPP + streak + directive.\n\nPipeline: None (read-only composite). Engines: ENG-001, ENG-007.\nTier gate: None (all tiers get console).\nSLA: < 800ms.","operationId":"kernel_console_state","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsoleStateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/priority/today/{student_id}":{"get":{"tags":["console"],"summary":"Get Today Priority","description":"What should the student do TODAY? Single directive.","operationId":"get_today_priority_api_v1_console_priority_today__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/progress/{student_id}":{"get":{"tags":["console"],"summary":"Get Progress Summary","description":"Weekly progress summary for console widget.","operationId":"get_progress_summary_api_v1_console_progress__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/upcoming/{student_id}":{"get":{"tags":["console"],"summary":"Get Upcoming","description":"Upcoming DPPs, mock tests, deadlines.","operationId":"get_upcoming_api_v1_console_upcoming__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/dpp/complete/{session_id}":{"post":{"tags":["dpp"],"summary":"Complete Dpp","description":"Mark DPP session complete; compute score from persisted responses\nand update theta_end so the SPRE trajectory chart can render.\n\ns34 wire #1+#3 + SPRE refinement:\n  1. Aggregate score from dpp_responses\n  2. Real path: call spre_update_pipeline.update_spre_after_dpp()\n     which runs per-topic IRT (EAP/Newton-Raphson) + forgetting decay\n     + CAS-protected write to spre_snapshots. theta_end is then the\n     mean of touched topics' new theta values.\n  3. Fallback: when the SPRE pipeline isn't available (no spre_snapshots\n     table, no questions FK match, etc.) we fall back to the heuristic\n     theta_end = theta_start + clamp((accuracy − 0.5) × 1.0, ±2.0).\n     The chart still renders movement; the per-topic detail is the\n     only thing missing.\n  4. Persist theta_end on dpp_sessions either way so RankFullView's\n     monthly snapshot pipeline picks it up.","operationId":"complete_dpp_api_v1_dpp_complete__session_id__post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/dpp/session/{session_id}":{"get":{"tags":["dpp"],"summary":"Get Dpp Session","description":"Get DPP session details + results.","operationId":"get_dpp_session_api_v1_dpp_session__session_id__get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/dpp/history/{student_id}":{"get":{"tags":["dpp"],"summary":"Get Dpp History","description":"Get past DPP sessions.","operationId":"get_dpp_history_api_v1_dpp_history__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/dpp/cached/{student_id}":{"get":{"tags":["dpp"],"summary":"Get Cached Dpps","description":"Get pre-generated DPPs from nightly batch.","operationId":"get_cached_dpps_api_v1_dpp_cached__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/dpp/next/{student_id}":{"get":{"tags":["dpp"],"summary":"Get Next Dpp","description":"Get next recommended DPP subject/topic based on SPRE.\n\nP7-R2: When `infra.erk_routing` flag is ON, dispatch to ENG-005 (IRT)\nfor adaptive question recommendation. Falls back to inline SQL below.","operationId":"get_next_dpp_api_v1_dpp_next__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/grade/submit":{"post":{"tags":["grading"],"summary":"Submit Grading","description":"Submit answer for grading and persist a real queued grading job.\n\ns47: fires inline grading pipeline so the result actually lands in\n`grading_results` (pre-s47 the Redis stream was orphaned — no consumer\nran in the monolith).","operationId":"submit_grading_api_v1_grade_submit_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GradeSubmitRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/grade/execute":{"post":{"tags":["kernel"],"summary":"Execute Grading","description":"Execute full grading pipeline (P2):\nOCR (ENG-004) → HSGE (ENG-003) → SPRE update → Directive.\n\nTier gate: capability_gate (engine-level) + tier_enforcer (numeric quota).\nQuota: `gradings`. FREE=2, ACE=20, GROW=100, SCALE=∞.\nSLA: < 5000ms for subjective, < 500ms for MCQ.","operationId":"kernel_grade_execute","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GradeExecuteRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GradeExecuteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/grade/result/{job_id}":{"get":{"tags":["grading"],"summary":"Get Grade Result","description":"Get grading result by job_id.\n\nReturns the completed grading envelope from `grading_results` when the\njob has finished. For any unknown / pending / failed job, returns 404\nwith status='not_found' so the caller knows to poll or surface an\nexplicit not-found UI — never a hardcoded fake score.\n\ns40 BUG-043 fix: pre-fix, the no-row branch returned\n{status:'completed', score:8, max_score:10, misconception:'Check your\napproach...'} for ANY job_id (verified: random UUID, 'fake_job').\nThat made the entire grading surface look end-to-end live even when\nno grading_results row existed, invalidating user trust and audit\nevidence (whole-repo audit P0-02, 2026-05-14).","operationId":"get_grade_result_api_v1_grade_result__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/grade/released-result/{result_id}":{"get":{"tags":["grading"],"summary":"Get Released Grade Result By Source Id","description":"Return one exact, currently released canonical Grader source result.\n\nThis route deliberately accepts a source result ID, never a job ID. It\nwithholds details unless that exact source result is still the active,\nreleased canonical head owned by the authenticated learner. The existing\n`/result/{job_id}` polling path remains unchanged for native job flows.","operationId":"get_released_grade_result_by_source_id_api_v1_grade_released_result__result_id__get","parameters":[{"name":"result_id","in":"path","required":true,"schema":{"type":"string","title":"Result Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/grade/history/{student_id}":{"get":{"tags":["grading"],"summary":"Get Grade History","description":"Get past grading results.","operationId":"get_grade_history_api_v1_grade_history__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/grade/error-pattern/{student_id}":{"get":{"tags":["grading"],"summary":"Get Error Patterns","description":"Aggregate error taxonomy across all grading results.","operationId":"get_error_patterns_api_v1_grade_error_pattern__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/grade/hitl/review":{"post":{"summary":"Submit Hitl Review","description":"Teacher reviews a low-confidence grading result.\n\nSECURITY (Task 6 follow-on, 2026-05-30): require_admin gate added after\nthe parametrized BOLA-denied matrix found this route accessible\nanonymously. grading_service_main routes are appended directly to\napp.routes (bypassing AdminPathAuthMiddleware which only catches\n/api/v1/admin/* paths), so a per-handler Depends is required.","operationId":"grading_hitl_review","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HITLReview"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/grade/hitl/request":{"post":{"tags":["grading"],"summary":"Request Hitl Review","description":"Student asks a verified teacher to re-check a graded answer (GROW gate).\n\nFlow:\n  1. GROW gate (server-side, allowed + denied tested) — FREE/ACE get the\n     honest Locked-Useful 403, never a silent fail.\n  2. Ownership — the grade row must exist AND belong to the caller (you can\n     only escalate your OWN answer; no cross-student review requests).\n  3. Idempotently create the canonical `hitl_jobs` row via the shared helper\n     (keyed by grading_job_id, logs-not-swallows) + flip `hitl_required` on\n     `grading_results` so the result door shows \"review in progress\".\nONE grade record — Teacher Review writes back into the original, never a\nparallel store (the admin resolve does the write-back).","operationId":"request_hitl_review_api_v1_grade_hitl_request_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_GradeHitlRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/grade/lab-report":{"post":{"tags":["grading"],"summary":"Grade Lab Report","description":"C7: Lab Report Grader (EDU-013 practical evaluator).\n\nDelegates to the deployed EDU-013 v1.2 engine (`mode=evaluate` + structured\n`submission`), PERSISTS the score to edu013_practical_evaluations (mig 224),\nand emits a G95 event. Read the history back via\nGET /api/v1/grade/lab-report/history/{student_id}.\n\n2026-06-01 runtime reconciliation: a live walk found the BFF was sending the\nretired V1 contract (`evaluate_report` + `report_text`) which the deployed V2\nengine rejects (\"Unknown mode\") — lab grading was broken. The BFF now sections\nthe free-text report into the V2 `submission` shape and reads the V2 output\n(total_marks=scored, max_marks=max, grade, section_scores={score,max}).","operationId":"grade_lab_report_api_v1_grade_lab_report_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/grade/lab-report/history/{student_id}":{"get":{"tags":["grading"],"summary":"Lab Report History","description":"Read-back: a student's persisted EDU-013 practical-evaluation history\n(mig 224). Closes the elite-bar UI read-back row for EDU-013.","operationId":"lab_report_history_api_v1_grade_lab_report_history__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/jarvis/chat":{"post":{"tags":["jarvis"],"summary":"Jarvis Chat","description":"Retired text route (JOB-1056, board row 221).\n\nAn Ask answer is released only by the durable answer worker behind the\nAsk studio, after consent, custody and verification. This route used to run\nthe older tutor pipeline and then try to publish its text as an Ask\nrelease; that publish step has been refused since the strict cutover, so it\ncould never return an answer, and the tutor call in front of it only spent\nprovider money. It now answers at once, runs nothing and stores nothing.","operationId":"jarvis_chat_api_v1_jarvis_chat_post","deprecated":true,"parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"410":{"description":"Retired. Ask ATRIX answers come only from the Ask studio."},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/jarvis/history/{student_id}":{"get":{"tags":["jarvis"],"summary":"Get Jarvis History","description":"Get JARVIS chat history.","operationId":"get_jarvis_history_api_v1_jarvis_history__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"session_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/jarvis/feedback":{"post":{"tags":["jarvis"],"summary":"Jarvis Feedback","description":"Student rates a JARVIS response (thumbs up/down).\n\nO1 uses an explicit `doubt_resolved` signal for LIGHT twin context. A\ngeneric thumbs-up is not enough to clear doubt_review candidacy.","operationId":"jarvis_feedback_api_v1_jarvis_feedback_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/jarvis/micro-lesson":{"get":{"tags":["jarvis"],"summary":"Get Micro Lesson","description":"PR-010 — the 1-screen micro-lesson after a doubt (v7 ask-atrix).\n\nComposes a 60-second teach beat from REAL NCERT content: concept_nodes →\nconcept_node_excerpts (migs 240/241), similarity-ranked. Deterministic — no\nLLM dependency. Honest contract: {found: false} when the concept or its\ncontent isn't in the graph yet; the FE says so instead of inventing a lesson.","operationId":"get_micro_lesson_api_v1_jarvis_micro_lesson_get","parameters":[{"name":"concept","in":"query","required":true,"schema":{"type":"string","title":"Concept"}},{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/jarvis/suggested/{student_id}":{"get":{"tags":["jarvis-enhanced"],"summary":"Get Suggested Questions","description":"Dynamic suggested questions based on SPRE weak topics.","operationId":"jarvis_enhanced_suggested","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/jarvis/voice":{"post":{"tags":["jarvis"],"summary":"Jarvis Voice","description":"Voice input → STT → JARVIS → response.","operationId":"jarvis_voice_api_v1_jarvis_voice_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/overview/{student_id}":{"get":{"tags":["insights-p0"],"summary":"Get Insights Overview","description":"Aggregated student performance overview.\nFeeds: SPRE theta + grading_results + dpp_sessions.","operationId":"p0p1_insights_overview","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/gap-report/{student_id}":{"get":{"tags":["insights"],"summary":"Get Gap Report","description":"Full gap report — PATTERN(TM) instrument data.","operationId":"get_gap_report_api_v1_insights_gap_report__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/topic-mastery/{student_id}":{"get":{"tags":["insights"],"summary":"Get Topic Mastery","description":"Topic-level mastery breakdown for a subject.","operationId":"get_topic_mastery_api_v1_insights_topic_mastery__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/weekly-summary/{student_id}":{"get":{"tags":["insights"],"summary":"Get Weekly Summary","description":"Weekly summary: time studied, questions answered, accuracy, rank change.","operationId":"get_weekly_summary_api_v1_insights_weekly_summary__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/performance-history/{student_id}":{"get":{"tags":["insights"],"summary":"Get Performance History","description":"Time-series performance data for charts over the requested window.","operationId":"get_performance_history_api_v1_insights_performance_history__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":365,"minimum":1,"default":30,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/subjects/{student_id}":{"get":{"tags":["insights"],"summary":"Get Subject List","description":"Subject list with mastery levels from ability vectors. A VIEW, not an authority.\n\nBuild order step 3 (PRD-AA-INSIGHTS-WEAK-SPOTS §22): \"demote /analytics,\n/insights/subjects, analytics_os_student_journey to views.\"\n\nThis reads `student_ability_vectors` directly and derives its own mastery\nlabels. That is a second opinion about a learner's mastery sitting beside\nthe canonical Insights Decision Object, and two sources that can disagree\nabout the same student is how a product ends up telling someone two\ndifferent things on two screens. It is not being deleted — callers still\ndepend on it — so it is marked for what it is, with the same deprecation\nheaders `GET /api/v1/analytics/insights` already carries\n(insights_decision_routes.py) and `GET /api/v1/analytics-os/{sid}/student-journey`\ngained in this same step.\n\nNOT CLAIMED: re-pointing this composer at the decision object. That is the\nlarger engine-and-data-truth repair tracked separately; marking the route\nis what step 3 asks for.","operationId":"get_subject_list_api_v1_insights_subjects__student_id__get","deprecated":true,"parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/chapters/{student_id}/{subject}":{"get":{"tags":["insights"],"summary":"Get Chapter List","description":"Chapter breakdown with per-chapter theta.","operationId":"get_chapter_list_api_v1_insights_chapters__student_id___subject__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"subject","in":"path","required":true,"schema":{"type":"string","title":"Subject"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/error-heatmap/{student_id}":{"get":{"tags":["insights"],"summary":"Get Error Heatmap","description":"Concept-level mastery/error heatmap — Analytics OS Step 0.2 spine.\n\nWires `analytics_concept_state.get_concept_state` (the single concept-state\nread spine over `twin_concept_state` + mistake/doubt density) into a live\nroute. This was a dead `{\"heatmap\": []}` stub (S1 in the build-plan audit):\nthe unifying spine existed but no route used it. Fail-soft — returns [] when\nthere's no DB or no graded evidence (never fabricates a heat cell).","operationId":"get_error_heatmap_api_v1_insights_error_heatmap__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/time-analysis/{student_id}":{"get":{"tags":["insights"],"summary":"Get Time Analysis","description":"Study time analysis — reports only what was measured.\n\nThis returned {\"daily\": [], \"peak_hour\": 19, \"consistency_score\": 0.7} for\nevery learner: an empty series next to two invented numbers, presented as\npersonal analysis. Nobody's peak hour was measured and no consistency was\ncomputed; 19 and 0.7 were literals. The learner next to this read \"your\npeak study hour is 7pm\" about a number that came from nowhere.\n\nIt now derives both from real session starts, and says so when there is\nnothing to derive from. An honest \"not enough sessions yet\" is worth more\nthan a confident wrong hour, and it is the same standard the DPP surface\nalready holds: \"Not enough practice yet to say where you are weakest\".","operationId":"get_time_analysis_api_v1_insights_time_analysis__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/peer-compare/{student_id}":{"get":{"tags":["insights"],"summary":"Get Peer Comparison","description":"Anonymized percentile comparison — GROW+ tier only.","operationId":"get_peer_comparison_api_v1_insights_peer_compare__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/comparison/{student_id}":{"get":{"tags":["insights"],"summary":"Get Cohort Comparison","description":"Compare student vs cohort — E6 (2026-06-12): REAL + k-anonymous, not the\nold hardcoded {72, 5000}. Computes the student's avg-theta percentile against\nthe live cohort; a cohort below n=50 returns an honest 'forming' state.","operationId":"get_cohort_comparison_api_v1_insights_comparison__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predictions/rank-decisions":{"post":{"tags":["predictions"],"summary":"Create Rank Decision","operationId":"create_rank_decision_api_v1_predictions_rank_decisions_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":160,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RankDecisionCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predictions/rank-decisions/{rank_decision_id}/practice-successor":{"post":{"tags":["predictions"],"summary":"Create Practice Rank Successor","operationId":"create_practice_rank_successor_api_v1_predictions_rank_decisions__rank_decision_id__practice_successor_post","parameters":[{"name":"rank_decision_id","in":"path","required":true,"schema":{"type":"string","title":"Rank Decision Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":160,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PracticeRankSuccessorRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predictions/rank-decisions/{rank_decision_id}/revoke":{"post":{"tags":["predictions"],"summary":"Revoke Rank Decision","operationId":"revoke_rank_decision_api_v1_predictions_rank_decisions__rank_decision_id__revoke_post","parameters":[{"name":"rank_decision_id","in":"path","required":true,"schema":{"type":"string","title":"Rank Decision Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PredictionCorrectionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predictions/college-decisions":{"post":{"tags":["predictions"],"summary":"Create College Decision","description":"Persist one source-qualified CollegeOptionDecision from a Rank decision.","operationId":"create_college_decision_api_v1_predictions_college_decisions_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":160,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollegeDecisionCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predictions/college-decisions/{college_decision_id}":{"get":{"tags":["predictions"],"summary":"Read College Decision","operationId":"read_college_decision_api_v1_predictions_college_decisions__college_decision_id__get","parameters":[{"name":"college_decision_id","in":"path","required":true,"schema":{"type":"string","title":"College Decision Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predictions/seat-decisions":{"post":{"tags":["predictions"],"summary":"Create Seat Decision","description":"Persist one advisory SeatSimulationDecision from an owned College decision.","operationId":"create_seat_decision_api_v1_predictions_seat_decisions_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":160,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SeatDecisionCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predictions/seat-decisions/{seat_decision_id}":{"get":{"tags":["predictions"],"summary":"Read Seat Decision","operationId":"read_seat_decision_api_v1_predictions_seat_decisions__seat_decision_id__get","parameters":[{"name":"seat_decision_id","in":"path","required":true,"schema":{"type":"string","title":"Seat Decision Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predictions/decision-threads":{"post":{"tags":["predictions"],"summary":"Create Prediction Thread","operationId":"create_prediction_thread_api_v1_predictions_decision_threads_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":160,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PredictionThreadCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predictions/decision-threads/{thread_id}":{"get":{"tags":["predictions"],"summary":"Read Prediction Thread","operationId":"read_prediction_thread_api_v1_predictions_decision_threads__thread_id__get","parameters":[{"name":"thread_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Thread Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predictions/decision-threads/{thread_id}/resume":{"post":{"tags":["predictions"],"summary":"Resume Prediction Thread Route","operationId":"resume_prediction_thread_route_api_v1_predictions_decision_threads__thread_id__resume_post","parameters":[{"name":"thread_id","in":"path","required":true,"schema":{"type":"string","title":"Thread Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predictions/decision-threads/{thread_id}/save":{"post":{"tags":["predictions"],"summary":"Save Prediction Thread","operationId":"save_prediction_thread_api_v1_predictions_decision_threads__thread_id__save_post","parameters":[{"name":"thread_id","in":"path","required":true,"schema":{"type":"string","title":"Thread Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PredictionThreadSaveRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predictions/saved":{"get":{"tags":["predictions"],"summary":"List Saved Prediction Threads","operationId":"list_saved_prediction_threads_api_v1_predictions_saved_get","parameters":[{"name":"include_invalidated","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Include Invalidated"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predictions/saved/{saved_thread_id}":{"delete":{"tags":["predictions"],"summary":"Delete Saved Prediction Thread Route","operationId":"delete_saved_prediction_thread_route_api_v1_predictions_saved__saved_thread_id__delete","parameters":[{"name":"saved_thread_id","in":"path","required":true,"schema":{"type":"string","title":"Saved Thread Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predictions/rank-decisions/trajectory":{"get":{"tags":["predictions"],"summary":"Read Rank Decision Trajectory","operationId":"read_rank_decision_trajectory_api_v1_predictions_rank_decisions_trajectory_get","parameters":[{"name":"rank_universe","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":96},{"type":"null"}],"title":"Rank Universe"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":24,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predictions/models/{model_version}/card":{"get":{"tags":["predictions"],"summary":"Read Predictor Model Card","operationId":"read_predictor_model_card_api_v1_predictions_models__model_version__card_get","parameters":[{"name":"model_version","in":"path","required":true,"schema":{"type":"string","title":"Model Version"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predictions/rank-decisions/current":{"get":{"tags":["predictions"],"summary":"Read Current Rank Decision","description":"Return the student's latest current immutable Rank receipt, never a point estimate.","operationId":"read_current_rank_decision_api_v1_predictions_rank_decisions_current_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predictions/rank-decisions/{rank_decision_id}":{"get":{"tags":["predictions"],"summary":"Read Rank Decision","operationId":"read_rank_decision_api_v1_predictions_rank_decisions__rank_decision_id__get","parameters":[{"name":"rank_decision_id","in":"path","required":true,"schema":{"type":"string","title":"Rank Decision Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predictions/passports/{passport_id}/claim":{"post":{"tags":["predictions"],"summary":"Claim Prediction Passport","operationId":"claim_prediction_passport_api_v1_predictions_passports__passport_id__claim_post","parameters":[{"name":"passport_id","in":"path","required":true,"schema":{"type":"string","title":"Passport Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predictions/context":{"post":{"tags":["predictions"],"summary":"Write Prediction Context","operationId":"write_prediction_context_api_v1_predictions_context_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":160,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PredictionContextUpsertRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predictions/context/latest":{"get":{"tags":["predictions"],"summary":"Read Latest Prediction Context","operationId":"read_latest_prediction_context_api_v1_predictions_context_latest_get","parameters":[{"name":"exam_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":48},{"type":"null"}],"title":"Exam Type"}},{"name":"rank_universe","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":96},{"type":"null"}],"title":"Rank Universe"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predictions/context/dimensions":{"post":{"tags":["predictions"],"summary":"Write Prediction Dimensions","description":"Persist explicit mutable dimensions without creating a second profile store.","operationId":"write_prediction_dimensions_api_v1_predictions_context_dimensions_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":160,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PredictionDimensionsUpsertRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predictions/context/{context_id}/snapshots":{"get":{"tags":["predictions"],"summary":"Read Prediction Context Snapshots","operationId":"read_prediction_context_snapshots_api_v1_predictions_context__context_id__snapshots_get","parameters":[{"name":"context_id","in":"path","required":true,"schema":{"type":"string","title":"Context Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predictions/context/{context_id}":{"delete":{"tags":["predictions"],"summary":"Delete Owned Prediction Context","operationId":"delete_owned_prediction_context_api_v1_predictions_context__context_id__delete","parameters":[{"name":"context_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Context Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predictions/rank/{student_id}":{"get":{"tags":["predictions"],"summary":"Get Rank Prediction","description":"Current rank prediction with confidence interval.","operationId":"get_rank_prediction_api_v1_predictions_rank__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predictions/success-probability/{student_id}":{"get":{"tags":["predictions"],"summary":"Get Success Probability","description":"Probability of achieving target rank/college via ENG-037 when available.","operationId":"get_success_probability_api_v1_predictions_success_probability__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predictions/success-probability-history/{student_id}":{"get":{"tags":["predictions"],"summary":"Get Success Probability History","description":"EDU-029 read-back: `/success-probability` persists a `success_probability_estimates`\nrow each call but they were never read back (A3-3 write_never_read) — so the student's\nsuccess-probability trajectory was invisible. Returns recent estimates (indexed by\n`idx_success_prob_estimates_student_generated`), newest first, honest-empty when none.\nOwnership-gated via predictions_router.","operationId":"get_success_probability_history_api_v1_predictions_success_probability_history__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"mode","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"estimate | intervention_roi","title":"Mode"},"description":"estimate | intervention_roi"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predictions/intervention-roi/{student_id}":{"get":{"tags":["predictions"],"summary":"Get Intervention Roi","description":"D-77/D-20 strict-10/10 close: ROI of a proposed study-hours intervention\nvia ENG-037 `intervention_roi` mode (Δ p_success for +N h/day). Persists +\nemits `eng_037_intervention_roi_evaluated` — the 6th D-77 G95 event, which\npreviously had no BFF route. Fail-soft: degraded event on engine miss, never 5xx.","operationId":"get_intervention_roi_api_v1_predictions_intervention_roi__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"extra_hours","in":"query","required":false,"schema":{"type":"number","default":2.0,"title":"Extra Hours"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predictions/college-chances/{student_id}":{"get":{"tags":["predictions"],"summary":"Get College Chances","description":"College admission probability based on predicted rank from DB.\n\ns56 (2026-05-24) — same 246k-row blowup as `/predict/colleges/{sid}`.\nYear-latest + rank-window + top-N cap applied here too.","operationId":"get_college_chances_api_v1_predictions_college_chances__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"category","in":"query","required":false,"schema":{"type":"string","default":"General","title":"Category"}},{"name":"exam_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"JEE_MAIN | JEE_ADVANCED | NEET | CUET","title":"Exam Type"},"description":"JEE_MAIN | JEE_ADVANCED | NEET | CUET"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notifications/":{"get":{"tags":["notifications"],"summary":"Get Notifications","description":"Get notification feed.\n\nAnswered with and without the trailing slash (17 Nov 2026). Without the second path FastAPI answered\n`/api/v1/notifications?student_id=...` with a 307 to an http:// address (the proxy's scheme is not trusted), and a\nbrowser on https blocks that redirect, so every student's Notifications screen said \"Failed to load alerts\".\n\nENG-035 is the notification timing/composition engine; it does not expose\na feed-read mode. This route intentionally reads the notification inbox\ntable directly instead of making an unsupported engine call that would\nsilently fall back.","operationId":"get_notifications_api_v1_notifications__get","parameters":[{"name":"student_id","in":"query","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notifications/{notification_id}/read":{"put":{"tags":["notifications"],"summary":"Mark Notification Read","description":"Mark a single notification as read.","operationId":"mark_notification_read_api_v1_notifications__notification_id__read_put","parameters":[{"name":"notification_id","in":"path","required":true,"schema":{"type":"string","title":"Notification Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notifications/read-all":{"put":{"tags":["notifications"],"summary":"Mark All Read","description":"Mark all notifications as read for a student.","operationId":"mark_all_read_api_v1_notifications_read_all_put","parameters":[{"name":"student_id","in":"query","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notifications/preferences":{"get":{"tags":["notifications"],"summary":"Get Notification Preferences","operationId":"get_notification_preferences_api_v1_notifications_preferences_get","parameters":[{"name":"student_id","in":"query","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notifications/prefs/{student_id}":{"get":{"tags":["notifications"],"summary":"Get Notification Prefs V2","description":"Return the student's per-event-per-channel notification toggles.","operationId":"get_notification_prefs_v2_api_v1_notifications_prefs__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["notifications"],"summary":"Upsert Notification Prefs V2","description":"Upsert one or more notification preference rows.\n\nBody shape:\n  { \"prefs\": [ {event_key, channel, enabled}, … ] }\n\nEach tuple is upserted on (student_id, event_key, channel). Returns\nthe number of rows touched.","operationId":"upsert_notification_prefs_v2_api_v1_notifications_prefs__student_id__put","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/{parent_id}/child/{child_id}/predictions/{thread_id}":{"post":{"tags":["parent"],"summary":"Create Parent Prediction Projection Route","operationId":"create_parent_prediction_projection_route_api_v1_parent__parent_id__child__child_id__predictions__thread_id__post","parameters":[{"name":"parent_id","in":"path","required":true,"schema":{"type":"string","title":"Parent Id"}},{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"thread_id","in":"path","required":true,"schema":{"type":"string","title":"Thread Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PredictionParentProjectionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["parent"],"summary":"Read Parent Prediction Projection Route","operationId":"read_parent_prediction_projection_route_api_v1_parent__parent_id__child__child_id__predictions__thread_id__get","parameters":[{"name":"parent_id","in":"path","required":true,"schema":{"type":"string","title":"Parent Id"}},{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"thread_id","in":"path","required":true,"schema":{"type":"string","title":"Thread Id"}},{"name":"projection_receipt_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Projection Receipt Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/{parent_id}/child/{child_id}/prediction-projections/latest":{"get":{"tags":["parent"],"summary":"Read Latest Parent Prediction Projection Route","operationId":"read_latest_parent_prediction_projection_route_api_v1_parent__parent_id__child__child_id__prediction_projections_latest_get","parameters":[{"name":"parent_id","in":"path","required":true,"schema":{"type":"string","title":"Parent Id"}},{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/weekly-report/{student_id}":{"get":{"tags":["parent"],"summary":"Get Parent Weekly Report","description":"Parent-friendly weekly report. Academic-consent gated.","operationId":"get_parent_weekly_report_api_v1_parent_weekly_report__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/dashboard/{student_id}":{"get":{"tags":["parent"],"summary":"Get Parent Dashboard","description":"Parent dashboard composite data.\n\nAcademic-consent gated.\n\n2026-08-18: `study_hours` and `accuracy` were the literals 12 and 0.72. Every parent\nof every child saw the same two numbers, and they were the two most quotable figures\non the screen - a parent would read \"12 hours, 72%\" as a measurement of their child.\nBoth are computable from dpp_sessions, which carries started_at, completed_at, score\nand max_score, so they are now measured.\n\nWhere there is nothing to measure they are NULL, not 0. A child who has not studied\nand a child we have no record for are different answers, and zero would state the\nfirst while meaning the second.","operationId":"get_parent_dashboard_api_v1_parent_dashboard__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/alerts/{student_id}":{"get":{"tags":["parent"],"summary":"Get Parent Alerts","description":"Activity alerts for a parent: study gaps only.\n\nWellness is hidden from parents (founder, D03, 30 Nov 2026; AGENTS.md 2.15). This\nroute used to dispatch to ENG-019 Wellness `assess` and return stress level, burnout\nsignals and an anomaly score; it now reads study activity only and carries no wellness\nfield at all. The one exception, a real safety concern, keeps its own path\n(`ask_safety_escalation`) and is not served here. The student's own wellness views\nare untouched.\n\nStudy activity is the academic flag's data (\"Session Activity\"), so the same\nwithheld answer the other academic routes give applies when it is off.","operationId":"get_parent_alerts_api_v1_parent_alerts__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/consent":{"put":{"tags":["parent"],"summary":"Update Parent Consent","description":"Update parent consent preferences (academic, wellness, peer).","operationId":"update_parent_consent_api_v1_parent_consent_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsentUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/attendance/{student_id}":{"get":{"tags":["parent"],"summary":"Get Study Attendance","description":"Study attendance calendar for parent view. Academic-consent gated.","operationId":"get_study_attendance_api_v1_parent_attendance__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/monthly-report/{student_id}":{"get":{"tags":["parent"],"summary":"Get Parent Monthly Report","description":"PR-255 (CL-082) — Monthly progress report for parent.\n\ns34 walk closing the CL-082 spine. The router-level\n`enforce_parent_child_link` dep already verifies the parent has an active\n`parent_children` row for this child; this handler additionally\nconsent-gates the academic section and aggregates 30 days of\nactivity into a single payload the FE can render in one screen.\n\nQuery params:\n  month — YYYY-MM. Defaults to current month. Range = first of month to\n          first of next month.\n\nTier gate: ACE+ on the *child's* plan. FREE-tier child returns a\nlocked-state envelope instructing the parent to upgrade the child's\nsubscription to unlock the monthly report.","operationId":"get_parent_monthly_report_api_v1_parent_monthly_report__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"month","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Month"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/consent/{parent_id}/{child_id}":{"get":{"tags":["parent-p1"],"summary":"Get Consent Status","description":"Read-only consent status for parent. Student controls toggles.","operationId":"p0p1_parent_get_consent_status","parameters":[{"name":"parent_id","in":"path","required":true,"schema":{"type":"string","title":"Parent Id"}},{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/insight/daily/{parent_id}/{child_id}":{"get":{"tags":["parent-p1"],"summary":"Get Daily Insight","description":"P20-style daily insight: ISSUE / WHY / ACTION format.\nConsent-gated. Generated by P20 pipeline (daily 6 AM) or on-the-fly fallback.","operationId":"p0p1_parent_daily_insight","parameters":[{"name":"parent_id","in":"path","required":true,"schema":{"type":"string","title":"Parent Id"}},{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/{child_id}/subject/{subject_id}/breakdown":{"get":{"tags":["parent"],"summary":"Parent Subject Breakdown","description":"P05 — Subject Breakdown Detail (s34: real student_mastery-backed).\n\nChapter rows now come from student_mastery filtered by subject. Empty\nchapters list when this child hasn't attempted the subject yet — FE\nrenders \"No data yet\" empty state instead of the previous CHAP_DATA\nseed (Thermodynamics/Oscillations/Electrostatics + Organic Mech etc).","operationId":"parent_subject_breakdown_api_v1_parent__child_id__subject__subject_id__breakdown_get","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"subject_id","in":"path","required":true,"schema":{"type":"string","title":"Subject Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/{child_id}/consent":{"get":{"tags":["parent"],"summary":"Parent Consent Get","description":"P06 - Consent Management (read-only for parent)\nSpec: ACE_PARENT_DEEP_SCREENS_SPEC_v1_0_20260404 Screen 3\nEngine: ENG-018 (ConsentGate)","operationId":"parent_consent_get_api_v1_parent__child_id__consent_get","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/{child_id}/consent/request":{"post":{"tags":["parent"],"summary":"Parent Consent Request","description":"P06 - Ask the child for a category that is switched off.\n\nAA-P-3 (13 Oct 2026). This used to write `parent_consent_requests`, a table\nnothing in the app reads, and tell the parent \"They will be notified\". The\nlearner's own screen (Settings > Your parents) answers `consent_requests`\nthrough POST /auth/consent-requests/decide, so the request is written there:\nthe learner sees it, can approve or decline it, and gets an in-app notice.\nThe parent is told \"sent\" only after the row is stored.","operationId":"parent_consent_request_api_v1_parent__child_id__consent_request_post","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"parent_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/{parent_id}/child/{child_id}/rank-trajectory":{"get":{"tags":["parent"],"summary":"Parent Rank Trajectory For Linked Child","operationId":"parent_rank_trajectory_for_linked_child_api_v1_parent__parent_id__child__child_id__rank_trajectory_get","parameters":[{"name":"parent_id","in":"path","required":true,"schema":{"type":"string","title":"Parent Id"}},{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":90,"title":"Days"}},{"name":"includeColleges","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Includecolleges"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/{parent_id}/child/{child_id}/subject/{subject_id}/breakdown":{"get":{"tags":["parent"],"summary":"Parent Subject Breakdown For Linked Child","operationId":"parent_subject_breakdown_for_linked_child_api_v1_parent__parent_id__child__child_id__subject__subject_id__breakdown_get","parameters":[{"name":"parent_id","in":"path","required":true,"schema":{"type":"string","title":"Parent Id"}},{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"subject_id","in":"path","required":true,"schema":{"type":"string","title":"Subject Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/{parent_id}/child/{child_id}/consent":{"get":{"tags":["parent"],"summary":"Parent Consent Get For Linked Child","operationId":"parent_consent_get_for_linked_child_api_v1_parent__parent_id__child__child_id__consent_get","parameters":[{"name":"parent_id","in":"path","required":true,"schema":{"type":"string","title":"Parent Id"}},{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/{parent_id}/child/{child_id}/consent/request":{"post":{"tags":["parent"],"summary":"Parent Consent Request For Linked Child","operationId":"parent_consent_request_for_linked_child_api_v1_parent__parent_id__child__child_id__consent_request_post","parameters":[{"name":"parent_id","in":"path","required":true,"schema":{"type":"string","title":"Parent Id"}},{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sync/batch":{"post":{"tags":["sync"],"summary":"Sync Batch","description":"Reconcile legacy offline actions without weakening product custody.\n\nThe authenticated learner owns every action. DPP answers are immutable:\nan exact replay is accepted, while a changed replay requires a new\nversioned Practice answer event and is reported as a conflict. Canonical\nPRACIMP sessions use their dedicated answer-event endpoint and are never\nwritten through this compatibility batch.","operationId":"sync_batch_api_v1_sync_batch_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SyncBatchRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sync/status/{student_id}":{"get":{"tags":["sync"],"summary":"Get Sync Status","description":"Offline sync queue status.","operationId":"get_sync_status_api_v1_sync_status__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sync/resolve-conflict":{"post":{"tags":["sync"],"summary":"Resolve Conflict","description":"Resolve offline CRDT conflict.","operationId":"resolve_conflict_api_v1_sync_resolve_conflict_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/settings/preferences/{student_id}":{"get":{"tags":["settings"],"summary":"Get Preferences","description":"Get student preferences (returns defaults if none set).","operationId":"p3_get_preferences","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["settings"],"summary":"Update Preferences","description":"Update student preferences. Only provided fields are changed.","operationId":"p3_update_preferences","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreferenceUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["settings"],"summary":"Reset Preferences","description":"Reset preferences to defaults.","operationId":"reset_preferences_api_v1_settings_preferences__student_id__delete","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/settings/preferences/ai-persona/{student_id}":{"get":{"tags":["settings"],"summary":"Get Ai Persona Preferences","description":"Legacy AI persona read. Served from the Buddy resolver (student_preferences),\nthe same store Ask and JARVIS read. The path id is checked against the session.","operationId":"buddy_legacy_get_ai_persona","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["settings"],"summary":"Update Ai Persona Preferences","description":"Legacy AI persona write, now a thin wrapper over the single Buddy writer.\n\nThe core choice (preset archetype, language) is free on every tier; a custom\nname, tone dial or voice follow the depth capability. A refused field is a 403\nnaming the field, never a silent drop.","operationId":"buddy_legacy_put_ai_persona","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Prefs"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/settings/consent/{student_id}":{"put":{"tags":["settings"],"summary":"Update Consent","operationId":"update_consent_api_v1_settings_consent__student_id__put","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsentUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/settings/data-export/{student_id}":{"get":{"tags":["settings"],"summary":"Request Data Export","description":"DPDP data portability (legacy GET). Not wired: nothing is queued.\n\nUsed to answer ``export_queued`` with no download and no job behind it.","operationId":"request_data_export_api_v1_settings_data_export__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/settings/tier-comparison":{"get":{"tags":["settings"],"summary":"Get Tier Comparison","description":"Compare FREE/ACE/GROW/SCALE tiers.","operationId":"get_tier_comparison_api_v1_settings_tier_comparison_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/admin/dashboard":{"get":{"tags":["admin"],"summary":"Operator Dashboard","description":"O1: Platform health dashboard.","operationId":"operator_dashboard_api_v1_admin_dashboard_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/students":{"get":{"tags":["admin"],"summary":"List Students","description":"O2: Student list with search + filter.","operationId":"list_students_api_v1_admin_students_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/students/{student_id}/detail":{"get":{"tags":["admin"],"summary":"Student Detail","description":"O3: Deep student profile for operator.","operationId":"student_detail_api_v1_admin_students__student_id__detail_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/grading/hitl-queue":{"get":{"tags":["admin"],"summary":"Get Hitl Queue","description":"O4: HITL review queue for teachers.","operationId":"get_hitl_queue_api_v1_admin_grading_hitl_queue_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/analytics/platform":{"get":{"tags":["admin"],"summary":"Platform Analytics","description":"O5: Platform-wide analytics.","operationId":"platform_analytics_api_v1_admin_analytics_platform_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/content/questions":{"get":{"tags":["admin"],"summary":"List Questions","description":"O6: Question bank management.","operationId":"list_questions_api_v1_admin_content_questions_get","parameters":[{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["admin"],"summary":"Create Question","description":"O7: Add question to bank. Not wired: used to return \"created\" / q_new_001 and insert nothing.","operationId":"create_question_api_v1_admin_content_questions_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/institutions":{"get":{"tags":["admin"],"summary":"List Institutions","description":"O8: Institution management.","operationId":"list_institutions_api_v1_admin_institutions_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/revenue":{"get":{"tags":["admin"],"summary":"Revenue Dashboard","description":"O9: Revenue + subscription metrics.","operationId":"revenue_dashboard_api_v1_admin_revenue_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/compliance/audit-log":{"get":{"tags":["admin"],"summary":"Get Audit Log","description":"O10: Compliance audit log viewer.","operationId":"get_audit_log_api_v1_admin_compliance_audit_log_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/engines/health":{"get":{"tags":["admin"],"summary":"Engine Health","description":"O11: Engine health matrix.","operationId":"engine_health_api_v1_admin_engines_health_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/feature-flags":{"post":{"tags":["admin"],"summary":"Update Feature Flag","description":"O12: Toggle feature flags. Not wired: used to answer \"updated\" and change nothing.","operationId":"update_feature_flag_api_v1_admin_feature_flags_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["admin"],"summary":"Get Feature Flags","description":"Current feature flags. None are stored: this used to list four fixed flags as current.","operationId":"get_feature_flags_api_v1_admin_feature_flags_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/notifications/campaigns":{"get":{"tags":["admin"],"summary":"List Campaigns","description":"O13: Notification campaigns.","operationId":"list_campaigns_api_v1_admin_notifications_campaigns_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/notifications/status":{"get":{"tags":["admin"],"summary":"Notifications Status","description":"G-S1-02: report which notification channels are configured at runtime.\nNever returns secret values — only configured/missing flags + which path\neach channel will take on the next send (real API vs dev_log). Band 1.7\nalso surfaces delivery-attempt counts so not-configured drops cannot stay\nsilent.","operationId":"notifications_status_api_v1_admin_notifications_status_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/reports/weekly":{"get":{"tags":["admin"],"summary":"Weekly Platform Report","description":"O14: Weekly platform report (CEO view).","operationId":"weekly_platform_report_api_v1_admin_reports_weekly_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/ota/push":{"post":{"tags":["admin"],"summary":"Push Ota Update","description":"O15: Push OTA policy update. Not wired: used to answer \"ota_pushed\" and push nothing.","operationId":"push_ota_update_api_v1_admin_ota_push_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/risk-alert":{"get":{"tags":["admin"],"summary":"Student Risk Alert","description":"K4: Student Risk Alert (ENG-016 Churn Predictor).\n\nCalls ENG-016 batch_risk_report against real students from `students`,\nlayering whatever behavioural signal data we have. Returns the engine's\nHIGH/CRITICAL risk tiers — no hardcoded stub.","operationId":"student_risk_alert_api_v1_admin_risk_alert_get","parameters":[{"name":"batch_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Batch Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/benchmarking/{batch_id}":{"get":{"tags":["admin"],"summary":"Batch Benchmarking","description":"K5: Batch Benchmarking.\n\nThis used to return ``avg_rank: 3200`` and ``top_subject: \"Physics\"`` for\nevery batch id, including ids that do not exist. No batch-level rank is\nmeasured anywhere, so an admin saw an invented number presented as a\nbenchmark. It now says plainly that none is available. The response keeps\nits original keys; the values are null.","operationId":"batch_benchmarking_api_v1_admin_benchmarking__batch_id__get","parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","title":"Batch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/profile/{student_id}":{"get":{"tags":["kernel"],"summary":"Get Spre Profile","description":"Read SPRE digital twin profile.\nEngine: ENG-007. Tier gate: None. SLA: < 200ms.","operationId":"get_spre_profile_api_v1_profile__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SPREProfileResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/payments/webhook":{"post":{"tags":["payments"],"summary":"Razorpay Webhook Deprecated","description":"410 Gone — moved to /webhooks/razorpay (§3.1 hardening, 2026-04-20).","operationId":"razorpay_webhook_deprecated_api_v1_payments_webhook_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"deprecated":true}},"/api/v1/payments/create-order":{"post":{"tags":["payments"],"summary":"Create Razorpay Order Removed","operationId":"create_razorpay_order_removed_api_v1_payments_create_order_post","responses":{"410":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/test/catalog":{"get":{"tags":["test"],"summary":"Get Test Catalog","description":"Return available mock test types with real question counts from DB.\n\n``exam`` (the student's exam_target, e.g. JEE / NEET) locks the catalog to\nthat one exam lane, so a JEE student never sees the NEET mock and a NEET\nstudent never sees a Maths section test (one account = one learner). Omitted\n-> the full catalog (back-compatible for internal callers).","operationId":"get_test_catalog_api_v1_test_catalog_get","parameters":[{"name":"exam","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Exam"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/test/history/{student_id}":{"get":{"tags":["test"],"summary":"Get Test History","description":"Return past test sessions for a student.","operationId":"get_test_history_api_v1_test_history__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/test/schedule":{"post":{"tags":["test"],"summary":"Schedule Mock","description":"PR-388 (v7 mock-tests × study-plan): schedule a mock for a FUTURE date.\n\nPersists into the shared `calendar_events` table (event_type='mock_scheduled')\nso the student calendar / plan surfaces it automatically — no new table, no\nteacher-only path. Student-scoped + attributed to the `mock-tests` product.","operationId":"schedule_mock_api_v1_test_schedule_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/test/scheduled/{student_id}":{"get":{"tags":["test"],"summary":"List Scheduled Mocks","description":"PR-388 — upcoming mocks this student has scheduled (today onward), soonest first.","operationId":"list_scheduled_mocks_api_v1_test_scheduled__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/test/start":{"post":{"tags":["test"],"summary":"Start Test","description":"B2/B10: Start a full-length mock test or diagnostic test with real questions from DB.\n\ns34 (CL-040 PR-095): when mode='diagnostic' the request flows through the\n`quick_check` tier-quota counter (FREE 20/mo · ACE 50/mo · GROW/SCALE\nunlimited) so the same code path serves both /test/start and the\n/quick-check/start alias below. Quota check is best-effort — if the\nenforcer is unwired (no Redis / dev), the call passes with a `skipped`\nflag rather than failing closed.","operationId":"start_test_api_v1_test_start_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/test/snapshot":{"post":{"tags":["test"],"summary":"Push Test Snapshot","description":"PR-405 offline mode — FE pushes in-progress state.\n\nFree on every tier (FD-2: basic save/restore is never paid). State persisted as a single JSONB\nrow in `mock_session_snapshots` keyed on session_id with a\nlast-write-wins clock. Returns the persisted snapshot so the FE\ncan confirm its push round-tripped.\n\nStorage is migration-owned by db/migrations/137_mock_session_snapshots.sql.","operationId":"push_test_snapshot_api_v1_test_snapshot_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_MockSnapshotBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/test/snapshot/{session_id}":{"get":{"tags":["test"],"summary":"Get Test Snapshot","description":"PR-405 offline mode — FE pulls latest server-known state on\nreconnect. Returns 404 when no snapshot has been pushed yet so the\nFE can fall back to its local IndexedDB cache.","operationId":"get_test_snapshot_api_v1_test_snapshot__session_id__get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/test/submit":{"post":{"tags":["test"],"summary":"Submit Test","description":"C2: Submit test responses for NTA-style auto-grading.\n\ns34 #52-A round 2 — replaced the `option 2 is always correct` dummy\ngrader with a real one driven by session_answer_keys (migration 081).\n\nExpected payload:\n    {\n      \"session_id\": \"test_…\",\n      \"answers\": { \"<question_id>\": \"A\" | \"B\" | … | \"<numeric>\" },\n      \"timings\":  { \"<question_id>\": <seconds> }   # optional (A3-3b)\n    }\n\nPer-question marking: +4 correct, -1 incorrect, 0 unattempted.\n`timings` is optional per-Q wall-clock seconds from the FE mock runner;\npersisted to mock_session_answers.time_taken_s for EDU-034 time-analysis.","operationId":"submit_test_api_v1_test_submit_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/quick-check/start":{"post":{"tags":["quick_check"],"summary":"Quick Check Start","description":"CL-040 PR-095 — start a 20Q quick-check diagnostic session.\n\nForwards to the canonical test_router.start_test handler with\nmode='diagnostic' forced, so the answer-key persistence /\nsession_answer_keys / mock_sessions integration all stay in one place.","operationId":"quick_check_start_api_v1_quick_check_start_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/quick-check/submit":{"post":{"tags":["quick_check"],"summary":"Quick Check Submit","description":"CL-040 PR-095 — submit answers + get verdict for a quick-check session.","operationId":"quick_check_submit_api_v1_quick_check_submit_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/quick-check/history/{student_id}":{"get":{"tags":["quick_check"],"summary":"Quick Check History","description":"CL-040 PR-095 — past quick-check sessions for this student.\n\nFilters mock_sessions to mode='diagnostic' so the FE can render a\nquick-check streak without mixing in full mocks.","operationId":"quick_check_history_api_v1_quick_check_history__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/dna/{student_id}/history":{"get":{"tags":["dna"],"summary":"Get Dna History","description":"PR-310 — last N DNA snapshots for the student. ACE+ (FREE locked\nupstream by tier-gate on the parent /dna read).","operationId":"get_dna_history_api_v1_dna__student_id__history_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":12,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/dna/{student_id}/evolution":{"get":{"tags":["dna"],"summary":"Get Dna Evolution","description":"PR-310 — per-dimension delta vs ~lookback_days ago. Returns\n`{available: false, reason: ...}` until the student has 2+ snapshots\nspanning the lookback window.","operationId":"get_dna_evolution_api_v1_dna__student_id__evolution_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"lookback_days","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Lookback Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/dna/{student_id}/dimension/{dim_id}":{"get":{"tags":["dna"],"summary":"Get Dna Dimension","description":"Pack #20 DNA-002 DnaDimensionDetail — why one dimension is where it is.\n\nThe honesty keystone (the canonical twin's #1 law — never lie about\nmastery): a STRONG-vs-LIGHT drivers split read from REAL signals.\n\n  STRONG = twin_concept_state — graded evidence (mock / paper / DPP) that\n           actually moved mastery (p_mastery + attempts_seen). The ONLY\n           thing that moves the number.\n  LIGHT  = twin_light_signals — reading / doubts / PYQ coverage. Counted as\n           \"covered,\" it brightens nothing and moves no mastery.\n\nBoth-empty renders an honest forming state — never a fabricated bar. The\ndimension itself is resolved from the SAME canonical snapshot the\nconstellation reads (no fork). Tier-gated like the snapshot.","operationId":"get_dna_dimension_api_v1_dna__student_id__dimension__dim_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"dim_id","in":"path","required":true,"schema":{"type":"string","title":"Dim Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/dna/{student_id}":{"get":{"tags":["dna"],"summary":"Get Dna Identity","description":"CL-090 PR-300/305/310 — tier-shaped cognitive DNA snapshot.\n\ns34 walk closing the CL-090 spine. Reads the existing 7-dim profile\nfrom `spre_seven_dims.api_read` and shapes the response per tier:\n\n  FREE  → locked envelope (preview of what unlocks at ACE)\n  ACE   → 4 dimensions (knowledge, learning_style, motivation, trajectory),\n          monthly refresh cadence in metadata\n  GROW  → all 7 dimensions, weekly refresh cadence\n  SCALE → all 7 dims + provenance map (which signal shaped each dim) +\n          daily refresh cadence\n\nThe human-readable provenance map remains a stable signal-family summary;\nSCALE also carries `evidence_refs`, a durable per-dimension list of the\nexact evidence ids and source rows used to build the snapshot.","operationId":"get_dna_identity_api_v1_dna__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/diagnostic/report":{"post":{"tags":["diagnostic"],"summary":"Diagnostic Report","description":"Concept Diagnostic Report for one student.\n\nComposed from real attempt data plus ENG-041 (mastery), ENG-009 (gaps)\nand ENG-006 (rank band + counterfactual). Ranked by marks recoverable\nrather than by weakness — see diagnostic_report_composer for why.\n\nSections degrade independently: an unavailable engine yields\n`available: false` with a `degraded_reason` for that section only,\nnever a substituted number.","operationId":"diagnostic_report_api_v1_diagnostic_report_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/diagnostic/report/{report_id}":{"get":{"tags":["diagnostic"],"summary":"Diagnostic Report By Id","description":"Serve a previously issued report, exactly as issued.\n\nNever recomposes. The numbers a family saw stay the numbers a family\nsees, even after engines retrain and more attempts land.","operationId":"diagnostic_report_by_id_api_v1_diagnostic_report__report_id__get","parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"string","title":"Report Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tricks/all":{"get":{"tags":["tricks"],"summary":"Get All Tricks","description":"A6: Get all tricks from database, optionally filtered by subject.","operationId":"get_all_tricks_api_v1_tricks_all_get","parameters":[{"name":"subject","in":"query","required":false,"schema":{"type":"string","title":"Subject"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tricks/browse/{subject}/{chapter}":{"get":{"tags":["tricks"],"summary":"Browse Tricks","description":"A6: Get existing tricks for a chapter.\n\nResponse is additionally enriched with `related_concepts` (direct\nprerequisites + dependents from ENG-064 Reasoning Graph — absorbed\nENG-020's `concept_neighbors` mode per D-5 fold 2026-05-26) so the\nFE can render \"see also\" trick chains. The field is omitted when the\nchapter doesn't resolve to a graph concept — additive contract.","operationId":"browse_tricks_api_v1_tricks_browse__subject___chapter__get","parameters":[{"name":"subject","in":"path","required":true,"schema":{"type":"string","title":"Subject"}},{"name":"chapter","in":"path","required":true,"schema":{"type":"string","title":"Chapter"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tricks/generate":{"post":{"tags":["tricks"],"summary":"Generate Trick","description":"A6 / CL-135 PR-500/505: On-the-fly trick + mnemonic generation.\n\ns54 E2 elite wire: tier-agnostic — every tier (incl FREE) gets the\ngenerator. Composition path (in order, best match wins):\n  1. EDU-006 STG bank lookup — fast, expert-verified library hit\n  2. EDU-007 Mnemonic engine — purpose-built mnemonic generator\n  3. JARVIS LLM inline — final fallback w/ optional SCALE personalisation\n\nPre-s54: GROW+ tier gate returned lock screen; SCALE-only personalisation.\nPer founder directive: gates removed. Personalisation still honoured for\nSCALE because that requires student_mastery data, not a feature gate.","operationId":"generate_trick_api_v1_tricks_generate_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tricks/library/{student_id}":{"get":{"tags":["tricks"],"summary":"Tricks Library","description":"CL-135 PR-490 (FREE 200) + PR-495 (ACE 1000+) — tier-shaped library.\n\nFREE  → up to 200 tricks (TIER_LIMITS[\"trick_library_size\"])\nACE   → up to 1000 tricks\nGROW  → unlimited (-1)\nSCALE → unlimited + spaced-repetition flags\n\nReturns honest empty-state if the `tricks` table is unseeded — content\nteam's job to populate. The `/tricks/generate` endpoint still works\non-demand for GROW+.","operationId":"tricks_library_api_v1_tricks_library__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":200,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tricks/review":{"post":{"tags":["tricks"],"summary":"Review Trick","description":"SM-2 style spaced-repetition review for tricks.\n\ns54 E2: tier-agnostic — every tier gets spaced repetition. Pre-s54\nthe route returned 402 for non-SCALE users; per founder directive\nthat gate is removed.","operationId":"review_trick_api_v1_tricks_review_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tricks/feedback":{"post":{"tags":["tricks"],"summary":"Trick Feedback","operationId":"trick_feedback_api_v1_tricks_feedback_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tricks/search/{student_id}":{"get":{"tags":["tricks"],"summary":"Tricks Search","description":"CL-135 PR-480 Mnemonic search.\n\nAll tiers: ILIKE match across subject/topic/trick_text. ACE+ additionally\nenriches with ENG-064 concept neighbours so the FE can render \"see also\"\nchains (mirrors `/tricks/browse` enrichment shape; ENG-020 superseded by\nENG-064 per D-5 fold 2026-05-26).\n\nEmpty query returns the same envelope with no rows — UI can keep the\ncomponent mounted while the user types.","operationId":"tricks_search_api_v1_tricks_search__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"q","in":"query","required":false,"schema":{"type":"string","default":"","title":"Q"}},{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":40,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tricks/concept/{concept_id}":{"get":{"tags":["tricks"],"summary":"Tricks For Graph Concept","description":"Return live mnemonics linked to one canonical concept graph node.\n\nThis is the runtime query path unlocked by migration 270 + the backfill:\ngraph/twin/DPP surfaces can ask \"what mnemonic belongs to THIS concept?\"\ninstead of searching only by subject/chapter/topic text.","operationId":"tricks_for_graph_concept_api_v1_tricks_concept__concept_id__get","parameters":[{"name":"concept_id","in":"path","required":true,"schema":{"type":"string","title":"Concept Id"}},{"name":"student_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Student Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":3,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tricks/save-to-notes":{"post":{"tags":["tricks"],"summary":"Save Trick To Notes","description":"CL-135 PR-495 cross-cluster save → CL-260 Notes.\n\nPersists the trick into `notes.library` (the one Notes Library) so the student\nsees it alongside captured study material. Universal-tier (the\nspec's \"Save\" half of PR-495 — no paywall). Idempotent per trick:\nre-saving the same `trick_id` returns the existing note.","operationId":"save_trick_to_notes_api_v1_tricks_save_to_notes_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tricks/share":{"post":{"tags":["tricks"],"summary":"Share Trick","description":"CL-135 PR-495 share — GROW+ only.\n\nReturns a structural share payload (text + share_url) so the FE can hand\nit to `navigator.share` or a copy-to-clipboard fallback. We do NOT host\na public mnemonic gallery — share is short-form text plus deep-link to\nthe in-app Mnemonics surface. Below GROW returns an explicit upgrade\nenvelope (matches `/tricks/generate` lock shape).","operationId":"share_trick_api_v1_tricks_share_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/colleges/{student_id}":{"get":{"tags":["predict"],"summary":"Predict Colleges","description":"D2: College predictions from latest rank prediction + cutoff data.\n\ns56 (2026-05-24) — `college_cutoffs` holds ~246k historical rows (2018-25).\nPre-fix this route iterated all of them, returning ~11 MB / ~11 s. Now:\n  * filters to a single year (default = latest year in the table)\n  * filters cutoff_rank to a window around the student's predicted_rank\n    (0.3x .. 3x) so only realistic matches make it into Python\n  * caps response to top-`limit` (default 50) by probability desc\n  * accepts `year`, `limit`, `min_probability` query overrides\nResult is ~50 KB / <500 ms for a typical SCALE student.","operationId":"predict_colleges_api_v1_predict_colleges__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"category","in":"query","required":false,"schema":{"type":"string","default":"General","title":"Category"}},{"name":"exam_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"JEE_MAIN | JEE_ADVANCED | NEET | CUET","title":"Exam Type"},"description":"JEE_MAIN | JEE_ADVANCED | NEET | CUET"},{"name":"year","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Year"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"min_probability","in":"query","required":false,"schema":{"type":"integer","default":2,"title":"Min Probability"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/rank-detail/{student_id}":{"get":{"tags":["predict"],"summary":"Get Rank Detail","description":"SD08 RankFullView composite endpoint (s34 walk).\n\nOne call returns every field the screen renders so the FE can drop\nits MOCK_RANK seed:\n  current_band / previous_band (the current RELEASED Your Rank decision's\n  optimistic and cautious rank), rank_state, target, rank_delta (cautious\n  edge moved since the previous range), trajectory (cautious edge per month,\n  last 5 months), months (matching labels), colleges (DB-driven cutoff\n  matchup), what_if.leverage_candidates (derived from current weak topics).\n\nRank honesty (PRD-AA-YOUR-RANK 6, 12, 13): the range is the student's current\nreleased decision, never a stored point rank. `predicted_rank` is null unless\nthe student TYPED a rank; that rank is labelled USER_INPUT and is never widened\ninto a band. With no released decision the state is FORMING. There is no\n\"confidence\" and no central rank.\n\nEach section degrades gracefully — empty array / null where the\nunderlying table has no data, never seed values. The FE renders an\nempty-state per section instead of fake content.","operationId":"get_rank_detail_api_v1_predict_rank_detail__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"rank","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"description":"manual rank override entered by the student","title":"Rank"},"description":"manual rank override entered by the student"},{"name":"category","in":"query","required":false,"schema":{"type":"string","description":"counselling category for college matchup","default":"General","title":"Category"},"description":"counselling category for college matchup"},{"name":"exam_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"JEE_MAIN | JEE_ADVANCED | NEET | CUET","title":"Exam Type"},"description":"JEE_MAIN | JEE_ADVANCED | NEET | CUET"},{"name":"prediction_context_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Prediction context receipt reference","title":"Prediction Context Id"},"description":"Prediction context receipt reference"},{"name":"domicile_state","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"description":"state exams: the student's home state (Punjab home-state seats)","title":"Domicile State"},"description":"state exams: the student's home state (Punjab home-state seats)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/benchmark-history/{student_id}":{"get":{"tags":["predict"],"summary":"Get Benchmark History","description":"EDU-037 read-back: `/rank-detail` writes an `edu037_benchmark_runs` row each time it\nbenchmarks the latest mock score, but those runs were never read back (A3-3\nwrite_never_read) — so a student couldn't see their percentile/rank trajectory over\ntime. Returns recent benchmark runs (indexed by `idx_edu037_benchmark_runs_student_recent`),\nnewest first, with the scalar fields the FE charts. Honest-empty when none. Ownership-gated\nvia predict_router; closes the elite \"UI surface / read-back\" row + the data gap.","operationId":"get_benchmark_history_api_v1_predict_benchmark_history__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"exam_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"JEE_MAIN | JEE_ADVANCED | NEET | CUET","title":"Exam Type"},"description":"JEE_MAIN | JEE_ADVANCED | NEET | CUET"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/analytics/error-patterns/{student_id}":{"get":{"tags":["analytics"],"summary":"Get Analytics Error Patterns","description":"C4: Aggregated error pattern report from grading history.","operationId":"get_analytics_error_patterns_api_v1_analytics_error_patterns__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Days"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/spaced-rep/due/{student_id}":{"get":{"tags":["revision"],"summary":"Get Due Revisions","description":"D5: Spaced repetition — topics due for revision today.\n\nEDU-REV-001 wire (s46 wire-set-3): the engine receives deck_state\ninline (built from the DB rows) and runs SM-2 ranking to surface\n`engine_view`. The original `due_today` list stays as the canonical\nfallback so existing FE consumers don't break.","operationId":"get_due_revisions_api_v1_spaced_rep_due__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/solve/equation":{"post":{"tags":["solve_eng_062"],"summary":"Solve Equation","description":"ENG-062 Hybrid Numerical Solver — single-variable equation solver.\n\nBody:\n  equation:  str (required) — \"x^2 - 5x + 6 = 0\" or \"x^2 - 5x + 6\"\n  x_min:     float (optional, default -50)\n  x_max:     float (optional, default 50)\n  scan_steps: int (optional, default 200)\n\nReturns the engine's roots + iteration trace + methods used.\n\nSECURITY (Task 6 BOLA fix 2026-05-30): student_id is derived from the JWT.","operationId":"solve_equation_api_v1_solve_equation_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/solve/history/{student_id}":{"get":{"tags":["solve_eng_062"],"summary":"Get Solver History","description":"ENG-062 read-back: `/solve/equation` persists an `eng062_solver_runs` row each call but\nthey were never read back (A3-3 write_never_read) — so a student's past solves were\ninvisible. Returns recent runs (indexed by `idx_eng062_solver_runs_student_recent`),\nJSONB columns parsed to objects, honest-empty when none. `solve_router` is otherwise\nbody-keyed/ungated, so this path-keyed route carries its own ownership gate.","operationId":"get_solver_history_api_v1_solve_history__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"filter by run status, e.g. solved","title":"Status"},"description":"filter by run status, e.g. solved"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/atrix/memory/{student_id}":{"get":{"tags":["atrix_memory_eng_conv_001"],"summary":"Get Atrix Memory","description":"ENG-CONV-001 Doubt Memory — read-side modes only.\n\nRuntime owner is ENG-025 (D-47 fold): `engine_dispatcher` aliases\nENG-CONV-001 → ENG-025 and maps `topics/stats/summary` to the engine's\n`doubt_*` modes. The per-student doubt stream is populated on every\n`/api/v1/jarvis/chat` turn via `jarvis_control_layer._record_doubt_memory`.\n\nQuery:\n  mode: topics | stats | summary  (default: topics)","operationId":"get_atrix_memory_api_v1_atrix_memory__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"mode","in":"query","required":false,"schema":{"type":"string","default":"topics","title":"Mode"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/readiness/{student_id}":{"get":{"tags":["readiness"],"summary":"Get Readiness","description":"D7: Exam readiness score — % syllabus covered × mastery.","operationId":"get_readiness_api_v1_readiness__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/readiness/score/{student_id}":{"get":{"tags":["readiness"],"summary":"Get Exam Readiness","description":"F8: Exam Readiness Score. Not computed: used to be a constant 67 / 80 / 83.\n\nThe measured readiness is GET /api/v1/readiness/{student_id}.","operationId":"get_exam_readiness_api_v1_readiness_score__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/insights/chapters/{student_id}/{subject}":{"get":{"tags":["heatmap"],"summary":"Get Chapter Heatmap","description":"F3: Chapter-level mastery heatmap for a subject.","operationId":"get_chapter_heatmap_insights_chapters__student_id___subject__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"subject","in":"path","required":true,"schema":{"type":"string","title":"Subject"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/gamification/streak/{student_id}":{"get":{"tags":["gamification"],"summary":"Get Streak","description":"G1: Study streak from DB (not hardcoded). Same number as every other streak\nread (streak_number.read_streak).","operationId":"get_streak_api_v1_gamification_streak__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/gamification/xp/{student_id}":{"get":{"tags":["gamification"],"summary":"Get Xp","description":"G2: XP totals.\n\nSchema 096 (canonical gamification spec): student_xp has `total` +\n`state_version` only. Level is DERIVED via eng_011.compute_level.\nPrevious SQL used `total_xp`/`level` (legacy schema 108 — never ran\nfirst on Neon) and the try/except swallowed the schema error then\nreturned fake hardcoded values. Per founder rule \"no stubs / no\nplaceholder defaults\" we return real zeros for cold-start instead.","operationId":"get_xp_api_v1_gamification_xp__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/gamification/badges/{student_id}":{"get":{"tags":["gamification"],"summary":"Get Badges","description":"G3: Achievements/badges — earned vs locked.","operationId":"get_badges_api_v1_gamification_badges__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/gamification/goal":{"post":{"tags":["gamification"],"summary":"Set Daily Goal","description":"G6: Set daily study goal.\n\nSECURITY (Task 6 BOLA fix 2026-05-30): student_id is derived from the JWT.","operationId":"set_daily_goal_api_v1_gamification_goal_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/gamification/goal/{student_id}":{"get":{"tags":["gamification"],"summary":"Get Daily Goal","description":"G6: Daily goal progress. Not available: no goal is stored.\n\nUsed to return 60 target / 35 done / 58% for every learner.","operationId":"get_daily_goal_api_v1_gamification_goal__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/content/notes/{subject}/{chapter}":{"get":{"tags":["content"],"summary":"Get Notes","description":"E2: NCERT condensed notes by chapter (legacy ncert_notes table).\n\nSign-in required (truth check 23 Oct 2026): this used to answer anyone, with\nno login, with a whole verbatim chapter (about 112 KB). Founder allows NCERT\ntext inside the app; handing whole chapters to anonymous callers invites\nscraping. No web or BFF caller uses this route; the app reads chapter text\nthrough the ncert-notes routes instead.","operationId":"get_notes_api_v1_content_notes__subject___chapter__get","parameters":[{"name":"subject","in":"path","required":true,"schema":{"type":"string","title":"Subject"}},{"name":"chapter","in":"path","required":true,"schema":{"type":"string","title":"Chapter"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/content/formulas/{subject}/{chapter}":{"get":{"tags":["content"],"summary":"Get Formulas","description":"E3: Formula reference by chapter.","operationId":"get_formulas_api_v1_content_formulas__subject___chapter__get","parameters":[{"name":"subject","in":"path","required":true,"schema":{"type":"string","title":"Subject"}},{"name":"chapter","in":"path","required":true,"schema":{"type":"string","title":"Chapter"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/content/concept-assets/{key}":{"get":{"tags":["content"],"summary":"Get Concept Assets","description":"WS-1 bridge: serve a concept/chapter's WRITTEN learning assets from\n`concept_assets` (misconceptions, hint ladders, formulas, derivations,\nstrategy notes, worked steps, skills, PYQ patterns) — the ~50k written\nitems that were DORMANT (no route read `concept_assets`). `key` matches\n`concept_id` or chapter-code (e.g. \"PHY-UM-DIM\" or \"BIO11-C06\"). If `key` is\na chapter NAME (e.g. a DPP/Insights question's `rubric.chapter`), it is\nresolved to a chapter-code via ncert_chapters — the reconciliation that\nbridges the question/asset namespace gap. NOT_GENERATED slots filtered.","operationId":"get_concept_assets_api_v1_content_concept_assets__key__get","parameters":[{"name":"key","in":"path","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/v1/tier/usage/{student_id}":{"get":{"tags":["tier"],"summary":"Get Usage","description":"L3: Daily usage meters for tier-gated features.","operationId":"get_usage_api_v1_tier_usage__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tier/capabilities/{student_id}":{"get":{"tags":["tier"],"summary":"Get Capabilities","description":"Return which capabilities/features are accessible for this student's tier.","operationId":"get_capabilities_api_v1_tier_capabilities__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/grading/queue":{"get":{"tags":["hitl"],"summary":"Get Grading Queue","description":"K3: HITL grading review queue for teachers.\n\nSchema reality (Neon): `grading_results` has `job_id`, `student_id`,\n`question_id`, `overall_score`, `max_score`, `confidence`, `hitl_required`,\n`reviewer_id`, `reviewed_at`, `graded_at`, `chapter`. The legacy column\nnames (`grading_id`, `subject`, `topic`, `ai_score`, `created_at`,\n`reviewed`) referenced in the prior query do not exist — silent except\nswallowed the UndefinedColumn so the queue always returned empty.\ns56 (2026-05-24) — aligned to actual schema.","operationId":"get_grading_queue_api_v1_admin_grading_queue_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/admin/grading/edu-010-dashboard":{"get":{"tags":["hitl"],"summary":"Get Edu010 Operator Dashboard","description":"EDU-010 operator dashboard.\n\nMigration 212 owns `edu_010_grade_jobs`; this route is read-only and\nreturns an honest unavailable envelope when the migration/DB proof is not\npresent. It intentionally does not read the CL-010/CL-035 `grade_jobs`\ntable, which is a different OCR paper-upload queue.","operationId":"get_edu010_operator_dashboard_api_v1_admin_grading_edu_010_dashboard_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/grading/review":{"post":{"tags":["hitl"],"summary":"Submit Review","description":"K3: Teacher override for AI grading.","operationId":"submit_review_api_v1_admin_grading_review_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/equation/solve":{"post":{"tags":["solver"],"summary":"Solve Equation","description":"Legacy /api/v1/equation/solve — D-65 sunset 2026-05-26 redirected from\nEDU-017 to ENG-062 HNS Solver. Falls back to LLM if ENG-062 unreachable.\n\nPer `feedback_no_stubs_or_shortcuts.md`: real engine first, LLM only\nwhen the engine is down. Per `feedback_no_placeholder_defaults.md`:\n`equation` is REQUIRED.\n\nNewer surface: prefer `/api/v1/helper/equation-solve` which adapts\nENG-062's `roots` shape to the helper-shape MathEquationSolverTool wants.\n\nSECURITY (Task 6 BOLA fix 2026-05-30): student_id is derived from the JWT.","operationId":"solve_equation_api_v1_equation_solve_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/analytics/time/{student_id}":{"get":{"tags":["time_analytics"],"summary":"Get Time Analytics","description":"F6: Time analysis — where is study time being spent.","operationId":"get_time_analytics_api_v1_analytics_time__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/analytics/improvement/{student_id}":{"get":{"tags":["time_analytics"],"summary":"Get Improvement","description":"F7: Improvement tracker — accuracy trend over weeks.","operationId":"get_improvement_api_v1_analytics_improvement__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sessions/history/{student_id}":{"get":{"tags":["sessions"],"summary":"Get Sessions History","description":"s34 walk #54/#66: unified per-session history feed.\n\nUnions dpp_sessions + mock_sessions, normalised to a single shape so\nTimeAnalytics + the Session History screen can share a single endpoint.\nLimit is applied per-source then merged + re-sorted; with limit=20 you\nget up to the 20 most recent of each, then the 20 newest overall.","operationId":"get_sessions_history_api_v1_sessions_history__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/data/export":{"post":{"tags":["data_export"],"summary":"Post Data Export","description":"DPDP §11 — build + persist a data archive, return download URL.\n\ns34 #9 (replaces s34 #70 stub): the previous handler was a stub that\nreturned `status: \"export_queued\"` and never built anything. This\nhandler now:\n  1. Validates student_id + authenticated student ownership\n  2. Calls _gather_student_archive() to pull all their data into JSON\n  3. Computes SHA-256 tamper-detection hash\n  4. Stores in data_export_archives (migration 084) with a\n     secrets.token_urlsafe(32) lookup token + 7-day expiry\n  5. Returns the inline download URL the FE can present right now\n\nEmail delivery (Postmark) is on the founder action queue; until\nthat lands, the inline URL IS the delivery mechanism. When the\nemail worker comes online, it'll read the same row and update\ndelivered_at on send.","operationId":"post_data_export_api_v1_data_export_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/data/export/download/{token}":{"get":{"tags":["data_export"],"summary":"Download Data Export","description":"Serve a previously-built archive by token. Validates expiry +\npayload_hash before returning. Returns 410 Gone for expired or\ntampered rows.","operationId":"download_data_export_api_v1_data_export_download__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"}}}}}}},"/api/v1/feedback":{"post":{"tags":["feedback"],"summary":"Post Feedback","description":"Catch-all feedback POST.\n\ns34 small-hole #7: closes the localStorage-only TODO in RateUsScreen.\nBacked by migration 083's user_feedback table.\n\nBody:\n  { rating?: 0-10, text?: str, source?: str, metadata?: dict }\n\nSECURITY (Task 6 BOLA fix 2026-05-30): student_id is derived from the JWT\nwhen present (best-effort decode — anon feedback is still allowed for the\nnot-yet-onboarded landing-page case, but a body-supplied student_id is\nNEVER trusted).","operationId":"post_feedback_api_v1_feedback_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/batch/{batch_id}/students":{"get":{"tags":["batch"],"summary":"Get Batch Students","description":"K1: Real student list for a batch.","operationId":"get_batch_students_api_v1_admin_batch__batch_id__students_get","parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","title":"Batch Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/dpp/create":{"post":{"tags":["admin_dpp"],"summary":"Create Custom Dpp","description":"K2: Teacher interface for topic/difficulty selection.","operationId":"create_custom_dpp_api_v1_admin_dpp_create_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/rag/upload":{"post":{"tags":["rag"],"summary":"Upload Notes For Rag","description":"M1: Upload notes + PDF text extraction placeholder.","operationId":"upload_notes_for_rag_api_v1_rag_upload_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/rag/context/{student_id}":{"get":{"tags":["rag"],"summary":"Get Rag Context","description":"M3: Return personal notes context (chunk summaries) to inject into JARVIS prompt.\n\nPersonal RAG chunks live in Qdrant now (ingested via /api/v1/pdfchat/upload),\nnot Postgres — the legacy `student_rag_chunks` table was retired. JARVIS reads\nits personal context directly through the pdfchat/Qdrant path, so this endpoint\nreturns an honest empty marker rather than querying a non-existent PG table\n(A3-1b, 2026-06-01).","operationId":"get_rag_context_api_v1_rag_context__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/rag/legacy-search":{"post":{"tags":["rag"],"summary":"Legacy Rag Search Removed","description":"Old M2 demo route kept off /search so the live ENG-002 router owns it.","operationId":"legacy_rag_search_removed_api_v1_rag_legacy_search_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/plan/{student_id}":{"get":{"tags":["plan"],"summary":"Get Current Plan","description":"L4: Get current subscription plan + next billing date.\n\nBUG-060 fix: require auth (caller must own student_id, or be admin in\ndev bypass), and return FREE-not-active on DB miss instead of a\nhardcoded GROW row that masked missing subscriptions as \"everyone is\npaid\".","operationId":"get_current_plan_api_v1_plan__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/plan/cancel":{"post":{"tags":["plan"],"summary":"Cancel Plan","description":"L4: Cancel subscription (end of billing cycle).\n\nSECURITY (Task 6 BOLA fix 2026-05-30): student_id is derived from the JWT,\nnot the request body. Before this fix any caller could pass an arbitrary\nstudent_id and cancel another user's subscription.","operationId":"cancel_plan_api_v1_plan_cancel_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/plan/downgrade":{"post":{"tags":["plan"],"summary":"Downgrade Plan","description":"L4: Downgrade to a lower tier.\n\nSECURITY (Task 6 BOLA fix 2026-05-30): student_id is derived from the JWT.","operationId":"downgrade_plan_api_v1_plan_downgrade_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/language/preference/{student_id}":{"get":{"tags":["language"],"summary":"Get Language Preference","description":"A10: Get student language preference (en / hi / hinglish).","operationId":"get_language_preference_api_v1_language_preference__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/language/preference":{"post":{"tags":["language"],"summary":"Set Language Preference","description":"A10: Set language preference. Hindi/Hinglish are deferred for launch.\n\nSECURITY (Task 6 BOLA fix 2026-05-30): student_id is derived from the JWT.","operationId":"set_language_preference_api_v1_language_preference_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/language/translate":{"post":{"tags":["language"],"summary":"Translate Jarvis Response","description":"A10: translation is retired for launch per D-38.","operationId":"translate_jarvis_response_api_v1_language_translate_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/voice/transcribe":{"post":{"tags":["voice"],"summary":"Transcribe Audio","description":"A11: Real Whisper STT — receives base64 audio, calls OpenAI Whisper API.\n\ns26 audit fix #19: auth required; student_id forced from JWT;\n5 MB decoded ceiling; try/finally cleans temp file on every path.","operationId":"transcribe_audio_api_v1_voice_transcribe_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/what-if":{"post":{"tags":["predict_ext"],"summary":"What If Simulator","description":"CL-065 PR-155/PR-158/PR-160 What-If Simulator (2026-05-17 e2e close).\n\nBody:\n  student_id   (required)\n  boosts: list of {subject, boost_pct}  — multi-subject for SCALE,\n                                          first entry only for GROW\n  OR (single-subject convenience):\n    subject:    str\n    boost_pct:  number\n\n  seed_college (optional): {college_name, branch, cutoff} — when the\n    student arrived from CL-060 detail panel, the response carries a\n    \"this college flips Reach→Match at +X%\" hint anchored on that\n    cutoff.\n  time_to_exam_days (optional): override of the auto-computed value\n    used by the achievability score. Capped at 365.\n\nTier shape:\n  FREE  → locked envelope (PR-155 is GROW+ only)\n  ACE   → locked envelope (PR-155 is GROW+ only)\n  GROW  → 3/mo quota; single-subject only\n  SCALE → unlimited; multi-subject combined projection + JARVIS narrative\n          + achievability score + downside/stretch/uncertainty flags\n\nCache: 24h cache keyed on sha256(student_id + canonical boosts). Hits\nskip the quota gate per spec §4.1 edge case (\"user runs same scenario\nrepeatedly — cache result; don't burn quota for repeats within 24h\").","operationId":"what_if_simulator_api_v1_predict_what_if_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/career/{student_id}":{"get":{"tags":["predict_ext"],"summary":"Career Profiler","description":"D8: Career Guidance Profiler. Declared; no engine behind it yet.","operationId":"career_profiler_api_v1_predict_career__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/scholarships/{student_id}":{"get":{"tags":["predict_ext"],"summary":"Scholarship Finder","description":"D9: Scholarship Finder. Declared; no supply source wired yet.","operationId":"scholarship_finder_api_v1_predict_scholarships__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/roi":{"post":{"tags":["predict_ext"],"summary":"Study Roi Calculator","description":"D6: Study ROI Calculator. Declared; the cited engine is a different engine.","operationId":"study_roi_calculator_api_v1_predict_roi_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/content/ext/flashcards/{subject}/{chapter}":{"get":{"tags":["content_ext"],"summary":"Get Flashcards","description":"E4: Flashcards from the authored deck above.\n\nA subject/chapter that has no authored deck used to get two invented\nplaceholder cards (\"<chapter> - Key Concept 1 / Core definition for ...\").\nIt now returns an empty, honestly-labelled result instead.","operationId":"get_flashcards_api_v1_content_ext_flashcards__subject___chapter__get","parameters":[{"name":"subject","in":"path","required":true,"schema":{"type":"string","title":"Subject"}},{"name":"chapter","in":"path","required":true,"schema":{"type":"string","title":"Chapter"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/content/ext/visualizers/{topic_id}":{"get":{"tags":["content_ext"],"summary":"Get Visualizer Data","description":"E5: Visualizer. Not available - no interactive visualizer is built.","operationId":"get_visualizer_data_api_v1_content_ext_visualizers__topic_id__get","parameters":[{"name":"topic_id","in":"path","required":true,"schema":{"type":"string","title":"Topic Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/content/ext/videos/explain/{topic}":{"get":{"tags":["content_ext"],"summary":"Get Video Explanation","description":"E6: Video explanations. Not available - there is no video library.\n\nThis used to answer ``status: available, format: mp4, resolution: 1080p``\nfor ANY topic string, with invented titles, durations and chapter lists.","operationId":"get_video_explanation_api_v1_content_ext_videos_explain__topic__get","parameters":[{"name":"topic","in":"path","required":true,"schema":{"type":"string","title":"Topic"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/content/ext/examples/solved/{topic}":{"get":{"tags":["content_ext"],"summary":"Get Solved Examples","description":"E7: Solved examples with step-by-step working.","operationId":"get_solved_examples_api_v1_content_ext_examples_solved__topic__get","parameters":[{"name":"topic","in":"path","required":true,"schema":{"type":"string","title":"Topic"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/content/ext/molecules/render/{formula}":{"get":{"tags":["content_ext"],"summary":"Get Molecule Data","description":"E8: Chemical Structure Viewer — returns atomic positions and bonds for 2D/3D rendering.","operationId":"get_molecule_data_api_v1_content_ext_molecules_render__formula__get","parameters":[{"name":"formula","in":"path","required":true,"schema":{"type":"string","title":"Formula"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/content/ext/concept-map/{topic}":{"get":{"tags":["content_ext"],"summary":"Get Concept Map","description":"E9: Knowledge graph concept map with nodes and weighted edges.","operationId":"get_concept_map_api_v1_content_ext_concept_map__topic__get","parameters":[{"name":"topic","in":"path","required":true,"schema":{"type":"string","title":"Topic"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/social/ext/match/{student_id}":{"get":{"tags":["social_ext"],"summary":"Get Study Group Match","description":"I1: Study-group matching. Not available - no study groups exist.\n\nThis picked at random from three invented groups (\"JEE Warriors\", \"NEET\nNinjas\", \"Dropper Elite\", with made-up member counts and average ranks) and\nattached a random \"compatibility score\" of 75-98 -- regardless of the\nstudent. There is no groups table and no matching input, so it now says so.","operationId":"get_study_group_match_api_v1_social_ext_match__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/social/ext/mock/collaborative":{"post":{"tags":["social_ext"],"summary":"Start Group Mock","description":"I2: Collaborative mock test — creates session for group.","operationId":"start_group_mock_api_v1_social_ext_mock_collaborative_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/social/ext/doubt/peer":{"post":{"tags":["social_ext"],"summary":"Ask Peer Doubt","description":"I3: Peer doubt help. Not wired, and no longer pretending to be.\n\nThis returned \"published\", \"12 potential solvers\" and \"~5 minutes\" for a\npeer network that does not exist, with moderation simulated by checking\nwhether the text contained the word \"cheat\". A learner posting a doubt here\nwas told twelve people could see it and none could.\n\nIt also minted `doubt_{int(now().timestamp())}` -- a whole second with no\nrandom part, so two doubts posted in the same second collided exactly. That\nis the T03 defect on the legacy path, and adding randomness would only have\nmade a fake more robust.\n\nAnswered the way its neighbour start_group_mock already answers: honestly\nunavailable. Nothing in apps/web calls this route and no test covers it.","operationId":"ask_peer_doubt_api_v1_social_ext_doubt_peer_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/social/ext/mentor/match/{student_id}":{"get":{"tags":["social_ext"],"summary":"Get Mentor Match","description":"I4: Mentor connect. Mentors are never picked for the learner.\n\nThis once showed four invented mentors and promised a time. The real\nmentors are verified TruTutor tutors who opted in; the learner chooses one on /peers\n(apps/bff/peer_mentor_routes.py). This path stays so old callers get an honest answer.","operationId":"get_mentor_match_api_v1_social_ext_mentor_match__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/social/ext/alumni/outcomes":{"get":{"tags":["social_ext"],"summary":"Get Alumni Outcomes","description":"I5: Alumni outcomes. Not available - no verified alumni data.\n\nThis returned eight hand-written college rows, ``total_alumni: 491`` and\n``placement_rate: 94.2`` as \"real college distribution data\", unauthenticated.\nNone of it is measured. It now reports that no verified alumni outcomes exist.","operationId":"get_alumni_outcomes_api_v1_social_ext_alumni_outcomes_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/challenge/create":{"post":{"tags":["challenge"],"summary":"Create Challenge","description":"G5: Create a head-to-head quiz challenge. Not wired, no longer pretending.\n\nIt used to return a challenge id and ``question_count`` questions that were\nall the text \"Challenge Q1: <subject> problem\" with options A-D and the\nanswer key hard-wired to \"B\", and it stored nothing. Nothing in apps/web\ncalls this route. Auth is kept (JWT identity) so the refusal is not an\nanonymous probe.","operationId":"create_challenge_api_v1_challenge_create_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/challenge/accept/{challenge_id}":{"post":{"tags":["challenge"],"summary":"Accept Challenge","description":"G5: Accept a challenge. Not wired: there is no challenge to accept.","operationId":"accept_challenge_api_v1_challenge_accept__challenge_id__post","parameters":[{"name":"challenge_id","in":"path","required":true,"schema":{"type":"string","title":"Challenge Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/challenge/submit/{challenge_id}":{"post":{"tags":["challenge"],"summary":"Submit Challenge Answers","description":"G5: Submit answers. Not wired.\n\nIt used to ignore the answers entirely and return a random integer from 5 to 10\nas the score, a random time and ``xp_earned = score * 15``. A learner was\nshown XP for a score nobody computed.","operationId":"submit_challenge_answers_api_v1_challenge_submit__challenge_id__post","parameters":[{"name":"challenge_id","in":"path","required":true,"schema":{"type":"string","title":"Challenge Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/challenge/result/{challenge_id}":{"get":{"tags":["challenge"],"summary":"Get Challenge Result","description":"G5: Get challenge result with winner.","operationId":"get_challenge_result_api_v1_challenge_result__challenge_id__get","parameters":[{"name":"challenge_id","in":"path","required":true,"schema":{"type":"string","title":"Challenge Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mastery/weak-topics/{student_id}":{"get":{"tags":["mastery"],"summary":"Get Weak Topics","description":"Get weakest topics from the canonical Twin with named rollback.","operationId":"get_weak_topics_api_v1_mastery_weak_topics__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/profile/{student_id}/update":{"post":{"tags":["kernel"],"summary":"Update Spre Profile","description":"Apply theta deltas after grading/DPP/drill.\nUses CAS (Compare-And-Swap) to prevent race conditions.\nEmits SPRE_UPDATED event to event bus.\n\ns26 P0 audit fix (SG-W1-S26-AUDIT-04): pre-fix this route accepted\nstudent_id from the URL with no auth, letting any caller tamper with\nanother student's mastery profile and downstream personalization.\nNow `Depends(get_current_student)` enforces a valid Bearer JWT and\nwe 403 on path-vs-JWT-subject mismatch (constant-time compare).\n\nTrusted server-side callers that need to update SPRE for an\narbitrary student (grading worker, DPP completion handler) should\nwrite directly via spre_manager.apply_delta(), not through this\nHTTP route — internal call sites do not flow through HTTP.","operationId":"update_spre_profile_api_v1_profile__student_id__update_post","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SPREDeltaRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/dpp/generate":{"post":{"tags":["kernel"],"summary":"Generate Dpp","description":"Generate adaptive DPP (P3/P7).\nUses SPRE profile to determine difficulty + topic selection.\n\nQuota: `dpp` per month. FREE=3, ACE=∞, GROW=∞, SCALE=∞ (per\nsku_tier_enforcement.TIER_LIMITS). Exceeded → 429 with\nupgrade_cta in body and X-RateLimit-* headers.","operationId":"generate_dpp_api_v1_dpp_generate_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DPPGenerateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/jarvis/execute":{"post":{"tags":["kernel"],"summary":"Execute Jarvis","description":"JARVIS orchestrated response.\nEngine: ENG-001. Uses Thompson Sampling MAB for LLM routing.\n\nQuota: `jarvis_doubts`. FREE=5, ACE=50, GROW=200, SCALE=∞.","operationId":"execute_jarvis_api_v1_jarvis_execute_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JarvisExecuteRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JarvisExecuteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/integrity/{student_id}":{"get":{"tags":["kernel"],"summary":"Check Integrity","description":"Verify SPRE hash chain integrity for a student.\nUsed by reconciliation worker + compliance audit.","operationId":"check_integrity_api_v1_integrity__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/health":{"get":{"tags":["kernel"],"summary":"Kernel Health","description":"Kernel subsystem health check.","operationId":"kernel_health_api_v1_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/os-runtime/health":{"get":{"tags":["aos-runtime"],"summary":"Runtime Health","operationId":"runtime_health_api_v1_os_runtime_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Runtime Health Api V1 Os Runtime Health Get"}}}}}}},"/api/v1/operator/os-runtime/health":{"get":{"tags":["aos-runtime-operator"],"summary":"Operator Runtime Health","operationId":"operator_runtime_health_api_v1_operator_os_runtime_health_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Operator Runtime Health Api V1 Operator Os Runtime Health Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os-runtime/activation-status":{"get":{"tags":["aos-runtime-operator"],"summary":"Activation Status","description":"Read enforceable rollout state and route presence for all 22 organs.","operationId":"activation_status_api_v1_operator_os_runtime_activation_status_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Activation Status Api V1 Operator Os Runtime Activation Status Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/aos-integration/relay/health":{"get":{"tags":["aosint-relay-operator"],"summary":"Health","operationId":"health_api_v1_operator_aos_integration_relay_health_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/aos-integration/relay/backlog":{"get":{"tags":["aosint-relay-operator"],"summary":"Backlog","operationId":"backlog_api_v1_operator_aos_integration_relay_backlog_get","parameters":[{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/aos-integration/relay/backfill":{"post":{"tags":["aosint-relay-operator"],"summary":"Backfill","operationId":"backfill_api_v1_operator_aos_integration_relay_backfill_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RelayBackfillCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/aos-integration/relay/{source_event_id}":{"get":{"tags":["aosint-relay-operator"],"summary":"Status","operationId":"status_api_v1_operator_aos_integration_relay__source_event_id__get","parameters":[{"name":"source_event_id","in":"path","required":true,"schema":{"type":"string","title":"Source Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/aos-integration/relay/run":{"post":{"tags":["aosint-relay-operator"],"summary":"Run Relay","operationId":"run_relay_api_v1_operator_aos_integration_relay_run_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/os_runtime__aos_integration_relay__models__RelayRunCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/aos-integration/relay/{source_event_id}/requeue":{"post":{"tags":["aosint-relay-operator"],"summary":"Requeue","operationId":"requeue_api_v1_operator_aos_integration_relay__source_event_id__requeue_post","parameters":[{"name":"source_event_id","in":"path","required":true,"schema":{"type":"string","title":"Source Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/os_runtime__aos_integration_relay__models__RelayRequeueCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/aos-integration/core-learning-chain/health":{"get":{"tags":["aosint-core-learning-chain"],"summary":"Health","operationId":"health_api_v1_operator_aos_integration_core_learning_chain_health_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Health Api V1 Operator Aos Integration Core Learning Chain Health Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/aos-integration/core-learning-chain/runs":{"post":{"tags":["aosint-core-learning-chain"],"summary":"Run Core Learning Chain","operationId":"run_core_learning_chain_api_v1_operator_aos_integration_core_learning_chain_runs_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CoreLearningChainCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Run Core Learning Chain Api V1 Operator Aos Integration Core Learning Chain Runs Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/aos-integration/core-learning-chain/runs/{run_id}":{"get":{"tags":["aosint-core-learning-chain"],"summary":"Read Core Learning Chain","operationId":"read_core_learning_chain_api_v1_operator_aos_integration_core_learning_chain_runs__run_id__get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Core Learning Chain Api V1 Operator Aos Integration Core Learning Chain Runs  Run Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/aos-integration/fleet/health":{"get":{"tags":["aosint-fleet-operator"],"summary":"Health","operationId":"health_api_v1_operator_aos_integration_fleet_health_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/aos-integration/fleet/backlog":{"get":{"tags":["aosint-fleet-operator"],"summary":"Backlog","operationId":"backlog_api_v1_operator_aos_integration_fleet_backlog_get","parameters":[{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/aos-integration/fleet/events/{event_id}":{"get":{"tags":["aosint-fleet-operator"],"summary":"Event Status","operationId":"event_status_api_v1_operator_aos_integration_fleet_events__event_id__get","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/aos-integration/fleet/run":{"post":{"tags":["aosint-fleet-operator"],"summary":"Run Fleet","operationId":"run_fleet_api_v1_operator_aos_integration_fleet_run_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FleetRunCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/aos-integration/fleet/inbox/{inbox_id}/requeue":{"post":{"tags":["aosint-fleet-operator"],"summary":"Requeue","operationId":"requeue_api_v1_operator_aos_integration_fleet_inbox__inbox_id__requeue_post","parameters":[{"name":"inbox_id","in":"path","required":true,"schema":{"type":"string","title":"Inbox Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FleetRequeueCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/academic/resolve":{"post":{"tags":["os01-concept-spine"],"summary":"Resolve Concept","operationId":"resolve_concept_api_v1_academic_resolve_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/os_runtime__os01_concept_spine__models__ResolveRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Resolve Concept Api V1 Academic Resolve Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/academic/concepts/{concept_id}":{"get":{"tags":["os01-concept-spine"],"summary":"Get Concept","operationId":"get_concept_api_v1_academic_concepts__concept_id__get","parameters":[{"name":"concept_id","in":"path","required":true,"schema":{"type":"string","title":"Concept Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Concept Api V1 Academic Concepts  Concept Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/academic/concepts/{concept_id}/availability":{"get":{"tags":["os01-concept-spine"],"summary":"Get Availability","operationId":"get_availability_api_v1_academic_concepts__concept_id__availability_get","parameters":[{"name":"concept_id","in":"path","required":true,"schema":{"type":"string","title":"Concept Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Availability Api V1 Academic Concepts  Concept Id  Availability Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/academic/concepts/{concept_id}/legacy-graph":{"get":{"tags":["os01-concept-spine"],"summary":"Get Legacy Graph Context","operationId":"get_legacy_graph_context_api_v1_academic_concepts__concept_id__legacy_graph_get","parameters":[{"name":"concept_id","in":"path","required":true,"schema":{"type":"string","title":"Concept Id"}},{"name":"max_depth","in":"query","required":false,"schema":{"type":"integer","default":2,"title":"Max Depth"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Legacy Graph Context Api V1 Academic Concepts  Concept Id  Legacy Graph Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/academic/object-bindings/{object_namespace}/{object_id}":{"get":{"tags":["os01-concept-spine"],"summary":"Get Object Binding","operationId":"get_object_binding_api_v1_academic_object_bindings__object_namespace___object_id__get","parameters":[{"name":"object_namespace","in":"path","required":true,"schema":{"type":"string","title":"Object Namespace"}},{"name":"object_id","in":"path","required":true,"schema":{"type":"string","title":"Object Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Object Binding Api V1 Academic Object Bindings  Object Namespace   Object Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/academic/concepts/{concept_id}/passport":{"get":{"tags":["os01-concept-spine"],"summary":"Get Concept Passport","operationId":"get_concept_passport_api_v1_academic_concepts__concept_id__passport_get","parameters":[{"name":"concept_id","in":"path","required":true,"schema":{"type":"string","title":"Concept Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Concept Passport Api V1 Academic Concepts  Concept Id  Passport Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/academic/concepts/{concept_id}/supply":{"get":{"tags":["os01-concept-spine"],"summary":"Get Concept Supply","operationId":"get_concept_supply_api_v1_academic_concepts__concept_id__supply_get","parameters":[{"name":"concept_id","in":"path","required":true,"schema":{"type":"string","title":"Concept Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Concept Supply Api V1 Academic Concepts  Concept Id  Supply Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/academic/concepts/{concept_id}/learning-neighbourhood":{"get":{"tags":["os01-concept-spine"],"summary":"Get Learning Neighbourhood","operationId":"get_learning_neighbourhood_api_v1_academic_concepts__concept_id__learning_neighbourhood_get","parameters":[{"name":"concept_id","in":"path","required":true,"schema":{"type":"string","title":"Concept Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Learning Neighbourhood Api V1 Academic Concepts  Concept Id  Learning Neighbourhood Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/academic/concepts/{concept_id}/study-materials":{"get":{"tags":["os01-concept-spine"],"summary":"Get Verified Study Materials","operationId":"get_verified_study_materials_api_v1_academic_concepts__concept_id__study_materials_get","parameters":[{"name":"concept_id","in":"path","required":true,"schema":{"type":"string","title":"Concept Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Verified Study Materials Api V1 Academic Concepts  Concept Id  Study Materials Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/academic/concepts/{concept_id}/notes":{"get":{"tags":["os01-concept-spine"],"summary":"Get Verified Concept Notes","operationId":"get_verified_concept_notes_api_v1_academic_concepts__concept_id__notes_get","parameters":[{"name":"concept_id","in":"path","required":true,"schema":{"type":"string","title":"Concept Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Verified Concept Notes Api V1 Academic Concepts  Concept Id  Notes Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/academic/concepts/{concept_id}/product-context":{"get":{"tags":["os01-concept-spine"],"summary":"Get Product Concept Context","operationId":"get_product_concept_context_api_v1_academic_concepts__concept_id__product_context_get","parameters":[{"name":"concept_id","in":"path","required":true,"schema":{"type":"string","title":"Concept Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Product Concept Context Api V1 Academic Concepts  Concept Id  Product Context Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/academic/product-context/{object_namespace}/{object_id}":{"get":{"tags":["os01-concept-spine"],"summary":"Get Object Product Concept Context","operationId":"get_object_product_concept_context_api_v1_academic_product_context__object_namespace___object_id__get","parameters":[{"name":"object_namespace","in":"path","required":true,"schema":{"type":"string","title":"Object Namespace"}},{"name":"object_id","in":"path","required":true,"schema":{"type":"string","title":"Object Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Object Product Concept Context Api V1 Academic Product Context  Object Namespace   Object Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/academic/product-context-receipts":{"post":{"tags":["os01-concept-spine"],"summary":"Create Product Context Receipt","operationId":"create_product_context_receipt_api_v1_academic_product_context_receipts_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductContextTransition"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Product Context Receipt Api V1 Academic Product Context Receipts Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/academic/product-context-receipts/readback":{"get":{"tags":["os01-concept-spine"],"summary":"Get Product Context Receipt Readback","operationId":"get_product_context_receipt_readback_api_v1_academic_product_context_receipts_readback_get","parameters":[{"name":"consumer_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Consumer Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Product Context Receipt Readback Api V1 Academic Product Context Receipts Readback Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/academic/releases/{release_id}/diff":{"get":{"tags":["os01-concept-spine"],"summary":"Release Diff","operationId":"release_diff_api_v1_academic_releases__release_id__diff_get","parameters":[{"name":"release_id","in":"path","required":true,"schema":{"type":"string","title":"Release Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Release Diff Api V1 Academic Releases  Release Id  Diff Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/academic/mapping-reports":{"post":{"tags":["os01-concept-spine"],"summary":"Report Mapping","operationId":"report_mapping_api_v1_academic_mapping_reports_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MappingReportCreate"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Report Mapping Api V1 Academic Mapping Reports Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os01/health":{"get":{"tags":["os01-operator"],"summary":"Os01 Health","operationId":"os01_health_api_v1_operator_os01_health_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Os01 Health Api V1 Operator Os01 Health Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os01/metrics":{"get":{"tags":["os01-operator"],"summary":"Os01 Metrics","operationId":"os01_metrics_api_v1_operator_os01_metrics_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Os01 Metrics Api V1 Operator Os01 Metrics Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os01/default-custody/sources":{"get":{"tags":["os01-operator"],"summary":"Os01 Default Custody Sources","description":"Registered database sources whose future writes are captured by default.","operationId":"os01_default_custody_sources_api_v1_operator_os01_default_custody_sources_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Os01 Default Custody Sources Api V1 Operator Os01 Default Custody Sources Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os01/default-custody":{"get":{"tags":["os01-operator"],"summary":"Os01 Default Custody Readback","description":"Bounded exact/held readback; this endpoint cannot approve a binding.","operationId":"os01_default_custody_readback_api_v1_operator_os01_default_custody_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"State"}},{"name":"object_namespace","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Object Namespace"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Os01 Default Custody Readback Api V1 Operator Os01 Default Custody Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os01/mapping-quality":{"get":{"tags":["os01-operator"],"summary":"Os01 Mapping Quality","operationId":"os01_mapping_quality_api_v1_operator_os01_mapping_quality_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":250,"minimum":1,"default":100,"title":"Limit"}},{"name":"freshness_threshold_days","in":"query","required":false,"schema":{"type":"integer","maximum":3650,"minimum":1,"default":90,"title":"Freshness Threshold Days"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Os01 Mapping Quality Api V1 Operator Os01 Mapping Quality Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os01/closure":{"get":{"tags":["os01-operator"],"summary":"Os01 Closure","operationId":"os01_closure_api_v1_operator_os01_closure_get","parameters":[{"name":"release_scope","in":"query","required":true,"schema":{"type":"string","minLength":2,"maxLength":120,"title":"Release Scope"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Os01 Closure Api V1 Operator Os01 Closure Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os01/programme-executions:plan":{"get":{"tags":["os01-operator"],"summary":"Plan Programme Execution","description":"Derive the FC-00 starting truth without writing any evidence row.","operationId":"plan_programme_execution_api_v1_operator_os01_programme_executions_plan_get","parameters":[{"name":"release_scope","in":"query","required":true,"schema":{"type":"string","minLength":3,"maxLength":120,"title":"Release Scope"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Plan Programme Execution Api V1 Operator Os01 Programme Executions Plan Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os01/programme-executions:freeze":{"post":{"tags":["os01-operator"],"summary":"Freeze Programme Execution","description":"Persist one exact-candidate, append-only FC-00 shadow snapshot.","operationId":"freeze_programme_execution_api_v1_operator_os01_programme_executions_freeze_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProgrammeExecutionFreezeCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Freeze Programme Execution Api V1 Operator Os01 Programme Executions Freeze Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os01/programme-executions/{execution_id}":{"get":{"tags":["os01-operator"],"summary":"Read Programme Execution","operationId":"read_programme_execution_api_v1_operator_os01_programme_executions__execution_id__get","parameters":[{"name":"execution_id","in":"path","required":true,"schema":{"type":"string","title":"Execution Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Programme Execution Api V1 Operator Os01 Programme Executions  Execution Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os01/programme-executions/{execution_id}/verify-current":{"get":{"tags":["os01-operator"],"summary":"Verify Programme Execution Current","operationId":"verify_programme_execution_current_api_v1_operator_os01_programme_executions__execution_id__verify_current_get","parameters":[{"name":"execution_id","in":"path","required":true,"schema":{"type":"string","title":"Execution Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Verify Programme Execution Current Api V1 Operator Os01 Programme Executions  Execution Id  Verify Current Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os01/object-inventories":{"post":{"tags":["os01-operator"],"summary":"Start Object Inventory","operationId":"start_object_inventory_api_v1_operator_os01_object_inventories_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObjectInventoryStart"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Start Object Inventory Api V1 Operator Os01 Object Inventories Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os01/object-inventories/{inventory_id}/chunks":{"post":{"tags":["os01-operator"],"summary":"Append Object Inventory Chunk","operationId":"append_object_inventory_chunk_api_v1_operator_os01_object_inventories__inventory_id__chunks_post","parameters":[{"name":"inventory_id","in":"path","required":true,"schema":{"type":"string","title":"Inventory Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObjectInventoryChunk"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Append Object Inventory Chunk Api V1 Operator Os01 Object Inventories  Inventory Id  Chunks Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os01/object-inventories/{inventory_id}/finalize":{"post":{"tags":["os01-operator"],"summary":"Finalize Object Inventory","operationId":"finalize_object_inventory_api_v1_operator_os01_object_inventories__inventory_id__finalize_post","parameters":[{"name":"inventory_id","in":"path","required":true,"schema":{"type":"string","title":"Inventory Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObjectInventoryFinalize"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Finalize Object Inventory Api V1 Operator Os01 Object Inventories  Inventory Id  Finalize Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os01/object-inventories/{inventory_id}/retire":{"post":{"tags":["os01-operator"],"summary":"Retire Object Inventory","operationId":"retire_object_inventory_api_v1_operator_os01_object_inventories__inventory_id__retire_post","parameters":[{"name":"inventory_id","in":"path","required":true,"schema":{"type":"string","title":"Inventory Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObjectInventoryRetirement"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Retire Object Inventory Api V1 Operator Os01 Object Inventories  Inventory Id  Retire Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os01/object-inventories/{inventory_id}":{"get":{"tags":["os01-operator"],"summary":"Read Object Inventory","operationId":"read_object_inventory_api_v1_operator_os01_object_inventories__inventory_id__get","parameters":[{"name":"inventory_id","in":"path","required":true,"schema":{"type":"string","title":"Inventory Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Object Inventory Api V1 Operator Os01 Object Inventories  Inventory Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os01/releases":{"post":{"tags":["os01-operator"],"summary":"Create Release","operationId":"create_release_api_v1_operator_os01_releases_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CurriculumReleaseCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Release Api V1 Operator Os01 Releases Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os01/releases/{release_id}":{"get":{"tags":["os01-operator"],"summary":"Release Readback","operationId":"release_readback_api_v1_operator_os01_releases__release_id__get","parameters":[{"name":"release_id","in":"path","required":true,"schema":{"type":"string","title":"Release Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Release Readback Api V1 Operator Os01 Releases  Release Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os01/releases/{release_id}/imports:plan":{"post":{"tags":["os01-operator"],"summary":"Plan Release Import","operationId":"plan_release_import_api_v1_operator_os01_releases__release_id__imports_plan_post","parameters":[{"name":"release_id","in":"path","required":true,"schema":{"type":"string","title":"Release Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CurriculumImportRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Plan Release Import Api V1 Operator Os01 Releases  Release Id  Imports Plan Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os01/releases/{release_id}/imports:apply":{"post":{"tags":["os01-operator"],"summary":"Apply Release Import","operationId":"apply_release_import_api_v1_operator_os01_releases__release_id__imports_apply_post","parameters":[{"name":"release_id","in":"path","required":true,"schema":{"type":"string","title":"Release Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CurriculumImportRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Apply Release Import Api V1 Operator Os01 Releases  Release Id  Imports Apply Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os01/releases/{release_id}/review":{"post":{"tags":["os01-operator"],"summary":"Review Release","operationId":"review_release_api_v1_operator_os01_releases__release_id__review_post","parameters":[{"name":"release_id","in":"path","required":true,"schema":{"type":"string","title":"Release Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReleaseReview"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Review Release Api V1 Operator Os01 Releases  Release Id  Review Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os01/bindings":{"post":{"tags":["os01-operator"],"summary":"Propose Binding","operationId":"propose_binding_api_v1_operator_os01_bindings_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BindingProposal"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Propose Binding Api V1 Operator Os01 Bindings Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os01/legacy-graph-details:apply":{"post":{"tags":["os01-operator"],"summary":"Apply Legacy Graph Detail Plan","description":"Apply the exact approval-bound legacy-detail plan atomically.","operationId":"apply_legacy_graph_detail_plan_api_v1_operator_os01_legacy_graph_details_apply_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegacyGraphDetailPlanCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Apply Legacy Graph Detail Plan Api V1 Operator Os01 Legacy Graph Details Apply Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os01/legacy-graph-details:rollback":{"post":{"tags":["os01-operator"],"summary":"Rollback Legacy Graph Detail Plan","description":"Retire the exact plan-owned legacy-detail set atomically.","operationId":"rollback_legacy_graph_detail_plan_api_v1_operator_os01_legacy_graph_details_rollback_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegacyGraphDetailPlanCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Rollback Legacy Graph Detail Plan Api V1 Operator Os01 Legacy Graph Details Rollback Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os01/graph-bindings/{binding_id}/review":{"post":{"tags":["os01-operator"],"summary":"Review Graph Binding","operationId":"review_graph_binding_api_v1_operator_os01_graph_bindings__binding_id__review_post","parameters":[{"name":"binding_id","in":"path","required":true,"schema":{"type":"string","title":"Binding Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BindingReview"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Review Graph Binding Api V1 Operator Os01 Graph Bindings  Binding Id  Review Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os01/object-bindings/{binding_id}/review":{"post":{"tags":["os01-operator"],"summary":"Review Object Binding","operationId":"review_object_binding_api_v1_operator_os01_object_bindings__binding_id__review_post","parameters":[{"name":"binding_id","in":"path","required":true,"schema":{"type":"string","title":"Binding Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BindingReview"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Review Object Binding Api V1 Operator Os01 Object Bindings  Binding Id  Review Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os01/evidence-board":{"get":{"tags":["os01-operator"],"summary":"Evidence Board","operationId":"evidence_board_api_v1_operator_os01_evidence_board_get","parameters":[{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(PENDING|CONFLICT|AMBIGUOUS|PLANNED|FAILED)?$"},{"type":"null"}],"title":"State"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Evidence Board Api V1 Operator Os01 Evidence Board Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os01/bindings/queue":{"get":{"tags":["os01-operator"],"summary":"Evidence Board","operationId":"evidence_board_api_v1_operator_os01_bindings_queue_get","parameters":[{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(PENDING|CONFLICT|AMBIGUOUS|PLANNED|FAILED)?$"},{"type":"null"}],"title":"State"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Evidence Board Api V1 Operator Os01 Bindings Queue Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os01/impact/{change_id}":{"get":{"tags":["os01-operator"],"summary":"Impact Preview","operationId":"impact_preview_api_v1_operator_os01_impact__change_id__get","parameters":[{"name":"change_id","in":"path","required":true,"schema":{"type":"string","title":"Change Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Impact Preview Api V1 Operator Os01 Impact  Change Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os01/concepts":{"post":{"tags":["os01-operator"],"summary":"Create Permanent Concept","operationId":"create_permanent_concept_api_v1_operator_os01_concepts_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PermanentConceptCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Permanent Concept Api V1 Operator Os01 Concepts Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os01/concepts/{os01_concept_id}/review":{"post":{"tags":["os01-operator"],"summary":"Review Permanent Concept","operationId":"review_permanent_concept_api_v1_operator_os01_concepts__os01_concept_id__review_post","parameters":[{"name":"os01_concept_id","in":"path","required":true,"schema":{"type":"string","title":"Os01 Concept Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PermanentConceptReview"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Review Permanent Concept Api V1 Operator Os01 Concepts  Os01 Concept Id  Review Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os01/concepts/{os01_concept_id}/lifecycle":{"post":{"tags":["os01-operator"],"summary":"Apply Concept Lifecycle","operationId":"apply_concept_lifecycle_api_v1_operator_os01_concepts__os01_concept_id__lifecycle_post","parameters":[{"name":"os01_concept_id","in":"path","required":true,"schema":{"type":"string","title":"Os01 Concept Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConceptLifecycleChange"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Apply Concept Lifecycle Api V1 Operator Os01 Concepts  Os01 Concept Id  Lifecycle Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os01/ambiguities":{"get":{"tags":["os01-operator"],"summary":"Ambiguities","operationId":"ambiguities_api_v1_operator_os01_ambiguities_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Ambiguities Api V1 Operator Os01 Ambiguities Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os01/aliases/{alias_id}/approve":{"post":{"tags":["os01-operator"],"summary":"Approve Alias","operationId":"approve_alias_api_v1_operator_os01_aliases__alias_id__approve_post","parameters":[{"name":"alias_id","in":"path","required":true,"schema":{"type":"string","title":"Alias Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AliasApproval"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Approve Alias Api V1 Operator Os01 Aliases  Alias Id  Approve Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os01/releases/{release_id}/activate":{"post":{"tags":["os01-operator"],"summary":"Activate Release","operationId":"activate_release_api_v1_operator_os01_releases__release_id__activate_post","parameters":[{"name":"release_id","in":"path","required":true,"schema":{"type":"string","title":"Release Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReleaseActivation"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Activate Release Api V1 Operator Os01 Releases  Release Id  Activate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os01/releases/{release_id}/retire":{"post":{"tags":["os01-operator"],"summary":"Retire Release","operationId":"retire_release_api_v1_operator_os01_releases__release_id__retire_post","parameters":[{"name":"release_id","in":"path","required":true,"schema":{"type":"string","title":"Release Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReleaseRetirement"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Retire Release Api V1 Operator Os01 Releases  Release Id  Retire Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os01/mappings/replay":{"post":{"tags":["os01-operator"],"summary":"Replay Mapping","operationId":"replay_mapping_api_v1_operator_os01_mappings_replay_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MappingReplayRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Replay Mapping Api V1 Operator Os01 Mappings Replay Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os01/replay-jobs:run-once":{"post":{"tags":["os01-operator"],"summary":"Run Replay Worker Once","operationId":"run_replay_worker_once_api_v1_operator_os01_replay_jobs_run_once_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Run Replay Worker Once Api V1 Operator Os01 Replay Jobs Run Once Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os01/replay-jobs/{replay_job_id}":{"get":{"tags":["os01-operator"],"summary":"Replay Job Readback","operationId":"replay_job_readback_api_v1_operator_os01_replay_jobs__replay_job_id__get","parameters":[{"name":"replay_job_id","in":"path","required":true,"schema":{"type":"string","title":"Replay Job Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Replay Job Readback Api V1 Operator Os01 Replay Jobs  Replay Job Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os01/replay-jobs":{"get":{"tags":["os01-operator"],"summary":"Replay Backlog","operationId":"replay_backlog_api_v1_operator_os01_replay_jobs_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Replay Backlog Api V1 Operator Os01 Replay Jobs Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/aspireace/content/os01/bindings/{object_namespace}/{object_id}":{"get":{"tags":["os01-console-bindings"],"summary":"Read Object Binding","description":"Read the current OS01 compatibility binding for one supported object.","operationId":"read_object_binding_api_v1_console_aspireace_content_os01_bindings__object_namespace___object_id__get","parameters":[{"name":"object_namespace","in":"path","required":true,"schema":{"enum":["question","repair_treatment"],"type":"string","title":"Object Namespace"}},{"name":"object_id","in":"path","required":true,"schema":{"type":"string","title":"Object Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Object Binding Api V1 Console Aspireace Content Os01 Bindings  Object Namespace   Object Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/aspireace/content/os01/bindings":{"post":{"tags":["os01-console-bindings"],"summary":"Propose Object Binding","description":"Record a question or repair-treatment proposal using native OS01 governance.","operationId":"propose_object_binding_api_v1_console_aspireace_content_os01_bindings_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BindingProposal"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Propose Object Binding Api V1 Console Aspireace Content Os01 Bindings Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/aspireace/content/os01/bindings/{binding_id}/review":{"post":{"tags":["os01-console-bindings"],"summary":"Review Object Binding","description":"Review a scoped object binding as the independently authenticated checker.","operationId":"review_object_binding_api_v1_console_aspireace_content_os01_bindings__binding_id__review_post","parameters":[{"name":"binding_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Binding Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BindingReview"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Review Object Binding Api V1 Console Aspireace Content Os01 Bindings  Binding Id  Review Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ncert/{student_id}/coordinate":{"post":{"tags":["os01-concept-adapters"],"summary":"Ncert Coordinate Adapter","description":"Add OS01 context without changing NCERT's existing product ownership.","operationId":"ncert_coordinate_adapter_api_v1_ncert__student_id__coordinate_post","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/os_runtime__os01_concept_spine__models__ResolveRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Ncert Coordinate Adapter Api V1 Ncert  Student Id  Coordinate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pyq-atlas/{student_id}/coordinate":{"post":{"tags":["os01-concept-adapters"],"summary":"Pyq Coordinate Adapter","description":"Add OS01 context without changing PYQ Atlas's existing product ownership.","operationId":"pyq_coordinate_adapter_api_v1_pyq_atlas__student_id__coordinate_post","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/os_runtime__os01_concept_spine__models__ResolveRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Pyq Coordinate Adapter Api V1 Pyq Atlas  Student Id  Coordinate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/learning-loops":{"post":{"tags":["aos-os02-learning-loop"],"summary":"Start Loop","operationId":"start_loop_api_v1_learning_loops_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoopStartRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Start Loop Api V1 Learning Loops Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/learning-loops/resume/current":{"get":{"tags":["aos-os02-learning-loop"],"summary":"Resume Current","operationId":"resume_current_api_v1_learning_loops_resume_current_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Resume Current Api V1 Learning Loops Resume Current Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/learning-loops/{loop_id}":{"get":{"tags":["aos-os02-learning-loop"],"summary":"Read Loop","operationId":"read_loop_api_v1_learning_loops__loop_id__get","parameters":[{"name":"loop_id","in":"path","required":true,"schema":{"type":"string","title":"Loop Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Loop Api V1 Learning Loops  Loop Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/learning-loops/{loop_id}/transition":{"post":{"tags":["aos-os02-learning-loop"],"summary":"Transition Loop","operationId":"transition_loop_api_v1_learning_loops__loop_id__transition_post","parameters":[{"name":"loop_id","in":"path","required":true,"schema":{"type":"string","title":"Loop Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransitionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Transition Loop Api V1 Learning Loops  Loop Id  Transition Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/learning-loops/{loop_id}/checkpoint":{"post":{"tags":["aos-os02-learning-loop"],"summary":"Checkpoint Loop","operationId":"checkpoint_loop_api_v1_learning_loops__loop_id__checkpoint_post","parameters":[{"name":"loop_id","in":"path","required":true,"schema":{"type":"string","title":"Loop Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckpointRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Checkpoint Loop Api V1 Learning Loops  Loop Id  Checkpoint Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/learning-loops/{loop_id}/handoff":{"post":{"tags":["aos-os02-learning-loop"],"summary":"Handoff Loop","operationId":"handoff_loop_api_v1_learning_loops__loop_id__handoff_post","parameters":[{"name":"loop_id","in":"path","required":true,"schema":{"type":"string","title":"Loop Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/os_runtime__os02_learning_loop__models__HandoffRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Handoff Loop Api V1 Learning Loops  Loop Id  Handoff Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/learning-loops/{loop_id}/mission-rail":{"get":{"tags":["aos-os02-learning-loop"],"summary":"Mission Rail","operationId":"mission_rail_api_v1_learning_loops__loop_id__mission_rail_get","parameters":[{"name":"loop_id","in":"path","required":true,"schema":{"type":"string","title":"Loop Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Mission Rail Api V1 Learning Loops  Loop Id  Mission Rail Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/learning-loops/{loop_id}/why":{"get":{"tags":["aos-os02-learning-loop"],"summary":"Transition Why","operationId":"transition_why_api_v1_learning_loops__loop_id__why_get","parameters":[{"name":"loop_id","in":"path","required":true,"schema":{"type":"string","title":"Loop Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Transition Why Api V1 Learning Loops  Loop Id  Why Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os02/loops/{loop_id}":{"get":{"tags":["aos-os02-operator"],"summary":"Operator Loop","operationId":"operator_loop_api_v1_operator_os02_loops__loop_id__get","parameters":[{"name":"loop_id","in":"path","required":true,"schema":{"type":"string","title":"Loop Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Operator Loop Api V1 Operator Os02 Loops  Loop Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os02/dead-ends":{"get":{"tags":["aos-os02-operator"],"summary":"Dead Ends","operationId":"dead_ends_api_v1_operator_os02_dead_ends_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Dead Ends Api V1 Operator Os02 Dead Ends Get"}}}}}}},"/api/v1/os03/memory/facts":{"post":{"tags":["aos-os03-memory-story"],"summary":"Admit Memory Fact","operationId":"admit_memory_fact_api_v1_os03_memory_facts_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemoryFactCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Admit Memory Fact Api V1 Os03 Memory Facts Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["aos-os03-memory-story"],"summary":"List Memory Facts","operationId":"list_memory_facts_api_v1_os03_memory_facts_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Memory Facts Api V1 Os03 Memory Facts Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os03/story/timeline":{"get":{"tags":["aos-os03-memory-story"],"summary":"Story Timeline","operationId":"story_timeline_api_v1_os03_story_timeline_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Story Timeline Api V1 Os03 Story Timeline Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os03/students/{student_id}/memory":{"get":{"tags":["operator-os03-memory-story"],"summary":"Operator Memory Graph","operationId":"operator_memory_graph_api_v1_operator_os03_students__student_id__memory_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Operator Memory Graph Api V1 Operator Os03 Students  Student Id  Memory Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os03/facts/{fact_id}/suppress":{"post":{"tags":["operator-os03-memory-story"],"summary":"Suppress Fact","operationId":"suppress_fact_api_v1_operator_os03_facts__fact_id__suppress_post","parameters":[{"name":"fact_id","in":"path","required":true,"schema":{"type":"string","title":"Fact Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuppressBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Suppress Fact Api V1 Operator Os03 Facts  Fact Id  Suppress Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/proofs/internal/publish":{"post":{"tags":["aos-os04-proof"],"summary":"Publish Internal","operationId":"publish_internal_api_v1_proofs_internal_publish_post","parameters":[{"name":"X-AOS-Consumer","in":"header","required":true,"schema":{"type":"string","title":"X-Aos-Consumer"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublishProofCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/proofs/shared/{share_token}":{"get":{"tags":["aos-os04-proof"],"summary":"Read Shared","operationId":"read_shared_api_v1_proofs_shared__share_token__get","parameters":[{"name":"share_token","in":"path","required":true,"schema":{"type":"string","title":"Share Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/proofs/{proof_id}":{"get":{"tags":["aos-os04-proof"],"summary":"Read Proof","operationId":"read_proof_api_v1_proofs__proof_id__get","parameters":[{"name":"proof_id","in":"path","required":true,"schema":{"type":"string","title":"Proof Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/proofs/series/{series_id}":{"get":{"tags":["aos-os04-proof"],"summary":"Read Series","operationId":"read_series_api_v1_proofs_series__series_id__get","parameters":[{"name":"series_id","in":"path","required":true,"schema":{"type":"string","title":"Series Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/proofs/{proof_id}/share":{"post":{"tags":["aos-os04-proof"],"summary":"Share","operationId":"share_api_v1_proofs__proof_id__share_post","parameters":[{"name":"proof_id","in":"path","required":true,"schema":{"type":"string","title":"Proof Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShareProofCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/proofs/{proof_id}/correction-requests":{"post":{"tags":["aos-os04-proof"],"summary":"Correction","operationId":"correction_api_v1_proofs__proof_id__correction_requests_post","parameters":[{"name":"proof_id","in":"path","required":true,"schema":{"type":"string","title":"Proof Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/os_runtime__os04_proof_ledger__models__CorrectionRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os04/orphans":{"get":{"tags":["aos-os04-operator"],"summary":"Orphans","operationId":"orphans_api_v1_operator_os04_orphans_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os04/series/{series_id}/graph":{"get":{"tags":["aos-os04-operator"],"summary":"Graph","operationId":"graph_api_v1_operator_os04_series__series_id__graph_get","parameters":[{"name":"series_id","in":"path","required":true,"schema":{"type":"string","title":"Series Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os04/artifacts/{proof_id}/revoke":{"post":{"tags":["aos-os04-operator"],"summary":"Revoke","operationId":"revoke_api_v1_operator_os04_artifacts__proof_id__revoke_post","parameters":[{"name":"proof_id","in":"path","required":true,"schema":{"type":"string","title":"Proof Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RevokeProofCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os04/series/{series_id}/reconcile":{"post":{"tags":["aos-os04-operator"],"summary":"Reconcile","operationId":"reconcile_api_v1_operator_os04_series__series_id__reconcile_post","parameters":[{"name":"series_id","in":"path","required":true,"schema":{"type":"string","title":"Series Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReconcileSeriesCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/provenance/objects/{object_type}/{object_id}":{"get":{"tags":["aos-os05-provenance"],"summary":"Object Chain","operationId":"object_chain_api_v1_provenance_objects__object_type___object_id__get","parameters":[{"name":"object_type","in":"path","required":true,"schema":{"type":"string","title":"Object Type"}},{"name":"object_id","in":"path","required":true,"schema":{"type":"string","title":"Object Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/provenance/evaluate":{"post":{"tags":["aos-os05-provenance"],"summary":"Evaluate","operationId":"evaluate_api_v1_provenance_evaluate_post","parameters":[{"name":"Authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"X-AOS-Consumer","in":"header","required":true,"schema":{"type":"string","title":"X-Aos-Consumer"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluateProvenanceRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/provenance/snapshots/{snapshot_id}":{"get":{"tags":["aos-os05-provenance"],"summary":"Snapshot","operationId":"snapshot_api_v1_provenance_snapshots__snapshot_id__get","parameters":[{"name":"snapshot_id","in":"path","required":true,"schema":{"type":"string","title":"Snapshot Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os05/sources/health":{"get":{"tags":["aos-os05-operator"],"summary":"Health","operationId":"health_api_v1_operator_os05_sources_health_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os05/dependencies/{snapshot_id}":{"get":{"tags":["aos-os05-operator"],"summary":"Dependencies","operationId":"dependencies_api_v1_operator_os05_dependencies__snapshot_id__get","parameters":[{"name":"snapshot_id","in":"path","required":true,"schema":{"type":"string","title":"Snapshot Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os05/bindings":{"post":{"tags":["aos-os05-operator"],"summary":"Bind","operationId":"bind_api_v1_operator_os05_bindings_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceBindingCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os05/transformations":{"post":{"tags":["aos-os05-operator"],"summary":"Transformation","operationId":"transformation_api_v1_operator_os05_transformations_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransformationCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os05/policies":{"post":{"tags":["aos-os05-operator"],"summary":"Create Policy","operationId":"create_policy_api_v1_operator_os05_policies_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurposePolicyCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os05/policies/{version}/activate":{"post":{"tags":["aos-os05-operator"],"summary":"Activate Policy","operationId":"activate_policy_api_v1_operator_os05_policies__version__activate_post","parameters":[{"name":"version","in":"path","required":true,"schema":{"type":"string","title":"Version"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActivatePurposePolicy"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os05/invalidations":{"post":{"tags":["aos-os05-operator"],"summary":"Request Invalidation","operationId":"request_invalidation_api_v1_operator_os05_invalidations_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidationRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os05/invalidations/{invalidation_id}/review":{"post":{"tags":["aos-os05-operator"],"summary":"Review","operationId":"review_api_v1_operator_os05_invalidations__invalidation_id__review_post","parameters":[{"name":"invalidation_id","in":"path","required":true,"schema":{"type":"string","title":"Invalidation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidationReview"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os05/invalidations/{invalidation_id}/execute":{"post":{"tags":["aos-os05-operator"],"summary":"Invalidation","operationId":"invalidation_api_v1_operator_os05_invalidations__invalidation_id__execute_post","parameters":[{"name":"invalidation_id","in":"path","required":true,"schema":{"type":"string","title":"Invalidation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidationExecute"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/aos/os06/health":{"get":{"tags":["aos-os06-assessment-evidence"],"summary":"Health","operationId":"health_api_aos_os06_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Health Api Aos Os06 Health Get"}}}}}}},"/api/aos/os06/attempts":{"post":{"tags":["aos-os06-assessment-evidence"],"summary":"Record Attempt","operationId":"record_attempt_api_aos_os06_attempts_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssessmentAttemptCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Record Attempt Api Aos Os06 Attempts Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/aos/os06/rubrics":{"post":{"tags":["aos-os06-assessment-evidence"],"summary":"Activate Rubric","operationId":"activate_rubric_api_aos_os06_rubrics_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricVersionCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Activate Rubric Api Aos Os06 Rubrics Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/aos/os06/score":{"post":{"tags":["aos-os06-assessment-evidence"],"summary":"Reconstruct Score","operationId":"reconstruct_score_api_aos_os06_score_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScoreReconstructionCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Reconstruct Score Api Aos Os06 Score Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/aos/os06/finalize":{"post":{"tags":["aos-os06-assessment-evidence"],"summary":"Finalize Grade","operationId":"finalize_grade_api_aos_os06_finalize_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GradeFinalizationCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Finalize Grade Api Aos Os06 Finalize Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/aos/os06/challenges":{"post":{"tags":["aos-os06-assessment-evidence"],"summary":"Challenge Grade","operationId":"challenge_grade_api_aos_os06_challenges_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChallengeCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Challenge Grade Api Aos Os06 Challenges Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/aos/os06/attempts/{attempt_id}/reconstruction":{"get":{"tags":["aos-os06-assessment-evidence"],"summary":"Reconstruction","operationId":"reconstruction_api_aos_os06_attempts__attempt_id__reconstruction_get","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"string","title":"Attempt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Reconstruction Api Aos Os06 Attempts  Attempt Id  Reconstruction Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/aos/operator/os06/reconstruction/{attempt_id}":{"get":{"tags":["aos-operator-os06"],"summary":"Reconstruct Attempt","operationId":"reconstruct_attempt_api_aos_operator_os06_reconstruction__attempt_id__get","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"string","title":"Attempt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Reconstruct Attempt Api Aos Operator Os06 Reconstruction  Attempt Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/aos/operator/os06/challenges/open":{"get":{"tags":["aos-operator-os06"],"summary":"Open Challenges","operationId":"open_challenges_api_aos_operator_os06_challenges_open_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Open Challenges Api Aos Operator Os06 Challenges Open Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os07/repair/candidates":{"post":{"tags":["os07-repair"],"summary":"Admit Candidate","operationId":"admit_candidate_api_v1_os07_repair_candidates_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RepairCandidateCommand"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os07/repair/policies":{"post":{"tags":["os07-repair"],"summary":"Upsert Policy","operationId":"upsert_policy_api_v1_os07_repair_policies_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TreatmentPolicyCommand"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os07/repair/candidates/{candidate_id}/treatment-selection":{"post":{"tags":["os07-repair"],"summary":"Preview Treatment Selection","operationId":"preview_treatment_selection_api_v1_os07_repair_candidates__candidate_id__treatment_selection_post","parameters":[{"name":"candidate_id","in":"path","required":true,"schema":{"type":"string","title":"Candidate Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TreatmentSelectionCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os07/repair/episodes":{"post":{"tags":["os07-repair"],"summary":"Start Episode","operationId":"start_episode_api_v1_os07_repair_episodes_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RepairEpisodeCommand"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os07/repair/correction-holds/{hold_id}/reselect":{"post":{"tags":["os07-repair"],"summary":"Reselect After Correction","operationId":"reselect_after_correction_api_v1_os07_repair_correction_holds__hold_id__reselect_post","parameters":[{"name":"hold_id","in":"path","required":true,"schema":{"type":"string","title":"Hold Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CorrectionReselectionCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os07/repair/episodes/{episode_id}/steps":{"post":{"tags":["os07-repair"],"summary":"Record Step","operationId":"record_step_api_v1_os07_repair_episodes__episode_id__steps_post","parameters":[{"name":"episode_id","in":"path","required":true,"schema":{"type":"string","title":"Episode Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RepairStepCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os07/repair/episodes/{episode_id}/outcomes":{"post":{"tags":["os07-repair"],"summary":"Record Outcome","operationId":"record_outcome_api_v1_os07_repair_episodes__episode_id__outcomes_post","parameters":[{"name":"episode_id","in":"path","required":true,"schema":{"type":"string","title":"Episode Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReassessmentOutcomeCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os07/repair/episodes/{episode_id}":{"get":{"tags":["os07-repair"],"summary":"Read Episode","operationId":"read_episode_api_v1_os07_repair_episodes__episode_id__get","parameters":[{"name":"episode_id","in":"path","required":true,"schema":{"type":"string","title":"Episode Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os07/repair/episodes/{episode_id}/learner-receipt":{"get":{"tags":["os07-repair"],"summary":"Read Learner Receipt","operationId":"read_learner_receipt_api_v1_os07_repair_episodes__episode_id__learner_receipt_get","parameters":[{"name":"episode_id","in":"path","required":true,"schema":{"type":"string","title":"Episode Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os07/repair/effectiveness":{"get":{"tags":["os07-repair"],"summary":"Read Effectiveness","description":"Operator aggregate only: no student or outcome identifiers are exposed.","operationId":"read_effectiveness_api_v1_os07_repair_effectiveness_get","parameters":[{"name":"concept_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Concept Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":250,"minimum":1,"default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/repairs/{episode_ref}/launch":{"get":{"tags":["os07-repair-launch"],"summary":"Read Chapter Drill Repair Launch","description":"Return the server-owned Chapter Drill launch contract for one owner.\n\nThis endpoint does not create a repair and does not turn a client-supplied\nweak topic into a decision.  It only exposes a binding already admitted by\nOS07 from completed Chapter Drill, Twin, and OS06 evidence.","operationId":"read_chapter_drill_repair_launch_api_v1_repairs__episode_ref__launch_get","parameters":[{"name":"episode_ref","in":"path","required":true,"schema":{"type":"string","title":"Episode Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/repairs/{episode_ref}/treatment":{"get":{"tags":["os07-repair-launch"],"summary":"Read Learner Treatment Delivery","description":"Read the exact current OS01-bound OS10 treatment for an owned episode.","operationId":"read_learner_treatment_delivery_api_v1_repairs__episode_ref__treatment_get","parameters":[{"name":"episode_ref","in":"path","required":true,"schema":{"type":"string","title":"Episode Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/repairs/{episode_ref}/treatment/open":{"post":{"tags":["os07-repair-launch"],"summary":"Open Learner Treatment Delivery","description":"Record explicit delivery through the existing OS07 STARTED-step command.\n\nOpening is a learner action, not a treatment completion. The source and\npolicy are re-read under the episode lock; no caller-supplied concept or\ntreatment can select the content.","operationId":"open_learner_treatment_delivery_api_v1_repairs__episode_ref__treatment_open_post","parameters":[{"name":"episode_ref","in":"path","required":true,"schema":{"type":"string","title":"Episode Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LearnerTreatmentDeliveryOpenCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os07/repair/candidates":{"get":{"tags":["operator-os07-repair"],"summary":"Candidates","operationId":"candidates_api_operator_os07_repair_candidates_get","parameters":[{"name":"student_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os07/repair/episodes":{"get":{"tags":["operator-os07-repair"],"summary":"Episodes","operationId":"episodes_api_operator_os07_repair_episodes_get","parameters":[{"name":"student_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os07/repair/outcomes":{"get":{"tags":["operator-os07-repair"],"summary":"Outcomes","operationId":"outcomes_api_operator_os07_repair_outcomes_get","parameters":[{"name":"student_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/aos/os08/threads/resolve":{"post":{"tags":["aos-os08-product-thread"],"summary":"Resolve Thread","operationId":"resolve_thread_api_aos_os08_threads_resolve_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThreadResolutionCommand"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Resolve Thread Api Aos Os08 Threads Resolve Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/aos/os08/threads/{thread_id}":{"get":{"tags":["aos-os08-product-thread"],"summary":"Read Thread","operationId":"read_thread_api_aos_os08_threads__thread_id__get","parameters":[{"name":"thread_id","in":"path","required":true,"schema":{"type":"string","title":"Thread Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Thread Api Aos Os08 Threads  Thread Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/aos/os08/night-calm/{student_id}":{"get":{"tags":["aos-os08-product-thread"],"summary":"Night Calm Check","description":"Read-only evidence that no OS08 product-thread event occurred in a window.","operationId":"night_calm_check_api_aos_os08_night_calm__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"since","in":"query","required":true,"schema":{"type":"string","format":"date-time","title":"Since"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Night Calm Check Api Aos Os08 Night Calm  Student Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/aos/os08/threads/{thread_id}/shown":{"post":{"tags":["aos-os08-product-thread"],"summary":"Mark Thread Shown","operationId":"mark_thread_shown_api_aos_os08_threads__thread_id__shown_post","parameters":[{"name":"thread_id","in":"path","required":true,"schema":{"type":"string","title":"Thread Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThreadShownCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Mark Thread Shown Api Aos Os08 Threads  Thread Id  Shown Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/aos/os08/threads/outcomes":{"post":{"tags":["aos-os08-product-thread"],"summary":"Attribute Outcome","operationId":"attribute_outcome_api_aos_os08_threads_outcomes_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OutcomeAttributionCommand"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Attribute Outcome Api Aos Os08 Threads Outcomes Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/aos/os08/threads/suppress":{"post":{"tags":["aos-os08-product-thread"],"summary":"Suppress Thread","operationId":"suppress_thread_api_aos_os08_threads_suppress_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuppressionCommand"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Suppress Thread Api Aos Os08 Threads Suppress Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/aos/operator/os08/threads":{"get":{"tags":["aos-os08-operator"],"summary":"List Threads","operationId":"list_threads_api_aos_operator_os08_threads_get","parameters":[{"name":"student_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Student Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Threads Api Aos Operator Os08 Threads Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/aos/operator/os08/threads/{thread_id}":{"get":{"tags":["aos-os08-operator"],"summary":"Inspect Thread","operationId":"inspect_thread_api_aos_operator_os08_threads__thread_id__get","parameters":[{"name":"thread_id","in":"path","required":true,"schema":{"type":"string","title":"Thread Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Inspect Thread Api Aos Operator Os08 Threads  Thread Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os09/commerce/preflight":{"post":{"tags":["os09-commerce"],"summary":"Commerce Preflight","operationId":"commerce_preflight_api_v1_os09_commerce_preflight_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommercePreflightCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Commerce Preflight Api V1 Os09 Commerce Preflight Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os09/commerce/quota/consume":{"post":{"tags":["os09-commerce"],"summary":"Consume Quota","operationId":"consume_quota_api_v1_os09_commerce_quota_consume_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaConsumeCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Consume Quota Api V1 Os09 Commerce Quota Consume Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os09/commerce/decisions":{"get":{"tags":["os09-commerce"],"summary":"Student Decisions","operationId":"student_decisions_api_v1_os09_commerce_decisions_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":25,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Student Decisions Api V1 Os09 Commerce Decisions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os09/commerce/entitlements":{"get":{"tags":["os09-commerce"],"summary":"Student Entitlements","operationId":"student_entitlements_api_v1_os09_commerce_entitlements_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Student Entitlements Api V1 Os09 Commerce Entitlements Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os09/commerce/predictor-access/{product_key}":{"get":{"tags":["os09-commerce"],"summary":"Predictor Access","description":"PREDIMP read-only access projection; no Commerce mutation occurs here.","operationId":"predictor_access_api_v1_os09_commerce_predictor_access__product_key__get","parameters":[{"name":"product_key","in":"path","required":true,"schema":{"type":"string","title":"Product Key"}},{"name":"feature_key","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Feature Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Predictor Access Api V1 Os09 Commerce Predictor Access  Product Key  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os09/commerce/skus/bind":{"post":{"tags":["operator-os09-commerce"],"summary":"Bind Sku","operationId":"bind_sku_api_operator_os09_commerce_skus_bind_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkuBindingCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Bind Sku Api Operator Os09 Commerce Skus Bind Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os09/commerce/entitlements/grant":{"post":{"tags":["operator-os09-commerce"],"summary":"Grant Entitlement","operationId":"grant_entitlement_api_operator_os09_commerce_entitlements_grant_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntitlementGrantCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Grant Entitlement Api Operator Os09 Commerce Entitlements Grant Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os09/commerce/entitlements/revoke":{"post":{"tags":["operator-os09-commerce"],"summary":"Revoke Entitlement","operationId":"revoke_entitlement_api_operator_os09_commerce_entitlements_revoke_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntitlementRevokeCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Revoke Entitlement Api Operator Os09 Commerce Entitlements Revoke Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os09/commerce/quota/adjust":{"post":{"tags":["operator-os09-commerce"],"summary":"Adjust Quota","operationId":"adjust_quota_api_operator_os09_commerce_quota_adjust_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaAdjustmentCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Adjust Quota Api Operator Os09 Commerce Quota Adjust Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os09/commerce/offers/suppress":{"post":{"tags":["operator-os09-commerce"],"summary":"Suppress Offer","operationId":"suppress_offer_api_operator_os09_commerce_offers_suppress_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfferSuppressionCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Suppress Offer Api Operator Os09 Commerce Offers Suppress Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os09/commerce/purchases/confirm":{"post":{"tags":["operator-os09-commerce"],"summary":"Confirm Purchase","operationId":"confirm_purchase_api_operator_os09_commerce_purchases_confirm_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseConfirmedCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Confirm Purchase Api Operator Os09 Commerce Purchases Confirm Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os09/commerce/decisions":{"get":{"tags":["operator-os09-commerce"],"summary":"Decisions","operationId":"decisions_api_operator_os09_commerce_decisions_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Decisions Api Operator Os09 Commerce Decisions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os09/commerce/health":{"get":{"tags":["operator-os09-commerce"],"summary":"Health","operationId":"health_api_operator_os09_commerce_health_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Health Api Operator Os09 Commerce Health Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os10/content/candidates":{"post":{"tags":["os10-content-ops"],"summary":"Create Candidate","operationId":"create_candidate_api_v1_os10_content_candidates_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CandidateCreateCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os10/content/legacy-candidates/adopt":{"post":{"tags":["os10-content-ops"],"summary":"Adopt Legacy Candidate","operationId":"adopt_legacy_candidate_api_v1_os10_content_legacy_candidates_adopt_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegacyCandidateAdoptionCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os10/content/candidates/{candidate_id}/validate":{"post":{"tags":["os10-content-ops"],"summary":"Validate Candidate","operationId":"validate_candidate_api_v1_os10_content_candidates__candidate_id__validate_post","parameters":[{"name":"candidate_id","in":"path","required":true,"schema":{"type":"string","title":"Candidate Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CandidateValidationCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os10/content/candidates/{candidate_id}/assign":{"post":{"tags":["os10-content-ops"],"summary":"Assign Review","operationId":"assign_review_api_v1_os10_content_candidates__candidate_id__assign_post","parameters":[{"name":"candidate_id","in":"path","required":true,"schema":{"type":"string","title":"Candidate Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewAssignmentCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os10/content/candidates/{candidate_id}/decide":{"post":{"tags":["os10-content-ops"],"summary":"Decide Review","operationId":"decide_review_api_v1_os10_content_candidates__candidate_id__decide_post","parameters":[{"name":"candidate_id","in":"path","required":true,"schema":{"type":"string","title":"Candidate Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewDecisionCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os10/content/candidates/{candidate_id}/publish":{"post":{"tags":["os10-content-ops"],"summary":"Publish Candidate","operationId":"publish_candidate_api_v1_os10_content_candidates__candidate_id__publish_post","parameters":[{"name":"candidate_id","in":"path","required":true,"schema":{"type":"string","title":"Candidate Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublishContentCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os10/content/publications/{publication_id}/recall":{"post":{"tags":["os10-content-ops"],"summary":"Recall Publication","operationId":"recall_publication_api_v1_os10_content_publications__publication_id__recall_post","parameters":[{"name":"publication_id","in":"path","required":true,"schema":{"type":"string","title":"Publication Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecallContentCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os10/content/published/{content_key}":{"get":{"tags":["os10-content-ops"],"summary":"Read Active Published Content","operationId":"read_active_published_content_api_v1_os10_content_published__content_key__get","parameters":[{"name":"content_key","in":"path","required":true,"schema":{"type":"string","title":"Content Key"}},{"name":"release_channel","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Release Channel"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/aspireace/content/pilot/operations":{"get":{"tags":["aspireace-content-console"],"summary":"Pilot Operations Snapshot","description":"Read the frozen seven-item operator projection from native records.","operationId":"pilot_operations_snapshot_api_v1_console_aspireace_content_pilot_operations_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Pilot Operations Snapshot Api V1 Console Aspireace Content Pilot Operations Get"}}}}}}},"/api/v1/console/aspireace/content/inventory/question-counts":{"get":{"tags":["aspireace-content-console"],"summary":"Exam Subject Question Counts","description":"Read source, lifecycle and active-publication counts by known exam/subject.","operationId":"exam_subject_question_counts_api_v1_console_aspireace_content_inventory_question_counts_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Exam Subject Question Counts Api V1 Console Aspireace Content Inventory Question Counts Get"}}}}}}},"/api/v1/console/aspireace/content/pilot/operations/actions":{"post":{"tags":["aspireace-content-console"],"summary":"Pilot Operations Action","description":"Run one currently eligible typed action through its existing native owner.","operationId":"pilot_operations_action_api_v1_console_aspireace_content_pilot_operations_actions_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PilotOperationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Pilot Operations Action Api V1 Console Aspireace Content Pilot Operations Actions Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/aspireace/content/sources/bindings":{"post":{"tags":["aspireace-content-console"],"summary":"Bind Source","description":"Delegate source binding to the native OS05 idempotent transaction.","operationId":"bind_source_api_v1_console_aspireace_content_sources_bindings_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceBindingCommand"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Bind Source Api V1 Console Aspireace Content Sources Bindings Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/aspireace/content/candidates":{"post":{"tags":["aspireace-content-console"],"summary":"Create Candidate","operationId":"create_candidate_api_v1_console_aspireace_content_candidates_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CandidateCreateCommand"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Candidate Api V1 Console Aspireace Content Candidates Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/aspireace/content/authority/source-passports":{"post":{"tags":["aspireace-content-console"],"summary":"Create Source Passport","description":"Delegate passport decisions to CNTIMP-PR01 using the console person.","operationId":"create_source_passport_api_v1_console_aspireace_content_authority_source_passports_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourcePassportCommand"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Source Passport Api V1 Console Aspireace Content Authority Source Passports Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/aspireace/content/authority/source-passports/{passport_id}/rights":{"post":{"tags":["aspireace-content-console"],"summary":"Create Rights Decision","description":"Require an owner session and let OS10 validate the actual evidence receipt.","operationId":"create_rights_decision_api_v1_console_aspireace_content_authority_source_passports__passport_id__rights_post","parameters":[{"name":"passport_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Passport Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RightsDecisionCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Rights Decision Api V1 Console Aspireace Content Authority Source Passports  Passport Id  Rights Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/aspireace/content/authority/curriculum-mappings":{"post":{"tags":["aspireace-content-console"],"summary":"Create Curriculum Mapping","description":"Delegate mapping decisions to CNTIMP-PR01 using the console person.","operationId":"create_curriculum_mapping_api_v1_console_aspireace_content_authority_curriculum_mappings_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CurriculumMappingCommand"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Curriculum Mapping Api V1 Console Aspireace Content Authority Curriculum Mappings Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/aspireace/content/candidates/{candidate_id}/authority-binding":{"post":{"tags":["aspireace-content-console"],"summary":"Bind Candidate Authority","description":"Bind only through OS10's durable source/rights/mapping/OS15 receipt gates.","operationId":"bind_candidate_authority_api_v1_console_aspireace_content_candidates__candidate_id__authority_binding_post","parameters":[{"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/CandidateAuthorityBindingCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Bind Candidate Authority Api V1 Console Aspireace Content Candidates  Candidate Id  Authority Binding Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/aspireace/content/repair-worksheets":{"post":{"tags":["aspireace-content-console"],"summary":"Create Repair Worksheet Route","description":"Create a typed held worksheet through the OS10 native lifecycle.","operationId":"create_repair_worksheet_route_api_v1_console_aspireace_content_repair_worksheets_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RepairWorksheetCreateCommand"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Repair Worksheet Route Api V1 Console Aspireace Content Repair Worksheets Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/aspireace/content/candidates/{candidate_id}/validate":{"post":{"tags":["aspireace-content-console"],"summary":"Validate Candidate","operationId":"validate_candidate_api_v1_console_aspireace_content_candidates__candidate_id__validate_post","parameters":[{"name":"candidate_id","in":"path","required":true,"schema":{"type":"string","title":"Candidate Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CandidateValidationCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Validate Candidate Api V1 Console Aspireace Content Candidates  Candidate Id  Validate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/aspireace/content/candidates/{candidate_id}/publish":{"post":{"tags":["aspireace-content-console"],"summary":"Publish Candidate","operationId":"publish_candidate_api_v1_console_aspireace_content_candidates__candidate_id__publish_post","parameters":[{"name":"candidate_id","in":"path","required":true,"schema":{"type":"string","title":"Candidate Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublishContentCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Publish Candidate Api V1 Console Aspireace Content Candidates  Candidate Id  Publish Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/aspireace/content/review/queue":{"get":{"tags":["aspireace-content-console"],"summary":"Review Queue","operationId":"review_queue_api_v1_console_aspireace_content_review_queue_get","parameters":[{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"State"}},{"name":"lane","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/ReviewLane"},{"type":"null"}],"title":"Lane"}},{"name":"reviewer_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Reviewer Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Review Queue Api V1 Console Aspireace Content Review Queue Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/aspireace/content/review/queue/claim-next":{"post":{"tags":["aspireace-content-console"],"summary":"Claim Next Review","operationId":"claim_next_review_api_v1_console_aspireace_content_review_queue_claim_next_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewQueueClaimCommand"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Claim Next Review Api V1 Console Aspireace Content Review Queue Claim Next Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/aspireace/content/pilot/review/queue":{"get":{"tags":["aspireace-content-console"],"summary":"Pilot Review Queue","description":"Return only exact frozen pilot items and leases owned by this reviewer.","operationId":"pilot_review_queue_api_v1_console_aspireace_content_pilot_review_queue_get","parameters":[{"name":"audience","in":"query","required":true,"schema":{"type":"string","pattern":"^(JEE|NEET)$","title":"Audience"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Pilot Review Queue Api V1 Console Aspireace Content Pilot Review Queue Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/aspireace/content/pilot/quality-readiness":{"get":{"tags":["aspireace-content-console"],"summary":"Pilot Quality Readiness","description":"Expose only server-derived readiness state; never return score inputs.","operationId":"pilot_quality_readiness_api_v1_console_aspireace_content_pilot_quality_readiness_get","parameters":[{"name":"subject_id","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Subject Id"}},{"name":"object_version","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":80,"title":"Object Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Pilot Quality Readiness Api V1 Console Aspireace Content Pilot Quality Readiness Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/aspireace/content/pilot/review/queue/claim-next":{"post":{"tags":["aspireace-content-console"],"summary":"Claim Next Pilot Review","operationId":"claim_next_pilot_review_api_v1_console_aspireace_content_pilot_review_queue_claim_next_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PilotReviewQueueClaimCommand"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Claim Next Pilot Review Api V1 Console Aspireace Content Pilot Review Queue Claim Next Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/aspireace/content/pilot/quality-assessments":{"post":{"tags":["aspireace-content-console"],"summary":"Assess Content Pilot Quality","description":"Trigger OS15 only from evidence independently reloaded from native rows.","operationId":"assess_content_pilot_quality_api_v1_console_aspireace_content_pilot_quality_assessments_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PilotQualityAssessmentCommand"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Assess Content Pilot Quality Api V1 Console Aspireace Content Pilot Quality Assessments Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/aspireace/content/pilot/policies/{version}/review":{"post":{"tags":["aspireace-content-console"],"summary":"Review Pilot Policy","description":"Record an owner review of the exact pilot policy, leaving it REVIEWED.","operationId":"review_pilot_policy_api_v1_console_aspireace_content_pilot_policies__version__review_post","parameters":[{"name":"version","in":"path","required":true,"schema":{"type":"string","title":"Version"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PilotPolicyReviewCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Review Pilot Policy Api V1 Console Aspireace Content Pilot Policies  Version  Review Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/aspireace/content/pilot/policies/{version}":{"get":{"tags":["aspireace-content-console"],"summary":"Pilot Policy Status","description":"Return status for the one pilot policy and its latest native receipts.","operationId":"pilot_policy_status_api_v1_console_aspireace_content_pilot_policies__version__get","parameters":[{"name":"version","in":"path","required":true,"schema":{"type":"string","title":"Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Pilot Policy Status Api V1 Console Aspireace Content Pilot Policies  Version  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/aspireace/content/pilot/policies/{version}/activate":{"post":{"tags":["aspireace-content-console"],"summary":"Activate Pilot Policy","description":"Activate only the isolated pilot after both audiences requalify live evidence.","operationId":"activate_pilot_policy_api_v1_console_aspireace_content_pilot_policies__version__activate_post","parameters":[{"name":"version","in":"path","required":true,"schema":{"type":"string","title":"Version"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PilotPolicyActivationCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Activate Pilot Policy Api V1 Console Aspireace Content Pilot Policies  Version  Activate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/aspireace/content/review/tasks/{task_id}/heartbeat":{"post":{"tags":["aspireace-content-console"],"summary":"Heartbeat Review Lease","operationId":"heartbeat_review_lease_api_v1_console_aspireace_content_review_tasks__task_id__heartbeat_post","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewLeaseHeartbeatCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Heartbeat Review Lease Api V1 Console Aspireace Content Review Tasks  Task Id  Heartbeat Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/aspireace/content/review/tasks/{task_id}/release":{"post":{"tags":["aspireace-content-console"],"summary":"Release Review Lease","operationId":"release_review_lease_api_v1_console_aspireace_content_review_tasks__task_id__release_post","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewLeaseReleaseCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Release Review Lease Api V1 Console Aspireace Content Review Tasks  Task Id  Release Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/aspireace/content/review/tasks/{task_id}/decide":{"post":{"tags":["aspireace-content-console"],"summary":"Decide Review Task","operationId":"decide_review_task_api_v1_console_aspireace_content_review_tasks__task_id__decide_post","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewTaskDecisionCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Decide Review Task Api V1 Console Aspireace Content Review Tasks  Task Id  Decide Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os10/content/queue":{"get":{"tags":["operator-os10-content"],"summary":"Review Queue","operationId":"review_queue_api_operator_os10_content_queue_get","parameters":[{"name":"state","in":"query","required":false,"schema":{"type":"string","default":"QUEUED","title":"State"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os10/content/candidates/{candidate_id}":{"get":{"tags":["operator-os10-content"],"summary":"Candidate Lifecycle","operationId":"candidate_lifecycle_api_operator_os10_content_candidates__candidate_id__get","parameters":[{"name":"candidate_id","in":"path","required":true,"schema":{"type":"string","title":"Candidate Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os10/content/published/{content_key}":{"get":{"tags":["operator-os10-content"],"summary":"Published Content Readback","operationId":"published_content_readback_api_operator_os10_content_published__content_key__get","parameters":[{"name":"content_key","in":"path","required":true,"schema":{"type":"string","title":"Content Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os10/content/learner-reports":{"get":{"tags":["operator-os10-content"],"summary":"Learner Question Reports","description":"Read exact-version learner reports beside OS10's existing corrections.","operationId":"learner_question_reports_api_operator_os10_content_learner_reports_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/content/sources":{"post":{"tags":["cntimp-pr01-content-authority"],"summary":"Create Source Passport","operationId":"create_source_passport_internal_v1_content_sources_post","parameters":[{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourcePassportCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/content/sources/{passport_id}/rights-decisions":{"post":{"tags":["cntimp-pr01-content-authority"],"summary":"Create Rights Decision","operationId":"create_rights_decision_internal_v1_content_sources__passport_id__rights_decisions_post","parameters":[{"name":"passport_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Passport Id"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RightsDecisionCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/content/curriculum-mappings":{"post":{"tags":["cntimp-pr01-content-authority"],"summary":"Create Curriculum Mapping","operationId":"create_curriculum_mapping_internal_v1_content_curriculum_mappings_post","parameters":[{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CurriculumMappingCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/content/candidates/{candidate_id}/authority-binding":{"post":{"tags":["cntimp-pr01-content-authority"],"summary":"Bind Candidate Authority","operationId":"bind_candidate_authority_internal_v1_content_candidates__candidate_id__authority_binding_post","parameters":[{"name":"candidate_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Candidate Id"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CandidateAuthorityBindingCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/content/publications/{publication_id}/dependencies":{"post":{"tags":["cntimp-pr01-content-authority"],"summary":"Register Publication Dependency","operationId":"register_publication_dependency_internal_v1_content_publications__publication_id__dependencies_post","parameters":[{"name":"publication_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Publication Id"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentDependencyCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/content/publications/{publication_id}/subject-slice-bindings":{"post":{"tags":["cntimp-pr01-content-authority"],"summary":"Bind Subject Slice Publication","description":"OS10 publisher declares one exact current package/waypoint relation.","operationId":"bind_subject_slice_publication_internal_v1_content_publications__publication_id__subject_slice_bindings_post","parameters":[{"name":"publication_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Publication Id"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubjectSlicePublicationBindingBody"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/content/recalls/{recall_id}/acks":{"post":{"tags":["cntimp-pr01-content-authority"],"summary":"Acknowledge Recall","operationId":"acknowledge_recall_internal_v1_content_recalls__recall_id__acks_post","parameters":[{"name":"recall_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Recall Id"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecallAcknowledgementCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/content/recalls/{recall_id}/status":{"get":{"tags":["cntimp-pr01-content-authority"],"summary":"Read Recall Status","operationId":"read_recall_status_internal_v1_content_recalls__recall_id__status_get","parameters":[{"name":"recall_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Recall Id"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/content/coverage-observations":{"post":{"tags":["cntimp-pr01-content-authority"],"summary":"Create Coverage Observation","operationId":"create_coverage_observation_internal_v1_content_coverage_observations_post","parameters":[{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CoverageCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/content/question-scopes":{"post":{"tags":["cntimp-pr01-content-authority"],"summary":"Resolve Question Scope","operationId":"resolve_question_scope_api_v1_content_question_scopes_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuestionScopeBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/questions/{question_id}":{"get":{"tags":["cntimp-pr01-content-authority"],"summary":"Read Published Question","operationId":"read_published_question_api_v1_questions__question_id__get","parameters":[{"name":"question_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Question Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/content/coverage":{"get":{"tags":["cntimp-pr01-content-authority"],"summary":"Read Coverage","operationId":"read_coverage_api_v1_content_coverage_get","parameters":[{"name":"exam","in":"query","required":true,"schema":{"type":"string","minLength":2,"maxLength":80,"title":"Exam"}},{"name":"subject","in":"query","required":true,"schema":{"type":"string","minLength":2,"maxLength":80,"title":"Subject"}},{"name":"class_grade","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":14,"minimum":1},{"type":"null"}],"title":"Class Grade"}},{"name":"year","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":2200,"minimum":1990},{"type":"null"}],"title":"Year"}},{"name":"chapter","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Chapter"}},{"name":"topic","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Topic"}},{"name":"concept_ref","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Concept Ref"}},{"name":"rank_lane","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Rank Lane"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pyq/questions":{"get":{"tags":["cntimp-pr01-content-authority"],"summary":"Read Pyq Questions","operationId":"read_pyq_questions_api_v1_pyq_questions_get","parameters":[{"name":"exam","in":"query","required":true,"schema":{"type":"string","minLength":2,"maxLength":80,"title":"Exam"}},{"name":"subject","in":"query","required":true,"schema":{"type":"string","minLength":2,"maxLength":80,"title":"Subject"}},{"name":"year","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":2200,"minimum":1990},{"type":"null"}],"title":"Year"}},{"name":"class_grade","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":14,"minimum":1},{"type":"null"}],"title":"Class Grade"}},{"name":"chapter","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Chapter"}},{"name":"topic","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Topic"}},{"name":"concept_ref","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Concept Ref"}},{"name":"rank_lane","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Rank Lane"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pyq/survey":{"get":{"tags":["cntimp-pr01-content-authority"],"summary":"Read Pyq Survey","operationId":"read_pyq_survey_api_v1_pyq_survey_get","parameters":[{"name":"exam","in":"query","required":true,"schema":{"type":"string","minLength":2,"maxLength":80,"title":"Exam"}},{"name":"subject","in":"query","required":true,"schema":{"type":"string","minLength":2,"maxLength":80,"title":"Subject"}},{"name":"year","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":2200,"minimum":1990},{"type":"null"}],"title":"Year"}},{"name":"class_grade","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":14,"minimum":1},{"type":"null"}],"title":"Class Grade"}},{"name":"chapter","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Chapter"}},{"name":"topic","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Topic"}},{"name":"concept_ref","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Concept Ref"}},{"name":"rank_lane","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Rank Lane"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os10/content/review-ops/queue":{"get":{"tags":["operator-os10-content-review-ops"],"summary":"Review Queue","operationId":"review_queue_api_operator_os10_content_review_ops_queue_get","parameters":[{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"State"}},{"name":"lane","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/ReviewLane"},{"type":"null"}],"title":"Lane"}},{"name":"reviewer_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Reviewer Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os10/content/review-ops/queue/summary":{"get":{"tags":["operator-os10-content-review-ops"],"summary":"Review Queue Summary","operationId":"review_queue_summary_api_operator_os10_content_review_ops_queue_summary_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os10/content/review-ops/queue/claim-next":{"post":{"tags":["operator-os10-content-review-ops"],"summary":"Claim Next Review","operationId":"claim_next_review_api_operator_os10_content_review_ops_queue_claim_next_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewQueueClaimCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os10/content/review-ops/queue/claim-item":{"post":{"tags":["operator-os10-content-review-ops"],"summary":"Claim Item Review","description":"Claim one named candidate with the same lock and custody as claim-next; the priority bypass is a required, recorded reason.","operationId":"claim_item_review_api_operator_os10_content_review_ops_queue_claim_item_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewTargetedClaimCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os10/content/review-ops/tasks/{task_id}/heartbeat":{"post":{"tags":["operator-os10-content-review-ops"],"summary":"Heartbeat Review Lease","operationId":"heartbeat_review_lease_api_operator_os10_content_review_ops_tasks__task_id__heartbeat_post","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewLeaseHeartbeatCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os10/content/review-ops/tasks/{task_id}/release":{"post":{"tags":["operator-os10-content-review-ops"],"summary":"Release Review Lease","operationId":"release_review_lease_api_operator_os10_content_review_ops_tasks__task_id__release_post","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewLeaseReleaseCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os10/content/review-ops/tasks/{task_id}/decide":{"post":{"tags":["operator-os10-content-review-ops"],"summary":"Decide Review Task","operationId":"decide_review_task_api_operator_os10_content_review_ops_tasks__task_id__decide_post","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewTaskDecisionCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os10/content/review-ops/adoption/backlog":{"get":{"tags":["operator-os10-content-review-ops"],"summary":"Adoption Backlog","operationId":"adoption_backlog_api_operator_os10_content_review_ops_adoption_backlog_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Status"}},{"name":"source_kind","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/LegacySourceKind"},{"type":"null"}],"title":"Source Kind"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os10/content/review-ops/adoption/batches":{"post":{"tags":["operator-os10-content-review-ops"],"summary":"Adopt Legacy Batch","operationId":"adopt_legacy_batch_api_operator_os10_content_review_ops_adoption_batches_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegacyAdoptionBatchCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os10/content/review-ops/corrections":{"get":{"tags":["operator-os10-content-review-ops"],"summary":"List Corrections","operationId":"list_corrections_api_operator_os10_content_review_ops_corrections_get","parameters":[{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"State"}},{"name":"severity","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/CorrectionSeverity"},{"type":"null"}],"title":"Severity"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["operator-os10-content-review-ops"],"summary":"Open Correction","operationId":"open_correction_api_operator_os10_content_review_ops_corrections_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CorrectionOpenCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os10/content/review-ops/corrections/{correction_id}":{"get":{"tags":["operator-os10-content-review-ops"],"summary":"Correction Readback","operationId":"correction_readback_api_operator_os10_content_review_ops_corrections__correction_id__get","parameters":[{"name":"correction_id","in":"path","required":true,"schema":{"type":"string","title":"Correction Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os10/content/review-ops/corrections/{correction_id}/successor":{"post":{"tags":["operator-os10-content-review-ops"],"summary":"Create Correction Successor","operationId":"create_correction_successor_api_operator_os10_content_review_ops_corrections__correction_id__successor_post","parameters":[{"name":"correction_id","in":"path","required":true,"schema":{"type":"string","title":"Correction Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CorrectionSuccessorCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os10/content/review-ops/corrections/{correction_id}/resolve":{"post":{"tags":["operator-os10-content-review-ops"],"summary":"Resolve Correction","operationId":"resolve_correction_api_operator_os10_content_review_ops_corrections__correction_id__resolve_post","parameters":[{"name":"correction_id","in":"path","required":true,"schema":{"type":"string","title":"Correction Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CorrectionResolveCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os10/content/review-ops/corrections/{correction_id}/notes-bindings":{"post":{"tags":["operator-os10-content-review-ops"],"summary":"Bind Notes Source To Correction","operationId":"bind_notes_source_to_correction_api_operator_os10_content_review_ops_corrections__correction_id__notes_bindings_post","parameters":[{"name":"correction_id","in":"path","required":true,"schema":{"type":"string","title":"Correction Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotesSourceBindingCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/content-products/custom-tests/blueprints":{"post":{"tags":["cntimp-pr03-content-products"],"summary":"Create Custom Test Blueprint","operationId":"create_custom_test_blueprint_api_v1_content_products_custom_tests_blueprints_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomTestBlueprintRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/content-products/custom-tests/blueprints/{blueprint_id}":{"get":{"tags":["cntimp-pr03-content-products"],"summary":"Read Custom Test Blueprint","operationId":"read_custom_test_blueprint_api_v1_content_products_custom_tests_blueprints__blueprint_id__get","parameters":[{"name":"blueprint_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Blueprint Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/content-products/ncert/citations":{"post":{"tags":["cntimp-pr03-content-products"],"summary":"Create Ncert Citation","operationId":"create_ncert_citation_internal_v1_content_products_ncert_citations_post","parameters":[{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NcertCitationRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/content-products/ncert/citations/{citation_id}":{"get":{"tags":["cntimp-pr03-content-products"],"summary":"Read Ncert Citation","operationId":"read_ncert_citation_api_v1_content_products_ncert_citations__citation_id__get","parameters":[{"name":"citation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Citation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/content-products/pyq/projections":{"post":{"tags":["cntimp-pr03-content-products"],"summary":"Create Pyq Projection","operationId":"create_pyq_projection_api_v1_content_products_pyq_projections_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PyqProjectionRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/content-products/pyq/projections/{projection_id}":{"get":{"tags":["cntimp-pr03-content-products"],"summary":"Read Pyq Projection","operationId":"read_pyq_projection_api_v1_content_products_pyq_projections__projection_id__get","parameters":[{"name":"projection_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Projection Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/content-products/notes/{note_id}/purpose-decisions":{"post":{"tags":["cntimp-pr03-content-products"],"summary":"Decide Note Purpose","operationId":"decide_note_purpose_api_v1_content_products_notes__note_id__purpose_decisions_post","parameters":[{"name":"note_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Note Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotePurposeRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/content-products/notes/{note_id}/purpose-decisions/latest":{"get":{"tags":["cntimp-pr03-content-products"],"summary":"Read Latest Note Purpose","operationId":"read_latest_note_purpose_api_v1_content_products_notes__note_id__purpose_decisions_latest_get","parameters":[{"name":"note_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Note Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/content-products/executable-assets":{"post":{"tags":["cntimp-pr03-content-products"],"summary":"Publish Executable Asset","operationId":"publish_executable_asset_internal_v1_content_products_executable_assets_post","parameters":[{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecutableAssetRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/content-products/executable-assets/{asset_id}":{"get":{"tags":["cntimp-pr03-content-products"],"summary":"Read Executable Asset","operationId":"read_executable_asset_api_v1_content_products_executable_assets__asset_id__get","parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}},{"name":"device","in":"query","required":false,"schema":{"type":"string","minLength":2,"maxLength":80,"default":"web","title":"Device"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/content-products/capsules":{"post":{"tags":["cntimp-pr03-content-products"],"summary":"Create Capsule Assembly","operationId":"create_capsule_assembly_api_v1_content_products_capsules_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapsuleAssemblyRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/content-products/capsules/{assembly_id}":{"get":{"tags":["cntimp-pr03-content-products"],"summary":"Read Capsule Assembly","operationId":"read_capsule_assembly_api_v1_content_products_capsules__assembly_id__get","parameters":[{"name":"assembly_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Assembly Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/content-products/derived-artifacts":{"post":{"tags":["cntimp-pr03-content-products"],"summary":"Create Derived Artifact","operationId":"create_derived_artifact_api_v1_content_products_derived_artifacts_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DerivedArtifactRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/content-products/derived-artifacts/{projection_id}":{"get":{"tags":["cntimp-pr03-content-products"],"summary":"Read Derived Artifact","operationId":"read_derived_artifact_api_v1_content_products_derived_artifacts__projection_id__get","parameters":[{"name":"projection_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Projection Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os10/content/product-projections/summary":{"get":{"tags":["cntimp-pr03-content-products"],"summary":"Product Projection Summary","operationId":"product_projection_summary_api_operator_os10_content_product_projections_summary_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/content-atlas/hosts/{product_id}":{"get":{"tags":["cntimp-pr04-living-atlas"],"summary":"Read Content Atlas Host","operationId":"read_content_atlas_host_api_v1_content_atlas_hosts__product_id__get","parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"string","title":"Product Id"}},{"name":"screen_id","in":"query","required":false,"schema":{"type":"string","minLength":2,"maxLength":160,"default":"content-atlas","title":"Screen Id"}},{"name":"route","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":500,"default":"/content","title":"Route"}},{"name":"entry_mode","in":"query","required":false,"schema":{"type":"string","minLength":2,"maxLength":80,"default":"direct","title":"Entry Mode"}},{"name":"object_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Object Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/content-atlas/hosts/{product_id}/objects/{object_id}":{"get":{"tags":["cntimp-pr04-living-atlas"],"summary":"Read Content Atlas Object","operationId":"read_content_atlas_object_api_v1_content_atlas_hosts__product_id__objects__object_id__get","parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"string","title":"Product Id"}},{"name":"object_id","in":"path","required":true,"schema":{"type":"string","title":"Object Id"}},{"name":"screen_id","in":"query","required":false,"schema":{"type":"string","minLength":2,"maxLength":160,"default":"content-atlas-object","title":"Screen Id"}},{"name":"route","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":500,"default":"/content","title":"Route"}},{"name":"entry_mode","in":"query","required":false,"schema":{"type":"string","minLength":2,"maxLength":80,"default":"direct","title":"Entry Mode"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/content-atlas/host-contracts/{product_id}":{"get":{"tags":["cntimp-pr04-living-atlas"],"summary":"Read Content Atlas Contract","operationId":"read_content_atlas_contract_api_v1_content_atlas_host_contracts__product_id__get","parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"string","title":"Product Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/content-atlas/custom-test/{blueprint_id}/launch":{"post":{"tags":["cntimp-pr04-living-atlas"],"summary":"Launch Content Atlas Custom Test","operationId":"launch_content_atlas_custom_test_api_v1_content_atlas_custom_test__blueprint_id__launch_post","parameters":[{"name":"blueprint_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Blueprint Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomTestLaunchRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/content-atlas/telemetry":{"post":{"tags":["cntimp-pr04-living-atlas"],"summary":"Record Content Atlas Telemetry","operationId":"record_content_atlas_telemetry_api_v1_content_atlas_telemetry_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LifecycleTelemetryCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/content-atlas/returns":{"post":{"tags":["cntimp-pr04-living-atlas"],"summary":"Resolve Content Atlas Return","operationId":"resolve_content_atlas_return_api_v1_content_atlas_returns_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExactReturnCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os10/content/content-atlas/summary":{"get":{"tags":["cntimp-pr04-living-atlas"],"summary":"Content Atlas Summary","operationId":"content_atlas_summary_api_operator_os10_content_content_atlas_summary_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os11/hitl/requests":{"post":{"tags":["os11-teacher-hitl"],"summary":"Create Request","operationId":"create_request_api_v1_os11_hitl_requests_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HITLRequestCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Request Api V1 Os11 Hitl Requests Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os11/hitl/requests/queue":{"post":{"tags":["os11-teacher-hitl"],"summary":"Queue Request","operationId":"queue_request_api_v1_os11_hitl_requests_queue_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueueRequestCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Queue Request Api V1 Os11 Hitl Requests Queue Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os11/hitl/assignments":{"post":{"tags":["os11-teacher-hitl"],"summary":"Assign Reviewer","operationId":"assign_reviewer_api_v1_os11_hitl_assignments_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewerAssignmentCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Assign Reviewer Api V1 Os11 Hitl Assignments Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os11/hitl/reviews/start":{"post":{"tags":["os11-teacher-hitl"],"summary":"Start Review","operationId":"start_review_api_v1_os11_hitl_reviews_start_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/os_runtime__os11_teacher_hitl__models__StartReviewCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Start Review Api V1 Os11 Hitl Reviews Start Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os11/hitl/reviews/resolve":{"post":{"tags":["os11-teacher-hitl"],"summary":"Resolve Review","operationId":"resolve_review_api_v1_os11_hitl_reviews_resolve_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResolveReviewCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Resolve Review Api V1 Os11 Hitl Reviews Resolve Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os11/hitl/writebacks/confirm":{"post":{"tags":["os11-teacher-hitl"],"summary":"Confirm Writeback","operationId":"confirm_writeback_api_v1_os11_hitl_writebacks_confirm_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfirmWritebackCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Confirm Writeback Api V1 Os11 Hitl Writebacks Confirm Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os11/hitl/requests/close":{"post":{"tags":["os11-teacher-hitl"],"summary":"Close Request","operationId":"close_request_api_v1_os11_hitl_requests_close_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloseRequestCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Close Request Api V1 Os11 Hitl Requests Close Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os11/hitl/requests/cancel":{"post":{"tags":["os11-teacher-hitl"],"summary":"Cancel Request","operationId":"cancel_request_api_v1_os11_hitl_requests_cancel_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CancelRequestCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Cancel Request Api V1 Os11 Hitl Requests Cancel Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os11/hitl/requests/{request_id}/student":{"get":{"tags":["os11-teacher-hitl"],"summary":"Student Status","operationId":"student_status_api_v1_os11_hitl_requests__request_id__student_get","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Student Status Api V1 Os11 Hitl Requests  Request Id  Student Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os11/hitl/queue":{"get":{"tags":["os11-teacher-hitl"],"summary":"Reviewer Queue","operationId":"reviewer_queue_api_v1_os11_hitl_queue_get","parameters":[{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"QUEUED","title":"State"}},{"name":"subject_scope","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject Scope"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Reviewer Queue Api V1 Os11 Hitl Queue Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os11/hitl/requests":{"get":{"tags":["operator-os11-teacher-hitl"],"summary":"List Requests","operationId":"list_requests_api_operator_os11_hitl_requests_get","parameters":[{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"name":"subject_scope","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject Scope"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Requests Api Operator Os11 Hitl Requests Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os11/hitl/requests/{request_id}":{"get":{"tags":["operator-os11-teacher-hitl"],"summary":"Request Bundle","operationId":"request_bundle_api_operator_os11_hitl_requests__request_id__get","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Request Bundle Api Operator Os11 Hitl Requests  Request Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os11/hitl/legacy/adopt":{"post":{"tags":["operator-os11-teacher-hitl"],"summary":"Adopt Legacy Job","operationId":"adopt_legacy_job_api_operator_os11_hitl_legacy_adopt_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegacyHITLAdoptionCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Adopt Legacy Job Api Operator Os11 Hitl Legacy Adopt Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os11/hitl/sweep-overdue":{"post":{"tags":["operator-os11-teacher-hitl"],"summary":"Sweep Overdue","operationId":"sweep_overdue_api_operator_os11_hitl_sweep_overdue_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Sweep Overdue Api Operator Os11 Hitl Sweep Overdue Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os11/hitl/health":{"get":{"tags":["operator-os11-teacher-hitl"],"summary":"Health","operationId":"health_api_operator_os11_hitl_health_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Health Api Operator Os11 Hitl Health Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os12/parent/children":{"get":{"tags":["os12-parent-safe"],"summary":"Linked Children","operationId":"linked_children_api_v1_os12_parent_children_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Linked Children Api V1 Os12 Parent Children Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os12/parent/students/{student_id}/proofs":{"get":{"tags":["os12-parent-safe"],"summary":"Parent Proofs","operationId":"parent_proofs_api_v1_os12_parent_students__student_id__proofs_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Parent Proofs Api V1 Os12 Parent Students  Student Id  Proofs Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os12/parent/students/{student_id}/reports":{"get":{"tags":["os12-parent-safe"],"summary":"Parent Reports","operationId":"parent_reports_api_v1_os12_parent_students__student_id__reports_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":120,"minimum":1,"default":24,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Parent Reports Api V1 Os12 Parent Students  Student Id  Reports Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os12/parent/students/{student_id}/home-r4":{"get":{"tags":["os12-parent-safe"],"summary":"Parent Home R4","description":"Return one consent-gated, commerce-free R4 Proud Proof Home payload.","operationId":"parent_home_r4_api_v1_os12_parent_students__student_id__home_r4_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":12,"minimum":1,"default":5,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Parent Home R4 Api V1 Os12 Parent Students  Student Id  Home R4 Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os12/parent/students/{student_id}/alerts":{"get":{"tags":["os12-parent-safe"],"summary":"Parent Alerts","operationId":"parent_alerts_api_v1_os12_parent_students__student_id__alerts_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Parent Alerts Api V1 Os12 Parent Students  Student Id  Alerts Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os12/parent/proofs/{translation_id}/view":{"post":{"tags":["os12-parent-safe"],"summary":"View Parent Proof","operationId":"view_parent_proof_api_v1_os12_parent_proofs__translation_id__view_post","parameters":[{"name":"translation_id","in":"path","required":true,"schema":{"type":"string","title":"Translation Id"}},{"name":"surface","in":"query","required":false,"schema":{"type":"string","default":"parent_home","title":"Surface"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response View Parent Proof Api V1 Os12 Parent Proofs  Translation Id  View Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os12/parent/alerts/{alert_id}/dismiss":{"post":{"tags":["os12-parent-safe"],"summary":"Dismiss Parent Alert","operationId":"dismiss_parent_alert_api_v1_os12_parent_alerts__alert_id__dismiss_post","parameters":[{"name":"alert_id","in":"path","required":true,"schema":{"type":"string","title":"Alert Id"}},{"name":"reason","in":"query","required":true,"schema":{"type":"string","title":"Reason"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Dismiss Parent Alert Api V1 Os12 Parent Alerts  Alert Id  Dismiss Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os12/parent/sharing/{sharing_grant_id}/revoke":{"post":{"tags":["os12-parent-safe"],"summary":"Revoke Own Parent Access","operationId":"revoke_own_parent_access_api_v1_os12_parent_sharing__sharing_grant_id__revoke_post","parameters":[{"name":"sharing_grant_id","in":"path","required":true,"schema":{"type":"string","title":"Sharing Grant Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SharingGrantRevokeCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Revoke Own Parent Access Api V1 Os12 Parent Sharing  Sharing Grant Id  Revoke Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os12/parent/students/{student_id}/sharing-receipts":{"get":{"tags":["os12-parent-safe"],"summary":"Parent Own Sharing Receipts","description":"Return only opaque pointers to this parent's own OS12 transitions.","operationId":"parent_own_sharing_receipts_api_v1_os12_parent_students__student_id__sharing_receipts_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":30,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Cursor"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Parent Own Sharing Receipts Api V1 Os12 Parent Students  Student Id  Sharing Receipts Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os12/parent/students/{student_id}/sharing-receipts/{receipt_view_ref}":{"get":{"tags":["os12-parent-safe"],"summary":"Parent Own Sharing Receipt Detail","description":"Resolve a non-enumerable source pointer after current permission checks.","operationId":"parent_own_sharing_receipt_detail_api_v1_os12_parent_students__student_id__sharing_receipts__receipt_view_ref__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"receipt_view_ref","in":"path","required":true,"schema":{"type":"string","title":"Receipt View Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Parent Own Sharing Receipt Detail Api V1 Os12 Parent Students  Student Id  Sharing Receipts  Receipt View Ref  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os12/parent/projection-receipts":{"post":{"tags":["operator-os12-parent-safe"],"summary":"Issue Parent Projection Receipt","operationId":"issue_parent_projection_receipt_api_operator_os12_parent_projection_receipts_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ParentProjectionIssueCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Issue Parent Projection Receipt Api Operator Os12 Parent Projection Receipts Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os12/parent/policies":{"post":{"tags":["operator-os12-parent-safe"],"summary":"Upsert Policy","operationId":"upsert_policy_api_operator_os12_parent_policies_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ParentViewPolicyCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Upsert Policy Api Operator Os12 Parent Policies Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os12/parent/sharing-grants":{"post":{"tags":["operator-os12-parent-safe"],"summary":"Bind Sharing Grant","operationId":"bind_sharing_grant_api_operator_os12_parent_sharing_grants_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SharingGrantBindCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Bind Sharing Grant Api Operator Os12 Parent Sharing Grants Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os12/parent/sharing-grants/{sharing_grant_id}/revoke":{"post":{"tags":["operator-os12-parent-safe"],"summary":"Revoke Sharing Grant","operationId":"revoke_sharing_grant_api_operator_os12_parent_sharing_grants__sharing_grant_id__revoke_post","parameters":[{"name":"sharing_grant_id","in":"path","required":true,"schema":{"type":"string","title":"Sharing Grant Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SharingGrantRevokeCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Revoke Sharing Grant Api Operator Os12 Parent Sharing Grants  Sharing Grant Id  Revoke Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os12/parent/translations":{"post":{"tags":["operator-os12-parent-safe"],"summary":"Translate Parent Proof","operationId":"translate_parent_proof_api_operator_os12_parent_translations_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TranslationCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Translate Parent Proof Api Operator Os12 Parent Translations Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os12/parent/reports":{"post":{"tags":["operator-os12-parent-safe"],"summary":"Generate Parent Report","operationId":"generate_parent_report_api_operator_os12_parent_reports_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ParentReportCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Generate Parent Report Api Operator Os12 Parent Reports Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os12/parent/alerts":{"post":{"tags":["operator-os12-parent-safe"],"summary":"Create Parent Alert","operationId":"create_parent_alert_api_operator_os12_parent_alerts_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertCreateCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Parent Alert Api Operator Os12 Parent Alerts Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os12/parent/audit":{"get":{"tags":["operator-os12-parent-safe"],"summary":"Parent View Audit","operationId":"parent_view_audit_api_operator_os12_parent_audit_get","parameters":[{"name":"parent_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Id"}},{"name":"outcome","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Outcome"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Parent View Audit Api Operator Os12 Parent Audit Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os12/parent/health":{"get":{"tags":["operator-os12-parent-safe"],"summary":"Health","operationId":"health_api_operator_os12_parent_health_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Health Api Operator Os12 Parent Health Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os12/parent/source-releases":{"post":{"tags":["operator-os12-parent-safe"],"summary":"Publish Parent Source Release","description":"Publish only a source-signed, policy-bound release through OS12 gates.","operationId":"publish_parent_source_release_api_operator_os12_parent_source_releases_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceReleaseEnvelope"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Publish Parent Source Release Api Operator Os12 Parent Source Releases Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os12/parent/source-releases/withdraw":{"post":{"tags":["operator-os12-parent-safe"],"summary":"Withdraw Parent Source Release","description":"Append an issuer-verified withdrawal; an admin identity is insufficient.","operationId":"withdraw_parent_source_release_api_operator_os12_parent_source_releases_withdraw_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ParentSourceReleaseWithdrawal"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Withdraw Parent Source Release Api Operator Os12 Parent Source Releases Withdraw Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os12/parent/reports/{report_id}/home-release":{"get":{"tags":["operator-os12-parent-safe","operator-os12-parent-home-release"],"summary":"Read Home Release","operationId":"read_home_release_api_operator_os12_parent_reports__report_id__home_release_get","parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Report Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Home Release Api Operator Os12 Parent Reports  Report Id  Home Release Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os12/parent/reports/{report_id}/home-release/withdraw":{"post":{"tags":["operator-os12-parent-safe","operator-os12-parent-home-release"],"summary":"Withdraw Home Release","operationId":"withdraw_home_release_api_operator_os12_parent_reports__report_id__home_release_withdraw_post","parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Report Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HomeReleaseWithdrawal"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Withdraw Home Release Api Operator Os12 Parent Reports  Report Id  Home Release Withdraw Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os13/interventions/preferences":{"get":{"tags":["os13-intervention-timing"],"summary":"Read Preferences","operationId":"read_preferences_api_v1_os13_interventions_preferences_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Preferences Api V1 Os13 Interventions Preferences Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["os13-intervention-timing"],"summary":"Update Preferences","operationId":"update_preferences_api_v1_os13_interventions_preferences_put","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreferenceUpdateCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Update Preferences Api V1 Os13 Interventions Preferences Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os13/interventions/decisions":{"get":{"tags":["os13-intervention-timing"],"summary":"Recipient Decisions","operationId":"recipient_decisions_api_v1_os13_interventions_decisions_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Recipient Decisions Api V1 Os13 Interventions Decisions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os13/interventions/decisions/{decision_id}/dismiss":{"post":{"tags":["os13-intervention-timing"],"summary":"Dismiss Intervention","operationId":"dismiss_intervention_api_v1_os13_interventions_decisions__decision_id__dismiss_post","parameters":[{"name":"decision_id","in":"path","required":true,"schema":{"type":"string","title":"Decision Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DismissInterventionCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Dismiss Intervention Api V1 Os13 Interventions Decisions  Decision Id  Dismiss Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os13/interventions/policies/activate":{"post":{"tags":["operator-os13-intervention-timing"],"summary":"Activate Policy","operationId":"activate_policy_api_operator_os13_interventions_policies_activate_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeliveryPolicyCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Activate Policy Api Operator Os13 Interventions Policies Activate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os13/interventions/consent-snapshots/bind":{"post":{"tags":["operator-os13-intervention-timing"],"summary":"Bind Consent Snapshot","operationId":"bind_consent_snapshot_api_operator_os13_interventions_consent_snapshots_bind_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsentSnapshotCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Bind Consent Snapshot Api Operator Os13 Interventions Consent Snapshots Bind Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os13/interventions/resolve":{"post":{"tags":["operator-os13-intervention-timing"],"summary":"Resolve Intervention","operationId":"resolve_intervention_api_operator_os13_interventions_resolve_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InterventionCandidateCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Resolve Intervention Api Operator Os13 Interventions Resolve Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os13/interventions/deliveries/acknowledge":{"post":{"tags":["operator-os13-intervention-timing"],"summary":"Acknowledge Delivery","operationId":"acknowledge_delivery_api_operator_os13_interventions_deliveries_acknowledge_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeliveryAcknowledgeCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Acknowledge Delivery Api Operator Os13 Interventions Deliveries Acknowledge Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os13/interventions/due":{"get":{"tags":["operator-os13-intervention-timing"],"summary":"Due Deliveries","operationId":"due_deliveries_api_operator_os13_interventions_due_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Due Deliveries Api Operator Os13 Interventions Due Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os13/interventions/decisions":{"get":{"tags":["operator-os13-intervention-timing"],"summary":"Decisions","operationId":"decisions_api_operator_os13_interventions_decisions_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Decisions Api Operator Os13 Interventions Decisions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os13/interventions/sweep-expired":{"post":{"tags":["operator-os13-intervention-timing"],"summary":"Sweep Expired","operationId":"sweep_expired_api_operator_os13_interventions_sweep_expired_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Sweep Expired Api Operator Os13 Interventions Sweep Expired Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os13/interventions/health":{"get":{"tags":["operator-os13-intervention-timing"],"summary":"Health","operationId":"health_api_operator_os13_interventions_health_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Health Api Operator Os13 Interventions Health Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os14/search/query":{"post":{"tags":["os14-universal-search"],"summary":"Search Query","operationId":"search_query_api_v1_os14_search_query_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchQuery"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Search Query Api V1 Os14 Search Query Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os14/search/suggestions":{"get":{"tags":["os14-universal-search"],"summary":"Search Suggestions","operationId":"search_suggestions_api_v1_os14_search_suggestions_get","parameters":[{"name":"prefix","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":120,"title":"Prefix"}},{"name":"locale","in":"query","required":false,"schema":{"type":"string","minLength":2,"maxLength":20,"default":"en-IN","title":"Locale"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":20,"minimum":1,"default":8,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Search Suggestions Api V1 Os14 Search Suggestions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os14/search/entities/{canonical_key}":{"get":{"tags":["os14-universal-search"],"summary":"Read Search Entity","operationId":"read_search_entity_api_v1_os14_search_entities__canonical_key__get","parameters":[{"name":"canonical_key","in":"path","required":true,"schema":{"type":"string","title":"Canonical Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Search Entity Api V1 Os14 Search Entities  Canonical Key  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os14/search/results/open":{"post":{"tags":["os14-universal-search"],"summary":"Open Search Result","operationId":"open_search_result_api_v1_os14_search_results_open_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResultOpenCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Open Search Result Api V1 Os14 Search Results Open Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os14/search/routes/register":{"post":{"tags":["operator-os14-universal-search"],"summary":"Register Route","operationId":"register_route_api_operator_os14_search_routes_register_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RouteSnapshotCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Register Route Api Operator Os14 Search Routes Register Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os14/search/adapters/checkpoint":{"post":{"tags":["operator-os14-universal-search"],"summary":"Record Adapter Checkpoint","operationId":"record_adapter_checkpoint_api_operator_os14_search_adapters_checkpoint_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdapterCheckpointCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Record Adapter Checkpoint Api Operator Os14 Search Adapters Checkpoint Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os14/search/documents/index":{"post":{"tags":["operator-os14-universal-search"],"summary":"Index Document","operationId":"index_document_api_operator_os14_search_documents_index_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchDocumentCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Index Document Api Operator Os14 Search Documents Index Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os14/search/documents/state":{"post":{"tags":["operator-os14-universal-search"],"summary":"Transition Document","operationId":"transition_document_api_operator_os14_search_documents_state_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentStateCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Transition Document Api Operator Os14 Search Documents State Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os14/search/permissions/grant":{"post":{"tags":["operator-os14-universal-search"],"summary":"Grant Permission","operationId":"grant_permission_api_operator_os14_search_permissions_grant_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PermissionGrantCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Grant Permission Api Operator Os14 Search Permissions Grant Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os14/search/permissions/revoke":{"post":{"tags":["operator-os14-universal-search"],"summary":"Revoke Permission","operationId":"revoke_permission_api_operator_os14_search_permissions_revoke_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PermissionRevokeCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Revoke Permission Api Operator Os14 Search Permissions Revoke Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os14/search/health":{"get":{"tags":["operator-os14-universal-search"],"summary":"Health","operationId":"health_api_operator_os14_search_health_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Health Api Operator Os14 Search Health Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os14/search/drift/routes":{"get":{"tags":["operator-os14-universal-search"],"summary":"Route Drift","operationId":"route_drift_api_operator_os14_search_drift_routes_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":200,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Route Drift Api Operator Os14 Search Drift Routes Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os14/search/documents":{"get":{"tags":["operator-os14-universal-search"],"summary":"Documents","operationId":"documents_api_operator_os14_search_documents_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Documents Api Operator Os14 Search Documents Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/quality/evaluate":{"post":{"tags":["aos-os15-quality"],"summary":"Evaluate","operationId":"evaluate_api_v1_quality_evaluate_post","parameters":[{"name":"X-AOS-Consumer","in":"header","required":true,"schema":{"type":"string","title":"X-Aos-Consumer"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QualityEvaluateRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/quality/{object_type}/{object_id}":{"get":{"tags":["aos-os15-quality"],"summary":"Current","operationId":"current_api_v1_quality__object_type___object_id__get","parameters":[{"name":"object_type","in":"path","required":true,"schema":{"type":"string","title":"Object Type"}},{"name":"object_id","in":"path","required":true,"schema":{"type":"string","title":"Object Id"}},{"name":"X-AOS-Consumer","in":"header","required":true,"schema":{"type":"string","title":"X-Aos-Consumer"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os15/policies":{"get":{"tags":["aos-os15-operator"],"summary":"Policies","operationId":"policies_api_v1_operator_os15_policies_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["aos-os15-operator"],"summary":"Create Policy","operationId":"create_policy_api_v1_operator_os15_policies_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyDefinition"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os15/calibration":{"get":{"tags":["aos-os15-operator"],"summary":"Calibration","operationId":"calibration_api_v1_operator_os15_calibration_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["aos-os15-operator"],"summary":"Record Calibration","operationId":"record_calibration_api_v1_operator_os15_calibration_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalibrationRecordCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os15/policies/{version}/activate":{"post":{"tags":["aos-os15-operator"],"summary":"Activate","operationId":"activate_api_v1_operator_os15_policies__version__activate_post","parameters":[{"name":"version","in":"path","required":true,"schema":{"type":"string","title":"Version"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActivatePolicy"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os15/invalidations":{"post":{"tags":["aos-os15-operator"],"summary":"Invalidate","operationId":"invalidate_api_v1_operator_os15_invalidations_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidateQualityCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os16/ai-routing/route":{"post":{"tags":["os16-ai-routing"],"summary":"Route Ai Task","operationId":"route_ai_task_api_v1_os16_ai_routing_route_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AITaskRouteRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Route Ai Task Api V1 Os16 Ai Routing Route Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os16/ai-routing/complete":{"post":{"tags":["os16-ai-routing"],"summary":"Complete Ai Route","operationId":"complete_ai_route_api_v1_os16_ai_routing_complete_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RouteCompletionCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Complete Ai Route Api V1 Os16 Ai Routing Complete Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os16/ai-routing/status":{"get":{"tags":["os16-ai-routing"],"summary":"Ai Routing Status","operationId":"ai_routing_status_api_v1_os16_ai_routing_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Ai Routing Status Api V1 Os16 Ai Routing Status Get"}}}}}}},"/api/operator/os16/ai-routing/models/register":{"post":{"tags":["operator-os16-ai-routing"],"summary":"Register Model","operationId":"register_model_api_operator_os16_ai_routing_models_register_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderModelCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Register Model Api Operator Os16 Ai Routing Models Register Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os16/ai-routing/policies/activate":{"post":{"tags":["operator-os16-ai-routing"],"summary":"Activate Policy","operationId":"activate_policy_api_operator_os16_ai_routing_policies_activate_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoutingPolicyCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Activate Policy Api Operator Os16 Ai Routing Policies Activate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os16/ai-routing/incidents/record":{"post":{"tags":["operator-os16-ai-routing"],"summary":"Record Incident","operationId":"record_incident_api_operator_os16_ai_routing_incidents_record_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderIncidentCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Record Incident Api Operator Os16 Ai Routing Incidents Record Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os16/ai-routing/health":{"get":{"tags":["operator-os16-ai-routing"],"summary":"Health","operationId":"health_api_operator_os16_ai_routing_health_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Health Api Operator Os16 Ai Routing Health Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os16/ai-routing/decisions":{"get":{"tags":["operator-os16-ai-routing"],"summary":"Decisions","operationId":"decisions_api_operator_os16_ai_routing_decisions_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Decisions Api Operator Os16 Ai Routing Decisions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/events":{"post":{"tags":["aos-os17-event-fabric"],"summary":"Accept Event","operationId":"accept_event_api_v1_events_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventEnvelope"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/events/batch":{"post":{"tags":["aos-os17-event-fabric"],"summary":"Accept Batch","operationId":"accept_batch_api_v1_events_batch_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchEnvelope"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/events/readback/{event_id}":{"get":{"tags":["aos-os17-event-fabric"],"summary":"Readback","operationId":"readback_api_v1_events_readback__event_id__get","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os17/dual-comparisons":{"get":{"tags":["aos-os17-operator"],"summary":"Dual Comparisons","operationId":"dual_comparisons_api_v1_operator_os17_dual_comparisons_get","parameters":[{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os17/dual-comparisons/{event_id}":{"get":{"tags":["aos-os17-operator"],"summary":"Dual Comparison","operationId":"dual_comparison_api_v1_operator_os17_dual_comparisons__event_id__get","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os17/dual-comparisons/{comparison_id}/reviews":{"post":{"tags":["aos-os17-operator"],"summary":"Review Dual Comparison","operationId":"review_dual_comparison_api_v1_operator_os17_dual_comparisons__comparison_id__reviews_post","parameters":[{"name":"comparison_id","in":"path","required":true,"schema":{"type":"string","title":"Comparison Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DualComparisonReviewCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os17/dual-safety-incidents":{"get":{"tags":["aos-os17-operator"],"summary":"Dual Safety Incidents","operationId":"dual_safety_incidents_api_v1_operator_os17_dual_safety_incidents_get","parameters":[{"name":"open_only","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Open Only"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os17/dual-safety-incidents/{incident_id}/resolutions":{"post":{"tags":["aos-os17-operator"],"summary":"Resolve Dual Safety Incident","operationId":"resolve_dual_safety_incident_api_v1_operator_os17_dual_safety_incidents__incident_id__resolutions_post","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"string","title":"Incident Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DualSafetyResolutionCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os17/trace/{event_id}":{"get":{"tags":["aos-os17-operator"],"summary":"Trace","operationId":"trace_api_v1_operator_os17_trace__event_id__get","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os17/dead-letters":{"get":{"tags":["aos-os17-operator"],"summary":"Dead Letters","operationId":"dead_letters_api_v1_operator_os17_dead_letters_get","parameters":[{"name":"state","in":"query","required":false,"schema":{"type":"string","default":"OPEN","title":"State"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os17/dead-letters/{dead_letter_id}/replay":{"post":{"tags":["aos-os17-operator"],"summary":"Replay","operationId":"replay_api_v1_operator_os17_dead_letters__dead_letter_id__replay_post","parameters":[{"name":"dead_letter_id","in":"path","required":true,"schema":{"type":"string","title":"Dead Letter Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReplayCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/os17/definitions/{version}/activate":{"post":{"tags":["aos-os17-operator"],"summary":"Activate Definition","operationId":"activate_definition_api_v1_operator_os17_definitions__version__activate_post","parameters":[{"name":"version","in":"path","required":true,"schema":{"type":"string","title":"Version"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventDefinitionCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os18/release/artifacts/ingest":{"post":{"tags":["os18-release-gate"],"summary":"Ingest Artifact","operationId":"ingest_artifact_api_v1_os18_release_artifacts_ingest_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProofArtifactCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Ingest Artifact Api V1 Os18 Release Artifacts Ingest Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os18/release/candidates":{"post":{"tags":["os18-release-gate"],"summary":"Create Candidate","operationId":"create_candidate_api_v1_os18_release_candidates_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReleaseCandidateCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Candidate Api V1 Os18 Release Candidates Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["os18-release-gate"],"summary":"Candidates","operationId":"candidates_api_v1_os18_release_candidates_get","parameters":[{"name":"release_scope","in":"query","required":true,"schema":{"type":"string","minLength":2,"maxLength":120,"title":"Release Scope"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Candidates Api V1 Os18 Release Candidates Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os18/release/decide":{"post":{"tags":["os18-release-gate"],"summary":"Decide Release","operationId":"decide_release_api_v1_os18_release_decide_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/os_runtime__os18_release_gate__models__ReleaseDecisionCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Decide Release Api V1 Os18 Release Decide Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os18/release/rollback":{"post":{"tags":["os18-release-gate"],"summary":"Record Rollback","operationId":"record_rollback_api_v1_os18_release_rollback_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RollbackProofCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Record Rollback Api V1 Os18 Release Rollback Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os18/release/requirements/register":{"post":{"tags":["operator-os18-release-gate"],"summary":"Register Requirement","operationId":"register_requirement_api_operator_os18_release_requirements_register_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProofRequirementCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Register Requirement Api Operator Os18 Release Requirements Register Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os18/release/waivers":{"post":{"tags":["operator-os18-release-gate"],"summary":"Create Waiver","operationId":"create_waiver_api_operator_os18_release_waivers_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WaiverCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Waiver Api Operator Os18 Release Waivers Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os18/release/waivers/expire":{"post":{"tags":["operator-os18-release-gate"],"summary":"Expire Waivers","operationId":"expire_waivers_api_operator_os18_release_waivers_expire_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Expire Waivers Api Operator Os18 Release Waivers Expire Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os18/release/decisions/{decision_id}/revoke":{"post":{"tags":["operator-os18-release-gate"],"summary":"Revoke Decision","operationId":"revoke_decision_api_operator_os18_release_decisions__decision_id__revoke_post","parameters":[{"name":"decision_id","in":"path","required":true,"schema":{"type":"string","title":"Decision Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReleaseDecisionRevocationCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Revoke Decision Api Operator Os18 Release Decisions  Decision Id  Revoke Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os18/release/health":{"get":{"tags":["operator-os18-release-gate"],"summary":"Health","operationId":"health_api_operator_os18_release_health_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Health Api Operator Os18 Release Health Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os18/release/requirements":{"get":{"tags":["operator-os18-release-gate"],"summary":"Requirements","operationId":"requirements_api_operator_os18_release_requirements_get","parameters":[{"name":"release_scope","in":"query","required":true,"schema":{"type":"string","minLength":2,"maxLength":120,"title":"Release Scope"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Requirements Api Operator Os18 Release Requirements Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os19/reach/policy/readback":{"get":{"tags":["os19-reach"],"summary":"Policy Readback","operationId":"policy_readback_api_v1_os19_reach_policy_readback_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Policy Readback Api V1 Os19 Reach Policy Readback Get"}}}}}}},"/api/v1/os19/reach/preferences":{"put":{"tags":["os19-reach"],"summary":"Update Preference","operationId":"update_preference_api_v1_os19_reach_preferences_put","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/os_runtime__os19_reach__models__PreferenceCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Update Preference Api V1 Os19 Reach Preferences Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os19/reach/proofs/ingest":{"post":{"tags":["os19-reach"],"summary":"Ingest Proof","operationId":"ingest_proof_api_v1_os19_reach_proofs_ingest_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReachProofCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Ingest Proof Api V1 Os19 Reach Proofs Ingest Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os19/reach/decide":{"post":{"tags":["os19-reach"],"summary":"Decide Reach","operationId":"decide_reach_api_v1_os19_reach_decide_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReachDecisionCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Decide Reach Api V1 Os19 Reach Decide Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os19/reach/decisions":{"get":{"tags":["os19-reach"],"summary":"Decisions","operationId":"decisions_api_v1_os19_reach_decisions_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Decisions Api V1 Os19 Reach Decisions Get"}}}}}}},"/api/operator/os19/reach/profiles/register":{"post":{"tags":["operator-os19-reach"],"summary":"Register Profile","operationId":"register_profile_api_operator_os19_reach_profiles_register_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessibilityProfileCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Register Profile Api Operator Os19 Reach Profiles Register Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os19/reach/locales/register":{"post":{"tags":["operator-os19-reach"],"summary":"Register Locale","operationId":"register_locale_api_operator_os19_reach_locales_register_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocaleBundleCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Register Locale Api Operator Os19 Reach Locales Register Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os19/reach/budgets/register":{"post":{"tags":["operator-os19-reach"],"summary":"Register Budget","operationId":"register_budget_api_operator_os19_reach_budgets_register_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceBudgetCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Register Budget Api Operator Os19 Reach Budgets Register Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os19/reach/translations/register":{"post":{"tags":["operator-os19-reach"],"summary":"Register Translation","operationId":"register_translation_api_operator_os19_reach_translations_register_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TranslationKeyCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Register Translation Api Operator Os19 Reach Translations Register Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os19/reach/health":{"get":{"tags":["operator-os19-reach"],"summary":"Health","operationId":"health_api_operator_os19_reach_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Health Api Operator Os19 Reach Health Get"}}}}}}},"/api/operator/os19/reach/blockers":{"get":{"tags":["operator-os19-reach"],"summary":"Blockers","operationId":"blockers_api_operator_os19_reach_blockers_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Blockers Api Operator Os19 Reach Blockers Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os20/offline/queue":{"post":{"tags":["os20-offline-sync"],"summary":"Queue Mutation","operationId":"queue_mutation_api_v1_os20_offline_queue_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueuedMutationCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Queue Mutation Api V1 Os20 Offline Queue Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os20/offline/sync/start":{"post":{"tags":["os20-offline-sync"],"summary":"Start Sync","operationId":"start_sync_api_v1_os20_offline_sync_start_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SyncBatchCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Start Sync Api V1 Os20 Offline Sync Start Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os20/offline/sync/result":{"post":{"tags":["os20-offline-sync"],"summary":"Record Sync Result","operationId":"record_sync_result_api_v1_os20_offline_sync_result_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SyncResultCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Record Sync Result Api V1 Os20 Offline Sync Result Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os20/offline/conflicts":{"post":{"tags":["os20-offline-sync"],"summary":"Create Conflict","operationId":"create_conflict_api_v1_os20_offline_conflicts_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConflictRecordCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Conflict Api V1 Os20 Offline Conflicts Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os20/offline/pending-proof":{"post":{"tags":["os20-offline-sync"],"summary":"Update Pending Proof","operationId":"update_pending_proof_api_v1_os20_offline_pending_proof_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PendingProofCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Update Pending Proof Api V1 Os20 Offline Pending Proof Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os20/offline/readback":{"get":{"tags":["os20-offline-sync"],"summary":"Readback","operationId":"readback_api_v1_os20_offline_readback_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Readback Api V1 Os20 Offline Readback Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os20/offline/capabilities":{"post":{"tags":["operator-os20-offline-sync"],"summary":"Register Capability","operationId":"register_capability_api_operator_os20_offline_capabilities_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfflineCapabilityCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Register Capability Api Operator Os20 Offline Capabilities Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os20/offline/health":{"get":{"tags":["operator-os20-offline-sync"],"summary":"Health","operationId":"health_api_operator_os20_offline_health_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Health Api Operator Os20 Offline Health Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os20/offline/queue":{"get":{"tags":["operator-os20-offline-sync"],"summary":"Queue","operationId":"queue_api_operator_os20_offline_queue_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Queue Api Operator Os20 Offline Queue Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os20/offline/conflicts":{"get":{"tags":["operator-os20-offline-sync"],"summary":"Conflicts","operationId":"conflicts_api_operator_os20_offline_conflicts_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Conflicts Api Operator Os20 Offline Conflicts Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os20/offline/pending-proofs":{"get":{"tags":["operator-os20-offline-sync"],"summary":"Pending Proofs","operationId":"pending_proofs_api_operator_os20_offline_pending_proofs_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Pending Proofs Api Operator Os20 Offline Pending Proofs Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os21/privacy/check":{"post":{"tags":["os21-privacy-consent-safety"],"summary":"Check Privacy","operationId":"check_privacy_api_v1_os21_privacy_check_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivacyCheckCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Check Privacy Api V1 Os21 Privacy Check Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os21/privacy/data-rights":{"post":{"tags":["os21-privacy-consent-safety"],"summary":"Request Data Rights","operationId":"request_data_rights_api_v1_os21_privacy_data_rights_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRightsRequestCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Request Data Rights Api V1 Os21 Privacy Data Rights Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["os21-privacy-consent-safety"],"summary":"List Data Rights","description":"Return only the signed-in subject's rights requests and receipts.","operationId":"list_data_rights_api_v1_os21_privacy_data_rights_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Data Rights Api V1 Os21 Privacy Data Rights Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os21/privacy/data-rights/{request_id}":{"get":{"tags":["os21-privacy-consent-safety"],"summary":"Get Data Rights","description":"Return one request only when it belongs to the signed-in subject.","operationId":"get_data_rights_api_v1_os21_privacy_data_rights__request_id__get","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Data Rights Api V1 Os21 Privacy Data Rights  Request Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os21/privacy/safety":{"post":{"tags":["os21-privacy-consent-safety"],"summary":"Record Safety Decision","operationId":"record_safety_decision_api_v1_os21_privacy_safety_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SafetyDecisionCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Record Safety Decision Api V1 Os21 Privacy Safety Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os21/privacy/sensitive-field/reject":{"post":{"tags":["os21-privacy-consent-safety"],"summary":"Record Sensitive Field Rejection","operationId":"record_sensitive_field_rejection_api_v1_os21_privacy_sensitive_field_reject_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SensitiveFieldRejectionCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Record Sensitive Field Rejection Api V1 Os21 Privacy Sensitive Field Reject Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os21/privacy/personalization/resolve":{"post":{"tags":["os21-privacy-consent-safety"],"summary":"Resolve Personalization","operationId":"resolve_personalization_api_v1_os21_privacy_personalization_resolve_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonalizationResolutionCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Resolve Personalization Api V1 Os21 Privacy Personalization Resolve Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os21/privacy/subjects/{subject_id}/summary":{"get":{"tags":["os21-privacy-consent-safety"],"summary":"Subject Summary","operationId":"subject_summary_api_v1_os21_privacy_subjects__subject_id__summary_get","parameters":[{"name":"subject_id","in":"path","required":true,"schema":{"type":"string","title":"Subject Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Subject Summary Api V1 Os21 Privacy Subjects  Subject Id  Summary Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os21/privacy/scopes":{"post":{"tags":["operator-os21-privacy-consent-safety"],"summary":"Register Scope","operationId":"register_scope_api_operator_os21_privacy_scopes_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsentScopeCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Register Scope Api Operator Os21 Privacy Scopes Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os21/privacy/guardian-relationships":{"post":{"tags":["operator-os21-privacy-consent-safety"],"summary":"Record Guardian","operationId":"record_guardian_api_operator_os21_privacy_guardian_relationships_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuardianRelationshipCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Record Guardian Api Operator Os21 Privacy Guardian Relationships Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os21/privacy/consents":{"post":{"tags":["operator-os21-privacy-consent-safety"],"summary":"Record Consent","operationId":"record_consent_api_operator_os21_privacy_consents_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsentGrantCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Record Consent Api Operator Os21 Privacy Consents Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os21/privacy/data-rights/{request_id}/fulfill":{"post":{"tags":["operator-os21-privacy-consent-safety"],"summary":"Fulfill Data Rights","description":"Only the authenticated operator boundary may complete a rights request.","operationId":"fulfill_data_rights_api_operator_os21_privacy_data_rights__request_id__fulfill_post","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Request Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRightsFulfillmentCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Fulfill Data Rights Api Operator Os21 Privacy Data Rights  Request Id  Fulfill Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os21/privacy/health":{"get":{"tags":["operator-os21-privacy-consent-safety"],"summary":"Health","operationId":"health_api_operator_os21_privacy_health_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Health Api Operator Os21 Privacy Health Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os21/privacy/blockers":{"get":{"tags":["operator-os21-privacy-consent-safety"],"summary":"Blockers","operationId":"blockers_api_operator_os21_privacy_blockers_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Blockers Api Operator Os21 Privacy Blockers Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/os22/public-growth/surfaces":{"post":{"tags":["os22-public-growth"],"summary":"Register Surface","operationId":"register_surface_api_os22_public_growth_surfaces_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicSurfaceCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/os22/public-growth/claims":{"post":{"tags":["os22-public-growth"],"summary":"Register Claim","operationId":"register_claim_api_os22_public_growth_claims_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicClaimCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/os22/public-growth/share-artifacts":{"post":{"tags":["os22-public-growth"],"summary":"Create Share Artifact","operationId":"create_share_artifact_api_os22_public_growth_share_artifacts_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShareArtifactCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/os22/public-growth/anonymous-sessions":{"post":{"tags":["os22-public-growth"],"summary":"Create Anonymous Session","operationId":"create_anonymous_session_api_os22_public_growth_anonymous_sessions_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnonymousSessionCommand"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/os22/public-growth/handoffs":{"post":{"tags":["os22-public-growth"],"summary":"Start Handoff","operationId":"start_handoff_api_os22_public_growth_handoffs_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcquisitionHandoffCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/os22/public-growth/attribution":{"post":{"tags":["os22-public-growth"],"summary":"Record Attribution","operationId":"record_attribution_api_os22_public_growth_attribution_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcquisitionAttributionCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/os22/public-growth/readback":{"get":{"tags":["os22-public-growth"],"summary":"Readback","operationId":"readback_api_os22_public_growth_readback_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/operator/os22/public-growth/surfaces":{"post":{"tags":["operator-os22-public-growth"],"summary":"Operator Register Surface","operationId":"operator_register_surface_api_operator_os22_public_growth_surfaces_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicSurfaceCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os22/public-growth/claims":{"post":{"tags":["operator-os22-public-growth"],"summary":"Operator Register Claim","operationId":"operator_register_claim_api_operator_os22_public_growth_claims_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicClaimCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os22/public-growth/readback":{"get":{"tags":["operator-os22-public-growth"],"summary":"Operator Readback","operationId":"operator_readback_api_operator_os22_public_growth_readback_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/os22/public-growth/health":{"get":{"tags":["operator-os22-public-growth"],"summary":"Health","operationId":"health_api_operator_os22_public_growth_health_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/aos/pr22/golden-slice-a/runs":{"post":{"tags":["AOS-PR22 Golden Slice A"],"summary":"Create Run","operationId":"create_run_api_aos_pr22_golden_slice_a_runs_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoldenSliceRunCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/aos/pr22/golden-slice-a/steps":{"post":{"tags":["AOS-PR22 Golden Slice A"],"summary":"Record Step","operationId":"record_step_api_aos_pr22_golden_slice_a_steps_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoldenSliceStepCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/aos/pr22/golden-slice-a/evidence":{"post":{"tags":["AOS-PR22 Golden Slice A"],"summary":"Attach Evidence","operationId":"attach_evidence_api_aos_pr22_golden_slice_a_evidence_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoldenSliceEvidenceCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/aos/pr22/golden-slice-a/decisions":{"post":{"tags":["AOS-PR22 Golden Slice A"],"summary":"Decide","operationId":"decide_api_aos_pr22_golden_slice_a_decisions_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoldenSliceDecisionCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/aos/pr22/golden-slice-a/readback":{"get":{"tags":["AOS-PR22 Golden Slice A"],"summary":"Readback","operationId":"readback_api_aos_pr22_golden_slice_a_readback_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/aos/pr22/golden-slice-a/readback":{"get":{"tags":["AOS-PR22 Golden Slice A Operator"],"summary":"Readback","operationId":"readback_api_operator_aos_pr22_golden_slice_a_readback_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/aos/pr22/golden-slice-a/health":{"get":{"tags":["AOS-PR22 Golden Slice A Operator"],"summary":"Health","operationId":"health_api_operator_aos_pr22_golden_slice_a_health_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/aos/pr23/golden-slice-b/runs":{"post":{"tags":["AOS-PR23"],"summary":"Start Run","operationId":"start_run_api_aos_pr23_golden_slice_b_runs_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoldenSliceBRunCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/aos/pr23/golden-slice-b/steps":{"post":{"tags":["AOS-PR23"],"summary":"Record Step","operationId":"record_step_api_aos_pr23_golden_slice_b_steps_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StepCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/aos/pr23/golden-slice-b/evidence":{"post":{"tags":["AOS-PR23"],"summary":"Record Evidence","operationId":"record_evidence_api_aos_pr23_golden_slice_b_evidence_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvidenceCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/aos/pr23/golden-slice-b/dependencies":{"post":{"tags":["AOS-PR23"],"summary":"Record Dependency","operationId":"record_dependency_api_aos_pr23_golden_slice_b_dependencies_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DependencySnapshotCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/aos/pr23/golden-slice-b/matrix":{"post":{"tags":["AOS-PR23"],"summary":"Record Matrix State","operationId":"record_matrix_state_api_aos_pr23_golden_slice_b_matrix_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleSurfaceMatrixCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/aos/pr23/golden-slice-b/event-readbacks":{"post":{"tags":["AOS-PR23"],"summary":"Record Event Readback","operationId":"record_event_readback_api_aos_pr23_golden_slice_b_event_readbacks_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventReadbackCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/aos/pr23/golden-slice-b/rollback-rehearsals":{"post":{"tags":["AOS-PR23"],"summary":"Record Rollback","operationId":"record_rollback_api_aos_pr23_golden_slice_b_rollback_rehearsals_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/os_runtime__aos_pr23_golden_slice_b__models__RollbackRehearsalCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/aos/pr23/golden-slice-b/role-safe-reviews":{"post":{"tags":["AOS-PR23"],"summary":"Record Role Review","operationId":"record_role_review_api_aos_pr23_golden_slice_b_role_safe_reviews_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleSafeExpressionReviewCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/aos/pr23/golden-slice-b/decisions":{"post":{"tags":["AOS-PR23"],"summary":"Decide","operationId":"decide_api_aos_pr23_golden_slice_b_decisions_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/os_runtime__aos_pr23_golden_slice_b__models__FinalDecisionCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/aos/pr23/golden-slice-b/readback":{"get":{"tags":["AOS-PR23"],"summary":"Readback","operationId":"readback_api_aos_pr23_golden_slice_b_readback_get","parameters":[{"name":"release_scope","in":"query","required":true,"schema":{"type":"string","minLength":3,"title":"Release Scope"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/aos/pr23/golden-slice-b/health":{"get":{"tags":["AOS-PR23 Operator"],"summary":"Health","operationId":"health_api_operator_aos_pr23_golden_slice_b_health_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/aos/pr23/golden-slice-b/readback":{"get":{"tags":["AOS-PR23 Operator"],"summary":"Readback","operationId":"readback_api_operator_aos_pr23_golden_slice_b_readback_get","parameters":[{"name":"release_scope","in":"query","required":true,"schema":{"type":"string","minLength":3,"title":"Release Scope"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/os/aos-pr24/release-cutover/consumer-dispositions":{"post":{"tags":["aos-pr24-release-cutover"],"summary":"Record Consumer","operationId":"record_consumer_os_aos_pr24_release_cutover_consumer_dispositions_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsumerDispositionCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/os/aos-pr24/release-cutover/registry-locks":{"post":{"tags":["aos-pr24-release-cutover"],"summary":"Record Registry Lock","operationId":"record_registry_lock_os_aos_pr24_release_cutover_registry_locks_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistryLockCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/os/aos-pr24/release-cutover/evidence":{"post":{"tags":["aos-pr24-release-cutover"],"summary":"Record Evidence","operationId":"record_evidence_os_aos_pr24_release_cutover_evidence_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReleaseEvidenceCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/os/aos-pr24/release-cutover/rollback-rehearsals":{"post":{"tags":["aos-pr24-release-cutover"],"summary":"Record Rollback","operationId":"record_rollback_os_aos_pr24_release_cutover_rollback_rehearsals_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/os_runtime__aos_pr24_release_cutover__models__RollbackRehearsalCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/os/aos-pr24/release-cutover/residual-deferrals":{"post":{"tags":["aos-pr24-release-cutover"],"summary":"Record Residual","operationId":"record_residual_os_aos_pr24_release_cutover_residual_deferrals_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResidualDeferralCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/os/aos-pr24/release-cutover/decisions":{"post":{"tags":["aos-pr24-release-cutover"],"summary":"Decide","operationId":"decide_os_aos_pr24_release_cutover_decisions_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/os_runtime__aos_pr24_release_cutover__models__ReleaseDecisionCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/os/aos-pr24/release-cutover/readback/{release_scope}":{"get":{"tags":["aos-pr24-release-cutover"],"summary":"Readback","operationId":"readback_os_aos_pr24_release_cutover_readback__release_scope__get","parameters":[{"name":"release_scope","in":"path","required":true,"schema":{"type":"string","title":"Release Scope"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/os/operator/aos-pr24/release-cutover/health":{"get":{"tags":["aos-pr24-release-cutover-operator"],"summary":"Health","operationId":"health_os_operator_aos_pr24_release_cutover_health_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/os/operator/aos-pr24/release-cutover/readback/{release_scope}":{"get":{"tags":["aos-pr24-release-cutover-operator"],"summary":"Operator Readback","operationId":"operator_readback_os_operator_aos_pr24_release_cutover_readback__release_scope__get","parameters":[{"name":"release_scope","in":"path","required":true,"schema":{"type":"string","title":"Release Scope"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/aos/golden-slice-c-day/runs":{"post":{"tags":["AOSACT-PR02 Golden Slice C"],"summary":"Start Run","operationId":"start_run_api_aos_golden_slice_c_day_runs_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoldenSliceCDayRunCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/aos/golden-slice-c-day/steps":{"post":{"tags":["AOSACT-PR02 Golden Slice C"],"summary":"Record Step","operationId":"record_step_api_aos_golden_slice_c_day_steps_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DayStepCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/aos/golden-slice-c-day/evidence":{"post":{"tags":["AOSACT-PR02 Golden Slice C"],"summary":"Record Evidence","operationId":"record_evidence_api_aos_golden_slice_c_day_evidence_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DayEvidenceCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/aos/golden-slice-c-day/rollbacks":{"post":{"tags":["AOSACT-PR02 Golden Slice C"],"summary":"Record Rollback","operationId":"record_rollback_api_aos_golden_slice_c_day_rollbacks_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RollbackEvidenceCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/aos/golden-slice-c-day/decisions":{"post":{"tags":["AOSACT-PR02 Golden Slice C"],"summary":"Decide","operationId":"decide_api_aos_golden_slice_c_day_decisions_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/os_runtime__aos_golden_slice_c_day__models__FinalDecisionCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/aos/golden-slice-c-day/runs/{run_id}/trace":{"get":{"tags":["AOSACT-PR02 Golden Slice C"],"summary":"Trace Readback","operationId":"trace_readback_api_aos_golden_slice_c_day_runs__run_id__trace_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/aos/golden-slice-c-day/replays":{"post":{"tags":["AOSACT-PR02 Golden Slice C"],"summary":"Replay","operationId":"replay_api_aos_golden_slice_c_day_replays_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReplayDayCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/aos/golden-slice-c-day/readback":{"get":{"tags":["AOSACT-PR02 Golden Slice C"],"summary":"Readback","operationId":"readback_api_aos_golden_slice_c_day_readback_get","parameters":[{"name":"release_scope","in":"query","required":true,"schema":{"type":"string","minLength":3,"title":"Release Scope"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/aos/golden-slice-c-day/health":{"get":{"tags":["AOSACT-PR02 Golden Slice C Operator"],"summary":"Health","operationId":"health_api_operator_aos_golden_slice_c_day_health_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/aos/golden-slice-c-day/runs/{run_id}/trace":{"get":{"tags":["AOSACT-PR02 Golden Slice C Operator"],"summary":"Trace Readback","operationId":"trace_readback_api_operator_aos_golden_slice_c_day_runs__run_id__trace_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/aos/golden-slice-c-day/readback":{"get":{"tags":["AOSACT-PR02 Golden Slice C Operator"],"summary":"Readback","operationId":"readback_api_operator_aos_golden_slice_c_day_readback_get","parameters":[{"name":"release_scope","in":"query","required":true,"schema":{"type":"string","minLength":3,"title":"Release Scope"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/aos/activation/wave-1/health":{"get":{"tags":["AOSACT-PR04 Wave 1"],"summary":"Health","operationId":"health_api_operator_aos_activation_wave_1_health_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Health Api Operator Aos Activation Wave 1 Health Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/aos/activation/wave-1/identity":{"get":{"tags":["AOSACT-PR04 Wave 1"],"summary":"Identity","operationId":"identity_api_operator_aos_activation_wave_1_identity_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Identity Api Operator Aos Activation Wave 1 Identity Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/aos/activation/wave-1/modes":{"get":{"tags":["AOSACT-PR04 Wave 1"],"summary":"Modes","operationId":"modes_api_operator_aos_activation_wave_1_modes_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Modes Api Operator Aos Activation Wave 1 Modes Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/aos/activation/wave-1/runs":{"post":{"tags":["AOSACT-PR04 Wave 1"],"summary":"Start Run","operationId":"start_run_api_operator_aos_activation_wave_1_runs_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WaveRunCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/aos/activation/wave-1/transitions":{"post":{"tags":["AOSACT-PR04 Wave 1"],"summary":"Record Transition","operationId":"record_transition_api_operator_aos_activation_wave_1_transitions_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganTransitionCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/aos/activation/wave-1/observations":{"post":{"tags":["AOSACT-PR04 Wave 1"],"summary":"Record Observation","operationId":"record_observation_api_operator_aos_activation_wave_1_observations_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganObservationCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/aos/activation/wave-1/rollbacks":{"post":{"tags":["AOSACT-PR04 Wave 1"],"summary":"Record Rollback","operationId":"record_rollback_api_operator_aos_activation_wave_1_rollbacks_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganRollbackCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/aos/activation/wave-1/decisions":{"post":{"tags":["AOSACT-PR04 Wave 1"],"summary":"Decide","operationId":"decide_api_operator_aos_activation_wave_1_decisions_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/os_runtime__aosact_pr04_wave1__models__FinalDecisionCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/operator/aos/activation/wave-1/readback":{"get":{"tags":["AOSACT-PR04 Wave 1"],"summary":"Readback","operationId":"readback_api_operator_aos_activation_wave_1_readback_get","parameters":[{"name":"release_scope","in":"query","required":true,"schema":{"type":"string","minLength":3,"title":"Release Scope"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/app/home/composite":{"get":{"tags":["home"],"summary":"Home Composite","description":"Home screen aggregator — all 7 composites in one call.\n300ms p95 SLA via parallel fetches.","operationId":"home_composite_api_v1_app_home_composite_get","parameters":[{"name":"role","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Override role (student|parent|guest)","title":"Role"},"description":"Override role (student|parent|guest)"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/app/home/composite/healthz":{"get":{"tags":["home"],"summary":"Home Composite Health","description":"Liveness — confirms the router is loaded and deps resolvable.","operationId":"home_composite_health_api_v1_app_home_composite_healthz_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/personal/products":{"get":{"tags":["personal-os"],"summary":"Get Products","description":"Where you are in each product, read from the applied table shape.","operationId":"get_products_api_v1_personal_products_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"}},{"name":"owned","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Owned"}},{"name":"ongoing","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ongoing"}},{"name":"pinned","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pinned"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"X-Personal-Context","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Personal-Context"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Products Api V1 Personal Products Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/personal/actions":{"get":{"tags":["personal-os"],"summary":"Get Actions","description":"What needs you, what is waiting, and what happened.\n\nThree views with different shapes, per §6: To do and Waiting return current\nrows; History returns EVENTS. It used to return current rows filtered to\nthe terminal states, which the spec forbids by name -- \"assigned,\nrescheduled twice, then completed\" showed as one row and the two\nreschedules were invisible behind a list that looked complete.\n\nOne live producer. The rest are registered and switched off, so the reply\nis honestly partial and prints no total. That is the design, not a gap\nbeing hidden -- and the screen says so in words.","operationId":"get_actions_api_v1_personal_actions_get","parameters":[{"name":"view","in":"query","required":false,"schema":{"type":"string","default":"todo","title":"View"}},{"name":"due","in":"query","required":false,"schema":{"type":"string","default":"all","title":"Due"}},{"name":"actor","in":"query","required":false,"schema":{"type":"string","default":"mine","title":"Actor"}},{"name":"order","in":"query","required":false,"schema":{"type":"string","default":"default","title":"Order"}},{"name":"page_size","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Page Size"}},{"name":"product_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Id"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"name":"history_order","in":"query","required":false,"schema":{"type":"string","default":"recorded_desc","title":"History Order"}},{"name":"viewer_timezone","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Viewer Timezone"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Cursor"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Q"}},{"name":"X-Personal-Context","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Personal-Context"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Actions Api V1 Personal Actions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/personal/evidence/weekly-recap-parent-share/{projection_id}":{"get":{"tags":["personal-os"],"summary":"Read Weekly Recap Parent Share Receipt","description":"Exact current parent read for one source-issued recap-share receipt.","operationId":"read_weekly_recap_parent_share_receipt_api_v1_personal_evidence_weekly_recap_parent_share__projection_id__get","parameters":[{"name":"projection_id","in":"path","required":true,"schema":{"type":"string","title":"Projection Id"}},{"name":"recap_id","in":"query","required":true,"schema":{"type":"string","title":"Recap Id"}},{"name":"child_id","in":"query","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"snapshot_version","in":"query","required":true,"schema":{"type":"integer","minimum":1,"title":"Snapshot Version"}},{"name":"snapshot_digest","in":"query","required":true,"schema":{"type":"string","title":"Snapshot Digest"}},{"name":"projection_digest","in":"query","required":true,"schema":{"type":"string","title":"Projection Digest"}},{"name":"X-Personal-Context","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Personal-Context"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Weekly Recap Parent Share Receipt Api V1 Personal Evidence Weekly Recap Parent Share  Projection Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/personal/evidence":{"get":{"tags":["personal-os"],"summary":"Get Evidence","description":"A frozen, resumable record with current owner permissions on every page.","operationId":"get_evidence_api_v1_personal_evidence_get","parameters":[{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kind"}},{"name":"product_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Id"}},{"name":"validity","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Validity"}},{"name":"verification","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verification"}},{"name":"freshness","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Freshness"}},{"name":"from","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"From"}},{"name":"to","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"To"}},{"name":"current_only","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Current Only"}},{"name":"date_recorded","in":"query","required":false,"schema":{"type":"string","default":"all","title":"Date Recorded"}},{"name":"order","in":"query","required":false,"schema":{"type":"string","default":"occurred_desc","title":"Order"}},{"name":"page_size","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Page Size"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Cursor"}},{"name":"receipt_cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Receipt Cursor"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Q"}},{"name":"X-Personal-Context","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Personal-Context"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Evidence Api V1 Personal Evidence Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/personal/coverage":{"get":{"tags":["personal-os"],"summary":"Get Coverage","description":"Which sources are live and which are waiting, and on what.\n\nUnauthenticated on purpose: it describes the system's own readiness and\ncarries nothing about any person. It is the fastest honest answer to \"is\nthis working yet\", and it is computed from the adapter registry rather than\nwritten down, so it cannot flatter itself.","operationId":"get_coverage_api_v1_personal_coverage_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Coverage Api V1 Personal Coverage Get"}}}}}}},"/api/v1/personal/resolve":{"post":{"tags":["personal-os"],"summary":"Resolve Route","description":"Open a door the server issued, if it is still honest to open it.\n\nThe client sends back the handle and the facts it was bound to. Nothing here\ntrusts those facts: they are re-signed and compared, so an edited value\nchanges the signature and fails. Then the version and the permission are\nchecked again against the source as it stands NOW, because a mark can be\ncorrected and a grant withdrawn between issuing a door and tapping it.","operationId":"resolve_route_api_v1_personal_resolve_post","parameters":[{"name":"X-Personal-Context","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Personal-Context"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/personal_os__router__ResolveRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Resolve Route Api V1 Personal Resolve Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/personal/contexts":{"get":{"tags":["personal-os","personal-os-read"],"summary":"List Contexts","description":"Everyone you may look at, and which one you are looking at now.\n\nA learner gets exactly one choice, themselves. The switch is not hidden for\nthem; it does not exist.","operationId":"list_contexts_api_v1_personal_contexts_get","parameters":[{"name":"X-Personal-Context","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Personal-Context"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Contexts Api V1 Personal Contexts Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/personal/context":{"post":{"tags":["personal-os","personal-os-read"],"summary":"Select Context","description":"Look at somebody else you are allowed to look at.\n\nA write in HTTP terms and a read in every other sense: it changes nothing,\nit only issues a context for a different subject. Naming somebody you are\nnot linked to gets the same refusal as naming somebody who does not exist,\nbecause telling those apart confirms the person exists.","operationId":"select_context_api_v1_personal_context_post","parameters":[{"name":"X-Personal-Context","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Personal-Context"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContextSelection"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Select Context Api V1 Personal Context Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/personal/workspace":{"get":{"tags":["personal-os","personal-os-read"],"summary":"Read Workspace","description":"The folio: a bounded preview of everything, and a way into each part.\n\nBounded on purpose, and the bounds come from the Home work rather than\nbeing reinvented: at most one next step, at most four ongoing products, at\nmost two recent records. A landing page that lists everything is a ledger,\nand a ledger is what the two timelines are for.","operationId":"read_workspace_api_v1_personal_workspace_get","parameters":[{"name":"viewer_timezone","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Viewer Timezone"}},{"name":"X-Personal-Context","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Personal-Context"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Workspace Api V1 Personal Workspace Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/personal/collections":{"get":{"tags":["personal-os","personal-os-read"],"summary":"List Collections","description":"Your shelves, in your order, with counts of what you may see.\n\nYours, and only ever yours -- see `may_read_saved_workspace`.","operationId":"list_collections_api_v1_personal_collections_get","parameters":[{"name":"X-Personal-Context","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Personal-Context"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Collections Api V1 Personal Collections Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["personal-os","personal-os-write"],"summary":"Create Collection Route","description":"Make a new collection.","operationId":"create_collection_route_api_v1_personal_collections_post","parameters":[{"name":"X-Personal-Context","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Personal-Context"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"If-None-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-None-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Collection Route Api V1 Personal Collections Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/personal/references":{"get":{"tags":["personal-os","personal-os-read"],"summary":"List References","description":"What you have saved. Pointers, with your own labels.\n\nEach row carries where the thing lives, what you called it, and what its\nsource says it is right now. The title is read live rather than stored: a\ncopy taken at the moment of saving fossilises a name that may since have\nbeen corrected, and keeps showing one after the source has been withdrawn.\n\nA connected source may resolve current metadata; an unavailable answer is\nstill not the same claim as \"this thing is gone\". SH-UPS catalogue-only\nproduct resolution supplies no progress or native open intent.","operationId":"list_references_api_v1_personal_references_get","parameters":[{"name":"collection_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Collection Id"}},{"name":"reference_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":240},{"type":"null"}],"title":"Reference Id"}},{"name":"resolution_state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resolution State"}},{"name":"product_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":240},{"type":"null"}],"title":"Product Id"}},{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"X-Personal-Context","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Personal-Context"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List References Api V1 Personal References Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["personal-os","personal-os-write"],"summary":"Save Reference Route","description":"Save a pointer to something. Never a copy of it.\n\nOnly the identity tuple is stored: namespace, owner, type and id. No title,\nno score, no answer. That is what makes removing one incapable of\ndestroying anybody's work.","operationId":"save_reference_route_api_v1_personal_references_post","parameters":[{"name":"X-Personal-Context","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Personal-Context"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"If-None-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-None-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReferenceCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Save Reference Route Api V1 Personal References Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/personal/product-preferences":{"get":{"tags":["personal-os","personal-os-read"],"summary":"Read Product Preferences","description":"Which products you pinned, hid or favourited.\n\nRead from `home_user_discovery_preferences`, the record the Home already\nowns. There is no second preferences store, so pinning something here and\npinning it on Home cannot disagree -- they are the same row.","operationId":"read_product_preferences_api_v1_personal_product_preferences_get","parameters":[{"name":"X-Personal-Context","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Personal-Context"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Product Preferences Api V1 Personal Product Preferences Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["personal-os","personal-os-write"],"summary":"Update Product Preferences Route","description":"Pin, hide or favourite a product.\n\nWritten through the Home's OWN preferences owner, not to a store of this\nworkstream's. There is one record, so pinning here and pinning on Home\ncannot disagree -- and a product hidden here is hidden there, which is what\na person means when they hide something.\n\nFields left out are left alone. A patch that silently cleared the lists it\ndid not mention would wipe somebody's pins because a client sent a partial\nbody.","operationId":"update_product_preferences_route_api_v1_personal_product_preferences_patch","parameters":[{"name":"X-Personal-Context","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Personal-Context"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreferencesPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Update Product Preferences Route Api V1 Personal Product Preferences Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/personal/connections":{"get":{"tags":["personal-os","personal-os-read"],"summary":"Read Connections","description":"Who can see your work, and where to go to change that.\n\nSummaries and doors only. Every button here opens the owner that actually\nholds the decision, because consent belongs to its owner and a second place\nto change it is a second place for the two to disagree.","operationId":"read_connections_api_v1_personal_connections_get","parameters":[{"name":"X-Personal-Context","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Personal-Context"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Connections Api V1 Personal Connections Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/personal/actions/{item_id}":{"get":{"tags":["personal-os","personal-os-read"],"summary":"Read Action","description":"One action, its history and the records related to it.\n\nHistory is events, not a list of finished things: assigned, rescheduled\ntwice, then completed is four entries. Showing only the last hides that the\ndeadline moved, which is usually the part somebody is arguing about.","operationId":"read_action_api_v1_personal_actions__item_id__get","parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}},{"name":"X-Personal-Context","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Personal-Context"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Action Api V1 Personal Actions  Item Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/personal/evidence/{item_id}":{"get":{"tags":["personal-os","personal-os-read"],"summary":"Read Evidence","description":"One record, at the exact version asked for.\n\nAsked, not assumed, exactly like `GET /evidence`: every connected producer\nis read for this subject and the item is looked for in what came back.\nAbsence is only ever asserted once every producer -- connected and still\npending -- has answered; short of that the honest reply is a state saying\nso, not an empty record and not a 404 that claims the record is gone. An\nempty record would look like a real one that says nothing; a blanket 404\nwould say the same thing whether the record does not exist or simply\nnobody has told us anything yet, and the second of those is not true.","operationId":"read_evidence_api_v1_personal_evidence__item_id__get","parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}},{"name":"X-Personal-Context","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Personal-Context"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Evidence Api V1 Personal Evidence  Item Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/personal/evidence/{item_id}/lineage":{"get":{"tags":["personal-os","personal-os-read"],"summary":"Read Evidence Lineage","description":"How a record got to its current version.\n\nReturn source-issued versions for this one producer-owned lineage. The\nsource's current designation is authoritative; this route never chooses a\nwinner from revision order. No edge is inferred from `current_item_id`,\nwhich identifies the latest current version rather than its immediate\npredecessor. Bounds never report how much history was left out.","operationId":"read_evidence_lineage_api_v1_personal_evidence__item_id__lineage_get","parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}},{"name":"X-Personal-Context","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Personal-Context"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Evidence Lineage Api V1 Personal Evidence  Item Id  Lineage Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/personal/evidence/exports/{export_id}":{"get":{"tags":["personal-os","personal-os-read"],"summary":"Read Evidence Export","description":"Read a durable job without turning a context handle into authority.","operationId":"read_evidence_export_api_v1_personal_evidence_exports__export_id__get","parameters":[{"name":"export_id","in":"path","required":true,"schema":{"type":"string","title":"Export Id"}},{"name":"X-Personal-Context","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Personal-Context"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/personal/evidence/exports/{export_id}/download":{"get":{"tags":["personal-os","personal-os-read"],"summary":"Download Evidence Export","description":"Return actual JSON bytes only after current source re-authorisation.","operationId":"download_evidence_export_api_v1_personal_evidence_exports__export_id__download_get","parameters":[{"name":"export_id","in":"path","required":true,"schema":{"type":"string","title":"Export Id"}},{"name":"X-Personal-Context","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Personal-Context"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/personal/collections/order":{"patch":{"tags":["personal-os","personal-os-write"],"summary":"Reorder Collections Route","description":"Put your shelves in the order you want them.\n\nThe revision here is the WORKSPACE's, not a collection's: reordering\nchanges the relationship between all of them, so the aggregate being\ncompared is the whole workspace. That is also the row the database locks,\nwhich is why the two agree.\n\nThe complete list is required. A partial one is ambiguous about where the\nunmentioned shelves go, and two devices reordering at once would interleave\ninto an order neither person chose.","operationId":"reorder_collections_route_api_v1_personal_collections_order_patch","parameters":[{"name":"X-Personal-Context","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Personal-Context"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionOrderRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Reorder Collections Route Api V1 Personal Collections Order Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/personal/collections/{collection_id}":{"patch":{"tags":["personal-os","personal-os-write"],"summary":"Patch Collection Route","description":"Rename a collection, if it is still at the revision you believed.","operationId":"patch_collection_route_api_v1_personal_collections__collection_id__patch","parameters":[{"name":"collection_id","in":"path","required":true,"schema":{"type":"string","title":"Collection Id"}},{"name":"X-Personal-Context","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Personal-Context"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionRename"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Patch Collection Route Api V1 Personal Collections  Collection Id  Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["personal-os","personal-os-write"],"summary":"Delete Collection Route","description":"Get rid of a shelf. Everything on it goes back to the inbox.\n\nDeleting a folder must not delete what was in it. The person asked to get\nrid of a grouping, not of the things they saved, and the two are easy to\nconfuse only from the implementer's side. The move happens first, so the\ncollection is never dropped while anything still points at it -- the\nforeign key would refuse anyway, which is the belt to this braces.","operationId":"delete_collection_route_api_v1_personal_collections__collection_id__delete","parameters":[{"name":"collection_id","in":"path","required":true,"schema":{"type":"string","title":"Collection Id"}},{"name":"X-Personal-Context","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Personal-Context"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Delete Collection Route Api V1 Personal Collections  Collection Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/personal/references/{reference_id}":{"patch":{"tags":["personal-os","personal-os-write"],"summary":"Patch Reference Route","description":"Change your own label for something. Never the source's own title.","operationId":"patch_reference_route_api_v1_personal_references__reference_id__patch","parameters":[{"name":"reference_id","in":"path","required":true,"schema":{"type":"string","title":"Reference Id"}},{"name":"X-Personal-Context","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Personal-Context"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReferenceRenameLabel"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Patch Reference Route Api V1 Personal References  Reference Id  Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["personal-os","personal-os-write"],"summary":"Remove Reference Route","description":"Take a pointer out of your list. The source is untouched.\n\nDELETE is the verb the contract names and a generated client will call no\nother. The verb says delete; the behaviour does not. It sets a removal time\nand an undo deadline, there is no SQL DELETE behind it, and the receipt\ncarries the window. Deleting from YOUR LIST is what this deletes.","operationId":"remove_reference_route_api_v1_personal_references__reference_id__delete","parameters":[{"name":"reference_id","in":"path","required":true,"schema":{"type":"string","title":"Reference Id"}},{"name":"X-Personal-Context","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Personal-Context"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Remove Reference Route Api V1 Personal References  Reference Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/personal/references/{reference_id}/restore":{"post":{"tags":["personal-os","personal-os-write"],"summary":"Restore Reference Route","description":"Put back something you just removed, while the window is still open.\n\nWhether it is still open is decided by the database's clock, not the\ncaller's. A client that sat on the request does not get to reopen a window\nthat has closed.","operationId":"restore_reference_route_api_v1_personal_references__reference_id__restore_post","parameters":[{"name":"reference_id","in":"path","required":true,"schema":{"type":"string","title":"Reference Id"}},{"name":"X-Personal-Context","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Personal-Context"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestoreRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Restore Reference Route Api V1 Personal References  Reference Id  Restore Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/personal/references/batch":{"post":{"tags":["personal-os","personal-os-write"],"summary":"Batch Reference Route","description":"Move or remove a whole selection at once. All of it, or none of it.\n\nA batch never saves its successful half. Somebody who selects fifty things\nand is told it worked, only to find thirty, has been misled by a design\nchoice rather than a bug. Every affected collection's revision is checked\nbefore anything moves, and the whole thing runs in one transaction.","operationId":"batch_reference_route_api_v1_personal_references_batch_post","parameters":[{"name":"X-Personal-Context","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Personal-Context"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchReferenceRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Batch Reference Route Api V1 Personal References Batch Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/personal/evidence/exports":{"post":{"tags":["personal-os","personal-os-write"],"summary":"Request Evidence Export Route","description":"Ask for a copy of your own records.\n\nRefused today, and honestly, when there is nothing that could go in the\nfile: no evidence producer is live, so answering \"accepted\" and producing\nan empty document would be worse than saying so -- a person would open\nit, find nothing, and conclude their record is empty rather than that we\nhave not been given anything to put in it. That refusal is unchanged by\nwhat follows.\n\nWhat changes: a request that DOES produce a file now gets a durable job\nid, persisted in `evidence_export_store`, so `GET /evidence/exports/{id}`\nand its download have something to find. Before this, the manifest was\nbuilt and handed back inline and then discarded -- no id survived the\nresponse, so the status/download routes were unconditional 404s for any\nid at all (findings X02-S06, P08). The persisted snapshot is only a safe\nprojection: status and download re-authorise the actor, current source,\nrevision and export permission before reporting readiness or returning\nbytes.","operationId":"request_evidence_export_route_api_v1_personal_evidence_exports_post","parameters":[{"name":"X-Personal-Context","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Personal-Context"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/personal_os__write_routes__ExportRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Request Evidence Export Route Api V1 Personal Evidence Exports Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/personal/marks/{job_id}/open":{"post":{"tags":["personal-os","personal-os-write","personal-os-mark-reads"],"summary":"Open Mark Route","description":"Record that the authenticated student opened this released mark.\n\nThe student comes only from `ctx` (the authenticated caller). There is no\nstudent id in the path or body, on purpose -- see module docstring.\n\nNO `X-Personal-Context` HEADER, UNLIKE THE OTHER WRITE ROUTES, AND THAT IS\nDELIBERATE. That header exists so a caller who may act as more than one\nsubject (a parent switching between children) states -- and the server\nre-resolves -- which subject a write is FOR. A released mark's\n`actor_relation` is always `SELF` (see `adapters/marks.py`): nothing in\nthis domain lets a parent open a child's result on the child's behalf, so\nthere is no second subject for a context header to disambiguate. Adding\none here would perform a check this domain has nothing for it to check.","operationId":"open_mark_route_api_v1_personal_marks__job_id__open_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/VersionedMarkOpenRequest"},{"type":"null"}],"title":"Versioned"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Open Mark Route Api V1 Personal Marks  Job Id  Open Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/personal/launch/return":{"post":{"tags":["personal-os","personal-os-launch-returns"],"summary":"Return From Launch","operationId":"return_from_launch_api_v1_personal_launch_return_post","parameters":[{"name":"X-Personal-Context","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Personal-Context"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReturnRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Return From Launch Api V1 Personal Launch Return Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/personal/teacher-pro-review/permission":{"get":{"tags":["personal-os-teacher-pro-review"],"summary":"Read Permission","operationId":"read_permission_api_v1_personal_teacher_pro_review_permission_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Permission Api V1 Personal Teacher Pro Review Permission Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["personal-os-teacher-pro-review"],"summary":"Grant Permission","operationId":"grant_permission_api_v1_personal_teacher_pro_review_permission_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GrantRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Grant Permission Api V1 Personal Teacher Pro Review Permission Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/personal/teacher-pro-review/permission/revoke":{"post":{"tags":["personal-os-teacher-pro-review"],"summary":"Revoke Permission","operationId":"revoke_permission_api_v1_personal_teacher_pro_review_permission_revoke_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RevokeRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Revoke Permission Api V1 Personal Teacher Pro Review Permission Revoke Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/personal/teacher-pro-review/requests/{request_id}":{"get":{"tags":["personal-os-teacher-pro-review"],"summary":"Read Request","operationId":"read_request_api_v1_personal_teacher_pro_review_requests__request_id__get","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}},{"name":"version","in":"query","required":true,"schema":{"type":"integer","minimum":1,"title":"Version"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Request Api V1 Personal Teacher Pro Review Requests  Request Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/personal/teacher-pro-review/requests/{request_id}/responses":{"post":{"tags":["personal-os-teacher-pro-review"],"summary":"Respond Request","operationId":"respond_request_api_v1_personal_teacher_pro_review_requests__request_id__responses_post","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}},{"name":"version","in":"query","required":true,"schema":{"type":"integer","minimum":1,"title":"Version"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Respond Request Api V1 Personal Teacher Pro Review Requests  Request Id  Responses Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/personal/teacher-pro-service-evidence/permission":{"get":{"tags":["personal-os-teacher-pro-service-evidence"],"summary":"Read Permission","operationId":"read_permission_api_v1_personal_teacher_pro_service_evidence_permission_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Permission Api V1 Personal Teacher Pro Service Evidence Permission Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["personal-os-teacher-pro-service-evidence"],"summary":"Grant Permission","operationId":"grant_permission_api_v1_personal_teacher_pro_service_evidence_permission_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GrantRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Grant Permission Api V1 Personal Teacher Pro Service Evidence Permission Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/personal/teacher-pro-service-evidence/permission/revoke":{"post":{"tags":["personal-os-teacher-pro-service-evidence"],"summary":"Revoke Permission","operationId":"revoke_permission_api_v1_personal_teacher_pro_service_evidence_permission_revoke_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RevokeRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Revoke Permission Api V1 Personal Teacher Pro Service Evidence Permission Revoke Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/personal/teacher-pro-service-evidence/receipts":{"get":{"tags":["personal-os-teacher-pro-service-evidence"],"summary":"Read Receipts","operationId":"read_receipts_api_v1_personal_teacher_pro_service_evidence_receipts_get","parameters":[{"name":"service_receipt_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}],"title":"Service Receipt Id"}},{"name":"version","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"title":"Version"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Receipts Api V1 Personal Teacher Pro Service Evidence Receipts Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/personal/trututor-ai-work-coach/actions/{coach_id}":{"get":{"tags":["personal-os-trututor-ai-work-coach"],"summary":"Read Action","operationId":"read_action_api_v1_personal_trututor_ai_work_coach_actions__coach_id__get","parameters":[{"name":"coach_id","in":"path","required":true,"schema":{"type":"string","title":"Coach Id"}},{"name":"action_kind","in":"query","required":true,"schema":{"enum":["ai_work_coach_mission_response","ai_work_coach_clarification_response"],"type":"string","title":"Action Kind"}},{"name":"object_id","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":160,"title":"Object Id"}},{"name":"need_id","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":160,"title":"Need Id"}},{"name":"revision","in":"query","required":true,"schema":{"type":"integer","minimum":1,"title":"Revision"}},{"name":"target_revision","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"title":"Target Revision"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Action Api V1 Personal Trututor Ai Work Coach Actions  Coach Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/personal/trututor-ai-work-coach/receipts/{coach_id}/{receipt_id}":{"get":{"tags":["personal-os-trututor-ai-work-coach"],"summary":"Read Service Receipt","description":"Read one immutable receipt version through the current source permission.","operationId":"read_service_receipt_api_v1_personal_trututor_ai_work_coach_receipts__coach_id___receipt_id__get","parameters":[{"name":"coach_id","in":"path","required":true,"schema":{"type":"string","title":"Coach Id"}},{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","title":"Receipt Id"}},{"name":"need_id","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":160,"title":"Need Id"}},{"name":"case_revision","in":"query","required":true,"schema":{"type":"integer","minimum":1,"title":"Case Revision"}},{"name":"receipt_version","in":"query","required":true,"schema":{"type":"integer","minimum":1,"title":"Receipt Version"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Service Receipt Api V1 Personal Trututor Ai Work Coach Receipts  Coach Id   Receipt Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/personal/trututor-ai-work-coach/actions/{coach_id}/responses":{"post":{"tags":["personal-os-trututor-ai-work-coach"],"summary":"Respond Action","operationId":"respond_action_api_v1_personal_trututor_ai_work_coach_actions__coach_id__responses_post","parameters":[{"name":"coach_id","in":"path","required":true,"schema":{"type":"string","title":"Coach Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionResponse"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Respond Action Api V1 Personal Trututor Ai Work Coach Actions  Coach Id  Responses Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/bridge-grants":{"post":{"tags":["home-os-principal-bridge"],"summary":"Create Home Bridge Grant","description":"Issue a purpose-bound grant only after both platform identities are proven.\n\n`actor` is resolved below through the canonical student auth dependency;\nthe separate TT assertion binds the recipient identity to a trusted TT\nsession. The grantor is never read from the request body or a role claim.","operationId":"create_home_bridge_grant_api_v1_home_os_bridge_grants_post","parameters":[{"name":"X-TruTutor-Link-Assertion","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Trututor-Link-Assertion"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BridgeGrantRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/bridge-grants/{grant_ref}":{"delete":{"tags":["home-os-principal-bridge"],"summary":"Revoke Home Bridge Grant","description":"Let only the authenticated source owner revoke their own grant.","operationId":"revoke_home_bridge_grant_api_v1_home_os_bridge_grants__grant_ref__delete","parameters":[{"name":"grant_ref","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Grant Ref"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/home-os/bridge-grants/{grant_ref}/current":{"get":{"tags":["home-os-principal-bridge"],"summary":"Get Current Home Bridge Grant","description":"Current permission reader for the trusted cross-platform consumer.","operationId":"get_current_home_bridge_grant_internal_v1_home_os_bridge_grants__grant_ref__current_get","parameters":[{"name":"grant_ref","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Grant Ref"}},{"name":"purpose","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":80,"default":"LEARNER_PROGRESS_READ","title":"Purpose"}},{"name":"X-Home-Bridge-Service-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Home-Bridge-Service-Token"}},{"name":"X-Home-Bridge-Service-Platform","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Home-Bridge-Service-Platform"}},{"name":"X-Home-Bridge-Service-Actor","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Home-Bridge-Service-Actor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/internal/home/experiments/{experiment_id}/attribution":{"get":{"tags":["home-experiments"],"summary":"Experiment Attribution Status","description":"Read bounded counts without exposing opaque subject keys or receipts.","operationId":"experiment_attribution_status_api_internal_home_experiments__experiment_id__attribution_get","parameters":[{"name":"experiment_id","in":"path","required":true,"schema":{"type":"string","title":"Experiment Id"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/internal/home/experiments/retained-policies/{policy_id}/{policy_version}":{"put":{"tags":["home-experiments"],"summary":"Attach Retained Outcome Policy","description":"Attach an independently approved OS07 policy; never author its approval.","operationId":"attach_retained_outcome_policy_api_internal_home_experiments_retained_policies__policy_id___policy_version__put","parameters":[{"name":"policy_id","in":"path","required":true,"schema":{"type":"string","title":"Policy Id"}},{"name":"policy_version","in":"path","required":true,"schema":{"type":"string","title":"Policy Version"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RetainedOutcomePolicyInput"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/internal/home/experiments/{experiment_id}/reconcile-native":{"post":{"tags":["home-experiments"],"summary":"Reconcile Native Outcomes","description":"Replay canonical source measurements after a callback/schema outage.","operationId":"reconcile_native_outcomes_api_internal_home_experiments__experiment_id__reconcile_native_post","parameters":[{"name":"experiment_id","in":"path","required":true,"schema":{"type":"string","title":"Experiment Id"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/NativeOutcomeReplayInput"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/home-os/event-delivery":{"get":{"tags":["home-os-event-delivery-operator"],"summary":"Get Home V5 Event Delivery Summary","description":"Aggregate delivery and source-custody state plus publisher coverage.","operationId":"get_home_v5_event_delivery_summary_internal_v1_home_os_event_delivery_get","parameters":[{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/home-os/event-delivery/retention/preview":{"get":{"tags":["home-os-event-delivery-operator"],"summary":"Get Home V5 Event Retention Preview","description":"Read a bounded list of policy-bound Home custody eligible for cleanup.","operationId":"get_home_v5_event_retention_preview_internal_v1_home_os_event_delivery_retention_preview_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":25,"title":"Limit"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/home-os/event-delivery/lineage":{"get":{"tags":["home-os-event-delivery-operator"],"summary":"Get Home V5 Event Lineage","description":"Read source-bound lineage aggregates without returning event payloads.\n\nThis is an operator read of already-authorized source events. It cannot\nsubmit events or establish source permission, attention, learning, or\ndownstream invalidation from a matching identifier.","operationId":"get_home_v5_event_lineage_internal_v1_home_os_event_delivery_lineage_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":500,"title":"Limit"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/home-os/event-delivery/{event_id}":{"get":{"tags":["home-os-event-delivery-operator"],"summary":"Get Home V5 Event Delivery","description":"Read one event's transport/custody state without returning its payload.","operationId":"get_home_v5_event_delivery_internal_v1_home_os_event_delivery__event_id__get","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Id"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/home-os/event-delivery/{event_id}/replay":{"post":{"tags":["home-os-event-delivery-operator"],"summary":"Replay Home V5 Event Delivery","description":"CAS-requeue one terminal delivery or exact validated source custody row.","operationId":"replay_home_v5_event_delivery_internal_v1_home_os_event_delivery__event_id__replay_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Id"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReplayRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/wellness/passive-consent/review":{"get":{"tags":["wellness-passive-consent-review"],"summary":"Read Passive Consent Review","description":"Read the learner's current consent/review status; GET never issues.","operationId":"read_passive_consent_review_api_v1_wellness_passive_consent_review_get","parameters":[{"name":"requirement_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Requirement Id"}},{"name":"requirement_revision","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"title":"Requirement Revision"}},{"name":"definition_version","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":80},{"type":"null"}],"title":"Definition Version"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Passive Consent Review Api V1 Wellness Passive Consent Review Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["wellness-passive-consent-review"],"summary":"Issue Passive Consent Review","description":"Issue a review object only after the learner explicitly requests one.","operationId":"issue_passive_consent_review_api_v1_wellness_passive_consent_review_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/wellness_passive_consent__StartReviewCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Issue Passive Consent Review Api V1 Wellness Passive Consent Review Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/wellness/passive-consent/review/{consent_requirement_id}/decision":{"post":{"tags":["wellness-passive-consent-review"],"summary":"Decide Passive Consent Review","description":"Commit the learner's exact GRANT/REFUSE choice against the current row.","operationId":"decide_passive_consent_review_api_v1_wellness_passive_consent_review__consent_requirement_id__decision_post","parameters":[{"name":"consent_requirement_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Consent Requirement Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecideReviewCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Decide Passive Consent Review Api V1 Wellness Passive Consent Review  Consent Requirement Id  Decision Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/webhooks/razorpay":{"post":{"tags":["webhooks"],"summary":"Razorpay Webhook","description":"Hardened Razorpay webhook endpoint.\n\nFlow:\n  1. Read RAW body bytes\n  2. Verify HMAC-SHA256 signature against RAZORPAY_WEBHOOK_SECRET\n  3. Parse JSON\n  4. Dispatch complete JOB-1064 recurring subscriptions to their canonical\n     ingress, without claiming or writing a legacy receipt\n  5. Claim idempotency row (unique on event_id) — duplicate = 200 no-op\n  6. Dispatch to handler\n  7. Mark row processed + outcome","operationId":"razorpay_webhook_webhooks_razorpay_post","parameters":[{"name":"X-Razorpay-Signature","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Razorpay-Signature"}},{"name":"X-Razorpay-Event-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Razorpay-Event-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/webhooks/razorpay/health":{"get":{"tags":["webhooks"],"summary":"Razorpay Webhook Health","description":"Liveness + config check (safe to expose — no secrets leaked).","operationId":"razorpay_webhook_health_webhooks_razorpay_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/webhooks/razorpay/ensure-schema":{"get":{"tags":["webhooks"],"summary":"Razorpay Ensure Schema","description":"Dev helper — creates the razorpay_webhook_events table if missing.\nProduction uses the standard migration pipeline in db/migrations/.","operationId":"razorpay_ensure_schema_webhooks_razorpay_ensure_schema_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/billing/dunning/run":{"post":{"tags":["billing"],"summary":"Api Run Dunning","description":"Admin trigger — runs one dunning pass on demand. In production this\nis invoked hourly by external scheduler (cron / k8s CronJob).","operationId":"api_run_dunning_api_v1_billing_dunning_run_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/refund/request":{"post":{"tags":["billing"],"summary":"Api Refund Request","description":"Student-initiated refund request. Validates eligibility + computes\npro-rata amount. Does NOT call Razorpay directly — queues for review.\n\nBody: { payment_id, reason? }\n\nSECURITY (Task 6 BOLA fix 2026-05-30): student_id is derived from the JWT.","operationId":"api_refund_request_api_v1_billing_refund_request_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/refund/approve/{refund_id}":{"post":{"tags":["billing"],"summary":"Api Refund Approve","description":"Admin-only — actually calls Razorpay refund API and marks purchase refunded.\n\nSECURITY (Task 6 BOLA fix 2026-05-30): now gated by Depends(require_admin).\nPrior to this fix any caller could approve any refund by id.","operationId":"api_refund_approve_api_v1_billing_refund_approve__refund_id__post","parameters":[{"name":"refund_id","in":"path","required":true,"schema":{"type":"integer","title":"Refund Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/refund/list/{student_id}":{"get":{"tags":["billing"],"summary":"Api Refund List","description":"Student sees their own refund request history.","operationId":"api_refund_list_api_v1_billing_refund_list__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/plans":{"get":{"tags":["billing-pr-555-b"],"summary":"Get Public Plan Catalogue","operationId":"pr_555_b_public_plan_catalogue","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/billing/plan-and-history/{student_id}":{"get":{"tags":["billing-pr-555-b"],"summary":"Get Plan And History","operationId":"pr_555_b_plan_and_history","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/invoices/{student_id}":{"get":{"tags":["billing-pr-555-b"],"summary":"Get Billing Invoices","operationId":"get_billing_invoices_api_v1_billing_invoices__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/checkout/{sku_id}":{"post":{"tags":["billing-pr-555-b"],"summary":"Checkout","operationId":"pr_555_b_checkout","parameters":[{"name":"sku_id","in":"path","required":true,"schema":{"type":"string","title":"Sku Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/billing_routes__CheckoutBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/cancel":{"post":{"tags":["billing-pr-555-b"],"summary":"Cancel My Subscription","operationId":"pr_555_b_cancel","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/billing_routes__CancelBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/store/feel5":{"get":{"tags":["billing-pr-555-b"],"summary":"Feel5 Token Store","description":"The FEEL-5 'buy just this' store grid (B-23). Public — FE renders to anyone.\n\nReads the LIVE sku_catalogue (ACTIVE TPY-F5 + BDL rows) for the authoritative price + status,\nthen groups + labels them via feel5_token_catalogue (cosmetic display metadata). Returns an\nempty store until migration 244 is applied + the rows are ACTIVE — honest, not a bug.","operationId":"feel5_token_store_api_v1_billing_store_feel5_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/billing/store/feel5/owned/{student_id}":{"get":{"tags":["billing-pr-555-b"],"summary":"Feel5 Token Store Owned","description":"Owned-token snapshot for the FEEL-5 store grid.\n\nThe public store endpoint intentionally has no student context. This\nauthenticated companion route uses the same FEEL-5 entitlement helper\nproduct screens use, so the FE can show \"you own N uses\" before checkout\ninstead of silently selling a duplicate token.","operationId":"feel5_token_store_owned_api_v1_billing_store_feel5_owned__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/skus":{"get":{"tags":["billing-pr-555-b"],"summary":"List Skus","description":"Twin Pivot v6.0 catalogue. Filter by sku_type (SUB/TPY/BDL/INS/ADD/TRL)\nand/or tier. Public — no student context needed; FE may render to anyone.","operationId":"list_skus_api_v1_billing_skus_get","parameters":[{"name":"sku_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sku Type"}},{"name":"tier","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tier"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/token-pay/purchase":{"post":{"tags":["billing-pr-555-b"],"summary":"Token Pay Purchase","description":"Create a Razorpay order for a token-pay SKU. Returns the order_id +\nRazorpay key for the FE checkout SDK. Actual unlock happens via\nrazorpay_webhook order.paid → student_purchases row insert.","operationId":"token_pay_purchase_api_v1_billing_token_pay_purchase_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenPayPurchaseBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/entitlements/{student_id}":{"get":{"tags":["billing-pr-555-b"],"summary":"Get Entitlements","description":"Snapshot of every capability for this student. Called by FE on app\nboot so client knows what's unlocked without per-capability round-trips.","operationId":"get_entitlements_api_v1_billing_entitlements__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/entitlements/{student_id}/{capability}":{"get":{"tags":["billing-pr-555-b"],"summary":"Get One Entitlement","description":"Per-capability entitlement check. Cheaper than the snapshot when a\nfeature surface just wants its own gate.","operationId":"get_one_entitlement_api_v1_billing_entitlements__student_id___capability__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"capability","in":"path","required":true,"schema":{"type":"string","title":"Capability"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/legacy-payments/exceptions":{"get":{"tags":["legacy-payments-admin"],"summary":"List Legacy Payment Exceptions","operationId":"list_legacy_payment_exceptions_api_v1_admin_legacy_payments_exceptions_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/legacy-payments/exceptions/{exception_id}/resolve":{"post":{"tags":["legacy-payments-admin"],"summary":"Resolve Legacy Payment Exception","description":"Operator action on a parked payment, ONE transaction.\n\nThe exception row is locked (SELECT ... FOR UPDATE), so repeats and a grant racing a\ndismiss serialise: the second caller sees ``already_resolved``.  The audit insert is\nstrict inside the same transaction: if it fails, the grant rolls back.  A grant is\nrefused (409 ``payment_refunded``) when any refund record exists for the payment.\ngrant = re-run the legacy grant; dismiss = close it (e.g. refunded outside).","operationId":"resolve_legacy_payment_exception_api_v1_admin_legacy_payments_exceptions__exception_id__resolve_post","parameters":[{"name":"exception_id","in":"path","required":true,"schema":{"type":"integer","title":"Exception Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResolveExceptionBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/legacy-payments/orders/{order_id}/coupon":{"post":{"tags":["legacy-payments-admin"],"summary":"Record Legacy Order Coupon","description":"Operator: record a coupon against a learner's still-PENDING legacy order BEFORE\nthey pay, so the exact underpayment it explains is accepted automatically.  The SKU\nand order price come from the server's own PENDING row; same transaction as the check.","operationId":"record_legacy_order_coupon_api_v1_admin_legacy_payments_orders__order_id__coupon_post","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","title":"Order Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordCouponBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sku-doors":{"get":{"tags":["sku-doors"],"summary":"List Sku Doors","operationId":"list_sku_doors_api_v1_sku_doors_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Sku Doors Api V1 Sku Doors Get"}}}}}}},"/api/v1/sku-doors/owned/{student_id}":{"get":{"tags":["sku-doors"],"summary":"Owned Sku Doors","operationId":"owned_sku_doors_api_v1_sku_doors_owned__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Owned Sku Doors Api V1 Sku Doors Owned  Student Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sku-doors/access/{door_slug}/{student_id}":{"get":{"tags":["sku-doors"],"summary":"Get Sku Door Access","description":"Canonical read-only adapter consumed by PREDIMP, GRIMP and HOMEIMP.","operationId":"get_sku_door_access_api_v1_sku_doors_access__door_slug___student_id__get","parameters":[{"name":"door_slug","in":"path","required":true,"schema":{"type":"string","title":"Door Slug"}},{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Sku Door Access Api V1 Sku Doors Access  Door Slug   Student Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sku-doors/{door_slug}":{"get":{"tags":["sku-doors"],"summary":"Get Sku Door","operationId":"get_sku_door_api_v1_sku_doors__door_slug__get","parameters":[{"name":"door_slug","in":"path","required":true,"schema":{"type":"string","title":"Door Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Sku Door Api V1 Sku Doors  Door Slug  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sku-doors/checkout/{door_slug}":{"post":{"tags":["sku-doors"],"summary":"Checkout Sku Door","operationId":"checkout_sku_door_api_v1_sku_doors_checkout__door_slug__post","parameters":[{"name":"door_slug","in":"path","required":true,"schema":{"type":"string","title":"Door Slug"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorCheckoutBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Checkout Sku Door Api V1 Sku Doors Checkout  Door Slug  Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/commerce/price/{sku_id}":{"get":{"tags":["commerce-contract"],"summary":"Price","description":"What does this cost?\n\nReads a catalogue amount, not a provider-verified checkout quote. Legacy billing,\npublic checkout and immutable-offer checkout have distinct paths that still need\nconvergence proof. Non-fixed formulas and quote-only offers need their own typed\nquote contract; a catalogue placeholder is not a final payable price.\nA SKU the catalogue and generated legacy authority do not carry is a 404\nrather than a zero: a missing price is not a free product, and returning 0 would let a\nproduct ship a buy button that charges nothing.","operationId":"commerce_contract_price","parameters":[{"name":"sku_id","in":"path","required":true,"schema":{"type":"string","description":"Canonical SKU id, or a legacy SKU-B2C-* / SKU-ADD-* id","title":"Sku Id"},"description":"Canonical SKU id, or a legacy SKU-B2C-* / SKU-ADD-* id"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Commerce Contract Price"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/commerce/contract":{"get":{"tags":["commerce-contract"],"summary":"Contract","description":"What a product may rely on. Published so no product has to read this file.","operationId":"commerce_contract_self_description","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Commerce Contract Self Description"}}}}}}},"/api/v1/ask/door":{"get":{"tags":["ask-door"],"summary":"Read Ask Door","description":"Everything the door screen is allowed to say, and nothing it is not.","operationId":"read_ask_door_api_v1_ask_door_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Ask Door Api V1 Ask Door Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/door/handoff":{"post":{"tags":["ask-door"],"summary":"Door Handoff","description":"R28 and R29: a receipt, not a second Ask, and never a spend.","operationId":"door_handoff_api_v1_ask_door_handoff_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ask_door_routes__HandoffBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Door Handoff Api V1 Ask Door Handoff Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/door/purchase-intent":{"post":{"tags":["ask-door"],"summary":"Door Purchase Intent","description":"Open one purchase attempt, idempotently, or refuse to open any.\n\nRefusing is the common case right now: with no purchasable offer there is\nnothing to agree to, and a dummy checkout in its place is what R30 rejects.","operationId":"door_purchase_intent_api_v1_ask_door_purchase_intent_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseIntentBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Door Purchase Intent Api V1 Ask Door Purchase Intent Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/door/returned-from-checkout":{"post":{"tags":["ask-door"],"summary":"Door Returned From Checkout","description":"The learner came back. That is all this endpoint can ever mean.\n\nIt has no write path on purpose. R30 rejects navigation success as payment\nsuccess, and the surest way to hold that line is for the route the browser\ncan reach to be incapable of moving money state.","operationId":"door_returned_from_checkout_api_v1_ask_door_returned_from_checkout_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Door Returned From Checkout Api V1 Ask Door Returned From Checkout Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/door/operator/reconciliation":{"get":{"tags":["ask-door"],"summary":"Door Reconciliation","operationId":"door_reconciliation_api_v1_ask_door_operator_reconciliation_get","parameters":[{"name":"older_than_minutes","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Older Than Minutes"}},{"name":"X-Ops-Key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Door Reconciliation Api V1 Ask Door Operator Reconciliation Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/door/operator/advance":{"post":{"tags":["ask-door"],"summary":"Door Advance","description":"Move one attempt, under the machine's rules and nobody's judgement.\n\nBehind the operator key rather than the learner's session, and still refused\nwhen the move is illegal -- an operator correcting a stuck row must not be\nable to declare somebody activated who never paid.","operationId":"door_advance_api_v1_ask_door_operator_advance_post","parameters":[{"name":"X-Ops-Key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvanceBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Door Advance Api V1 Ask Door Operator Advance Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/turns/{turn_id}/practice":{"post":{"tags":["ask-practice"],"summary":"Propose Practice","description":"Offer scored practice for this answer, once. A repeat returns the same slip.","operationId":"ask_turn_practice_propose","parameters":[{"name":"turn_id","in":"path","required":true,"schema":{"type":"string","title":"Turn Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Ask Turn Practice Propose"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["ask-practice"],"summary":"Read Turn Practice","description":"The slip already offered for this answer, so a learner who comes back to\nthe answer finds the offer (or the result) where they left it. `slip` is\nnull when none was offered -- which is not an error.","operationId":"ask_turn_practice_read","parameters":[{"name":"turn_id","in":"path","required":true,"schema":{"type":"string","title":"Turn Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Ask Turn Practice Read"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/practice/{handoff_id}":{"get":{"tags":["ask-practice"],"summary":"Read Practice","description":"The slip as it stands, completing it only if the destination says so.","operationId":"ask_practice_read","parameters":[{"name":"handoff_id","in":"path","required":true,"schema":{"type":"string","title":"Handoff Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Ask Practice Read"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/practice/{handoff_id}/start":{"post":{"tags":["ask-practice"],"summary":"Start Practice","description":"The learner is going. Returns exactly what the drill must carry so its\nresult can find its way back here.","operationId":"ask_practice_start","parameters":[{"name":"handoff_id","in":"path","required":true,"schema":{"type":"string","title":"Handoff Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Ask Practice Start"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/practice/{handoff_id}/decline":{"post":{"tags":["ask-practice"],"summary":"Decline Practice","description":"No thanks. A real answer that costs nothing and changes nothing else.","operationId":"ask_practice_decline","parameters":[{"name":"handoff_id","in":"path","required":true,"schema":{"type":"string","title":"Handoff Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Ask Practice Decline"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/turns/{turn_id}/acknowledge":{"post":{"tags":["ask-thread"],"summary":"Acknowledge Turn","description":"Say what an answer was worth. This is the only thing that pays.\n\nReward fires here and never at generation: producing text is something we\ndid; being helped is something the learner experienced.","operationId":"ask_turn_acknowledge","parameters":[{"name":"turn_id","in":"path","required":true,"schema":{"type":"string","title":"Turn Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ask_thread_routes__AcknowledgeBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/turns/{turn_id}/correction":{"post":{"tags":["ask-thread"],"summary":"Correct Turn","description":"Keep the legacy alias subject to canonical correction authority.","operationId":"ask_turn_correction","parameters":[{"name":"turn_id","in":"path","required":true,"schema":{"type":"string","title":"Turn Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ask_thread_routes__CorrectionBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/turns/{turn_id}/corrections/{correction_id}":{"get":{"tags":["ask-thread"],"summary":"Read Correction","description":"Read one exact current Ask correction and its source-owned lineage.","operationId":"ask_image_correction_read","parameters":[{"name":"turn_id","in":"path","required":true,"schema":{"type":"string","title":"Turn Id"}},{"name":"correction_id","in":"path","required":true,"schema":{"type":"string","title":"Correction Id"}},{"name":"correction_version","in":"query","required":true,"schema":{"type":"integer","minimum":1,"title":"Correction Version"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/threads/{thread_id}/export":{"get":{"tags":["ask-thread"],"summary":"Export","description":"Hand the learner their own thread, as a file.\n\nA download, not a JSON body, because the point is that they can keep it.","operationId":"ask_thread_export","parameters":[{"name":"thread_id","in":"path","required":true,"schema":{"type":"string","title":"Thread Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/source/{turn_id}/{claim_id}":{"get":{"tags":["ask-thread"],"summary":"Read Claim Source","description":"What backs one sentence of one answer.\n\nTHIS IS THE SCREEN THE WHOLE PRODUCT'S HONESTY RESTS ON. A learner who\ndoubts a sentence should be able to open the passage it came from and read\nit themselves. Everything else -- the trust band, the citation chip, the\nword \"grounded\" -- is a promise that this screen can be opened.\n\nToday it cannot be fully kept, and the honest thing is to say which part.\nClaim-level passages do not exist yet (EXT-ASK-CONTENT-VERIFIER is open),\nso a claim carries the refs its release recorded and no quoted passage. The\nresponse names that as `passage_state: \"no_claim_level_passage\"` rather\nthan returning an empty list, because an empty list reads as \"this claim\nhas no sources\" -- a much stronger and different statement.","operationId":"ask_claim_source","parameters":[{"name":"turn_id","in":"path","required":true,"schema":{"type":"string","title":"Turn Id"}},{"name":"claim_id","in":"path","required":true,"schema":{"type":"string","title":"Claim Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/source-read-requests":{"post":{"tags":["ask-thread"],"summary":"Issue Claim Source Read Request","description":"Publish one explicit source-owned read request; reference GETs never issue it.","operationId":"ask_source_read_request_issue","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceReadRequestBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/source-read-requests/{request_id}":{"get":{"tags":["ask-thread"],"summary":"Read Current Source Read Request","operationId":"ask_source_read_request_current","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}},{"name":"expected_resource_version","in":"query","required":true,"schema":{"type":"integer","minimum":1,"title":"Expected Resource Version"}},{"name":"turn_id","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":200,"title":"Turn Id"}},{"name":"claim_id","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":200,"title":"Claim Id"}},{"name":"claim_version_id","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":200,"title":"Claim Version Id"}},{"name":"claim_resource_version","in":"query","required":true,"schema":{"type":"integer","minimum":1,"title":"Claim Resource Version"}},{"name":"turn_version_id","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":200,"title":"Turn Version Id"}},{"name":"answer_release_id","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":200,"title":"Answer Release Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/turns/{turn_id}/claims/{claim_id}/source-read-confirmations":{"post":{"tags":["ask-thread"],"summary":"Confirm Claim Source Read","operationId":"ask_claim_source_read_confirm","parameters":[{"name":"turn_id","in":"path","required":true,"schema":{"type":"string","title":"Turn Id"}},{"name":"claim_id","in":"path","required":true,"schema":{"type":"string","title":"Claim Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceReadConfirmBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/boundary":{"get":{"tags":["ask-thread"],"summary":"Boundary Note","description":"What we can honestly tell someone who has just disclosed something.\n\nRead from the environment at request time, not from a stored record. What\nmatters to a frightened person is whether anyone can be reached NOW -- and\na note that was accurate when it was written, served from a row an hour\nlater, would promise a responder who is no longer reachable.\n\nDeliberately takes no text and reads none. The classification is enough for\na person to reach out, and this endpoint exists so the screen can be opened\nagain later without the disclosure being stored anywhere to reopen it from.","operationId":"ask_boundary_note","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/debates/availability":{"get":{"tags":["ask-thread"],"summary":"Debate Availability","description":"Whether this learner may debate, and what they see if not.\n\nLocked returns the specimen with it. Someone who cannot use the mode judges\nit from a real sourced exchange rather than from a blur.","operationId":"ask_debate_availability","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/debates":{"post":{"tags":["ask-thread"],"summary":"Start Debate","description":"Open a debate, or record why it cannot be argued honestly.\n\nEvidence is not taken from the request. A caller that could hand in its own\nsources could hand in none and still be argued with, which is the exact\nfailure `ask_debate` exists to prevent -- so the passages are looked up\nhere, from the corpus, and today there are none to find.","operationId":"ask_debate_start","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DebateBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/clarifications":{"get":{"tags":["ask-saved-clarifications"],"summary":"List Clarifications","operationId":"list_clarifications_api_v1_ask_clarifications_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Clarifications Api V1 Ask Clarifications Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/clarifications/{clarification_id}":{"get":{"tags":["ask-saved-clarifications"],"summary":"Get Clarification","operationId":"get_clarification_api_v1_ask_clarifications__clarification_id__get","parameters":[{"name":"clarification_id","in":"path","required":true,"schema":{"type":"string","title":"Clarification Id"}},{"name":"expected_resource_version","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"title":"Expected Resource Version"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Clarification Api V1 Ask Clarifications  Clarification Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/clarifications/{clarification_id}/responses":{"post":{"tags":["ask-saved-clarifications"],"summary":"Respond To Clarification","operationId":"respond_to_clarification_api_v1_ask_clarifications__clarification_id__responses_post","parameters":[{"name":"clarification_id","in":"path","required":true,"schema":{"type":"string","title":"Clarification Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ask_clarifications__models__ClarificationResponse"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Respond To Clarification Api V1 Ask Clarifications  Clarification Id  Responses Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/ask/turns/{turn_id}/clarifications":{"post":{"tags":["ask-saved-clarifications-internal"],"summary":"Issue Clarification","description":"Ask service issues a saved clarification for an exact current turn version.","operationId":"issue_clarification_internal_v1_ask_turns__turn_id__clarifications_post","parameters":[{"name":"turn_id","in":"path","required":true,"schema":{"type":"string","title":"Turn Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ask_clarifications__models__ClarificationIssue"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Issue Clarification Internal V1 Ask Turns  Turn Id  Clarifications Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/ask/clarifications/{clarification_id}/revoke":{"post":{"tags":["ask-saved-clarifications-internal"],"summary":"Revoke Clarification","operationId":"revoke_clarification_internal_v1_ask_clarifications__clarification_id__revoke_post","parameters":[{"name":"clarification_id","in":"path","required":true,"schema":{"type":"string","title":"Clarification Id"}},{"name":"expected_resource_version","in":"query","required":true,"schema":{"type":"integer","title":"Expected Resource Version"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Revoke Clarification Internal V1 Ask Clarifications  Clarification Id  Revoke Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/releases/{release_id}":{"get":{"tags":["ask-release-receiver"],"summary":"Read Exact Release","description":"Return one current exact release to its authenticated Ask owner only.","operationId":"ask_exact_release_read","parameters":[{"name":"release_id","in":"path","required":true,"schema":{"type":"string","title":"Release Id"}},{"name":"turn_id","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":160,"title":"Turn Id"}},{"name":"turn_version","in":"query","required":true,"schema":{"type":"integer","minimum":1,"title":"Turn Version"}},{"name":"release_digest","in":"query","required":true,"schema":{"type":"string","minLength":64,"maxLength":64,"pattern":"^[0-9a-f]{64}$","title":"Release Digest"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Ask Exact Release Read"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/threads/{thread_id}/versions":{"get":{"tags":["ask-history"],"summary":"Thread Versions","operationId":"ask_thread_versions","parameters":[{"name":"thread_id","in":"path","required":true,"schema":{"type":"string","title":"Thread Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Ask Thread Versions"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/operator/routes":{"get":{"tags":["ask-operator"],"summary":"Route Receipts","description":"R23 SYS-01. Where an answer went, whether it fell back, what it cost.\n\nThe column list is the rejection. `input_custody_ref` and `input_digest`\nidentify the question; neither reveals it, and the question's text is not in\nthis table to select in the first place. No provider credential is read here\nunder any name.","operationId":"route_receipts_api_v1_ask_operator_routes_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"X-Ops-Key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Route Receipts Api V1 Ask Operator Routes Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/operator/claims":{"get":{"tags":["ask-operator"],"summary":"Verification Desk","description":"R24 SYS-02. Claim by claim, with the evidence joins.\n\n`source_support` is the reading -- SUPPORTED, PARTIAL, UNSUPPORTED,\nNOT_REQUIRED -- and there is deliberately no confidence number anywhere in\nthis projection. A single score invites \"0.86, ship it\"; a list of claims\nwith one marked UNSUPPORTED forces somebody to look at that claim.","operationId":"verification_desk_api_v1_ask_operator_claims_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"X-Ops-Key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Verification Desk Api V1 Ask Operator Claims Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/operator/privacy":{"get":{"tags":["ask-operator"],"summary":"Privacy Ledger","description":"R25 SYS-03. Purpose, categories, retention, and what a revoke actually did.\n\nReads the custody store, which is the thing that knows what was collected\nand for how long. The body is encrypted and is not selected: this surface\nexists to show that a purpose and an expiry were bound, not to read what was\nbound under them.","operationId":"privacy_ledger_api_v1_ask_operator_privacy_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"X-Ops-Key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Privacy Ledger Api V1 Ask Operator Privacy Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/operator/incidents":{"get":{"tags":["ask-operator"],"summary":"Provider Incidents","description":"R26 SYS-04. The learner-safe status beside the operator detail.\n\nBuilt from held and cancelled jobs, because that is what an incident looks\nlike from the learner's side: an answer that did not arrive. The\nlearner-facing sentence is composed here and never names a supplier -- a\nstudent cannot act on which vendor is unwell, and telling them is a leak\ndressed as transparency.","operationId":"provider_incidents_api_v1_ask_operator_incidents_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"X-Ops-Key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Provider Incidents Api V1 Ask Operator Incidents Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/operator/surfaces":{"get":{"tags":["ask-operator"],"summary":"Surface Index","description":"The four surfaces and, in each case, what it is not allowed to show.\n\nPublished rather than kept in a spec, so the boundary is checkable by\nanybody -- including a test that asserts a surface never grew a field.","operationId":"surface_index_api_v1_ask_operator_surfaces_get","parameters":[{"name":"X-Ops-Key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"array","items":{"type":"object","additionalProperties":{"type":"string"}}},"title":"Response Surface Index Api V1 Ask Operator Surfaces Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/operator/monitoring":{"get":{"tags":["ask-operator"],"summary":"Automation Monitoring","description":"D07.S08 read-only diagnostics. No sampling, thresholding, or write action.","operationId":"automation_monitoring_api_v1_ask_operator_monitoring_get","parameters":[{"name":"start_at","in":"query","required":true,"schema":{"type":"string","format":"date-time","description":"Inclusive ISO-8601 timestamp with UTC offset","title":"Start At"},"description":"Inclusive ISO-8601 timestamp with UTC offset"},{"name":"end_at","in":"query","required":true,"schema":{"type":"string","format":"date-time","description":"Exclusive ISO-8601 timestamp with UTC offset","title":"End At"},"description":"Exclusive ISO-8601 timestamp with UTC offset"},{"name":"baseline_start_at","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Optional comparison window start, with UTC offset","title":"Baseline Start At"},"description":"Optional comparison window start, with UTC offset"},{"name":"baseline_end_at","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Optional comparison window end, with UTC offset","title":"Baseline End At"},"description":"Optional comparison window end, with UTC offset"},{"name":"X-Ops-Key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Automation Monitoring Api V1 Ask Operator Monitoring Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/catalogue/products":{"get":{"tags":["commerce-v1-contracts"],"summary":"Catalogue Products","description":"Public-safe canonical catalogue; unpublished offers never appear.","operationId":"catalogue_products_api_v1_catalogue_products_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/products/{product_id}/offers":{"get":{"tags":["commerce-v1-contracts"],"summary":"Product Offers","operationId":"product_offers_api_v1_products__product_id__offers_get","parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"string","title":"Product Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/checkouts/{checkout_id}":{"get":{"tags":["commerce-v1-contracts"],"summary":"Checkout Readback","operationId":"checkout_readback_api_v1_checkouts__checkout_id__get","parameters":[{"name":"checkout_id","in":"path","required":true,"schema":{"type":"string","title":"Checkout Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/invoices/{invoice_id}":{"get":{"tags":["commerce-v1-contracts"],"summary":"Invoice Readback","operationId":"invoice_readback_api_v1_billing_invoices__invoice_id__get","parameters":[{"name":"invoice_id","in":"path","required":true,"schema":{"type":"string","title":"Invoice Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/subscription":{"get":{"tags":["commerce-v1-contracts"],"summary":"Subscription Readback","operationId":"subscription_readback_api_v1_billing_subscription_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/tokens":{"get":{"tags":["commerce-v1-contracts"],"summary":"Token Balance Readback","operationId":"token_balance_readback_api_v1_billing_tokens_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/checkouts":{"post":{"tags":["commerce-v1-contracts"],"summary":"Canonical Checkout","operationId":"canonical_checkout_api_v1_checkouts_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/sysimp_pr01_routes__CheckoutBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/payments/provider-return":{"post":{"tags":["commerce-v1-contracts"],"summary":"Canonical Provider Return","operationId":"canonical_provider_return_api_v1_payments_provider_return_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderReturnAliasBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/webhooks/{provider}":{"post":{"tags":["commerce-v1-contracts"],"summary":"Verified Provider Webhook","description":"Retired preverified-facts ingress; admin identity is not provider proof.\n\nServer adapters call the command in process after verification. HTTP callers\nmust use the raw signed provider ingress, which derives the facts itself.","operationId":"verified_provider_webhook_api_v1_webhooks__provider__post","parameters":[{"name":"provider","in":"path","required":true,"schema":{"enum":["razorpay"],"const":"razorpay","type":"string","title":"Provider"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifiedPaymentBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/commerce/access/{product_id}/{capability}":{"get":{"tags":["commerce-v1"],"summary":"Commerce Access","operationId":"commerce_access_api_v1_commerce_access__product_id___capability__get","parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"string","title":"Product Id"}},{"name":"capability","in":"path","required":true,"schema":{"type":"string","title":"Capability"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/commerce/object-access":{"post":{"tags":["commerce-v1"],"summary":"Object Access","operationId":"object_access_api_v1_commerce_object_access_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObjectAccessBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/commerce/object-offers":{"post":{"tags":["commerce-v1"],"summary":"Object Offers","operationId":"object_offers_api_v1_commerce_object_offers_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObjectOfferDiscoveryBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/commerce/checkouts":{"post":{"tags":["commerce-v1"],"summary":"Checkout","operationId":"checkout_api_v1_commerce_checkouts_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/sysimp_pr01_routes__CheckoutBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/commerce/checkouts/{checkout_id}/provider-return":{"post":{"tags":["commerce-v1"],"summary":"Provider Return","operationId":"provider_return_api_v1_commerce_checkouts__checkout_id__provider_return_post","parameters":[{"name":"checkout_id","in":"path","required":true,"schema":{"type":"string","title":"Checkout Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderReturnBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/commerce/tokens/reservations":{"post":{"tags":["commerce-v1"],"summary":"Token Reserve","operationId":"token_reserve_api_v1_commerce_tokens_reservations_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenReserveBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/commerce/tokens/reservations/{reservation_id}/{action}":{"post":{"tags":["commerce-v1"],"summary":"Token Settle","operationId":"token_settle_api_v1_commerce_tokens_reservations__reservation_id___action__post","parameters":[{"name":"reservation_id","in":"path","required":true,"schema":{"type":"string","title":"Reservation Id"}},{"name":"action","in":"path","required":true,"schema":{"enum":["commit","release"],"type":"string","title":"Action"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/commerce/payments/{payment_id}/refund-operations":{"post":{"tags":["commerce-v1-admin"],"summary":"Initiate Refund","operationId":"initiate_refund_api_v1_admin_commerce_payments__payment_id__refund_operations_post","parameters":[{"name":"payment_id","in":"path","required":true,"schema":{"type":"string","title":"Payment Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefundIntentBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/commerce/refund-operations/{operation_id}":{"get":{"tags":["commerce-v1-admin"],"summary":"Read Refund Operation","operationId":"read_refund_operation_api_v1_admin_commerce_refund_operations__operation_id__get","parameters":[{"name":"operation_id","in":"path","required":true,"schema":{"type":"string","title":"Operation Id"}},{"name":"owner_id","in":"query","required":true,"schema":{"type":"string","title":"Owner Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/commerce/refund-operations/{operation_id}/reconcile":{"post":{"tags":["commerce-v1-admin"],"summary":"Reconcile Refund","operationId":"reconcile_refund_api_v1_admin_commerce_refund_operations__operation_id__reconcile_post","parameters":[{"name":"operation_id","in":"path","required":true,"schema":{"type":"string","title":"Operation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefundOperationBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/commerce/offers":{"post":{"tags":["commerce-v1-admin"],"summary":"Publish Offer","operationId":"publish_offer_api_v1_admin_commerce_offers_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublishOfferBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/commerce/offers/{offer_version_id}/withdraw-scope":{"post":{"tags":["commerce-v1-admin"],"summary":"Withdraw Scope","operationId":"withdraw_scope_api_v1_admin_commerce_offers__offer_version_id__withdraw_scope_post","parameters":[{"name":"offer_version_id","in":"path","required":true,"schema":{"type":"string","title":"Offer Version Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WithdrawScopeBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/commerce/payments/verified":{"post":{"tags":["commerce-v1-admin"],"summary":"Payment Verified","description":"Never allow an operator to mint verified payment facts over HTTP.\n\nThe canonical raw webhook adapter verifies signatures and stored provider\norder bindings before calling apply_verified_payment in its transaction.\nKeep this explicit tombstone for old clients rather than silently rerouting\ntheir self-attested facts or treating an admin session as payment authority.","operationId":"payment_verified_api_v1_admin_commerce_payments_verified_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifiedPaymentBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/commerce/payments/{payment_id}/issued-invoice":{"post":{"tags":["commerce-v1-admin"],"summary":"Issued Invoice","description":"Finance-only receipt attachment, separate from provider capture and activation.","operationId":"issued_invoice_api_v1_admin_commerce_payments__payment_id__issued_invoice_post","parameters":[{"name":"payment_id","in":"path","required":true,"schema":{"type":"string","title":"Payment Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IssuedInvoiceBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/commerce/recurring-charges/{charge_cycle_id}/issued-invoice":{"post":{"tags":["commerce-v1-admin"],"summary":"Recurring Issued Invoice","description":"Issue the exact cycle invoice, then grant its frozen period manifest.","operationId":"recurring_issued_invoice_api_v1_admin_commerce_recurring_charges__charge_cycle_id__issued_invoice_post","parameters":[{"name":"charge_cycle_id","in":"path","required":true,"schema":{"type":"string","title":"Charge Cycle Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecurringIssuedInvoiceBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/commerce/payment-reconciliation/{event_id}":{"get":{"tags":["commerce-v1-admin"],"summary":"Payment Reconciliation Receipt","description":"Operator-only custody read; never replay settlement or expose raw proof.","operationId":"payment_reconciliation_receipt_api_v1_admin_commerce_payment_reconciliation__event_id__get","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/commerce/payment-reconciliation/{event_id}/confirm-refund":{"post":{"tags":["commerce-v1-admin"],"summary":"Confirm Recovery Refund","operationId":"confirm_recovery_refund_api_v1_admin_commerce_payment_reconciliation__event_id__confirm_refund_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecoveryRefundBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/commerce/activations/verified":{"post":{"tags":["commerce-v1-admin"],"summary":"Activation Verified","operationId":"activation_verified_api_v1_admin_commerce_activations_verified_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActivationBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/commerce/payment-corrections":{"post":{"tags":["commerce-v1-admin"],"summary":"Payment Correction","operationId":"payment_correction_api_v1_admin_commerce_payment_corrections_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentCorrectionBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/commerce/events/project":{"post":{"tags":["commerce-v1-admin"],"summary":"Project Commerce Events","operationId":"project_commerce_events_api_v1_admin_commerce_events_project_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventProjectionRunBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/commerce/events/receipts/{projection_receipt_id}":{"get":{"tags":["commerce-v1-admin"],"summary":"Read Commerce Projection Receipt","operationId":"read_commerce_projection_receipt_api_v1_admin_commerce_events_receipts__projection_receipt_id__get","parameters":[{"name":"projection_receipt_id","in":"path","required":true,"schema":{"type":"string","title":"Projection Receipt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/commerce/events/receipts/{projection_receipt_id}/replay":{"post":{"tags":["commerce-v1-admin"],"summary":"Replay Commerce Projection Receipt","operationId":"replay_commerce_projection_receipt_api_v1_admin_commerce_events_receipts__projection_receipt_id__replay_post","parameters":[{"name":"projection_receipt_id","in":"path","required":true,"schema":{"type":"string","title":"Projection Receipt Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":160,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/commerce/operator/skus/activate":{"post":{"tags":["commerce-v1-admin"],"summary":"Operator Activate Sku","operationId":"operator_activate_sku_api_v1_admin_commerce_operator_skus_activate_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperatorActivateBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/commerce/operator/skus/deactivate":{"post":{"tags":["commerce-v1-admin"],"summary":"Operator Deactivate Sku","operationId":"operator_deactivate_sku_api_v1_admin_commerce_operator_skus_deactivate_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperatorSkuBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/commerce/operator/access/grant":{"post":{"tags":["commerce-v1-admin"],"summary":"Operator Grant Access","operationId":"operator_grant_access_api_v1_admin_commerce_operator_access_grant_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperatorGrantBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/commerce/operator/access/revoke":{"post":{"tags":["commerce-v1-admin"],"summary":"Operator Revoke Access","operationId":"operator_revoke_access_api_v1_admin_commerce_operator_access_revoke_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperatorRevokeBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/commerce/operator/access/status":{"get":{"tags":["commerce-v1-admin"],"summary":"Operator Access State","description":"Read-only. SKU/product state, and for a named account its operator grants plus the live access decision.","operationId":"operator_access_state_api_v1_admin_commerce_operator_access_status_get","parameters":[{"name":"sku_id","in":"query","required":true,"schema":{"type":"string","title":"Sku Id"}},{"name":"student_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/commerce/institution/allocations":{"post":{"tags":["Commerce institution allocation"],"summary":"Allocate","operationId":"allocate_api_v1_commerce_institution_allocations_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AllocationRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/commerce/institution/allocations/{allocation_id}/revoke":{"post":{"tags":["Commerce institution allocation"],"summary":"Revoke","operationId":"revoke_api_v1_commerce_institution_allocations__allocation_id__revoke_post","parameters":[{"name":"allocation_id","in":"path","required":true,"schema":{"type":"string","title":"Allocation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RevocationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/commerce/institution/access":{"post":{"tags":["Commerce institution allocation"],"summary":"Institutional Access","description":"Authenticated beneficiary decision only; no caller may nominate another learner.","operationId":"institutional_access_api_v1_commerce_institution_access_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InstitutionalAccessRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/commerce/checkouts/{checkout_id}/provider-order":{"post":{"tags":["commerce-provider-job1064"],"summary":"Create Provider Order","description":"Create exactly one server-owned Razorpay order for a pinned checkout.","operationId":"create_provider_order_api_v1_commerce_checkouts__checkout_id__provider_order_post","parameters":[{"name":"checkout_id","in":"path","required":true,"schema":{"type":"string","title":"Checkout Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/commerce/checkouts/{checkout_id}/provider-order/reconcile":{"post":{"tags":["commerce-provider-job1064"],"summary":"Reconcile Provider Order","description":"Look up a possibly-created order by its durable receipt; never POST again.","operationId":"reconcile_provider_order_api_v1_commerce_checkouts__checkout_id__provider_order_reconcile_post","parameters":[{"name":"checkout_id","in":"path","required":true,"schema":{"type":"string","title":"Checkout Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/commerce/checkouts/{checkout_id}/provider-subscription":{"post":{"tags":["commerce-provider-job1064"],"summary":"Create Provider Subscription","description":"Create exactly one server-owned Razorpay subscription for a pinned checkout.","operationId":"create_provider_subscription_api_v1_commerce_checkouts__checkout_id__provider_subscription_post","parameters":[{"name":"checkout_id","in":"path","required":true,"schema":{"type":"string","title":"Checkout Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/commerce/checkouts/{checkout_id}/provider-subscription/reconcile":{"post":{"tags":["commerce-provider-job1064"],"summary":"Reconcile Provider Subscription","description":"Recover an uncertain create by server custody; never POST a second subscription.","operationId":"reconcile_provider_subscription_api_v1_commerce_checkouts__checkout_id__provider_subscription_reconcile_post","parameters":[{"name":"checkout_id","in":"path","required":true,"schema":{"type":"string","title":"Checkout Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/commerce/operator/recurring-subscription-remediations/{remediation_id}/claim":{"post":{"tags":["commerce-provider-job1064"],"summary":"Claim Recurring Subscription Remediation","description":"Assign a stranded provider subscription to one authenticated operator.","operationId":"claim_recurring_subscription_remediation_api_v1_commerce_operator_recurring_subscription_remediations__remediation_id__claim_post","parameters":[{"name":"remediation_id","in":"path","required":true,"schema":{"type":"string","title":"Remediation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/commerce/operator/recurring-subscription-remediations/{remediation_id}/cancel":{"post":{"tags":["commerce-provider-job1064"],"summary":"Cancel Recurring Subscription Remediation","description":"Cancel the exact custodied Razorpay subscription; no client ID is read.","operationId":"cancel_recurring_subscription_remediation_api_v1_commerce_operator_recurring_subscription_remediations__remediation_id__cancel_post","parameters":[{"name":"remediation_id","in":"path","required":true,"schema":{"type":"string","title":"Remediation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/commerce/operator/recurring-subscription-remediations/{remediation_id}/cancel/reconcile":{"post":{"tags":["commerce-provider-job1064"],"summary":"Reconcile Recurring Subscription Remediation Cancellation","description":"GET-only recovery for an uncertain cancellation. It never reissues DELETE/POST.","operationId":"reconcile_recurring_subscription_remediation_cancellation_api_v1_commerce_operator_recurring_subscription_remediations__remediation_id__cancel_reconcile_post","parameters":[{"name":"remediation_id","in":"path","required":true,"schema":{"type":"string","title":"Remediation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/commerce/provider-webhooks/razorpay":{"post":{"tags":["commerce-provider-job1064"],"summary":"Canonical Razorpay Webhook","description":"Raw signed ingress. Browser/client supplied verification is never accepted.\n\nUses only the orders secret (``RAZORPAY_WEBHOOK_SECRET_ORDERS``, else the\nshared ``RAZORPAY_WEBHOOK_SECRET``).  A captured payment is confirmed with an\nindependent provider read before anything is granted.","operationId":"canonical_razorpay_webhook_api_v1_commerce_provider_webhooks_razorpay_post","parameters":[{"name":"x-razorpay-signature","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Razorpay-Signature"}},{"name":"x-razorpay-event-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Razorpay-Event-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/commerce/provider-webhooks/razorpay-subscriptions":{"post":{"tags":["commerce-provider-job1064"],"summary":"Canonical Razorpay Subscription Webhook","description":"Settle signed recurring events without using the legacy subscription path.","operationId":"canonical_razorpay_subscription_webhook_api_v1_commerce_provider_webhooks_razorpay_subscriptions_post","parameters":[{"name":"x-razorpay-signature","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Razorpay-Signature"}},{"name":"x-razorpay-event-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Razorpay-Event-Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/commerce/quotes/{quote_id}":{"get":{"tags":["commerce-quotes"],"summary":"Read Buyer Quote","description":"Buyer-only review projection; operator and withdrawal custody stay private.","operationId":"read_buyer_quote_api_v1_commerce_quotes__quote_id__get","parameters":[{"name":"quote_id","in":"path","required":true,"schema":{"type":"string","title":"Quote Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/commerce/quotes/requests":{"post":{"tags":["commerce-quotes"],"summary":"Create Quote Request","operationId":"create_quote_request_api_v1_commerce_quotes_requests_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteRequestBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/commerce/quotes/requests/{quote_request_id}/withdraw":{"post":{"tags":["commerce-quotes"],"summary":"Withdraw Buyer Request","operationId":"withdraw_buyer_request_api_v1_commerce_quotes_requests__quote_request_id__withdraw_post","parameters":[{"name":"quote_request_id","in":"path","required":true,"schema":{"type":"string","title":"Quote Request Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/commerce/quotes/{quote_id}/accept":{"post":{"tags":["commerce-quotes"],"summary":"Buyer Accept Quote","operationId":"buyer_accept_quote_api_v1_commerce_quotes__quote_id__accept_post","parameters":[{"name":"quote_id","in":"path","required":true,"schema":{"type":"string","title":"Quote Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/commerce/quotes/{quote_id}/checkout":{"post":{"tags":["commerce-quotes"],"summary":"Checkout Accepted Quote","operationId":"checkout_accepted_quote_api_v1_commerce_quotes__quote_id__checkout_post","parameters":[{"name":"quote_id","in":"path","required":true,"schema":{"type":"string","title":"Quote Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteCheckoutBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/commerce/quotes/percentage-estimate":{"post":{"tags":["commerce-quotes-admin"],"summary":"Estimate Percentage Fee","description":"Operator calculation only: no quote, charge, worker funding or access.","operationId":"estimate_percentage_fee_api_v1_admin_commerce_quotes_percentage_estimate_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PercentageEstimateBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/commerce/quotes":{"post":{"tags":["commerce-quotes-admin"],"summary":"Create Quote","operationId":"create_quote_api_v1_admin_commerce_quotes_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IssueQuoteBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/commerce/quotes/{quote_id}/withdraw":{"post":{"tags":["commerce-quotes-admin"],"summary":"Withdraw Operator Quote","operationId":"withdraw_operator_quote_api_v1_admin_commerce_quotes__quote_id__withdraw_post","parameters":[{"name":"quote_id","in":"path","required":true,"schema":{"type":"string","title":"Quote Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/commerce_quote_routes__WithdrawBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/commerce/my/purchases":{"get":{"tags":["commerce-purchases"],"summary":"My Purchases","operationId":"my_purchases_api_v1_commerce_my_purchases_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response My Purchases Api V1 Commerce My Purchases Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/commerce/offers/held":{"get":{"tags":["commerce-purchases"],"summary":"Held Offers","operationId":"held_offers_api_v1_commerce_offers_held_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Held Offers Api V1 Commerce Offers Held Get"}}}}}}},"/api/v1/commerce/offers/by-sku/{sku_id}":{"get":{"tags":["commerce-purchases"],"summary":"Offer By Sku","operationId":"offer_by_sku_api_v1_commerce_offers_by_sku__sku_id__get","parameters":[{"name":"sku_id","in":"path","required":true,"schema":{"type":"string","title":"Sku Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Offer By Sku Api V1 Commerce Offers By Sku  Sku Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/commerce/held-offers/publish":{"post":{"tags":["commerce-held-offers-admin"],"summary":"Publish Held","operationId":"publish_held_api_v1_admin_commerce_held_offers_publish_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublishHeldOfferBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/predictions/telemetry/project":{"post":{"tags":["predimp-telemetry-operator"],"summary":"Run Projection","operationId":"run_projection_api_v1_admin_predictions_telemetry_project_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectionRunRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Run Projection Api V1 Admin Predictions Telemetry Project Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/predictions/telemetry/receipts/{projection_receipt_id}":{"get":{"tags":["predimp-telemetry-operator"],"summary":"Read Projection Receipt","operationId":"read_projection_receipt_api_v1_admin_predictions_telemetry_receipts__projection_receipt_id__get","parameters":[{"name":"projection_receipt_id","in":"path","required":true,"schema":{"type":"string","title":"Projection Receipt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Projection Receipt Api V1 Admin Predictions Telemetry Receipts  Projection Receipt Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/predictions/telemetry/receipts/{projection_receipt_id}/replay":{"post":{"tags":["predimp-telemetry-operator"],"summary":"Replay Projection Receipt","operationId":"replay_projection_receipt_api_v1_admin_predictions_telemetry_receipts__projection_receipt_id__replay_post","parameters":[{"name":"projection_receipt_id","in":"path","required":true,"schema":{"type":"string","title":"Projection Receipt Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":160,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Replay Projection Receipt Api V1 Admin Predictions Telemetry Receipts  Projection Receipt Id  Replay Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/single-rank-report/offer/{student_id}":{"get":{"tags":["single-rank-report"],"summary":"Get Single Rank Report Offer","operationId":"get_single_rank_report_offer_api_v1_single_rank_report_offer__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/single-rank-report/preview/{student_id}":{"get":{"tags":["single-rank-report"],"summary":"Get Single Rank Report Preview","description":"A labelled preview built from the current released band. Not a bought report.","operationId":"get_single_rank_report_preview_api_v1_single_rank_report_preview__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/single-rank-report/purchase":{"post":{"tags":["single-rank-report"],"summary":"Purchase Single Rank Report","description":"Refuses (409) while payments are off or the door is not open; creates nothing then.\n\nBehind both switches (provider keys held AND door `active`): records one pending\norder for the student's released band and returns where to pay (the token-pay\ncheckout for the door SKU). The seal happens only when the webhook confirms the\npayment; this route never seals and never charges.","operationId":"purchase_single_rank_report_api_v1_single_rank_report_purchase_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SingleRankPurchaseBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/single-rank-report/order/{student_id}/{order_ref}":{"get":{"tags":["single-rank-report"],"summary":"Get Single Rank Report Order","description":"One of the student's own orders, as plain words. Owner-only. Moves no money.","operationId":"get_single_rank_report_order_api_v1_single_rank_report_order__student_id___order_ref__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"order_ref","in":"path","required":true,"schema":{"type":"string","title":"Order Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/single-rank-report/history/{student_id}":{"get":{"tags":["single-rank-report"],"summary":"Get Single Rank Report History","description":"Reports this student owns (owner-only). An empty list when none.","operationId":"get_single_rank_report_history_api_v1_single_rank_report_history__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/single-rank-report/{student_id}/{report_id}":{"get":{"tags":["single-rank-report"],"summary":"Get Single Rank Report Artifact","description":"One sealed report (owner-only). The owner check runs before any lookup.","operationId":"get_single_rank_report_artifact_api_v1_single_rank_report__student_id___report_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"report_id","in":"path","required":true,"schema":{"type":"string","title":"Report Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/single-rank-report/preview/{student_id}/pdf":{"get":{"tags":["single-rank-report"],"summary":"Get Single Rank Report Preview Pdf","description":"The preview as a PDF, stamped as not a bought report. 409 when there is no released band.","operationId":"get_single_rank_report_preview_pdf_api_v1_single_rank_report_preview__student_id__pdf_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/single-rank-report/{student_id}/{report_id}/pdf":{"get":{"tags":["single-rank-report"],"summary":"Get Single Rank Report Pdf","description":"A sealed report as a PDF (owner-only). Revoked reports answer 410 with the reason.","operationId":"get_single_rank_report_pdf_api_v1_single_rank_report__student_id___report_id__pdf_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"report_id","in":"path","required":true,"schema":{"type":"string","title":"Report Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/single-rank-report/{student_id}/{report_id}/refresh":{"post":{"tags":["single-rank-report"],"summary":"Refresh Single Rank Report","description":"Has my range moved since I bought? Writes nothing while payments are off.","operationId":"refresh_single_rank_report_api_v1_single_rank_report__student_id___report_id__refresh_post","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"report_id","in":"path","required":true,"schema":{"type":"string","title":"Report Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/rank/exam-coverage":{"get":{"tags":["predict_rank_exam_coverage"],"summary":"Exam Coverage","operationId":"predict_rank_exam_coverage_v1","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Predict Rank Exam Coverage V1"}}}}}}},"/api/v1/predict/rank/exam-populations":{"get":{"tags":["predict_rank_exam_populations"],"summary":"List Exam Populations","operationId":"predict_rank_exam_populations_v1","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Predict Rank Exam Populations V1"}}}}}}},"/api/v1/predict/rank/exam-populations/{exam_ref}":{"get":{"tags":["predict_rank_exam_populations"],"summary":"Resolve Exam Population","operationId":"predict_rank_exam_population_v1","parameters":[{"name":"exam_ref","in":"path","required":true,"schema":{"type":"string","title":"Exam Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Predict Rank Exam Population V1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/rank/exam-populations/{exam_ref}/band":{"get":{"tags":["predict_rank_exam_populations"],"summary":"Read Supported Band","operationId":"predict_rank_exam_population_band_v1","parameters":[{"name":"exam_ref","in":"path","required":true,"schema":{"type":"string","title":"Exam Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Predict Rank Exam Population Band V1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/rank/exam-populations/{exam_ref}/history":{"get":{"tags":["predict_rank_exam_populations"],"summary":"Read Exam History","operationId":"predict_rank_exam_history_v1","parameters":[{"name":"exam_ref","in":"path","required":true,"schema":{"type":"string","title":"Exam Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Predict Rank Exam History V1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/rank/exam-populations/{exam_ref}/score-bands":{"get":{"tags":["predict_rank_exam_populations"],"summary":"Read Score Bands","description":"The approved published table, as printed. Public: it is the exam body's own page, not a person's data.","operationId":"predict_rank_exam_score_bands_v1","parameters":[{"name":"exam_ref","in":"path","required":true,"schema":{"type":"string","title":"Exam Ref"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Predict Rank Exam Score Bands V1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/rank/exam-populations/{exam_ref}/score-bands/lookup":{"get":{"tags":["predict_rank_exam_populations"],"summary":"Lookup Score Band","description":"Which printed band the student's marks fall in. Signed in; one lookup that finds a band uses one prediction.","operationId":"predict_rank_exam_score_band_lookup_v1","parameters":[{"name":"exam_ref","in":"path","required":true,"schema":{"type":"string","title":"Exam Ref"}},{"name":"stream","in":"query","required":true,"schema":{"type":"string","title":"Stream"}},{"name":"marks","in":"query","required":true,"schema":{"type":"number","title":"Marks"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Predict Rank Exam Score Band Lookup V1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/rank/exam-populations/{exam_ref}/outcome-reports/status":{"get":{"tags":["predict_rank_exam_outcomes"],"summary":"Outcome Status","operationId":"predict_rank_exam_outcome_status_v1","parameters":[{"name":"exam_ref","in":"path","required":true,"schema":{"type":"string","title":"Exam Ref"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Predict Rank Exam Outcome Status V1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/rank/exam-populations/{exam_ref}/outcome-reports":{"post":{"tags":["predict_rank_exam_outcomes"],"summary":"Submit Outcome Report","operationId":"predict_rank_exam_outcome_report_v1","parameters":[{"name":"exam_ref","in":"path","required":true,"schema":{"type":"string","title":"Exam Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OutcomeReport"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Predict Rank Exam Outcome Report V1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/rank/exam-populations/{exam_ref}/outcome-reports/mine":{"get":{"tags":["predict_rank_exam_outcomes"],"summary":"My Outcome Reports","operationId":"predict_rank_exam_outcome_mine_v1","parameters":[{"name":"exam_ref","in":"path","required":true,"schema":{"type":"string","title":"Exam Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Predict Rank Exam Outcome Mine V1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/rank/exam-populations/{exam_ref}/outcome-reports/{cycle_year}/{stream}":{"delete":{"tags":["predict_rank_exam_outcomes"],"summary":"Withdraw Outcome Report","operationId":"predict_rank_exam_outcome_withdraw_v1","parameters":[{"name":"exam_ref","in":"path","required":true,"schema":{"type":"string","title":"Exam Ref"}},{"name":"cycle_year","in":"path","required":true,"schema":{"type":"integer","title":"Cycle Year"}},{"name":"stream","in":"path","required":true,"schema":{"type":"string","title":"Stream"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Predict Rank Exam Outcome Withdraw V1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/rank/exam-populations/{exam_ref}/reported-range":{"get":{"tags":["predict_rank_exam_outcomes"],"summary":"Reported Range","description":"The range other students' reports give for a score. Signed in; one range delivered uses one prediction.","operationId":"predict_rank_exam_reported_range_v1","parameters":[{"name":"exam_ref","in":"path","required":true,"schema":{"type":"string","title":"Exam Ref"}},{"name":"stream","in":"query","required":true,"schema":{"type":"string","title":"Stream"}},{"name":"score","in":"query","required":true,"schema":{"type":"number","title":"Score"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Predict Rank Exam Reported Range V1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/{child_id}/guardian-consents":{"get":{"tags":["parent_guardian_consents"],"summary":"Read Guardian Consents","operationId":"parent_guardian_consents_read_v1","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Parent Guardian Consents Read V1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/{child_id}/guardian-consents/{scope}":{"put":{"tags":["parent_guardian_consents"],"summary":"Set Guardian Consent","operationId":"parent_guardian_consents_set_v1","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"scope","in":"path","required":true,"schema":{"type":"string","title":"Scope"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuardianDecision"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Parent Guardian Consents Set V1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/{child_id}/commerce-purchase-permission":{"get":{"tags":["parent_guardian_consents"],"summary":"Read Commerce Purchase Permission","description":"Review one exact relationship's purchase-purpose state; contract copy remains labelled draft while OFF.","operationId":"parent_commerce_purchase_permission_read_v1","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"relationship_ref","in":"query","required":true,"schema":{"type":"string","title":"Relationship Ref"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Parent Commerce Purchase Permission Read V1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["parent_guardian_consents"],"summary":"Set Commerce Purchase Permission","description":"Append a parent grant/revocation to OS21; real grants remain blocked by the default DRAFT/OFF contract.","operationId":"parent_commerce_purchase_permission_set_v1","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommercePurposeDecision"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Parent Commerce Purchase Permission Set V1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/guardian/status":{"get":{"tags":["guardian_link"],"summary":"Guardian Status","operationId":"guardian_link_status_v1","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Guardian Link Status V1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/guardian/ask/{scope}":{"post":{"tags":["guardian_link"],"summary":"Ask My Parent","description":"Ask my parent to approve one thing. Only for a person recorded as under 18; everyone else is told nobody needs to approve.","operationId":"guardian_link_ask_v1","parameters":[{"name":"scope","in":"path","required":true,"schema":{"type":"string","title":"Scope"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Guardian Link Ask V1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/guardian/counselling-service-assent":{"put":{"tags":["guardian_link"],"summary":"Set Counselling Service Assent","description":"Record or withdraw learner assent for the counselling service purpose in OS21.","operationId":"student_counselling_service_assent_set_v1","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CounsellingServiceAssentDecision"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Student Counselling Service Assent Set V1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/guardian/commerce-purchase-assent":{"put":{"tags":["guardian_link"],"summary":"Set Commerce Purchase Assent","description":"Record or withdraw the learner's separate OS21 assent, only if future policy requires it.","operationId":"student_commerce_purchase_assent_set_v1","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommercePurposeAssentDecision"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Student Commerce Purchase Assent Set V1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["guardian_link"],"summary":"Read Commerce Purchase Assent","operationId":"student_commerce_purchase_assent_read_v1","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Student Commerce Purchase Assent Read V1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/storefront/wishes/capabilities":{"get":{"tags":["storefront_wishes_public"],"summary":"Capabilities","description":"What is switched on, for the cards. No identity, no counts.","operationId":"storefront_wish_capabilities_v1","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Storefront Wish Capabilities V1"}}}}}}},"/api/v1/storefront/wishes/guest":{"post":{"tags":["storefront_wishes_public"],"summary":"Create Guest Wish","operationId":"storefront_wish_guest_create_v1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuestWishIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Storefront Wish Guest Create V1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/storefront/wishes/guest/cancel":{"post":{"tags":["storefront_wishes_public"],"summary":"Cancel Guest Wish","operationId":"storefront_wish_guest_cancel_v1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuestCancelIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Storefront Wish Guest Cancel V1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/storefront/wishes/remove/request":{"post":{"tags":["storefront_wishes_public"],"summary":"Remove Request","description":"\"Remove my contact\": always the same answer, held or not. A link goes only to the contact itself, at most once an hour.","operationId":"storefront_wish_remove_request_v1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RemoveRequestIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Storefront Wish Remove Request V1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/storefront/wishes/remove/confirm":{"post":{"tags":["storefront_wishes_public"],"summary":"Remove Confirm","operationId":"storefront_wish_remove_confirm_v1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RemoveConfirmIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Storefront Wish Remove Confirm V1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/storefront/parent-invite/preview":{"post":{"tags":["storefront_wishes_public"],"summary":"Invite Preview","operationId":"storefront_parent_invite_preview_v1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InviteTokenIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Storefront Parent Invite Preview V1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/storefront/parent-invite/answer":{"post":{"tags":["storefront_wishes_public"],"summary":"Invite Answer","operationId":"storefront_parent_invite_answer_v1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InviteAnswerIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Storefront Parent Invite Answer V1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/storefront/wishes":{"post":{"tags":["storefront_wishes"],"summary":"Create Wish","operationId":"storefront_wish_create_v1","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WishIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Storefront Wish Create V1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/storefront/wishes/mine":{"get":{"tags":["storefront_wishes"],"summary":"My Wishes","operationId":"storefront_wish_mine_v1","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Storefront Wish Mine V1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/storefront/wishes/{wish_id}":{"delete":{"tags":["storefront_wishes"],"summary":"Cancel Wish","operationId":"storefront_wish_cancel_v1","parameters":[{"name":"wish_id","in":"path","required":true,"schema":{"type":"string","title":"Wish Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Storefront Wish Cancel V1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/storefront/asks":{"post":{"tags":["storefront_wishes"],"summary":"Create Ask","operationId":"storefront_ask_parent_create_v1","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AskIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Storefront Ask Parent Create V1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/storefront/asks/mine":{"get":{"tags":["storefront_wishes"],"summary":"My Asks","operationId":"storefront_ask_parent_mine_v1","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Storefront Ask Parent Mine V1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/storefront/asks/{ask_id}/resend":{"post":{"tags":["storefront_wishes"],"summary":"Resend Ask","operationId":"storefront_ask_parent_resend_v1","parameters":[{"name":"ask_id","in":"path","required":true,"schema":{"type":"string","title":"Ask Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Storefront Ask Parent Resend V1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/storefront/asks/{ask_id}":{"delete":{"tags":["storefront_wishes"],"summary":"Cancel Ask","operationId":"storefront_ask_parent_cancel_v1","parameters":[{"name":"ask_id","in":"path","required":true,"schema":{"type":"string","title":"Ask Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Storefront Ask Parent Cancel V1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/{child_id}/storefront-asks":{"get":{"tags":["storefront_wishes_parent"],"summary":"Parent Asks","operationId":"parent_storefront_asks_read_v1","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Parent Storefront Asks Read V1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/{child_id}/storefront-asks/{ask_id}":{"put":{"tags":["storefront_wishes_parent"],"summary":"Parent Answer","operationId":"parent_storefront_asks_answer_v1","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"ask_id","in":"path","required":true,"schema":{"type":"string","title":"Ask Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ParentDecisionIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Parent Storefront Asks Answer V1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/storefront/wishes/counts":{"get":{"tags":["storefront_wishes_staff"],"summary":"Wish Counts","operationId":"storefront_wish_counts_v1","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Storefront Wish Counts V1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/storefront/wishes/fulfil":{"post":{"tags":["storefront_wishes_staff"],"summary":"Wish Fulfil","operationId":"storefront_wish_fulfil_v1","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FulfilIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Storefront Wish Fulfil V1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/rank/exam-populations/CUET_UG/score-history/sources":{"get":{"tags":["predict_rank_cuet_scores"],"summary":"Score Sources","operationId":"predict_rank_cuet_score_sources_v1","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Predict Rank Cuet Score Sources V1"}}}}}}},"/api/v1/predict/rank/exam-populations/CUET_UG/score-history/programmes":{"get":{"tags":["predict_rank_cuet_scores"],"summary":"Find Programmes","operationId":"predict_rank_cuet_score_programmes_v1","parameters":[{"name":"university","in":"query","required":true,"schema":{"type":"string","minLength":2,"maxLength":20,"title":"University"}},{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":2,"maxLength":80,"title":"Q"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Predict Rank Cuet Score Programmes V1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/rank/exam-populations/CUET_UG/score-history/scores":{"get":{"tags":["predict_rank_cuet_scores"],"summary":"Read Scores","operationId":"predict_rank_cuet_scores_v1","parameters":[{"name":"university","in":"query","required":true,"schema":{"type":"string","minLength":2,"maxLength":20,"title":"University"}},{"name":"college","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":300,"title":"College"}},{"name":"programme","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":400,"title":"Programme"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Predict Rank Cuet Scores V1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/rank/exam-populations/MHT_CET/percentile-merit/lists":{"get":{"tags":["predict_rank_mht_merit"],"summary":"Merit Lists","operationId":"predict_rank_mht_merit_lists_v1","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Predict Rank Mht Merit Lists V1"}}}}}}},"/api/v1/predict/rank/exam-populations/MHT_CET/percentile-merit/lookup":{"get":{"tags":["predict_rank_mht_merit"],"summary":"Lookup","operationId":"predict_rank_mht_merit_lookup_v1","parameters":[{"name":"percentile","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":14,"title":"Percentile"}},{"name":"list","in":"query","required":false,"schema":{"type":"string","minLength":3,"maxLength":40,"default":"ENG_MH_PCM_FINAL","title":"List"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Predict Rank Mht Merit Lookup V1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/rank/neet-score-model":{"get":{"tags":["predict_rank_neet_model"],"summary":"Neet Score Model","operationId":"predict_rank_neet_score_model_v1","parameters":[{"name":"score","in":"query","required":true,"schema":{"type":"number","description":"NEET UG score out of 720","title":"Score"},"description":"NEET UG score out of 720"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Predict Rank Neet Score Model V1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/your-rank/evidence-availability":{"get":{"tags":["your-rank"],"summary":"Evidence Availability","description":"P01: what counts as rank evidence for this exam, what was left out and why.","operationId":"evidence_availability_api_v1_your_rank_evidence_availability_get","parameters":[{"name":"exam","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"JEE_MAIN | JEE_ADVANCED | NEET_UG","title":"Exam"},"description":"JEE_MAIN | JEE_ADVANCED | NEET_UG"},{"name":"rank_universe","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rank Universe"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/your-rank/current":{"get":{"tags":["your-rank"],"summary":"Current Rank","description":"The current strict decision, the ghost of the previous band, and the refresh meter.\n\nReading never consumes the meter. With no band yet the state is FORMING (or NO_DECISION\nwhen no exam is chosen) and the evidence still needed is named.","operationId":"current_rank_api_v1_your_rank_current_get","parameters":[{"name":"exam","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"JEE_MAIN | JEE_ADVANCED | NEET_UG; omit for your latest","title":"Exam"},"description":"JEE_MAIN | JEE_ADVANCED | NEET_UG; omit for your latest"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/your-rank/refresh":{"post":{"tags":["your-rank"],"summary":"Refresh Rank","description":"A formal refresh: consumes one unit of the monthly meter and creates a new decision.\n\nThe meter is consumed only when a decision is created. When evidence is below the floor\nthe answer is FORMING and nothing is consumed. A repeated Idempotency-Key replays the\nfirst answer and consumes nothing. When the meter is used up the reply is 403 and the\ncurrent range stays readable.","operationId":"refresh_rank_api_v1_your_rank_refresh_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string","minLength":8,"maxLength":160},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/your_rank_routes__RefreshBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/your-rank/trajectory":{"get":{"tags":["your-rank"],"summary":"Rank Trajectory","description":"P04: your ranges oldest to newest, the slope of the cautious edge, and who owns it.","operationId":"rank_trajectory_api_v1_your_rank_trajectory_get","parameters":[{"name":"exam","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"JEE_MAIN | JEE_ADVANCED | NEET_UG; omit for your latest exam","title":"Exam"},"description":"JEE_MAIN | JEE_ADVANCED | NEET_UG; omit for your latest exam"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/your-rank/what-if":{"post":{"tags":["your-rank"],"summary":"Rank What If","description":"P05: what the range could look like after more mocks. A simulation that writes nothing.","operationId":"rank_what_if_api_v1_your_rank_what_if_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WhatIfBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/your-rank/history":{"get":{"tags":["your-rank"],"summary":"Rank History","description":"Every decision you have been given, newest first, including superseded and revoked.","operationId":"rank_history_api_v1_your_rank_history_get","parameters":[{"name":"exam","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"JEE_MAIN | JEE_ADVANCED | NEET_UG; omit for every exam","title":"Exam"},"description":"JEE_MAIN | JEE_ADVANCED | NEET_UG; omit for every exam"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/your-rank/decisions/{rank_decision_id}":{"get":{"tags":["your-rank"],"summary":"Rank Decision","description":"One decision. 404 when it does not exist, 403 when it belongs to someone else.","operationId":"rank_decision_api_v1_your_rank_decisions__rank_decision_id__get","parameters":[{"name":"rank_decision_id","in":"path","required":true,"schema":{"type":"string","title":"Rank Decision Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/your-rank/lineage/{predecessor_decision_id}/{successor_decision_id}":{"get":{"tags":["your-rank"],"summary":"Rank Successor Lineage","description":"Resolve one exact owner-owned persisted practice-successor edge.\n\nThis destination never selects the latest decision. The requested pair and\nsource version must still match one source row at read time.","operationId":"rank_successor_lineage_api_v1_your_rank_lineage__predecessor_decision_id___successor_decision_id__get","parameters":[{"name":"predecessor_decision_id","in":"path","required":true,"schema":{"type":"string","title":"Predecessor Decision Id"}},{"name":"successor_decision_id","in":"path","required":true,"schema":{"type":"string","title":"Successor Decision Id"}},{"name":"source_version","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":512,"title":"Source Version"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/your-rank/decision-evidence/{rank_decision_id}":{"get":{"tags":["your-rank"],"summary":"Rank Decision Evidence","description":"Read one exact current READY decision pinned to its evidence digests.","operationId":"rank_decision_evidence_api_v1_your_rank_decision_evidence__rank_decision_id__get","parameters":[{"name":"rank_decision_id","in":"path","required":true,"schema":{"type":"string","title":"Rank Decision Id"}},{"name":"source_version","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":512,"title":"Source Version"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/your-rank/abstentions/{rank_decision_id}":{"get":{"tags":["your-rank"],"summary":"Rank Decision Abstention","description":"Read one exact current, persisted no-band decision for its owner.\n\nThis read does not run prediction or create a passive decision. It returns\nonly an ABSTAINED practice decision whose passport is still CURRENT and\nwhose exact evidence snapshot and digests match the requested version.","operationId":"rank_decision_abstention_api_v1_your_rank_abstentions__rank_decision_id__get","parameters":[{"name":"rank_decision_id","in":"path","required":true,"schema":{"type":"string","title":"Rank Decision Id"}},{"name":"source_version","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":512,"title":"Source Version"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/your-rank/parent/{child_id}":{"get":{"tags":["your-rank"],"summary":"Parent Rank Digest","description":"P09: what a linked parent may see. A range and its direction, never a point rank.\n\nThe parent gate (enforce_parent_child_link) answers 401 without a parent session and 403\nwithout an active parent link. Only optimistic, cautious, direction, valid_as_of and\ncorrected are returned; there is no central rank, probability or confidence.","operationId":"parent_rank_digest_api_v1_your_rank_parent__child_id__get","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ops/your-rank/review-tasks/policies":{"post":{"tags":["your-rank-review-tasks"],"summary":"Stage Review Policy","description":"Stage explicit owner policy fields; staged policy cannot publish learner Actions.","operationId":"stage_review_policy_api_v1_ops_your_rank_review_tasks_policies_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_stage_review_policy_api_v1_ops_your_rank_review_tasks_policies_post"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Stage Review Policy Api V1 Ops Your Rank Review Tasks Policies Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ops/your-rank/review-tasks/policies/{policy_id}/activate":{"post":{"tags":["your-rank-review-tasks"],"summary":"Activate Review Policy","description":"Activate an explicitly staged material-change policy under source ops authority.","operationId":"activate_review_policy_api_v1_ops_your_rank_review_tasks_policies__policy_id__activate_post","parameters":[{"name":"policy_id","in":"path","required":true,"schema":{"type":"string","minLength":36,"maxLength":36,"title":"Policy Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_activate_review_policy_api_v1_ops_your_rank_review_tasks_policies__policy_id__activate_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Activate Review Policy Api V1 Ops Your Rank Review Tasks Policies  Policy Id  Activate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ops/your-rank/review-tasks/policies/{policy_id}/retire":{"post":{"tags":["your-rank-review-tasks"],"summary":"Retire Review Policy","description":"Retire one active policy and append withdrawal events for its open tasks.","operationId":"retire_review_policy_api_v1_ops_your_rank_review_tasks_policies__policy_id__retire_post","parameters":[{"name":"policy_id","in":"path","required":true,"schema":{"type":"string","minLength":36,"maxLength":36,"title":"Policy Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_retire_review_policy_api_v1_ops_your_rank_review_tasks_policies__policy_id__retire_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Retire Review Policy Api V1 Ops Your Rank Review Tasks Policies  Policy Id  Retire Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ops/your-rank/review-tasks/publish":{"post":{"tags":["your-rank-review-tasks"],"summary":"Publish Review Task","description":"Publish one optional task from a saved predecessor to its direct current successor.","operationId":"publish_review_task_api_v1_ops_your_rank_review_tasks_publish_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_publish_review_task_api_v1_ops_your_rank_review_tasks_publish_post"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Publish Review Task Api V1 Ops Your Rank Review Tasks Publish Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ops/your-rank/review-tasks/{review_task_id}/withdraw":{"post":{"tags":["your-rank-review-tasks"],"summary":"Withdraw Review Task","operationId":"withdraw_review_task_api_v1_ops_your_rank_review_tasks__review_task_id__withdraw_post","parameters":[{"name":"review_task_id","in":"path","required":true,"schema":{"type":"string","minLength":36,"maxLength":36,"title":"Review Task Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_withdraw_review_task_api_v1_ops_your_rank_review_tasks__review_task_id__withdraw_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Withdraw Review Task Api V1 Ops Your Rank Review Tasks  Review Task Id  Withdraw Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/your-colleges/parent/{child_id}":{"get":{"tags":["your_colleges_parent"],"summary":"Your Colleges Parent Digest","operationId":"your_colleges_parent_digest","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Your Colleges Parent Digest"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ops/your-rank/evidence/{student_id}":{"get":{"tags":["your-rank-ops"],"summary":"Evidence Desk","operationId":"evidence_desk_api_v1_ops_your_rank_evidence__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"exam","in":"query","required":true,"schema":{"type":"string","description":"JEE_MAIN | JEE_ADVANCED | NEET_UG","title":"Exam"},"description":"JEE_MAIN | JEE_ADVANCED | NEET_UG"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Evidence Desk Api V1 Ops Your Rank Evidence  Student Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ops/your-rank/model":{"get":{"tags":["your-rank-ops"],"summary":"Model Desk","operationId":"model_desk_api_v1_ops_your_rank_model_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Model Desk Api V1 Ops Your Rank Model Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ops/your-rank/calibration":{"get":{"tags":["your-rank-ops"],"summary":"Calibration Desk","operationId":"calibration_desk_api_v1_ops_your_rank_calibration_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Calibration Desk Api V1 Ops Your Rank Calibration Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ops/your-rank/calibration/candidates":{"post":{"tags":["your-rank-ops"],"summary":"Create Curve Candidate","description":"Append an inactive candidate; this endpoint cannot approve or publish it.","operationId":"create_curve_candidate_api_v1_ops_your_rank_calibration_candidates_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Curve Candidate Api V1 Ops Your Rank Calibration Candidates Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["your-rank-ops"],"summary":"List Curve Candidates","operationId":"list_curve_candidates_api_v1_ops_your_rank_calibration_candidates_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Curve Candidates Api V1 Ops Your Rank Calibration Candidates Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ops/your-rank/calibration/candidates/{candidate_receipt_id}/backtests":{"post":{"tags":["your-rank-ops"],"summary":"Create Curve Backtest Receipt","description":"Append one candidate-bound T-90/T-60/T-30 holdout receipt.","operationId":"create_curve_backtest_receipt_api_v1_ops_your_rank_calibration_candidates__candidate_receipt_id__backtests_post","parameters":[{"name":"candidate_receipt_id","in":"path","required":true,"schema":{"type":"string","title":"Candidate Receipt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Curve Backtest Receipt Api V1 Ops Your Rank Calibration Candidates  Candidate Receipt Id  Backtests Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ops/your-rank/calibration/candidates/{candidate_receipt_id}":{"get":{"tags":["your-rank-ops"],"summary":"Get Curve Candidate","operationId":"get_curve_candidate_api_v1_ops_your_rank_calibration_candidates__candidate_receipt_id__get","parameters":[{"name":"candidate_receipt_id","in":"path","required":true,"schema":{"type":"string","title":"Candidate Receipt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Curve Candidate Api V1 Ops Your Rank Calibration Candidates  Candidate Receipt Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ops/your-colleges/corrections":{"get":{"tags":["your_colleges_corrections"],"summary":"List Corrections","operationId":"your_colleges_corrections_list","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Your Colleges Corrections List"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["your_colleges_corrections"],"summary":"Record Correction","operationId":"your_colleges_corrections_record","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/your_colleges_corrections_routes__CorrectionBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Your Colleges Corrections Record"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ops/your-colleges/corrections/alias-conflicts":{"get":{"tags":["your_colleges_corrections"],"summary":"List Alias Conflicts","operationId":"your_colleges_alias_conflicts_list","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Status"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Your Colleges Alias Conflicts List"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ops/your-colleges/corrections/alias-conflicts/{report_id}/acknowledge":{"post":{"tags":["your_colleges_corrections"],"summary":"Acknowledge Alias Conflict Route","operationId":"your_colleges_alias_conflict_acknowledge","parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"string","title":"Report Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcknowledgeAliasConflictBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Your Colleges Alias Conflict Acknowledge"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/seat-path/authorities":{"get":{"tags":["seat_path"],"summary":"List Authorities","operationId":"list_authorities_api_v1_seat_path_authorities_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/seat-path/saved":{"get":{"tags":["seat_path"],"summary":"List Saved","operationId":"list_saved_api_v1_seat_path_saved_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/seat-path/inputs":{"get":{"tags":["seat_path"],"summary":"Latest Inputs","operationId":"latest_inputs_api_v1_seat_path_inputs_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/seat-path/typed-inputs":{"post":{"tags":["seat_path"],"summary":"Prepare Typed Inputs","description":"One metered College evaluation, then the existing strict Seat owner takes over.","operationId":"prepare_typed_inputs_api_v1_seat_path_typed_inputs_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":100,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypedSeatInputRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/seat-path/meter":{"get":{"tags":["seat_path"],"summary":"Read Seat Meters","description":"Reading the meter never consumes.","operationId":"read_seat_meters_api_v1_seat_path_meter_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/seat-path/what-if":{"post":{"tags":["seat_path"],"summary":"Run What If","description":"Same derivation as the strict run, nothing persisted, one what-if unit.","operationId":"run_what_if_api_v1_seat_path_what_if_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string","minLength":8,"maxLength":100},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WhatIfRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/seat-path/save":{"post":{"tags":["seat_path"],"summary":"Save Run","operationId":"save_run_api_v1_seat_path_save_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/seat_path_routes__SaveRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/seat-path/saved/{saved_id}":{"delete":{"tags":["seat_path"],"summary":"Unsave Run","operationId":"unsave_run_api_v1_seat_path_saved__saved_id__delete","parameters":[{"name":"saved_id","in":"path","required":true,"schema":{"type":"string","title":"Saved Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/seat-path/compare":{"get":{"tags":["seat_path"],"summary":"Compare Runs","operationId":"compare_runs_api_v1_seat_path_compare_get","parameters":[{"name":"ids","in":"query","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Ids"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/seat-path/parent/{child_student_id}":{"get":{"tags":["seat_path"],"summary":"Read Parent Digest","operationId":"read_parent_digest_api_v1_seat_path_parent__child_student_id__get","parameters":[{"name":"child_student_id","in":"path","required":true,"schema":{"type":"string","title":"Child Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/connect/health":{"get":{"tags":["TruTutor Gateway"],"summary":"Connect Health","operationId":"connect_health_api_v1_connect_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/connect/capabilities":{"get":{"tags":["TruTutor Gateway"],"summary":"Connect Capabilities","operationId":"connect_capabilities_api_v1_connect_capabilities_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/connect/needs":{"post":{"tags":["TruTutor Gateway"],"summary":"Create Connect Need","operationId":"create_connect_need_api_v1_connect_needs_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/connect/needs/{need_id}":{"get":{"tags":["TruTutor Gateway"],"summary":"Get Connect Need","operationId":"get_connect_need_api_v1_connect_needs__need_id__get","parameters":[{"name":"need_id","in":"path","required":true,"schema":{"type":"string","title":"Need Id"}},{"name":"X-AspireAce-Student-Ref","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Aspireace-Student-Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/connect/needs/{need_id}/matches":{"get":{"tags":["TruTutor Gateway"],"summary":"Get Connect Matches","operationId":"get_connect_matches_api_v1_connect_needs__need_id__matches_get","parameters":[{"name":"need_id","in":"path","required":true,"schema":{"type":"string","title":"Need Id"}},{"name":"X-AspireAce-Student-Ref","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Aspireace-Student-Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/connect/needs/{need_id}/bookings":{"post":{"tags":["TruTutor Gateway"],"summary":"Create Connect Booking","operationId":"create_connect_booking_api_v1_connect_needs__need_id__bookings_post","parameters":[{"name":"need_id","in":"path","required":true,"schema":{"type":"string","title":"Need Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/connect/bookings/{booking_id}":{"get":{"tags":["TruTutor Gateway"],"summary":"Get Connect Booking","operationId":"get_connect_booking_api_v1_connect_bookings__booking_id__get","parameters":[{"name":"booking_id","in":"path","required":true,"schema":{"type":"string","title":"Booking Id"}},{"name":"X-AspireAce-Student-Ref","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Aspireace-Student-Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/connect/bookings/{booking_id}/parent-approval":{"post":{"tags":["TruTutor Gateway"],"summary":"Decide Connect Parent Approval","operationId":"decide_connect_parent_approval_api_v1_connect_bookings__booking_id__parent_approval_post","parameters":[{"name":"booking_id","in":"path","required":true,"schema":{"type":"string","title":"Booking Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/connect/ops/bookings/{booking_id}/payments/mark-collected":{"post":{"tags":["TruTutor Gateway"],"summary":"Mark Connect Payment Collected","operationId":"mark_connect_payment_collected_api_v1_connect_ops_bookings__booking_id__payments_mark_collected_post","parameters":[{"name":"booking_id","in":"path","required":true,"schema":{"type":"string","title":"Booking Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/connect/ops/bookings/{booking_id}/confirm":{"post":{"tags":["TruTutor Gateway"],"summary":"Confirm Connect Booking","operationId":"confirm_connect_booking_api_v1_connect_ops_bookings__booking_id__confirm_post","parameters":[{"name":"booking_id","in":"path","required":true,"schema":{"type":"string","title":"Booking Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/connect/sessions/{session_id}":{"get":{"tags":["TruTutor Gateway"],"summary":"Get Connect Session","operationId":"get_connect_session_api_v1_connect_sessions__session_id__get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"X-AspireAce-Student-Ref","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Aspireace-Student-Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/connect/ops/sessions/{session_id}/complete":{"post":{"tags":["TruTutor Gateway"],"summary":"Complete Connect Session","operationId":"complete_connect_session_api_v1_connect_ops_sessions__session_id__complete_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/connect/teachers":{"get":{"tags":["TruTutor Gateway"],"summary":"Get Connect Teachers","operationId":"get_connect_teachers_api_v1_connect_teachers_get","parameters":[{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"}},{"name":"exam","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Exam"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/connect/teachers/{teacher_id}":{"get":{"tags":["TruTutor Gateway"],"summary":"Get Connect Teacher","operationId":"get_connect_teacher_api_v1_connect_teachers__teacher_id__get","parameters":[{"name":"teacher_id","in":"path","required":true,"schema":{"type":"string","title":"Teacher Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/connect/teachers/{teacher_id}/availability":{"get":{"tags":["TruTutor Gateway"],"summary":"Get Connect Teacher Availability","operationId":"get_connect_teacher_availability_api_v1_connect_teachers__teacher_id__availability_get","parameters":[{"name":"teacher_id","in":"path","required":true,"schema":{"type":"string","title":"Teacher Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/connect/bridge/context":{"post":{"tags":["TruTutor Gateway"],"summary":"Create Connect Context","operationId":"create_connect_context_api_v1_connect_bridge_context_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/connect/bridge/writeback":{"post":{"tags":["TruTutor Gateway"],"summary":"Create Connect Writeback","operationId":"create_connect_writeback_api_v1_connect_bridge_writeback_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","default":"","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capsule/{student_id}/{topic_id}":{"get":{"tags":["concept-capsule"],"summary":"Get Concept Capsule","operationId":"get_concept_capsule_api_v1_capsule__student_id___topic_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"topic_id","in":"path","required":true,"schema":{"type":"string","title":"Topic Id"}},{"name":"exam","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Exam"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capsule/{student_id}/{topic_id}/feedback":{"post":{"tags":["concept-capsule"],"summary":"Post Concept Capsule Feedback","operationId":"post_concept_capsule_feedback_api_v1_capsule__student_id___topic_id__feedback_post","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"topic_id","in":"path","required":true,"schema":{"type":"string","title":"Topic Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capsule/{student_id}/{topic_id}/save":{"post":{"tags":["concept-capsule"],"summary":"Post Concept Capsule Save","operationId":"post_concept_capsule_save_api_v1_capsule__student_id___topic_id__save_post","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"topic_id","in":"path","required":true,"schema":{"type":"string","title":"Topic Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v2/concept-capsule/coverage":{"get":{"tags":["concept-capsule-v2"],"summary":"Concept Capsule V2 Coverage","description":"Operation 10. Public. The only lawful source of a coverage number.","operationId":"concept_capsule_v2_coverage","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Concept Capsule V2 Coverage"}}}}}}},"/api/v2/concept-capsule/privacy-requests/{privacy_request_id}/status":{"get":{"tags":["concept-capsule-v2"],"summary":"Concept Capsule V2 Privacy Request Status","description":"Operation 5. Status only; OS21 initiates. Receipt refs withheld until\nOS21 authorises (EXT-CC-05).","operationId":"concept_capsule_v2_privacy_request_status","parameters":[{"name":"privacy_request_id","in":"path","required":true,"schema":{"type":"string","title":"Privacy Request Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Concept Capsule V2 Privacy Request Status"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v2/concept-capsule/chooser":{"get":{"tags":["concept-capsule-v2"],"summary":"Concept Capsule V2 Chooser","description":"Operation 11 (added by step 10; section 27). The /capsule entry when no\nconcept is named: the graph to choose from, the learner's own mastery\ndots, and the last capsule to resume. Counts only from the receipt.","operationId":"concept_capsule_v2_chooser","parameters":[{"name":"exam_lane","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Exam Lane"}},{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Concept Capsule V2 Chooser"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v2/concept-capsule/trail":{"get":{"tags":["concept-capsule-v2"],"summary":"Concept Capsule V2 Trail","description":"Operation 9. The learner's own trail: capsules opened, what came back,\nand what each one unblocked. Counts only for blocks viewed.","operationId":"concept_capsule_v2_trail","parameters":[{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}},{"name":"view","in":"query","required":false,"schema":{"type":"string","default":"rows","title":"View"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Concept Capsule V2 Trail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v2/concept-capsule/checks/{check_id}/return":{"post":{"tags":["concept-capsule-v2"],"summary":"Concept Capsule V2 Check Return","description":"Operation 8. From Chapter Drill with an HMAC over the body; never a\nlearner session. Unsigned or badly signed returns are 401 before the body\nis parsed for anything else.","operationId":"concept_capsule_v2_check_return","parameters":[{"name":"check_id","in":"path","required":true,"schema":{"type":"string","title":"Check Id"}},{"name":"X-Owner-Signature","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Owner-Signature"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Concept Capsule V2 Check Return"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v2/concept-capsule/{concept_id}":{"get":{"tags":["concept-capsule-v2"],"summary":"Concept Capsule V2 Read","description":"Operation 1. Reading never moves mastery.","operationId":"concept_capsule_v2_read","parameters":[{"name":"concept_id","in":"path","required":true,"schema":{"type":"string","title":"Concept Id"}},{"name":"exam_lane","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Exam Lane"}},{"name":"entry_mode","in":"query","required":false,"schema":{"type":"string","default":"direct","title":"Entry Mode"}},{"name":"context_receipt_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Context Receipt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Concept Capsule V2 Read"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v2/concept-capsule/{concept_id}/receipt":{"get":{"tags":["concept-capsule-v2"],"summary":"Concept Capsule V2 Receipt","description":"Operation 6. The persisted assembly receipt; feeds R02.","operationId":"concept_capsule_v2_receipt","parameters":[{"name":"concept_id","in":"path","required":true,"schema":{"type":"string","title":"Concept Id"}},{"name":"assembly_receipt_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assembly Receipt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Concept Capsule V2 Receipt"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v2/concept-capsule/{concept_id}/history":{"get":{"tags":["concept-capsule-v2"],"summary":"Concept Capsule V2 History","description":"Operation 4.","operationId":"concept_capsule_v2_history","parameters":[{"name":"concept_id","in":"path","required":true,"schema":{"type":"string","title":"Concept Id"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Concept Capsule V2 History"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v2/concept-capsule/{concept_id}/feedback":{"post":{"tags":["concept-capsule-v2"],"summary":"Concept Capsule V2 Feedback","description":"Operation 2. 202 with the action receipt; replay returns the same.","operationId":"concept_capsule_v2_feedback","parameters":[{"name":"concept_id","in":"path","required":true,"schema":{"type":"string","title":"Concept Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeedbackRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Concept Capsule V2 Feedback"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v2/concept-capsule/{concept_id}/check/launch":{"post":{"tags":["concept-capsule-v2"],"summary":"Concept Capsule V2 Check Launch","description":"Operation 7. 201 with the check, the Drill session and a short-lived\nowner-signed action_url; replay returns the same check.","operationId":"concept_capsule_v2_check_launch","parameters":[{"name":"concept_id","in":"path","required":true,"schema":{"type":"string","title":"Concept Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckLaunchRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Concept Capsule V2 Check Launch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v2/concept-capsule/{concept_id}/saves":{"post":{"tags":["concept-capsule-v2"],"summary":"Concept Capsule V2 Save","description":"Operation 3. 201 only after readback; 200 with the existing ref on replay.","operationId":"concept_capsule_v2_save","parameters":[{"name":"concept_id","in":"path","required":true,"schema":{"type":"string","title":"Concept Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/capsule_contracts__SaveRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Concept Capsule V2 Save"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/concept-capsule/coverage/refresh":{"post":{"tags":["concept-capsule-internal"],"summary":"Concept Capsule Internal Coverage Refresh","description":"Record the coverage receipt for the ACTIVE graph release; idempotent.\n\nA second call with nothing changed writes nothing and says `unchanged`. A changed count\nsupersedes the CURRENT row. Nothing here is a learner call and no learner id is read.","operationId":"concept_capsule_internal_coverage_refresh","parameters":[{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Concept Capsule Internal Coverage Refresh"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capsule/coverage":{"get":{"tags":["concept-capsule"],"summary":"Concept Capsule V1 Coverage","description":"Section 20 alias, no auth. Same receipt, v1 deprecation headers.","operationId":"concept_capsule_v1_coverage","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Concept Capsule V1 Coverage"}}}}}}},"/api/v1/auth/sign-out":{"post":{"tags":["account-lifecycle-pr-590-s"],"summary":"Sign Out Current Device","description":"Sign out the current device. Revokes the supplied refresh_token (if any);\naccess token will expire on its own TTL. Emits account.signed_out.","operationId":"pr_590_s_sign_out","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignOutBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/sign-out-all":{"post":{"tags":["account-lifecycle-pr-590-s"],"summary":"Sign Out All Devices","description":"Sign out of all devices for this student. Revokes all non-revoked\nrefresh_tokens + Redis blacklists active access tokens (TTL 2h).","operationId":"pr_590_s_sign_out_all","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/delete-account":{"post":{"tags":["account-lifecycle-pr-590-s"],"summary":"Delete Account Initiate","description":"Initiate the 30-day soft-delete grace window.\n\nEffects:\n  1. students.deletion_requested_at = NOW()\n  2. students.deletion_will_purge_at = NOW() + 30 days\n  3. students.deletion_reason = body.reason\n  4. cancel_subscription_for_student(reason='account_deletion')  — best-effort\n  5. account_deletion_audit row inserted with event='initiated'\n   6. account.deletion_requested event emitted\n   7. ALL refresh tokens revoked + Redis blacklist (sign out everywhere)\n   8. outstanding canonical Twin admission/rebuild/relay work cancelled\n      when the Twin privacy boundary is installed\n\nPer DPDP §17: the student can sign back in during the 30 days to cancel.\nAfter 30 days the purge cron permanently erases the row + audit ledger\nrotates to keep only the hashed student_id.","operationId":"pr_590_s_delete_account","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteAccountBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/delete-account/cancel":{"post":{"tags":["account-lifecycle-pr-590-s"],"summary":"Delete Account Cancel","description":"Cancel a pending deletion during the 30-day grace window.","operationId":"pr_590_s_delete_cancel","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/delete-account/status/{student_id}":{"get":{"tags":["account-lifecycle-pr-590-s"],"summary":"Delete Account Status","description":"Read current deletion state. Public-by-student_id (no auth header\nrequired) so the FE can render the banner even if mid-deletion the\nJWT is in a flaky state. Falls back gracefully on pre-054 schemas.","operationId":"pr_590_s_delete_status","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/guest/restore":{"post":{"tags":["guest-restore"],"summary":"Restore Guest Account","description":"Restore a guest account closed within the last 30 days, from the device that holds the token. Signs the guest in again.","operationId":"guest_account_restore","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuestRestoreBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Guest Account Restore"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/pipelines/health":{"get":{"tags":["pipeline-health"],"summary":"Per Pipeline Health","description":"Per-pipeline call count, latency percentiles, error rate, last_seen\nacross the last `window_min` minutes.","operationId":"per_pipeline_health_api_v1_admin_pipelines_health_get","parameters":[{"name":"window_min","in":"query","required":false,"schema":{"type":"integer","maximum":10080,"minimum":1,"description":"window in minutes (default 60, max 7d)","default":60,"title":"Window Min"},"description":"window in minutes (default 60, max 7d)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Per Pipeline Health Api V1 Admin Pipelines Health Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/pipelines/{pipeline_id}/recent":{"get":{"tags":["pipeline-health"],"summary":"Recent Events","description":"Tail of the last N events for one pipeline (debug / postmortem).","operationId":"recent_events_api_v1_admin_pipelines__pipeline_id__recent_get","parameters":[{"name":"pipeline_id","in":"path","required":true,"schema":{"type":"string","title":"Pipeline Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Recent Events Api V1 Admin Pipelines  Pipeline Id  Recent Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/account-purge/preview/{student_id}":{"get":{"tags":["admin"],"summary":"Purge Preview","description":"Dry-run plan for one student — per-table rows that WOULD be erased.","operationId":"purge_preview_api_v1_admin_account_purge_preview__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/account-purge/run":{"post":{"tags":["admin"],"summary":"Purge Run","description":"Cron entry point: purge accounts past their grace window.\nDry-run by default — pass ?dry_run=false to actually erase.","operationId":"purge_run_api_v1_admin_account_purge_run_post","parameters":[{"name":"dry_run","in":"query","required":false,"schema":{"type":"boolean","description":"dry-run unless explicitly false","default":true,"title":"Dry Run"},"description":"dry-run unless explicitly false"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/today/feed/{student_id}":{"get":{"tags":["today-pr-165"],"summary":"Get Today Feed","description":"PR-165 GET — render the Today tile feed for the current student.\n\nPipeline (per CLUSTER_REGISTRY §6.1):\n  1. Resolve current tier (FREE/ACE/GROW/SCALE)\n  2. Get today's dismissals from today_tile_state\n  3. For each tile_type in registry: tier-eligibility filter, dismissal\n     filter, then call the fetcher; collect non-None results\n  4. Sort by priority DESC\n  5. Truncate to TILE_COUNT_CAP[tier]\n  6. Emit today.feed_loaded + return\n\nThe fetchers themselves apply additional conditional logic (wellness only\non signal trip, recap only on Sundays, achievement only on unviewed badge,\nupgrade_prompt only on FREE) so a single static priority order yields a\nsmart feed.","operationId":"pr_165_today_feed","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/today/tile/{tile_type}/click":{"post":{"tags":["today-pr-165"],"summary":"Tile Click","description":"Audit a tile-click; emit today.tile_clicked. The actual deep-link nav\nis FE-side — this endpoint just records the analytics event + writes a\nsoft 'clicked' row to today_tile_state for retention analysis later.","operationId":"pr_165_tile_click","parameters":[{"name":"tile_type","in":"path","required":true,"schema":{"type":"string","title":"Tile Type"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TileClickBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/today/tile/{tile_type}/dismiss":{"post":{"tags":["today-pr-165"],"summary":"Tile Dismiss","description":"Dismiss a tile for today's bucket. Idempotent — re-dismiss is a no-op\nvia the UNIQUE partial index on (student_id, tile_type, day_bucket)\nWHERE interaction='dismissed' from migration 055.","operationId":"pr_165_tile_dismiss","parameters":[{"name":"tile_type","in":"path","required":true,"schema":{"type":"string","title":"Tile Type"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TileDismissBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/achievements/{student_id}":{"get":{"tags":["achievements-pr-195-a"],"summary":"List Achievements","description":"List earned + available badges for a student.\n\nSchema v1.0 (Badge Catalogue v1.0 / Gamification Architecture v1.0):\n  - All 36 badges are visible to every subscription tier — `activation_tier`\n    is product-rollout timing (T0..T5), not a paywall gate.\n  - `family` (F1..F7) replaces the prior `category` field.\n  - Unviewed = `showcased = FALSE` on student_achievements.","operationId":"pr_195_a_list","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/achievements/me/badges":{"get":{"tags":["achievements-pr-195-a"],"summary":"My Badges","description":"Same badge catalogue + earnability read as GET /{student_id}, but the\nstudent is the signed-in caller, never a path value. Used by the Quiet\nHouse achievements view, which has no student id of its own.\n\n\"me\" is a literal two-segment path, so it cannot be captured by the\none-segment /{student_id} route or by /{student_id}/streak-detail.","operationId":"pr_195_a_my_badges","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/achievements/me/exam-sitting":{"get":{"tags":["achievements-pr-195-a"],"summary":"My Exam Sitting","description":"Whether the signed-in student can confirm they sat their exam today.\nDates come only from the official calendar (canonical_exam_dates).","operationId":"job043_exam_sitting_state","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["achievements-pr-195-a"],"summary":"Confirm My Exam Sitting","description":"One tap: \"I sat the exam\". Allowed on or after the official exam date,\nonce per exam cycle; a repeat returns the first confirmation (replayed).","operationId":"job043_exam_sitting_confirm","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExamSittingConfirm"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/achievements/{student_id}/award":{"post":{"tags":["achievements-pr-195-a"],"summary":"Award Badge","description":"Internal trigger — award a badge.\n\nIdempotent via the UNIQUE (student_id, badge_id) constraint. Returns 409\nif the student already has this badge. Emits achievements.badge_earned.\n\nWave 1 callers wire from milestone-detection paths (streak, mock-completion,\nchapter-mastery) in subsequent product walks. The endpoint itself is a\nthin DB write + event emit so any future caller can use it.","operationId":"pr_195_a_award","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AwardBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/achievements/{badge_id}/view":{"post":{"tags":["achievements-pr-195-a"],"summary":"Mark Viewed","description":"Mark a badge as viewed; drops it from the Today achievement_tile slot.\nIdempotent — re-marking a viewed badge is a no-op.","operationId":"pr_195_a_view","parameters":[{"name":"badge_id","in":"path","required":true,"schema":{"type":"string","title":"Badge Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/achievements_routes__ViewBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/achievements/{badge_id}/share":{"post":{"tags":["achievements-pr-195-a"],"summary":"Share Badge","description":"Record a badge share. Tier-gated GROW+ per spec; FREE/ACE return 403.","operationId":"pr_195_a_share","parameters":[{"name":"badge_id","in":"path","required":true,"schema":{"type":"string","title":"Badge Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/achievements_routes__ShareBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/achievements/{badge_id}/share-card":{"get":{"tags":["achievements-pr-195-a"],"summary":"Share Card","description":"The learner's own badge as a downloadable card (SVG), drawn on the server from the award they already see.\n\nGROW and above, exactly as the spec's one tier line says (a cosmetic export; the badge and its record are free). Owner only: the badge must\nbe this student's. The card carries the badge's name, family, rarity, the date, how it was earned and a short digest. No score, no streak, no\nexperience points, no name. If the decision behind the award has been corrected or revoked the card is not drawn: 410 with the state.","operationId":"row52_share_card","parameters":[{"name":"badge_id","in":"path","required":true,"schema":{"type":"string","title":"Badge Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/achievements/{student_id}/streak-detail":{"get":{"tags":["achievements-pr-195-a"],"summary":"Get Streak Detail","description":"Streak detail for ACH-002 StreakDetail screen.\n\nReturns:\n  streak    — current state, count, longest, pause_budget_used, pause_budget_available\n  daily_cells — last 85 days [{date, intensity}] for 12-week heatmap (from dpp_sessions)\n  next_badge  — next unearned F1-family streak badge + days_needed","operationId":"pr_195_a_streak_detail","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/league/preferences/{student_id}":{"put":{"tags":["league-f5"],"summary":"Update League Preferences","operationId":"f5_update_league_preferences","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeaguePreferenceBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/league/{student_id}":{"get":{"tags":["league-f5"],"summary":"Get Effort League","operationId":"f5_get_effort_league","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/dashboard":{"get":{"tags":["admin_dashboard"],"summary":"Serve Dashboard","description":"Serve the rendered CEO dashboard HTML behind admin auth.","operationId":"serve_dashboard_admin_dashboard_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/dashboard/health":{"get":{"tags":["admin_dashboard"],"summary":"Dashboard Health","description":"Lightweight check that the HTML exists + reports its mtime.","operationId":"dashboard_health_admin_dashboard_health_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/analytics/waveb/prediction-outcome":{"post":{"tags":["analytics_waveb_admin"],"summary":"Resolve Waveb Prediction Outcome","description":"Resolve a generic Predict/Mock/Plan claim against a measured outcome.\n\nThis legacy Wave B surface is not the EG-PR10 admission-calibration authority.\nEduGraph model truth uses the source-backed outcome ledger mounted below.","operationId":"resolve_waveb_prediction_outcome_api_v1_admin_analytics_waveb_prediction_outcome_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PredictionOutcomeBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/analytics/waveb/calibration":{"get":{"tags":["analytics_waveb_admin"],"summary":"Get Waveb Calibration Monitor","description":"Internal generic calibration monitor with a hard public-claim sample gate.","operationId":"get_waveb_calibration_monitor_api_v1_admin_analytics_waveb_calibration_get","parameters":[{"name":"claim_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Claim Type"}},{"name":"source_product_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Source Product Id"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":3650,"minimum":1,"default":90,"title":"Days"}},{"name":"min_resolved","in":"query","required":false,"schema":{"type":"integer","maximum":10000,"minimum":1,"default":30,"title":"Min Resolved"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/analytics/waveb/edugraph/status":{"get":{"tags":["analytics_waveb_admin","edugraph_predictor_ops"],"summary":"Get Edugraph Predictor Outcome Status","operationId":"get_edugraph_predictor_outcome_status_api_v1_admin_analytics_waveb_edugraph_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/admin/analytics/waveb/edugraph/backtests":{"get":{"tags":["analytics_waveb_admin","edugraph_predictor_ops"],"summary":"List Edugraph Predictor Backtests","operationId":"list_edugraph_predictor_backtests_api_v1_admin_analytics_waveb_edugraph_backtests_get","parameters":[{"name":"model_key","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":64,"maxLength":64},{"type":"null"}],"title":"Model Key"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":32},{"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":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/analytics/waveb/edugraph/drift-alerts":{"get":{"tags":["analytics_waveb_admin","edugraph_predictor_ops"],"summary":"List Edugraph Predictor Drift Alerts","operationId":"list_edugraph_predictor_drift_alerts_api_v1_admin_analytics_waveb_edugraph_drift_alerts_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"default":"open","title":"Status"}},{"name":"severity","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"Severity"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/analytics/waveb/edugraph/model-operations":{"get":{"tags":["analytics_waveb_admin","edugraph_predictor_ops"],"summary":"List Edugraph Predictor Model Operations","operationId":"list_edugraph_predictor_model_operations_api_v1_admin_analytics_waveb_edugraph_model_operations_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Status"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/analytics/waveb/edugraph/violations":{"get":{"tags":["analytics_waveb_admin","edugraph_predictor_ops"],"summary":"List Edugraph Predictor Outcome Violations","operationId":"list_edugraph_predictor_outcome_violations_api_v1_admin_analytics_waveb_edugraph_violations_get","parameters":[{"name":"code","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Code"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":200,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/analytics/waveb/edugraph/source-ops/private-synthetic/{run_id}":{"get":{"tags":["analytics_waveb_admin","edugraph_source_ops"],"summary":"Source Ops Private Synthetic Status","description":"Return only the bounded P7 target receipt facts; never source contents.","operationId":"source_ops_private_synthetic_status_api_v1_admin_analytics_waveb_edugraph_source_ops_private_synthetic__run_id__get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/analytics/waveb/edugraph/source-ops/operations/{operation_id}/abcp-correlation":{"get":{"tags":["analytics_waveb_admin","edugraph_source_ops"],"summary":"Source Ops Abcp Correlation","description":"Read only the P7 correlation and event bindings; no source material is exposed.","operationId":"source_ops_abcp_correlation_api_v1_admin_analytics_waveb_edugraph_source_ops_operations__operation_id__abcp_correlation_get","parameters":[{"name":"operation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Operation Id"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/analytics/waveb/edugraph/source-ops/operations/abcp-claim/{claim_id}":{"get":{"tags":["analytics_waveb_admin","edugraph_source_ops"],"summary":"Source Ops Abcp Claim Handoff","description":"Resolve one P7 handoff after an interrupted request without exposing source material.","operationId":"source_ops_abcp_claim_handoff_api_v1_admin_analytics_waveb_edugraph_source_ops_operations_abcp_claim__claim_id__get","parameters":[{"name":"claim_id","in":"path","required":true,"schema":{"type":"string","title":"Claim Id"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/analytics/waveb/edugraph/source-ops/violations":{"get":{"tags":["analytics_waveb_admin","edugraph_source_ops"],"summary":"Source Ops Violations","operationId":"source_ops_violations_api_v1_admin_analytics_waveb_edugraph_source_ops_violations_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":200,"title":"Limit"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/analytics/waveb/edugraph/calibration-admin/status":{"get":{"tags":["analytics_waveb_admin","edugraph_calibration_admin"],"summary":"Calibration Admin Status","operationId":"calibration_admin_status_api_v1_admin_analytics_waveb_edugraph_calibration_admin_status_get","parameters":[{"name":"x-ops-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/analytics/waveb/edugraph/calibration-admin/coverage/stage":{"post":{"tags":["analytics_waveb_admin","edugraph_calibration_admin"],"summary":"Stage Coverage Plan","operationId":"stage_coverage_plan_api_v1_admin_analytics_waveb_edugraph_calibration_admin_coverage_stage_post","parameters":[{"name":"x-ops-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StageCoveragePlanBody"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/analytics/waveb/edugraph/calibration-admin/coverage/publish":{"post":{"tags":["analytics_waveb_admin","edugraph_calibration_admin"],"summary":"Publish Coverage Policy","operationId":"publish_coverage_policy_api_v1_admin_analytics_waveb_edugraph_calibration_admin_coverage_publish_post","parameters":[{"name":"x-ops-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublishCoveragePolicyBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/analytics/waveb/edugraph/calibration-admin/calibration/stage":{"post":{"tags":["analytics_waveb_admin","edugraph_calibration_admin"],"summary":"Stage Calibration Plan","operationId":"stage_calibration_plan_api_v1_admin_analytics_waveb_edugraph_calibration_admin_calibration_stage_post","parameters":[{"name":"x-ops-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StageCalibrationPlanBody"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/analytics/waveb/edugraph/calibration-admin/calibration/datasets/{dataset_id}/review":{"post":{"tags":["analytics_waveb_admin","edugraph_calibration_admin"],"summary":"Review Calibration Dataset","operationId":"review_calibration_dataset_api_v1_admin_analytics_waveb_edugraph_calibration_admin_calibration_datasets__dataset_id__review_post","parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Dataset Id"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewCalibrationDatasetBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/analytics/waveb/edugraph/calibration-admin/calibration/versions/{calibration_version_id}/review":{"post":{"tags":["analytics_waveb_admin","edugraph_calibration_admin"],"summary":"Review Calibration Model","operationId":"review_calibration_model_api_v1_admin_analytics_waveb_edugraph_calibration_admin_calibration_versions__calibration_version_id__review_post","parameters":[{"name":"calibration_version_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Calibration Version Id"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewCalibrationModelBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/analytics/waveb/edugraph/calibration-admin/backtests/run":{"post":{"tags":["analytics_waveb_admin","edugraph_calibration_admin"],"summary":"Run Backtest","operationId":"run_backtest_api_v1_admin_analytics_waveb_edugraph_calibration_admin_backtests_run_post","parameters":[{"name":"x-ops-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunBacktestBody"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/analytics/waveb/edugraph/calibration-admin/backtests/{backtest_run_id}/review":{"post":{"tags":["analytics_waveb_admin","edugraph_calibration_admin"],"summary":"Review Backtest","operationId":"review_backtest_api_v1_admin_analytics_waveb_edugraph_calibration_admin_backtests__backtest_run_id__review_post","parameters":[{"name":"backtest_run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Backtest Run Id"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewBacktestBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/analytics/waveb/edugraph/calibration-admin/quality-policies":{"post":{"tags":["analytics_waveb_admin","edugraph_calibration_admin"],"summary":"Stage Quality Policy","operationId":"stage_quality_policy_api_v1_admin_analytics_waveb_edugraph_calibration_admin_quality_policies_post","parameters":[{"name":"x-ops-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StageQualityPolicyBody"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/analytics/waveb/edugraph/calibration-admin/quality-policies/{quality_policy_id}/activate":{"post":{"tags":["analytics_waveb_admin","edugraph_calibration_admin"],"summary":"Activate Quality Policy Route","operationId":"activate_quality_policy_route_api_v1_admin_analytics_waveb_edugraph_calibration_admin_quality_policies__quality_policy_id__activate_post","parameters":[{"name":"quality_policy_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Quality Policy Id"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActivateQualityPolicyBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/analytics/waveb/edugraph/calibration-admin/model-operations":{"post":{"tags":["analytics_waveb_admin","edugraph_calibration_admin"],"summary":"Request Model Operation Route","operationId":"request_model_operation_route_api_v1_admin_analytics_waveb_edugraph_calibration_admin_model_operations_post","parameters":[{"name":"x-ops-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RequestModelOperationBody"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/analytics/waveb/edugraph/calibration-admin/model-operations/{operation_id}/review":{"post":{"tags":["analytics_waveb_admin","edugraph_calibration_admin"],"summary":"Review Model Operation Route","operationId":"review_model_operation_route_api_v1_admin_analytics_waveb_edugraph_calibration_admin_model_operations__operation_id__review_post","parameters":[{"name":"operation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Operation Id"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewModelOperationBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/analytics/waveb/edugraph/calibration-admin/model-operations/{operation_id}/execute":{"post":{"tags":["analytics_waveb_admin","edugraph_calibration_admin"],"summary":"Execute Model Operation Route","operationId":"execute_model_operation_route_api_v1_admin_analytics_waveb_edugraph_calibration_admin_model_operations__operation_id__execute_post","parameters":[{"name":"operation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Operation Id"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecuteModelOperationBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/analytics/waveb/edugraph/release/operator-readiness":{"get":{"tags":["analytics_waveb_admin","edugraph_release_gate"],"summary":"Operator Readiness","operationId":"edugraph_operator_readiness_v1","parameters":[{"name":"x-ops-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Edugraph Operator Readiness V1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/p7/aspireace/seat-capacity/receipts/{consumer_receipt_id}":{"get":{"tags":["abcp_p7_receipts"],"summary":"Read Abcp P7 Consumer Receipt","description":"Public, reference-only central verifier readback; no operator key or source bytes.","operationId":"read_abcp_p7_consumer_receipt_v1_p7_aspireace_seat_capacity_receipts__consumer_receipt_id__get","parameters":[{"name":"consumer_receipt_id","in":"path","required":true,"schema":{"type":"string","title":"Consumer Receipt Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/analytics-os/{student_id}/student-journey":{"get":{"tags":["analytics-os"],"summary":"Get Student Journey","description":"The single Analytics OS journey object consumed by the dedicated screen\nand every host placement (Home/WeakSpots/MockReview/Plan/Predict).\n\nPRD-AA-INSIGHTS-WEAK-SPOTS.md §22 build step 3 / §33 step 3: this route is a\nread-only compatibility view over the canonical Insights Decision Object\n(`GET /api/v1/insights/decision`, `apps/bff/insights_decision_routes.py`,\nENG-110 `insights_decision_core.py`). It never writes and never introduces a\nsecond mastery/decision source (see `build_student_journey` docstring) — it\nonly re-shapes an existing read for the Analytics/WeakSpots/Home/Predict host\nplacements. Headers follow the same demotion pattern already used for\n`GET /api/v1/analytics/insights` in `insights_decision_routes.py`.","operationId":"analytics_os_student_journey","deprecated":true,"parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/gamification/state/{student_id}":{"get":{"tags":["gamification-eng-011"],"summary":"Get State","description":"Aggregate state for the UI gauge: XP, level, streak, recent badges.","operationId":"eng_011_get_state","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/gamification/event":{"post":{"tags":["gamification-eng-011"],"summary":"Process Event Route","description":"Trigger the XP → streak → badge cascade for an activity.","operationId":"eng_011_process_event","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/gamification/streak/rollover/{student_id}":{"post":{"tags":["gamification-eng-011"],"summary":"Rollover Route","description":"Drive the FSM midnight rollover for one student. Cron-driven.","operationId":"eng_011_streak_rollover","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"is_exam_week","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Is Exam Week"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/leaderboard/{student_id}":{"get":{"tags":["leaderboard-scr-015"],"summary":"Get Leaderboard","description":"SCR-015 Leaderboard.\n\nReturns:\n  {\n    \"top\": [{rank, student_id, name, total_xp, streak, level_name, is_you}],\n    \"you\": {rank, total_xp, streak, level_name, percentile},\n    \"scope\": \"global\" | \"cohort\" | \"friends\",\n    \"generated_at\": iso8601,\n  }\n\nEngine canary: ENG-017 first (per G-104 §B4 P-100); fallback to direct\nSQL on student_xp + student_streaks if the engine isn't ready.","operationId":"scr_015_leaderboard","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"scope","in":"query","required":false,"schema":{"type":"string","description":"global | cohort | friends","default":"global","title":"Scope"},"description":"global | cohort | friends"},{"name":"top_n","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":5,"default":20,"title":"Top N"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/student/{student_id}/segment":{"get":{"tags":["eng-032-segment"],"summary":"Get Student Segment","description":"Return the student's ENG-032 segment + pacing recommendations.\n\nDB-first; live engine call backfills if DB row is empty/thin.","operationId":"get_student_segment_api_v1_student__student_id__segment_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/student/{student_id}/learning-style":{"get":{"tags":["personalization-engines"],"summary":"Get Learning Style","description":"Learning-style insights — ENG-040 `infer_style_edu_variant` on live signal.\n\n- Tier-gated: ACE+ (FREE → 403 locked envelope).\n- Reads real dpp_responses behavioral signal; honest degraded_reason when sparse.\n- Emits a product_id-attributed view event + an engine_call_log row.\n\nLegacy mode aliases accepted: classify | exam_prep_style | content_preference.\nReturns: vark + exam_prep_style + recommendations + edu_variant\n  edu_variant: { coaching_adaptation, revision_pattern,\n                 recommended_content_types, language_preference }","operationId":"get_learning_style_api_v1_student__student_id__learning_style_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"mode","in":"query","required":false,"schema":{"type":"string","default":"classify","title":"Mode"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/student/{student_id}/subject-strength":{"get":{"tags":["personalization-engines"],"summary":"Get Subject Strength","description":"EDU-020 — analyse | get_profile | get_priorities.","operationId":"get_subject_strength_api_v1_student__student_id__subject_strength_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"mode","in":"query","required":false,"schema":{"type":"string","default":"analyse","title":"Mode"}},{"name":"exam_type","in":"query","required":false,"schema":{"type":"string","default":"jee_main","title":"Exam Type"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/student/{student_id}/learning-path/generate":{"post":{"tags":["personalization-engines"],"summary":"Generate Learning Path","description":"EDU-022 generate_schedule — multi-week study schedule.","operationId":"generate_learning_path_api_v1_student__student_id__learning_path_generate_post","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LearningPathReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/student/{student_id}/learning-path/current":{"get":{"tags":["personalization-engines"],"summary":"Get Learning Path","description":"EDU-022 get_schedule — current generated schedule.","operationId":"get_learning_path_api_v1_student__student_id__learning_path_current_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/student/{student_id}/schedule":{"get":{"tags":["personalization-engines"],"summary":"Get Schedule","description":"EDU-023 schedule optimizer — daily | weekly | adjust.","operationId":"get_schedule_api_v1_student__student_id__schedule_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"mode","in":"query","required":false,"schema":{"type":"string","default":"daily","title":"Mode"}},{"name":"hours_available","in":"query","required":false,"schema":{"type":"number","maximum":16.0,"minimum":0.5,"default":4.0,"title":"Hours Available"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/student/{student_id}/meta-learning/embedding":{"get":{"tags":["personalization-engines"],"summary":"Get Meta Embedding","description":"ENG-031 embed_student — student embedding vector + nearest strategies.","operationId":"get_meta_embedding_api_v1_student__student_id__meta_learning_embedding_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/student/{student_id}/meta-learning/strategy":{"get":{"tags":["personalization-engines"],"summary":"Get Meta Strategy","description":"ENG-031 strategy_lookup — recommended adaptive learning strategy.","operationId":"get_meta_strategy_api_v1_student__student_id__meta_learning_strategy_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/student/{student_id}/meta-learning/session-start":{"post":{"tags":["personalization-engines"],"summary":"Adapt Meta Session Start","description":"D-14 deploy path: ENG-031 adapt_student at personalization/session start.\n\nThe live DPP start path calls the same engine mode fail-soft. This endpoint\ngives owner/debug clients an explicit way to verify the launch contract.","operationId":"adapt_meta_session_start_api_v1_student__student_id__meta_learning_session_start_post","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetaLearningSessionStartReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/student/{student_id}/decision/decide":{"post":{"tags":["personalization-engines"],"summary":"Decision Decide","description":"ENG-039 decide — pick best action from candidate options.\n\nDispatches through the traced chokepoint (engine_call_log) and emits a\n`policy.decision_made` event; the engine also writes a `policy_decisions_log`\naudit row with the constitutional gate result.","operationId":"decision_decide_api_v1_student__student_id__decision_decide_post","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecisionReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/student/{student_id}/decision/urgency":{"get":{"tags":["personalization-engines"],"summary":"Decision Urgency","description":"ENG-039 urgency — current decision urgency for this student.","operationId":"decision_urgency_api_v1_student__student_id__decision_urgency_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/personalization/{student_id}/learning-style":{"get":{"tags":["personalization-engines"],"summary":"Get Learning Style","description":"Learning-style insights — ENG-040 `infer_style_edu_variant` on live signal.\n\n- Tier-gated: ACE+ (FREE → 403 locked envelope).\n- Reads real dpp_responses behavioral signal; honest degraded_reason when sparse.\n- Emits a product_id-attributed view event + an engine_call_log row.\n\nLegacy mode aliases accepted: classify | exam_prep_style | content_preference.\nReturns: vark + exam_prep_style + recommendations + edu_variant\n  edu_variant: { coaching_adaptation, revision_pattern,\n                 recommended_content_types, language_preference }","operationId":"get_learning_style_api_v1_personalization__student_id__learning_style_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"mode","in":"query","required":false,"schema":{"type":"string","default":"classify","title":"Mode"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/nlp/process":{"post":{"tags":["nlp-engines"],"summary":"Nlp Process","description":"ENG-015 — understand | generate | full | translate | summarise.","operationId":"nlp_process_api_v1_nlp_process_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NLUReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/socratic/start":{"post":{"tags":["edu-025-socratic"],"summary":"Socratic Start","description":"EDU-025 start_session — open a new Socratic dialogue.","operationId":"socratic_start_api_v1_socratic_start_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SocraticStartReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/socratic/turn":{"post":{"tags":["edu-025-socratic"],"summary":"Socratic Turn","description":"EDU-025 next_turn — student response → next Socratic question.","operationId":"socratic_turn_api_v1_socratic_turn_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SocraticTurnReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/socratic/session/{session_id}":{"get":{"tags":["edu-025-socratic"],"summary":"Socratic Get Session","description":"EDU-025 get_session — full transcript + state.","operationId":"socratic_get_session_api_v1_socratic_session__session_id__get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"student_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/twin/face/{student_id}":{"get":{"tags":["twin-doctrine"],"summary":"Twin Face","description":"Twin Face — spec-grade Concept Graph overlay for Topography / Constellation / Mosaic.\n\nPer ASPIREACE_CONCEPT_GRAPH_v1_0_20260515 §6 + ASPIREACE_HOME_SCREEN_SPEC_v2_0.\nReads the canonical concept graph (336 nodes + 368 edges from mig 096) and\njoins the owned Twin state for the per-student overlay. Returns nodes,\nedges, chapter-aggregates, and recent-activity / milestone signals so the\nFE faces can render the full spec bindings without re-fetching.\n\nEmpty data renders as honest-empty per `feedback_no_stubs_or_shortcuts` —\na student with no mastery rows sees a dark sky / flat terrain, not synthetic\nplaceholder peaks.","operationId":"twin_face_api_v1_twin_face__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/twin/concepts/{student_id}":{"get":{"tags":["twin-doctrine"],"summary":"Twin Concepts","description":"Per-concept knowledge-tracing view (E1).\n\nReads twin_concept_state (written in-process on every graded attempt by\nENG-067 BKT) and applies read-time forgetting so callers see BOTH the last\nmeasured p_mastery AND the decayed `effective_p_mastery` as of now — the gap\nis the 'fading' signal. Honest small-n: a concept with <5 attempts reports\n`display_state='still_learning'` and the FE shows \"still learning you\", never\na hard %. Owner-gated by the router-level dependency.","operationId":"twin_concepts_api_v1_twin_concepts__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":200,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/twin/mistakes/{student_id}":{"get":{"tags":["twin-doctrine"],"summary":"Twin Mistakes","description":"Mistake DNA (E1b): per-taxonomy counts + this-vs-prior-window trend +\ntop-3 recurring with an example concept. Owner-gated by the router-level\ndependency. `window` accepts '30d' / '7d' / '90'. Honest empty (not an\nerror) when the student has no logged mistakes.","operationId":"twin_mistakes_api_v1_twin_mistakes__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"window","in":"query","required":false,"schema":{"type":"string","default":"30d","title":"Window"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/twin/state/{student_id}":{"get":{"tags":["twin-doctrine"],"summary":"Twin State","description":"Twin State Machine (11-State) for Home v2.0.\n\nCompatibility adapter. Off by default, so this endpoint behaves exactly as\nit does today until the boundary flag is deliberately turned on.","operationId":"twin_state_api_v1_twin_state__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/twin/persona/{student_id}":{"get":{"tags":["twin-doctrine"],"summary":"Twin Get Persona","description":"Return current persona assignment + history count.","operationId":"twin_get_persona_api_v1_twin_persona__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/twin/persona/infer":{"post":{"tags":["twin-doctrine"],"summary":"Twin Persona Infer","description":"HERO-TM-05 backing endpoint. Deterministic answer → persona mapping.\n\nLIRA-00 / D-12: authenticated subject owns this self-service operation.\nA body student_id is accepted only as a temporary compatibility field and\nnever grants cross-student authority.","operationId":"twin_persona_infer_api_v1_twin_persona_infer_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonaInferReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/twin/persona/{student_id}/assign":{"post":{"tags":["twin-doctrine"],"summary":"Twin Assign Persona","description":"Idempotent persona upsert + audit history row.","operationId":"twin_assign_persona_api_v1_twin_persona__student_id__assign_post","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssignPersonaReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/learning-map":{"get":{"tags":["learning-map"],"summary":"Get Learning Map","description":"Return only the JWT learner's canonical owned-state projection.","operationId":"get_learning_map_api_v1_learning_map_get","parameters":[{"name":"entry_mode","in":"query","required":false,"schema":{"enum":["direct","dna","twin_redirect","home","insights","return"],"type":"string","default":"direct","title":"Entry Mode"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Learning Map Api V1 Learning Map Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/learning-map/contests":{"post":{"tags":["learning-map"],"summary":"Submit Learning Map Contest","description":"Challenge one exact currently served state without mutating mastery.","operationId":"submit_learning_map_contest_api_v1_learning_map_contests_post","parameters":[{"name":"X-Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LearningMapContestRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Submit Learning Map Contest Api V1 Learning Map Contests Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/learner-day/proofs":{"post":{"tags":["learner-day"],"summary":"Create Learner Day Proof","operationId":"create_learner_day_proof_api_v1_learner_day_proofs_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LearnerDayProofRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Learner Day Proof Api V1 Learner Day Proofs Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/learner-day/proofs/{proof_ref}":{"get":{"tags":["learner-day"],"summary":"Read Learner Day Proof","operationId":"read_learner_day_proof_api_v1_learner_day_proofs__proof_ref__get","parameters":[{"name":"proof_ref","in":"path","required":true,"schema":{"type":"string","title":"Proof Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Learner Day Proof Api V1 Learner Day Proofs  Proof Ref  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/twin/outbox-relay/health":{"get":{"tags":["twin-outbox-relay-operator"],"summary":"Health","operationId":"health_api_v1_operator_twin_outbox_relay_health_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Health Api V1 Operator Twin Outbox Relay Health Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/twin/outbox-relay/backlog":{"get":{"tags":["twin-outbox-relay-operator"],"summary":"Backlog","operationId":"backlog_api_v1_operator_twin_outbox_relay_backlog_get","parameters":[{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Backlog Api V1 Operator Twin Outbox Relay Backlog Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/twin/outbox-relay/run":{"post":{"tags":["twin-outbox-relay-operator"],"summary":"Run Once","operationId":"run_once_api_v1_operator_twin_outbox_relay_run_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/twin_outbox_relay_routes__RelayRunCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"integer"},"title":"Response Run Once Api V1 Operator Twin Outbox Relay Run Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/twin/outbox-relay/{outbox_id}/requeue":{"post":{"tags":["twin-outbox-relay-operator"],"summary":"Requeue","operationId":"requeue_api_v1_operator_twin_outbox_relay__outbox_id__requeue_post","parameters":[{"name":"outbox_id","in":"path","required":true,"schema":{"type":"integer","title":"Outbox Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/twin_outbox_relay_routes__RelayRequeueCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Requeue Api V1 Operator Twin Outbox Relay  Outbox Id  Requeue Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/twin/product-admission/health":{"get":{"tags":["twin-product-admission-operator"],"summary":"Health","operationId":"health_api_v1_operator_twin_product_admission_health_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Health Api V1 Operator Twin Product Admission Health Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/twin/product-admission/backlog":{"get":{"tags":["twin-product-admission-operator"],"summary":"Backlog","operationId":"backlog_api_v1_operator_twin_product_admission_backlog_get","parameters":[{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"name":"source","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Backlog Api V1 Operator Twin Product Admission Backlog Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/twin/product-admission/scan":{"post":{"tags":["twin-product-admission-operator"],"summary":"Scan Once","operationId":"scan_once_api_v1_operator_twin_product_admission_scan_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdmissionRunCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"integer"},"title":"Response Scan Once Api V1 Operator Twin Product Admission Scan Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/twin/product-admission/run":{"post":{"tags":["twin-product-admission-operator"],"summary":"Run Once","operationId":"run_once_api_v1_operator_twin_product_admission_run_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdmissionRunCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"integer"},"title":"Response Run Once Api V1 Operator Twin Product Admission Run Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/twin/product-admission/{product_source_receipt_id}/requeue":{"post":{"tags":["twin-product-admission-operator"],"summary":"Requeue","operationId":"requeue_api_v1_operator_twin_product_admission__product_source_receipt_id__requeue_post","parameters":[{"name":"product_source_receipt_id","in":"path","required":true,"schema":{"type":"string","title":"Product Source Receipt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdmissionRequeueCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Requeue Api V1 Operator Twin Product Admission  Product Source Receipt Id  Requeue Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/twin/correction-rebuild/health":{"get":{"tags":["twin-correction-rebuild-operator"],"summary":"Health","operationId":"health_api_v1_operator_twin_correction_rebuild_health_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Health Api V1 Operator Twin Correction Rebuild Health Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/twin/correction-rebuild/backlog":{"get":{"tags":["twin-correction-rebuild-operator"],"summary":"Backlog","operationId":"backlog_api_v1_operator_twin_correction_rebuild_backlog_get","parameters":[{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Backlog Api V1 Operator Twin Correction Rebuild Backlog Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/twin/correction-rebuild/scan":{"post":{"tags":["twin-correction-rebuild-operator"],"summary":"Scan Once","operationId":"scan_once_api_v1_operator_twin_correction_rebuild_scan_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CorrectionRebuildRunCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"integer"},"title":"Response Scan Once Api V1 Operator Twin Correction Rebuild Scan Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/twin/correction-rebuild/run":{"post":{"tags":["twin-correction-rebuild-operator"],"summary":"Run Once","operationId":"run_once_api_v1_operator_twin_correction_rebuild_run_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CorrectionRebuildRunCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"integer"},"title":"Response Run Once Api V1 Operator Twin Correction Rebuild Run Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/operator/twin/correction-rebuild/{job_id}/requeue":{"post":{"tags":["twin-correction-rebuild-operator"],"summary":"Requeue","operationId":"requeue_api_v1_operator_twin_correction_rebuild__job_id__requeue_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CorrectionRebuildRequeueCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Requeue Api V1 Operator Twin Correction Rebuild  Job Id  Requeue Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/search":{"get":{"tags":["search-surface-arch"],"summary":"Search","description":"Rank canonical syllabus nodes before products, SKUs and content tags.","operationId":"search_api_v1_search_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","maxLength":120,"description":"Search query","default":"","title":"Q"},"description":"Search query"},{"name":"persona","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"P-AARAV | P-DIYA | P-RAJESH","title":"Persona"},"description":"P-AARAV | P-DIYA | P-RAJESH"},{"name":"tier","in":"query","required":false,"schema":{"type":"string","description":"Caller's tier for locked-item ranking","default":"FREE","title":"Tier"},"description":"Caller's tier for locked-item ranking"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":25,"title":"Limit"}},{"name":"os01_concept_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"description":"Optional permanent/deep-link concept reference; always re-verified server-side","title":"Os01 Concept Id"},"description":"Optional permanent/deep-link concept reference; always re-verified server-side"},{"name":"product_context_receipt_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Product Context Receipt Id"}},{"name":"product_context_hash","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":64,"maxLength":64},{"type":"null"}],"title":"Product Context Hash"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/search/surfaces":{"get":{"tags":["search-surface-arch"],"summary":"List Surfaces","operationId":"list_surfaces_api_v1_search_surfaces_get","parameters":[{"name":"persona","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Persona"}},{"name":"tier","in":"query","required":false,"schema":{"type":"string","default":"FREE","title":"Tier"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/search/open":{"get":{"tags":["search-open"],"summary":"Search Open","operationId":"search_open_api_v1_search_open_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","maxLength":120,"description":"What to look for","default":"","title":"Q"},"description":"What to look for"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":20,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Search Open Api V1 Search Open Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sandbox/start":{"post":{"tags":["sandbox-entry-mode"],"summary":"Sandbox Start","description":"Open a fresh anonymous Sandbox session and return Q1.","operationId":"sandbox_start_api_v1_sandbox_start_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sandbox/answer":{"post":{"tags":["sandbox-entry-mode"],"summary":"Sandbox Answer","description":"Submit an answer to the current question. Returns verdict + either\nthe next question or the final micro-report.","operationId":"sandbox_answer_api_v1_sandbox_answer_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnswerReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sandbox/report/{session_id}":{"get":{"tags":["sandbox-entry-mode"],"summary":"Sandbox Report","description":"Micro-report + persona inference + signup CTA payload.","operationId":"sandbox_report_api_v1_sandbox_report__session_id__get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/guest-tools/allowance":{"get":{"tags":["guest-free-tools"],"summary":"Guest Allowance","operationId":"guest_allowance_api_v1_guest_tools_allowance_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Guest Allowance Api V1 Guest Tools Allowance Get"}}}}}}},"/api/v1/guest-tools/image-doubt":{"post":{"tags":["guest-free-tools"],"summary":"Guest Image Doubt","operationId":"guest_image_doubt_api_v1_guest_tools_image_doubt_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuestImageBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Guest Image Doubt Api V1 Guest Tools Image Doubt Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/guest-tools/pdf-chat":{"post":{"tags":["guest-free-tools"],"summary":"Guest Pdf Chat","operationId":"guest_pdf_chat_api_v1_guest_tools_pdf_chat_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuestPdfBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Guest Pdf Chat Api V1 Guest Tools Pdf Chat Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/guest-tools/drills":{"post":{"tags":["guest-free-tools"],"summary":"Guest Drill","operationId":"guest_drill_api_v1_guest_tools_drills_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuestDrillBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Guest Drill Api V1 Guest Tools Drills Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/guest-tools/typed-doubt":{"post":{"tags":["guest-try-tools"],"summary":"Guest Typed Doubt","operationId":"guest_typed_doubt_api_v1_guest_tools_typed_doubt_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuestTypedDoubtBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Guest Typed Doubt Api V1 Guest Tools Typed Doubt Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/guest-tools/marked-answer":{"post":{"tags":["guest-try-tools"],"summary":"Guest Marked Answer","operationId":"guest_marked_answer_api_v1_guest_tools_marked_answer_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuestMarkedAnswerBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Guest Marked Answer Api V1 Guest Tools Marked Answer Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/guest-tools/rank-estimate":{"post":{"tags":["guest-try-tools"],"summary":"Guest Rank Estimate","description":"Same lookup the signed-in student gets (the band an exam body printed for earlier years, from an approved\ntable), not a prediction for this year. A try is spent only when a band is found.","operationId":"guest_rank_estimate_api_v1_guest_tools_rank_estimate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuestRankEstimateBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Guest Rank Estimate Api V1 Guest Tools Rank Estimate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/guest-tools/mock-taster":{"post":{"tags":["guest-try-tools"],"summary":"Guest Mock Taster","description":"The guest's one full-mock try. Honest about what it is: a mixed set from the approved public bank. It carries\nno timer, rank or percentile, and is_full_length is false unless the bank really held the whole count.","operationId":"guest_mock_taster_api_v1_guest_tools_mock_taster_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuestMockTasterBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Guest Mock Taster Api V1 Guest Tools Mock Taster Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/guest-tools/dpp":{"post":{"tags":["guest-try-tools"],"summary":"Guest Dpp","description":"A part of today's practice for a visitor: the same set all day (seeded by the IST date), 3 sets a day.","operationId":"guest_dpp_api_v1_guest_tools_dpp_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuestDppBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Guest Dpp Api V1 Guest Tools Dpp Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/guest-tools/concept-capsule":{"post":{"tags":["guest-try-tools"],"summary":"Guest Concept Capsule","description":"The approved, graph-backed blocks of one concept that hold no question text (formula, derivation, traps,\nflashcards, diagram); see GUEST_CAPSULE_BLOCKS for why solutions, hints and past-paper patterns are withheld. The signed-in capsule also reads the learner's mastery, notes and\npersonal links: a guest gets none of those. A try is spent only when there is real content.","operationId":"guest_concept_capsule_api_v1_guest_tools_concept_capsule_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuestCapsuleBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Guest Concept Capsule Api V1 Guest Tools Concept Capsule Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/guest/claim":{"post":{"tags":["guest-claim"],"summary":"Claim Guest Account","operationId":"claim_guest_account_api_v1_auth_guest_claim_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuestClaimBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Claim Guest Account Api V1 Auth Guest Claim Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/me/kept-work":{"post":{"tags":["guest-kept-work"],"summary":"Carry Over","operationId":"carry_over_api_v1_me_kept_work_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeptWorkBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Carry Over Api V1 Me Kept Work Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["guest-kept-work"],"summary":"List Kept","operationId":"list_kept_api_v1_me_kept_work_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Kept Api V1 Me Kept Work Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/storefront/events":{"post":{"tags":["storefront-events"],"summary":"Post Events","operationId":"post_events_api_v1_storefront_events_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/heroes":{"get":{"tags":["heroes-library-v1"],"summary":"List Heroes","description":"List all heroes. Filter by family (CS/TM/PD/RE) or status (ACTIVE/SCAFFOLD).","operationId":"list_heroes_api_v1_heroes_get","parameters":[{"name":"family","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Family"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/heroes/{hero_id}":{"get":{"tags":["heroes-library-v1"],"summary":"Get Hero","description":"Single hero detail.","operationId":"get_hero_api_v1_heroes__hero_id__get","parameters":[{"name":"hero_id","in":"path","required":true,"schema":{"type":"string","title":"Hero Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/heroes/{hero_id}/fire":{"post":{"tags":["heroes-library-v1"],"summary":"Fire Hero","description":"Record a hero firing — substrate for Witness mode (longitudinal\n'you triggered Trace 47 times this term') + analytics.","operationId":"fire_hero_api_v1_heroes__hero_id__fire_post","parameters":[{"name":"hero_id","in":"path","required":true,"schema":{"type":"string","title":"Hero Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FireReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/heroes/student/{student_id}/recent":{"get":{"tags":["heroes-library-v1"],"summary":"Recent Firings","description":"Recent hero firings for a student (Witness data substrate).","operationId":"recent_firings_api_v1_heroes_student__student_id__recent_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/heroes/{hero_id}/runtime":{"get":{"tags":["heroes-runtime"],"summary":"Hero Runtime","description":"Return the per-hero runtime payload for the given student.\n\nEmpty / honest-empty states are returned with state-keyed payloads;\ncallers render those instead of falling back to mock data.","operationId":"hero_runtime_api_v1_heroes__hero_id__runtime_get","parameters":[{"name":"hero_id","in":"path","required":true,"schema":{"type":"string","title":"Hero Id"}},{"name":"student_id","in":"query","required":true,"schema":{"type":"string","description":"Student ID — drives per-student data.","title":"Student Id"},"description":"Student ID — drives per-student data."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Hero Runtime Api V1 Heroes  Hero Id  Runtime Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home/context/{student_id}":{"get":{"tags":["home-v3"],"summary":"Home Context","description":"GET /api/v1/home/context/{student_id} — the home_context payload (DAT-158).\n\nThe Home Renderer (FE) calls this on every Home render and uses the\n`variant_recommendation` to pick which variant component to render.\n\nPer spec §4.5: target p95 < 80ms, hard timeout 150ms. On timeout the\nFE falls back to last cached home_context (TTL 5min) or Explore variant.","operationId":"home_context_api_v1_home_context__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"deep_link","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Deep link URL or surface shortname","title":"Deep Link"},"description":"Deep link URL or surface shortname"},{"name":"intent","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Explicit intent override (debug/admin)","title":"Intent"},"description":"Explicit intent override (debug/admin)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Home Context Api V1 Home Context  Student Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home/health":{"get":{"tags":["home-v3"],"summary":"Home V3 Health","description":"Health probe for ENG-066 router.","operationId":"home_v3_health_api_v1_home_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Home V3 Health Api V1 Home Health Get"}}}}}}},"/api/v1/home-os/launch/resolve":{"post":{"tags":["home-os","home-merch-launch"],"summary":"Resolve Launch","operationId":"resolve_launch_api_v1_home_os_launch_resolve_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-home-session","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Home-Session"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LaunchResolveInput"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/launch/receipts/{receipt_id}":{"get":{"tags":["home-os","home-merch-launch"],"summary":"Get Launch Receipt","operationId":"get_launch_receipt_api_v1_home_os_launch_receipts__receipt_id__get","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","title":"Receipt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-home-session","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Home-Session"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/launch/media/resolve":{"post":{"tags":["home-os","home-merch-launch","home-merch-media"],"summary":"Resolve Media","operationId":"resolve_media_api_v1_home_os_launch_media_resolve_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"x-home-session","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Home-Session"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaResolveInput"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/providers/readback":{"get":{"tags":["home-os","home-merch-providers"],"summary":"Provider Readback","operationId":"provider_readback_api_v1_home_os_providers_readback_get","parameters":[{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/providers/renderers/readback":{"get":{"tags":["home-os","home-merch-providers","home-merch-renderers"],"summary":"Renderer Readback","operationId":"renderer_readback_api_v1_home_os_providers_renderers_readback_get","parameters":[{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/learning/controls":{"post":{"tags":["home-os","home-merch-learning"],"summary":"Mutate Control","operationId":"mutate_control_api_v1_home_os_learning_controls_post","parameters":[{"name":"student_id","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":160,"title":"Student Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ControlMutation"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/learning/exposures":{"post":{"tags":["home-os","home-merch-learning"],"summary":"Record Exposure","operationId":"record_exposure_api_v1_home_os_learning_exposures_post","parameters":[{"name":"student_id","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":160,"title":"Student Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QualifiedExposureInput"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/learning/outcomes":{"post":{"tags":["home-os","home-merch-learning"],"summary":"Record Outcome","operationId":"record_outcome_api_v1_home_os_learning_outcomes_post","parameters":[{"name":"student_id","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":160,"title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OutcomeInput"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/learning/why/{impression_id}/{product_id}":{"get":{"tags":["home-os","home-merch-learning"],"summary":"Why This","operationId":"why_this_api_v1_home_os_learning_why__impression_id___product_id__get","parameters":[{"name":"impression_id","in":"path","required":true,"schema":{"type":"string","title":"Impression Id"}},{"name":"product_id","in":"path","required":true,"schema":{"type":"string","title":"Product Id"}},{"name":"student_id","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":160,"title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/learning/operator/experiments":{"post":{"tags":["home-os","home-merch-learning"],"summary":"Create Experiment","operationId":"create_experiment_api_v1_home_os_learning_operator_experiments_post","parameters":[{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExperimentDraft"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["home-os","home-merch-learning"],"summary":"Experiment Readback","operationId":"experiment_readback_api_v1_home_os_learning_operator_experiments_get","parameters":[{"name":"experiment_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Experiment Id"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/learning/operator/experiments/{experiment_id}/review":{"post":{"tags":["home-os","home-merch-learning"],"summary":"Review Experiment","operationId":"review_experiment_api_v1_home_os_learning_operator_experiments__experiment_id__review_post","parameters":[{"name":"experiment_id","in":"path","required":true,"schema":{"type":"string","title":"Experiment Id"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExperimentReview"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/learning/operator/experiments/evaluations":{"post":{"tags":["home-os","home-merch-learning"],"summary":"Evaluate Experiment","operationId":"evaluate_experiment_api_v1_home_os_learning_operator_experiments_evaluations_post","parameters":[{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExperimentEvaluationInput"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/learning/operator/experiments/{experiment_id}/transition":{"post":{"tags":["home-os","home-merch-learning"],"summary":"Transition Experiment","operationId":"transition_experiment_api_v1_home_os_learning_operator_experiments__experiment_id__transition_post","parameters":[{"name":"experiment_id","in":"path","required":true,"schema":{"type":"string","title":"Experiment Id"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExperimentTransition"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/operations/showroom":{"get":{"tags":["home-os","home-merch-operations"],"summary":"Public Showroom","operationId":"public_showroom_api_v1_home_os_operations_showroom_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/home-os/operations/continuity/issue":{"post":{"tags":["home-os","home-merch-operations"],"summary":"Issue Continuity","operationId":"issue_continuity_api_v1_home_os_operations_continuity_issue_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/home_merch_operations__contracts__ContinuityIssue"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/operations/continuity/verify":{"post":{"tags":["home-os","home-merch-operations"],"summary":"Verify Continuity","operationId":"verify_continuity_api_v1_home_os_operations_continuity_verify_post","parameters":[{"name":"student_id","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":160,"title":"Student Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContinuityVerify"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/operations/channel-intents":{"post":{"tags":["home-os","home-merch-operations"],"summary":"Queue Channel Intent","operationId":"queue_channel_intent_api_v1_home_os_operations_channel_intents_post","parameters":[{"name":"student_id","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":160,"title":"Student Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChannelIntentInput"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/operations/channel-exposures":{"post":{"tags":["home-os","home-merch-operations"],"summary":"Record Cross Channel Exposure","operationId":"record_cross_channel_exposure_api_v1_home_os_operations_channel_exposures_post","parameters":[{"name":"student_id","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":160,"title":"Student Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrossChannelExposureInput"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/operations/operator/campaigns":{"post":{"tags":["home-os","home-merch-operations"],"summary":"Create Campaign","operationId":"create_campaign_api_v1_home_os_operations_operator_campaigns_post","parameters":[{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/home_merch_operations__contracts__CampaignDraft"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/operations/operator/campaigns/{campaign_id}/review":{"post":{"tags":["home-os","home-merch-operations"],"summary":"Review Campaign","operationId":"review_campaign_api_v1_home_os_operations_operator_campaigns__campaign_id__review_post","parameters":[{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string","title":"Campaign Id"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/home_merch_operations__contracts__CampaignReview"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/operations/operator/campaigns/{campaign_id}/transition":{"post":{"tags":["home-os","home-merch-operations"],"summary":"Transition Campaign","operationId":"transition_campaign_api_v1_home_os_operations_operator_campaigns__campaign_id__transition_post","parameters":[{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string","title":"Campaign Id"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/home_merch_operations__contracts__CampaignTransition"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/operations/operator/overrides":{"post":{"tags":["home-os","home-merch-operations"],"summary":"Create Override","operationId":"create_override_api_v1_home_os_operations_operator_overrides_post","parameters":[{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/home_merch_operations__contracts__OverrideDraft"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/operations/operator/recalls":{"post":{"tags":["home-os","home-merch-operations"],"summary":"Create Recall","operationId":"create_recall_api_v1_home_os_operations_operator_recalls_post","parameters":[{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/home_merch_operations__contracts__RecallDraft"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/operations/operator/readback":{"get":{"tags":["home-os","home-merch-operations"],"summary":"Operator Readback","operationId":"operator_readback_api_v1_home_os_operations_operator_readback_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/runtime/render-ack":{"post":{"tags":["home-os","homeimp-runtime"],"summary":"Acknowledge Render","operationId":"acknowledge_render_api_v1_home_os_runtime_render_ack_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderAck"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/runtime/actions":{"post":{"tags":["home-os","homeimp-runtime"],"summary":"Record Action","operationId":"record_action_api_v1_home_os_runtime_actions_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/home_os__homeimp_e2e_runtime__ActionCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/runtime/returns/{thread_ref}":{"get":{"tags":["home-os","homeimp-runtime"],"summary":"Read Return","operationId":"read_return_api_v1_home_os_runtime_returns__thread_ref__get","parameters":[{"name":"thread_ref","in":"path","required":true,"schema":{"type":"string","title":"Thread Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/runtime/recommendation-dismissals/eligibility":{"get":{"tags":["home-os","homeimp-runtime"],"summary":"Get Recommendation Dismissal Eligibility","operationId":"get_recommendation_dismissal_eligibility_api_v1_home_os_runtime_recommendation_dismissals_eligibility_get","parameters":[{"name":"home_decision_ref","in":"query","required":true,"schema":{"type":"string","title":"Home Decision Ref"}},{"name":"object_id","in":"query","required":true,"schema":{"type":"string","title":"Object Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/runtime/recommendation-dismissals":{"post":{"tags":["home-os","homeimp-runtime"],"summary":"Dismiss Recommendation","operationId":"dismiss_recommendation_api_v1_home_os_runtime_recommendation_dismissals_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DismissRecommendationCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/parent/state":{"get":{"tags":["home-os","home-parent"],"summary":"Get Parent State","operationId":"get_parent_state_api_v1_home_os_parent_state_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/home-os/parent/select":{"post":{"tags":["home-os","home-parent"],"summary":"Select Parent State","operationId":"select_parent_state_api_v1_home_os_parent_select_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Selection"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/context":{"get":{"tags":["home-os"],"summary":"Get Context","operationId":"get_context_api_v1_home_os_context_get","parameters":[{"name":"student_id","in":"query","required":false,"schema":{"type":"string","default":"anonymous","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/candidates":{"get":{"tags":["home-os"],"summary":"Get Candidates","description":"Debug/operator candidate read. This is never a renderable Home feed.","operationId":"get_candidates_api_v1_home_os_candidates_get","parameters":[{"name":"student_id","in":"query","required":false,"schema":{"type":"string","default":"anonymous","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/feed":{"get":{"tags":["home-os"],"summary":"Get Feed","description":"Return one final, persisted Home decision.\n\nOnly the requalified final objects are persisted and exposed; no\npost-persistence or browser injection is permitted.\n\nWHAT ACTUALLY RUNS, measured 2026-08-09 — this docstring used to claim that\n\"HM3, catalogue, campaign, override, recall and learning controls operate\nbefore the final-object authority\". They now do; this repairs the regression\nintroduced when `e338cfc1d` (2026-07-28) required a canonical adaptive\nbridge. That rewrite dropped `compose_feed`, the golden provider fan-out and\n`compose_learning_governed_home_feed` from the personal path.\n\nSo the path is: adaptive bridge -> base jobs and approved products -> HM3\nprovider and ranking governance -> final object authority -> canonical\nfinalisation. Guest, public and signed-in feeds share this ordering. Products\ntherefore follow governed ranking\norder, not in a ranked order — worth knowing against the publication\ndecision \"publish everything eligible, the ranking engine decides what\nactually appears\".\n\n`tests/unit/test_home_merch_feed_runtime.py` and\n`test_home_merch_golden_providers.py` assert the governed call is present\nhere and remain regression coverage for this ordering.","operationId":"get_feed_api_v1_home_os_feed_get","parameters":[{"name":"student_id","in":"query","required":false,"schema":{"type":"string","default":"anonymous","title":"Student Id"}},{"name":"adaptive_bridge_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Adaptive Bridge Id"}},{"name":"deep_link","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Deep Link"}},{"name":"intent","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Intent"}},{"name":"proof_home_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Proof Home Type"}},{"name":"proof_cold_state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Proof Cold State"}},{"name":"proof_entry_mode","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Proof Entry Mode"}},{"name":"composition_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Composition Id"}},{"name":"expanded_collection_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expanded Collection Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/public":{"get":{"tags":["home-os"],"summary":"Get Public Home","description":"Return the non-personal Home projection without accepting an actor ID.","operationId":"get_public_home_api_v1_home_os_public_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/home-os/decisions/{home_decision_ref}":{"get":{"tags":["home-os"],"summary":"Get Home Decision Readback","description":"Why this learner's Home looked the way it did — for the learner.\n\nSET_HOME_OS §1 lists six questions Home exists to answer. One is **\"Why did\neach object appear?\"**, and until now it had no answer a learner could\nreach: `§6.1` specifies `GET /api/v1/home-os/decisions/{id}` and it was never\nbuilt, so the only readback was\n`/internal/v1/home-os/decisions/{ref}/trace` — operator-only, on a different\nrouter, behind `require_operator`.\n\nTHE REASONS WERE NOT MERELY UNSURFACED — most were never written down.\n`home_candidate_decisions` looks like the source and is not: in production\nit holds 433 rows, every one `qualified`, every `reason_codes` empty, and\n`rejected_ledger` is empty on all 39 decisions. The accept/reject split\nlives in `feed_json.proof`, and the refusal kinds now live beside it\nbecause both feed builders were computing `Rejection.reasons` on every\nrequest and keeping only the candidate id. See\n`home_os.refusal.refusals_proof`.\n\nOWNERSHIP IS CHECKED TWICE, deliberately. `enforce_home_os_personal_scope`\nproves the CALLER owns the `student_id` they asked with; it knows nothing\nabout this decision. Without the second check below, any signed-in learner\ncould read any other learner's Home decision by quoting its ref, which is\nexactly the shape of the parent-gate bug already recorded in\n`test_parent_consent_writes_are_real.py`. A 404 rather than a 403: whether a\ngiven decision ref exists is not this caller's business.\n\nLEARNER-SAFE, not the operator trace. This returns what appeared and why,\nand what was refused and why. It does NOT return `feed_json`,\n`decision_digest`, `request_digest`, source confidence or the render and\naction receipt chain — those are operator evidence about the system, not an\nexplanation owed to a student.","operationId":"get_home_decision_readback_api_v1_home_os_decisions__home_decision_ref__get","parameters":[{"name":"home_decision_ref","in":"path","required":true,"schema":{"type":"string","title":"Home Decision Ref"}},{"name":"student_id","in":"query","required":false,"schema":{"type":"string","default":"anonymous","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/catalogue/active":{"get":{"tags":["home-os"],"summary":"Get Active Merch Catalogue","operationId":"get_active_merch_catalogue_api_v1_home_os_catalogue_active_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/home-os/discover":{"get":{"tags":["home-os"],"summary":"Discover Merch Catalogue","operationId":"discover_merch_catalogue_api_v1_home_os_discover_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Q"}},{"name":"family","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Family"}},{"name":"free_only","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Free Only"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":24,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/v4/search":{"get":{"tags":["home-os"],"summary":"Search Home V4 Catalogue","description":"Exact/token-boundary search over the active, gate-cleared catalogue.","operationId":"search_home_v4_catalogue_api_v1_home_os_v4_search_get","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":120,"title":"Q"}},{"name":"student_id","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":160,"default":"anonymous","title":"Student Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/assigned-work":{"post":{"tags":["home-os"],"summary":"Create Assigned Work","operationId":"create_assigned_work_api_v1_home_os_assigned_work_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssignedWorkCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["home-os"],"summary":"Get Assigned Work","operationId":"get_assigned_work_api_v1_home_os_assigned_work_get","parameters":[{"name":"student_id","in":"query","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":8,"minimum":1,"default":4,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/assigned-work/teacher/roster":{"get":{"tags":["home-os"],"summary":"Get Assigned Work Teacher Roster","operationId":"get_assigned_work_teacher_roster_api_v1_home_os_assigned_work_teacher_roster_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/assigned-work/teacher":{"get":{"tags":["home-os"],"summary":"Get Teacher Assigned Work","operationId":"get_teacher_assigned_work_api_v1_home_os_assigned_work_teacher_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","maximum":250,"minimum":1,"default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/audiences/teacher/projection":{"get":{"tags":["home-os"],"summary":"Get Teacher Home V4 Projection","description":"Return only source-proved objects for one server-owned teacher context.","operationId":"get_teacher_home_v4_projection_api_v1_home_os_audiences_teacher_projection_get","parameters":[{"name":"context_kind","in":"query","required":true,"schema":{"type":"string","pattern":"^(class|batch|learner_assignment_scope)$","title":"Context Kind"}},{"name":"context_id","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":160,"title":"Context Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/audiences/institution/projection":{"get":{"tags":["home-os"],"summary":"Get Institution Home V4 Projection","description":"Reuse AA-P060's live institution authorization and aggregate read model.\n\n`cohort_dashboard` owns the institution-admin token, active contract and\ntenant-scope checks.  This endpoint deliberately delegates to it instead\nof accepting a client-supplied institution or re-querying another scope.","operationId":"get_institution_home_v4_projection_api_v1_home_os_audiences_institution_projection_get","parameters":[{"name":"scope_key","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":160,"title":"Scope Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/audiences/operator/projection":{"get":{"tags":["home-os"],"summary":"Get Operator Home V4 Projection","description":"Reuse the operator readback and its existing operator boundary.","operationId":"get_operator_home_v4_projection_api_v1_home_os_audiences_operator_projection_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/assigned-work/teacher/{assignment_id}":{"patch":{"tags":["home-os"],"summary":"Manage Teacher Assigned Work","operationId":"manage_teacher_assigned_work_api_v1_home_os_assigned_work_teacher__assignment_id__patch","parameters":[{"name":"assignment_id","in":"path","required":true,"schema":{"type":"string","title":"Assignment Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeacherAssignedWorkUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/assigned-work/{assignment_id}":{"patch":{"tags":["home-os"],"summary":"Set Assigned Work Status","operationId":"set_assigned_work_status_api_v1_home_os_assigned_work__assignment_id__patch","parameters":[{"name":"assignment_id","in":"path","required":true,"schema":{"type":"string","title":"Assignment Id"}},{"name":"student_id","in":"query","required":true,"schema":{"type":"string","title":"Student Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssignedWorkStatusUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/replay-current":{"get":{"tags":["home-os"],"summary":"Get Current Feed Replay","operationId":"get_current_feed_replay_api_v1_home_os_replay_current_get","parameters":[{"name":"student_id","in":"query","required":false,"schema":{"type":"string","default":"anonymous","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/replay/{replay_id}":{"get":{"tags":["home-os"],"summary":"Get Feed Replay","operationId":"get_feed_replay_api_v1_home_os_replay__replay_id__get","parameters":[{"name":"replay_id","in":"path","required":true,"schema":{"type":"string","title":"Replay Id"}},{"name":"student_id","in":"query","required":false,"schema":{"type":"string","default":"anonymous","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/exposures":{"post":{"tags":["home-os"],"summary":"Record Exposures","description":"Take a client's observations that objects were actually seen, and judge them.\n\nValidate the HF-044 measurement, bind it to the authenticated student's\nexact current native composition and placed object, then acknowledge only\nafter canonical or pending event custody is durable.\n\nA RENDER IS NOT A SIGHTING, which is the whole reason this is an intake\nrather than something derived. A tile placed below the fold, behind a\nmodal, in a background tab, or on screen for 200 milliseconds while\nsomebody scrolled past has not been seen, and counting it suppresses\nsomething they never had the chance to read. The app then decides they are\nbored of an offer they never laid eyes on.\n\nTHE CLAIM IS EVIDENCE, NOT A VERDICT. A client cannot say \"seen\"; it can\nonly supply the measurements HF-044 judges by, and a claim without them\nfails to parse as an observation at all. Each one is evaluated\nindependently and each refusal is named and counted rather than dropped --\na client whose instrumentation is broken should be able to see that from\nthe reply instead of watching its numbers quietly not arrive.\n\nA missing custody store returns a typed retryable non-acknowledgement.\nDelivery remains separate: a durable queued event is enough to acknowledge\ncustody, but does not claim that any downstream bus accepted it.","operationId":"record_exposures_api_v1_home_os_exposures_post","parameters":[{"name":"student_id","in":"query","required":false,"schema":{"type":"string","default":"anonymous","title":"Student Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/replay":{"post":{"tags":["home-os"],"summary":"Create Feed Replay","operationId":"create_feed_replay_api_v1_home_os_replay_post","parameters":[{"name":"student_id","in":"query","required":false,"schema":{"type":"string","default":"anonymous","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/bridges/trututor/need-status-grants/{bridge_ref}":{"get":{"tags":["home-os","home-os-trututor-bridge"],"summary":"Read Need Status Grant","operationId":"read_need_status_grant_api_v1_home_os_bridges_trututor_need_status_grants__bridge_ref__get","parameters":[{"name":"bridge_ref","in":"path","required":true,"schema":{"type":"string","title":"Bridge Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Need Status Grant Api V1 Home Os Bridges Trututor Need Status Grants  Bridge Ref  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["home-os","home-os-trututor-bridge"],"summary":"Revoke Need Status","operationId":"revoke_need_status_api_v1_home_os_bridges_trututor_need_status_grants__bridge_ref__delete","parameters":[{"name":"bridge_ref","in":"path","required":true,"schema":{"type":"string","title":"Bridge Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Revoke Need Status Api V1 Home Os Bridges Trututor Need Status Grants  Bridge Ref  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/bridges/trututor/need-status-grants":{"post":{"tags":["home-os","home-os-trututor-bridge"],"summary":"Grant Need Status","operationId":"grant_need_status_api_v1_home_os_bridges_trututor_need_status_grants_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NeedStatusGrantRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Grant Need Status Api V1 Home Os Bridges Trututor Need Status Grants Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/bridges/trututor/subjects":{"post":{"tags":["home-os","home-os-trututor-bridge"],"summary":"Bind Trututor Subject","operationId":"bind_trututor_subject_api_v1_home_os_bridges_trututor_subjects_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Correlation-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Correlation-Id"}},{"name":"X-Request-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Request-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BridgeSubjectBindRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Bind Trututor Subject Api V1 Home Os Bridges Trututor Subjects Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/bridges/trututor/subjects/{shared_student_id}":{"delete":{"tags":["home-os","home-os-trututor-bridge"],"summary":"Revoke Trututor Subject","operationId":"revoke_trututor_subject_api_v1_home_os_bridges_trututor_subjects__shared_student_id__delete","parameters":[{"name":"shared_student_id","in":"path","required":true,"schema":{"type":"string","title":"Shared Student Id"}},{"name":"scope","in":"query","required":false,"schema":{"anyOf":[{"enum":["assigned_work_delivery","teacher_need_delivery"],"type":"string"},{"type":"null"}],"title":"Scope"}},{"name":"purpose","in":"query","required":false,"schema":{"anyOf":[{"enum":["home_assigned_work","trututor_teacher_match"],"type":"string"},{"type":"null"}],"title":"Purpose"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Revoke Trututor Subject Api V1 Home Os Bridges Trututor Subjects  Shared Student Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/bridges/trututor/assigned-work":{"post":{"tags":["home-os","home-os-trututor-bridge"],"summary":"Receive Trututor Assigned Work","operationId":"receive_trututor_assigned_work_api_v1_home_os_bridges_trututor_assigned_work_post","parameters":[{"name":"X-TruTutor-Signature","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Trututor-Signature"}},{"name":"X-TruTutor-Sent-At","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Trututor-Sent-At"}},{"name":"X-TruTutor-Key-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Trututor-Key-Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Correlation-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Correlation-Id"}},{"name":"X-Request-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Request-Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TruTutorAssignedWorkPacket"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Receive Trututor Assigned Work Api V1 Home Os Bridges Trututor Assigned Work Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/bridges/trututor/answer-review":{"post":{"tags":["home-os","home-os-trututor-bridge"],"summary":"Receive Trututor Answer Review","description":"Accept a QA-approved Answer Review as a learner-safe light signal.","operationId":"receive_trututor_answer_review_api_v1_home_os_bridges_trututor_answer_review_post","parameters":[{"name":"X-TruTutor-Signature","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Trututor-Signature"}},{"name":"X-TruTutor-Sent-At","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Trututor-Sent-At"}},{"name":"X-TruTutor-Key-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Trututor-Key-Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Correlation-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Correlation-Id"}},{"name":"X-Request-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Request-Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TruTutorAnswerReviewPacket"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Receive Trututor Answer Review Api V1 Home Os Bridges Trututor Answer Review Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/bridges/trututor/assigned-work/receipts/{receipt_id}":{"get":{"tags":["home-os","home-os-trututor-bridge"],"summary":"Read Trututor Assignment Receipt","operationId":"read_trututor_assignment_receipt_api_v1_home_os_bridges_trututor_assigned_work_receipts__receipt_id__get","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","title":"Receipt Id"}},{"name":"X-Bridge-Readback-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Bridge-Readback-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Trututor Assignment Receipt Api V1 Home Os Bridges Trututor Assigned Work Receipts  Receipt Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/bridges/trututor/scopes":{"get":{"tags":["home-os","home-os-trututor-scopes"],"summary":"My Scopes","operationId":"my_scopes_api_v1_home_os_bridges_trututor_scopes_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response My Scopes Api V1 Home Os Bridges Trututor Scopes Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/bridges/trututor/scopes/{scope}":{"put":{"tags":["home-os","home-os-trututor-scopes"],"summary":"Grant My Scope","operationId":"grant_my_scope_api_v1_home_os_bridges_trututor_scopes__scope__put","parameters":[{"name":"scope","in":"path","required":true,"schema":{"type":"string","title":"Scope"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Grant My Scope Api V1 Home Os Bridges Trututor Scopes  Scope  Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["home-os","home-os-trututor-scopes"],"summary":"Revoke My Scope","operationId":"revoke_my_scope_api_v1_home_os_bridges_trututor_scopes__scope__delete","parameters":[{"name":"scope","in":"path","required":true,"schema":{"type":"string","title":"Scope"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Revoke My Scope Api V1 Home Os Bridges Trututor Scopes  Scope  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/bridges/trututor/delivery/shown":{"post":{"tags":["home-os","home-os-trututor-bridge"],"summary":"Assigned Work Shown","description":"The learner's Home displayed this TruTutor work. Record it, acknowledge in the background.","operationId":"assigned_work_shown_api_v1_home_os_bridges_trututor_delivery_shown_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShownRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Assigned Work Shown Api V1 Home Os Bridges Trututor Delivery Shown Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/bridges/trututor/delivery/status":{"get":{"tags":["home-os","home-os-trututor-bridge"],"summary":"Delivery Status","description":"Everything the consent card needs, with an honest off-state.","operationId":"delivery_status_api_v1_home_os_bridges_trututor_delivery_status_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Delivery Status Api V1 Home Os Bridges Trututor Delivery Status Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/bridges/trututor/retests":{"get":{"tags":["home-os","home-os-trututor-retest"],"summary":"List Retests","description":"The learner's check-ins, newest first. Also retries any result that is due to go out.","operationId":"list_retests_api_v1_home_os_bridges_trututor_retests_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Retests Api V1 Home Os Bridges Trututor Retests Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/bridges/trututor/retests/{retest_id}":{"get":{"tags":["home-os","home-os-trututor-retest"],"summary":"Get Retest","operationId":"get_retest_api_v1_home_os_bridges_trututor_retests__retest_id__get","parameters":[{"name":"retest_id","in":"path","required":true,"schema":{"type":"string","title":"Retest Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Retest Api V1 Home Os Bridges Trututor Retests  Retest Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/bridges/trututor/retests/{retest_id}/answers":{"post":{"tags":["home-os","home-os-trututor-retest"],"summary":"Answer Retest","operationId":"answer_retest_api_v1_home_os_bridges_trututor_retests__retest_id__answers_post","parameters":[{"name":"retest_id","in":"path","required":true,"schema":{"type":"string","title":"Retest Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/home_os__trututor_retest__AnswerBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Answer Retest Api V1 Home Os Bridges Trututor Retests  Retest Id  Answers Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/bridges/trututor/retests/{retest_id}/finish":{"post":{"tags":["home-os","home-os-trututor-retest"],"summary":"Finish","operationId":"finish_api_v1_home_os_bridges_trututor_retests__retest_id__finish_post","parameters":[{"name":"retest_id","in":"path","required":true,"schema":{"type":"string","title":"Retest Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Finish Api V1 Home Os Bridges Trututor Retests  Retest Id  Finish Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/bridges/trututor/handoff/redeem":{"post":{"tags":["home-os","home-os-trututor-handoff"],"summary":"Learner Redeem","operationId":"learner_redeem_api_v1_home_os_bridges_trututor_handoff_redeem_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/home_os__trututor_handoff__RedeemBody"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Learner Redeem Api V1 Home Os Bridges Trututor Handoff Redeem Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/bridges/trututor/handoff/revoke":{"post":{"tags":["home-os","home-os-trututor-handoff"],"summary":"Trututor Revoked","description":"TruTutor tells us the learner or parent stopped the sharing there. Signed; idempotent.","operationId":"trututor_revoked_api_v1_home_os_bridges_trututor_handoff_revoke_post","parameters":[{"name":"X-TruTutor-Handoff-Sent-At","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Trututor-Handoff-Sent-At"}},{"name":"X-TruTutor-Handoff-Signature","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Trututor-Handoff-Signature"}},{"name":"X-TruTutor-Key-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Trututor-Key-Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/home_os__trututor_handoff__RevokeBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Trututor Revoked Api V1 Home Os Bridges Trututor Handoff Revoke Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/bridges/trututor/need-packets/briefs":{"post":{"tags":["home-os","home-os-trututor-need-packet"],"summary":"Prepare Human Help Brief","description":"Create a bounded pre-handoff brief; this route cannot book anybody.","operationId":"prepare_human_help_brief_api_v1_home_os_bridges_trututor_need_packets_briefs_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HumanHelpBriefRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Prepare Human Help Brief Api V1 Home Os Bridges Trututor Need Packets Briefs Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/bridges/trututor/need-packets/deliver":{"post":{"tags":["home-os","home-os-trututor-need-packet"],"summary":"Deliver Need Packet","operationId":"deliver_need_packet_api_v1_home_os_bridges_trututor_need_packets_deliver_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NeedPacketDeliveryRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Deliver Need Packet Api V1 Home Os Bridges Trututor Need Packets Deliver Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/bridges/trututor/need-packets/{bridge_ref}/status":{"get":{"tags":["home-os","home-os-trututor-need-packet"],"summary":"Get Need Status","operationId":"get_need_status_api_v1_home_os_bridges_trututor_need_packets__bridge_ref__status_get","parameters":[{"name":"bridge_ref","in":"path","required":true,"schema":{"type":"string","title":"Bridge Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Need Status Api V1 Home Os Bridges Trututor Need Packets  Bridge Ref  Status Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/v4/needs/selections":{"post":{"tags":["home-os","home-os-need-selection"],"summary":"Select Home Need","operationId":"select_home_need_api_v1_home_os_v4_needs_selections_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NeedSelectionRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Select Home Need Api V1 Home Os V4 Needs Selections Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/v4/needs/candidates":{"post":{"tags":["home-os","home-os-need-selection"],"summary":"Read Home Need Candidates","operationId":"read_home_need_candidates_api_v1_home_os_v4_needs_candidates_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NeedCandidateQuery"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Home Need Candidates Api V1 Home Os V4 Needs Candidates Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/v4/needs/scopes":{"get":{"tags":["home-os","home-os-need-selection"],"summary":"Read Home Need Scopes","operationId":"read_home_need_scopes_api_v1_home_os_v4_needs_scopes_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Home Need Scopes Api V1 Home Os V4 Needs Scopes Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/v4/needs/selections/{selection_id}":{"get":{"tags":["home-os","home-os-need-selection"],"summary":"Read Home Need Selection","operationId":"read_home_need_selection_api_v1_home_os_v4_needs_selections__selection_id__get","parameters":[{"name":"selection_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Selection Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Home Need Selection Api V1 Home Os V4 Needs Selections  Selection Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/bridges/trututor/telemetry/episodes":{"post":{"tags":["home-os","home-os-trututor-bridge-telemetry"],"summary":"Create Bridge Telemetry Episode","operationId":"create_bridge_telemetry_episode_api_v1_home_os_bridges_trututor_telemetry_episodes_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BridgeEpisodeCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Bridge Telemetry Episode Api V1 Home Os Bridges Trututor Telemetry Episodes Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/bridges/trututor/telemetry/events":{"post":{"tags":["home-os","home-os-trututor-bridge-telemetry"],"summary":"Emit Bridge Telemetry Event","operationId":"emit_bridge_telemetry_event_api_v1_home_os_bridges_trututor_telemetry_events_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BridgeTelemetryEvent"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Emit Bridge Telemetry Event Api V1 Home Os Bridges Trututor Telemetry Events Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/bridges/trututor/telemetry/events/ingest":{"post":{"tags":["home-os","home-os-trututor-bridge-telemetry"],"summary":"Ingest Trututor Bridge Telemetry Event","operationId":"ingest_trututor_bridge_telemetry_event_api_v1_home_os_bridges_trututor_telemetry_events_ingest_post","parameters":[{"name":"X-Bridge-Origin","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Bridge-Origin"}},{"name":"X-Bridge-Sent-At","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Bridge-Sent-At"}},{"name":"X-Bridge-Key-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Bridge-Key-Id"}},{"name":"X-Bridge-Signature","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Bridge-Signature"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BridgeTelemetryEvent"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Ingest Trututor Bridge Telemetry Event Api V1 Home Os Bridges Trututor Telemetry Events Ingest Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/bridges/trututor/telemetry/readback":{"get":{"tags":["home-os","home-os-trututor-bridge-telemetry"],"summary":"Bridge Telemetry Readback","operationId":"bridge_telemetry_readback_api_v1_home_os_bridges_trututor_telemetry_readback_get","parameters":[{"name":"bridge_ref","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^brg1_[a-f0-9]{64}$"},{"type":"null"}],"title":"Bridge Ref"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"X-Bridge-Telemetry-Operator-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Bridge-Telemetry-Operator-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Bridge Telemetry Readback Api V1 Home Os Bridges Trututor Telemetry Readback Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/bridges/trututor/telemetry/public-rollup":{"get":{"tags":["home-os","home-os-trututor-bridge-telemetry"],"summary":"Bridge Telemetry Public Rollup","operationId":"bridge_telemetry_public_rollup_api_v1_home_os_bridges_trututor_telemetry_public_rollup_get","parameters":[{"name":"event_name","in":"query","required":true,"schema":{"$ref":"#/components/schemas/BridgeEventName"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":90,"minimum":1,"default":30,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Bridge Telemetry Public Rollup Api V1 Home Os Bridges Trututor Telemetry Public Rollup Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/bridges/trututor/telemetry/purge-expired":{"post":{"tags":["home-os","home-os-trututor-bridge-telemetry"],"summary":"Purge Expired Bridge Telemetry","operationId":"purge_expired_bridge_telemetry_api_v1_home_os_bridges_trututor_telemetry_purge_expired_post","parameters":[{"name":"X-Bridge-Telemetry-Operator-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Bridge-Telemetry-Operator-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Purge Expired Bridge Telemetry Api V1 Home Os Bridges Trututor Telemetry Purge Expired Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/bridges/trututor/unit-economics/contributions":{"post":{"tags":["home-os","home-os-trututor-unit-economics"],"summary":"Create Aspireace Contribution","operationId":"create_aspireace_contribution_api_v1_home_os_bridges_trututor_unit_economics_contributions_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Bridge-Unit-Economics-Operator-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Bridge-Unit-Economics-Operator-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnitEconomicsDraft"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Aspireace Contribution Api V1 Home Os Bridges Trututor Unit Economics Contributions Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/bridges/trututor/unit-economics/contributions/ingest":{"post":{"tags":["home-os","home-os-trututor-unit-economics"],"summary":"Ingest Trututor Contribution","operationId":"ingest_trututor_contribution_api_v1_home_os_bridges_trututor_unit_economics_contributions_ingest_post","parameters":[{"name":"X-Bridge-Origin","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Bridge-Origin"}},{"name":"X-Bridge-Sent-At","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Bridge-Sent-At"}},{"name":"X-Bridge-Key-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Bridge-Key-Id"}},{"name":"X-Bridge-Signature","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Bridge-Signature"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnitEconomicsContribution"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Ingest Trututor Contribution Api V1 Home Os Bridges Trututor Unit Economics Contributions Ingest Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/bridges/trututor/unit-economics/readback":{"get":{"tags":["home-os","home-os-trututor-unit-economics"],"summary":"Unit Economics Readback","operationId":"unit_economics_readback_api_v1_home_os_bridges_trututor_unit_economics_readback_get","parameters":[{"name":"window_key","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":3,"maxLength":120},{"type":"null"}],"title":"Window Key"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"X-Bridge-Unit-Economics-Operator-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Bridge-Unit-Economics-Operator-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Unit Economics Readback Api V1 Home Os Bridges Trututor Unit Economics Readback Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/bridges/trututor/unit-economics/rollup":{"get":{"tags":["home-os","home-os-trututor-unit-economics"],"summary":"Unit Economics Rollup","operationId":"unit_economics_rollup_api_v1_home_os_bridges_trututor_unit_economics_rollup_get","parameters":[{"name":"window_key","in":"query","required":true,"schema":{"type":"string","minLength":3,"maxLength":120,"title":"Window Key"}},{"name":"X-Bridge-Unit-Economics-Operator-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Bridge-Unit-Economics-Operator-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Unit Economics Rollup Api V1 Home Os Bridges Trututor Unit Economics Rollup Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/bridges/trututor/unit-economics/purge-expired":{"post":{"tags":["home-os","home-os-trututor-unit-economics"],"summary":"Purge Expired Unit Economics","operationId":"purge_expired_unit_economics_api_v1_home_os_bridges_trututor_unit_economics_purge_expired_post","parameters":[{"name":"X-Bridge-Unit-Economics-Operator-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Bridge-Unit-Economics-Operator-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Purge Expired Unit Economics Api V1 Home Os Bridges Trututor Unit Economics Purge Expired Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/bridges/trututor/demand-radar/contributions":{"post":{"tags":["home-os","home-os-trututor-demand-radar"],"summary":"Create Aspireace Demand Contribution","operationId":"create_aspireace_demand_contribution_api_v1_home_os_bridges_trututor_demand_radar_contributions_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Bridge-Demand-Radar-Operator-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Bridge-Demand-Radar-Operator-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DemandRadarDraft"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Aspireace Demand Contribution Api V1 Home Os Bridges Trututor Demand Radar Contributions Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/bridges/trututor/demand-radar/contributions/ingest":{"post":{"tags":["home-os","home-os-trututor-demand-radar"],"summary":"Ingest Trututor Demand Contribution","operationId":"ingest_trututor_demand_contribution_api_v1_home_os_bridges_trututor_demand_radar_contributions_ingest_post","parameters":[{"name":"X-Bridge-Origin","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Bridge-Origin"}},{"name":"X-Bridge-Sent-At","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Bridge-Sent-At"}},{"name":"X-Bridge-Key-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Bridge-Key-Id"}},{"name":"X-Bridge-Signature","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Bridge-Signature"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DemandRadarContribution"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Ingest Trututor Demand Contribution Api V1 Home Os Bridges Trututor Demand Radar Contributions Ingest Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/bridges/trututor/demand-radar/readback":{"get":{"tags":["home-os","home-os-trututor-demand-radar"],"summary":"Demand Radar Readback","operationId":"demand_radar_readback_api_v1_home_os_bridges_trututor_demand_radar_readback_get","parameters":[{"name":"window_key","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":3,"maxLength":120},{"type":"null"}],"title":"Window Key"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"X-Bridge-Demand-Radar-Operator-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Bridge-Demand-Radar-Operator-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Demand Radar Readback Api V1 Home Os Bridges Trututor Demand Radar Readback Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/bridges/trututor/demand-radar/targets":{"get":{"tags":["home-os","home-os-trututor-demand-radar"],"summary":"Demand Radar Targets","operationId":"demand_radar_targets_api_v1_home_os_bridges_trututor_demand_radar_targets_get","parameters":[{"name":"window_key","in":"query","required":true,"schema":{"type":"string","minLength":3,"maxLength":120,"title":"Window Key"}},{"name":"X-Bridge-Demand-Radar-Operator-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Bridge-Demand-Radar-Operator-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Demand Radar Targets Api V1 Home Os Bridges Trututor Demand Radar Targets Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/bridges/trututor/demand-radar/purge-expired":{"post":{"tags":["home-os","home-os-trututor-demand-radar"],"summary":"Purge Expired Demand Radar","operationId":"purge_expired_demand_radar_api_v1_home_os_bridges_trututor_demand_radar_purge_expired_post","parameters":[{"name":"X-Bridge-Demand-Radar-Operator-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Bridge-Demand-Radar-Operator-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Purge Expired Demand Radar Api V1 Home Os Bridges Trututor Demand Radar Purge Expired Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/bridges/trututor/xpr/handoffs":{"post":{"tags":["home-os","aspireace-xpr-receiver"],"summary":"Create Handoff","operationId":"create_handoff_api_v1_home_os_bridges_trututor_xpr_handoffs_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XprHandoffRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Handoff Api V1 Home Os Bridges Trututor Xpr Handoffs Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/bridges/trututor/xpr/state":{"get":{"tags":["home-os","aspireace-xpr-receiver"],"summary":"Read State","operationId":"read_state_api_v1_home_os_bridges_trututor_xpr_state_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read State Api V1 Home Os Bridges Trututor Xpr State Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/bridges/trututor/xpr/outcomes":{"post":{"tags":["home-os","aspireace-xpr-receiver"],"summary":"Receive Outcome","operationId":"receive_outcome_api_v1_home_os_bridges_trututor_xpr_outcomes_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-TruTutor-Origin","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Trututor-Origin"}},{"name":"X-TruTutor-Signature","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Trututor-Signature"}},{"name":"X-TruTutor-Sent-At","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Trututor-Sent-At"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TruTutorOutcomePacket"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Receive Outcome Api V1 Home Os Bridges Trututor Xpr Outcomes Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/bridges/trututor/xpr/human-repair":{"post":{"tags":["home-os","aspireace-xpr-receiver"],"summary":"Receive Human Repair","operationId":"receive_human_repair_api_v1_home_os_bridges_trututor_xpr_human_repair_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-TruTutor-Origin","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Trututor-Origin"}},{"name":"X-TruTutor-Signature","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Trututor-Signature"}},{"name":"X-TruTutor-Sent-At","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Trututor-Sent-At"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HumanRepairReceiptPacket"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Receive Human Repair Api V1 Home Os Bridges Trututor Xpr Human Repair Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/bridges/trututor/xpr/outcomes/latest":{"get":{"tags":["home-os","aspireace-xpr-receiver"],"summary":"Latest Outcome","operationId":"latest_outcome_api_v1_home_os_bridges_trututor_xpr_outcomes_latest_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Latest Outcome Api V1 Home Os Bridges Trututor Xpr Outcomes Latest Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/bridges/trututor/xpr/outcomes/{outcome_receipt_id}/repair":{"post":{"tags":["home-os","aspireace-xpr-receiver"],"summary":"Confirm Repair","operationId":"confirm_repair_api_v1_home_os_bridges_trututor_xpr_outcomes__outcome_receipt_id__repair_post","parameters":[{"name":"outcome_receipt_id","in":"path","required":true,"schema":{"type":"string","title":"Outcome Receipt Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RepairConfirmationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Confirm Repair Api V1 Home Os Bridges Trututor Xpr Outcomes  Outcome Receipt Id  Repair Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/bridges/trututor/xpr/receipts/{receipt_id}":{"get":{"tags":["home-os","aspireace-xpr-receiver"],"summary":"Read Owned Receipt","operationId":"read_owned_receipt_api_v1_home_os_bridges_trututor_xpr_receipts__receipt_id__get","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","title":"Receipt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Owned Receipt Api V1 Home Os Bridges Trututor Xpr Receipts  Receipt Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/bridges/trututor/xpr/admin/receipts/{receipt_id}":{"get":{"tags":["home-os","aspireace-xpr-receiver"],"summary":"Read Admin Receipt","operationId":"read_admin_receipt_api_v1_home_os_bridges_trututor_xpr_admin_receipts__receipt_id__get","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","title":"Receipt Id"}},{"name":"X-XPR-Readback-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Xpr-Readback-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Admin Receipt Api V1 Home Os Bridges Trututor Xpr Admin Receipts  Receipt Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/channels/public/showroom":{"get":{"tags":["home-os","home-merch-channels"],"summary":"Public Showroom","operationId":"public_showroom_api_v1_home_os_channels_public_showroom_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Q"}},{"name":"family","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Family"}},{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Subject"}},{"name":"free_only","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Free Only"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":24,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/channels/continuity/issue":{"post":{"tags":["home-os","home-merch-channels"],"summary":"Issue Continuity","operationId":"issue_continuity_api_v1_home_os_channels_continuity_issue_post","parameters":[{"name":"X-Home-Continuity-Issuer-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Home-Continuity-Issuer-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/home_merch_channels__contracts__ContinuityIssue"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/channels/continuity/consume":{"post":{"tags":["home-os","home-merch-channels"],"summary":"Consume Continuity","operationId":"consume_continuity_api_v1_home_os_channels_continuity_consume_post","parameters":[{"name":"student_id","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":160,"title":"Student Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContinuityConsume"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/channels/preferences":{"post":{"tags":["home-os","home-merch-channels"],"summary":"Set Channel Preference","operationId":"set_channel_preference_api_v1_home_os_channels_preferences_post","parameters":[{"name":"student_id","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":160,"title":"Student Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChannelPreferenceUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/channels/intents":{"post":{"tags":["home-os","home-merch-channels"],"summary":"Create Channel Intent","operationId":"create_channel_intent_api_v1_home_os_channels_intents_post","parameters":[{"name":"student_id","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":160,"title":"Student Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChannelIntentDraft"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/channels/exposures":{"post":{"tags":["home-os","home-merch-channels"],"summary":"Record Cross Channel Exposure","operationId":"record_cross_channel_exposure_api_v1_home_os_channels_exposures_post","parameters":[{"name":"student_id","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":160,"title":"Student Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrossChannelExposure"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/channels/operator/campaigns":{"post":{"tags":["home-os","home-merch-channels"],"summary":"Create Campaign","operationId":"create_campaign_api_v1_home_os_channels_operator_campaigns_post","parameters":[{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/home_merch_channels__contracts__CampaignDraft"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/channels/operator/campaigns/{campaign_id}/review":{"post":{"tags":["home-os","home-merch-channels"],"summary":"Review Campaign","operationId":"review_campaign_api_v1_home_os_channels_operator_campaigns__campaign_id__review_post","parameters":[{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string","title":"Campaign Id"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/home_merch_channels__contracts__CampaignReview"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/channels/operator/campaigns/{campaign_id}/transition":{"post":{"tags":["home-os","home-merch-channels"],"summary":"Transition Campaign","operationId":"transition_campaign_api_v1_home_os_channels_operator_campaigns__campaign_id__transition_post","parameters":[{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string","title":"Campaign Id"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/home_merch_channels__contracts__CampaignTransition"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/channels/operator/overrides":{"post":{"tags":["home-os","home-merch-channels"],"summary":"Create Override","operationId":"create_override_api_v1_home_os_channels_operator_overrides_post","parameters":[{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/home_merch_channels__contracts__OverrideDraft"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/channels/operator/overrides/{override_id}/review":{"post":{"tags":["home-os","home-merch-channels"],"summary":"Review Override","operationId":"review_override_api_v1_home_os_channels_operator_overrides__override_id__review_post","parameters":[{"name":"override_id","in":"path","required":true,"schema":{"type":"string","title":"Override Id"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OverrideReview"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/channels/operator/recalls":{"post":{"tags":["home-os","home-merch-channels"],"summary":"Create Recall","operationId":"create_recall_api_v1_home_os_channels_operator_recalls_post","parameters":[{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/home_merch_channels__contracts__RecallDraft"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/channels/operator/readback":{"get":{"tags":["home-os","home-merch-channels"],"summary":"Operator Readback","operationId":"operator_readback_api_v1_home_os_channels_operator_readback_get","parameters":[{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/sensitive/proof/{student_id}":{"get":{"tags":["home-os","home-os-sensitive"],"summary":"Get Home Proof Room","operationId":"get_home_proof_room_api_v1_home_os_sensitive_proof__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/sensitive/parent/{student_id}":{"get":{"tags":["home-os","home-os-sensitive"],"summary":"Get Parent Home Projection","operationId":"get_parent_home_projection_api_v1_home_os_sensitive_parent__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"purpose","in":"query","required":false,"schema":{"type":"string","default":"parent_home_progress","title":"Purpose"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/sensitive/invalidate/{student_id}":{"post":{"tags":["home-os","home-os-sensitive"],"summary":"Invalidate Sensitive Home","operationId":"invalidate_sensitive_home_api_v1_home_os_sensitive_invalidate__student_id__post","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"reason","in":"query","required":true,"schema":{"type":"string","minLength":3,"maxLength":120,"title":"Reason"}},{"name":"source_ref","in":"query","required":true,"schema":{"type":"string","minLength":3,"maxLength":240,"title":"Source Ref"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/v4/preferences":{"get":{"tags":["home-os","home-v4-agency"],"summary":"Get Preferences","operationId":"get_preferences_api_v1_home_os_v4_preferences_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["home-os","home-v4-agency"],"summary":"Update Preferences","operationId":"update_preferences_api_v1_home_os_v4_preferences_put","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/home_os__home_v4_preferences__PreferenceCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/v4/presentation-preference":{"get":{"tags":["home-os","home-v4-agency"],"summary":"Get Presentation Preference","operationId":"get_presentation_preference_api_v1_home_os_v4_presentation_preference_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["home-os","home-v4-agency"],"summary":"Update Presentation Preference","operationId":"update_presentation_preference_api_v1_home_os_v4_presentation_preference_put","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PresentationPreferenceCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/v4/feedback":{"post":{"tags":["home-os","home-v4-agency"],"summary":"Record Feedback","operationId":"record_feedback_api_v1_home_os_v4_feedback_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeedbackCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/home-os/recommendation-suppression-policies":{"post":{"tags":["home-os-operator","home-os-operator"],"summary":"Create Suppression Policy","operationId":"create_suppression_policy_internal_v1_home_os_recommendation_suppression_policies_post","parameters":[{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuppressionPolicyCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/home-os/decisions/{home_decision_ref}/trace":{"get":{"tags":["home-os-operator"],"summary":"Get Home Decision Trace","description":"Read the durable Home decision and its exact render/action/return chain.","operationId":"get_home_decision_trace_internal_v1_home_os_decisions__home_decision_ref__trace_get","parameters":[{"name":"home_decision_ref","in":"path","required":true,"schema":{"type":"string","title":"Home Decision Ref"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/home-os/operations/readback":{"get":{"tags":["home-os-operator"],"summary":"Get Home Operational Readback","description":"Read aggregate Home operational facts for an authenticated operator.","operationId":"get_home_operational_readback_internal_v1_home_os_operations_readback_get","parameters":[{"name":"window_minutes","in":"query","required":false,"schema":{"type":"integer","maximum":1440,"minimum":1,"default":60,"title":"Window Minutes"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/home-os/operations/cost-receipts":{"post":{"tags":["home-os-operator"],"summary":"Post Home Operation Cost Report","description":"Accept a source-signed cost report for an existing Home request row.","operationId":"post_home_operation_cost_report_internal_v1_home_os_operations_cost_receipts_post","parameters":[{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HomeOperationCostReport"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/home-os/coverage/personal-action":{"get":{"tags":["home-os-operator"],"summary":"Get Personal Action Coverage Readback","description":"HPS-38: a local declared-coverage readback for authenticated operators.\n\nThis route carries NO personal data of any kind. Its rows describe\nshared task producers and the 76-product coverage sheet -- adapter\nfamilies, action modes, and whether each is registered live -- never a\nstudent, a teacher, a parent or anything belonging to one. There is\nnothing here to gate on a learner identity because none is read.\n\nIt reads the deployed adapter registry and vendored product coverage\ncontract afresh for this response. This is not a producer-health probe or\nevidence that a producer has executed in a live environment: \"LIVE\" is\nthe declaration in the adapter registry, and source/runtime proof remains\nwith the source owner and HPS-38's semantic owner.\n\n`computed_at` says exactly when this particular answer was produced, so\na number quoted a month from now carries its own expiry with it instead\nof being read as still current.","operationId":"get_personal_action_coverage_readback_internal_v1_home_os_coverage_personal_action_get","parameters":[{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/memory":{"post":{"tags":["home-os-memory"],"summary":"Memory Post Route","operationId":"memory_post_route_api_v1_home_os_memory_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HomeMemoryUpdateIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HomeMemoryState"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/memory/{object_id}":{"get":{"tags":["home-os-memory"],"summary":"Memory Get Route","operationId":"memory_get_route_api_v1_home_os_memory__object_id__get","parameters":[{"name":"object_id","in":"path","required":true,"schema":{"type":"string","title":"Object Id"}},{"name":"student_id","in":"query","required":false,"schema":{"type":"string","default":"anonymous","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HomeMemoryState"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/telemetry":{"post":{"tags":["home-os-telemetry-compat"],"summary":"Telemetry Post Route","operationId":"telemetry_post_route_api_v1_home_os_telemetry_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HomeTelemetryEventIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HomeTelemetryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["home-os-telemetry-compat"],"summary":"Telemetry Get Route","operationId":"telemetry_get_route_api_v1_home_os_telemetry_get","parameters":[{"name":"student_id","in":"query","required":false,"schema":{"type":"string","default":"anonymous","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object"},"title":"Response Telemetry Get Route Api V1 Home Os Telemetry Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home-os/navigation/recent":{"get":{"tags":["home-navigation"],"summary":"Read Recent","operationId":"read_recent_api_v1_home_os_navigation_recent_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["home-navigation"],"summary":"Change Recent","operationId":"change_recent_api_v1_home_os_navigation_recent_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecentCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/home/catalogue/active":{"get":{"tags":["home-merch-catalogue"],"summary":"Active Catalogue","operationId":"active_catalogue_api_v1_home_catalogue_active_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/internal/home/catalogue/versions":{"post":{"tags":["home-merch-catalogue-ops"],"summary":"Create Version","operationId":"create_version_api_internal_home_catalogue_versions_post","parameters":[{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/internal/home/catalogue/publications":{"post":{"tags":["home-merch-catalogue-ops"],"summary":"Create Publication","operationId":"create_publication_api_internal_home_catalogue_publications_post","parameters":[{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicationDraft"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/internal/home/catalogue/publications/{publication_id}/approve":{"post":{"tags":["home-merch-catalogue-ops"],"summary":"Approve Publication","operationId":"approve_publication_api_internal_home_catalogue_publications__publication_id__approve_post","parameters":[{"name":"publication_id","in":"path","required":true,"schema":{"type":"string","title":"Publication Id"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicationApproval"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/internal/home/catalogue/publications/{publication_id}/withhold":{"post":{"tags":["home-merch-catalogue-ops"],"summary":"Withhold Publication","operationId":"withhold_publication_api_internal_home_catalogue_publications__publication_id__withhold_post","parameters":[{"name":"publication_id","in":"path","required":true,"schema":{"type":"string","title":"Publication Id"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReasonRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/internal/home/catalogue/publications/{publication_id}/withdraw":{"post":{"tags":["home-merch-catalogue-ops"],"summary":"Withdraw Publication","operationId":"withdraw_publication_api_internal_home_catalogue_publications__publication_id__withdraw_post","parameters":[{"name":"publication_id","in":"path","required":true,"schema":{"type":"string","title":"Publication Id"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReasonRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/internal/home/catalogue/versions/{catalogue_version}/publications":{"get":{"tags":["home-merch-catalogue-ops"],"summary":"List Version Publications","description":"Read back every publication in a version, in any state.\n\nThe ops router had no GET at all until 2026-08-17, which is precisely why a\nhalf-finished publish run could not be resumed: the runner approves by the\nid the create call returned, and if it died in between, nothing could\nrecover those ids. Operator-gated like every other route here — this is\nworking state, not the served catalogue.","operationId":"list_version_publications_api_internal_home_catalogue_versions__catalogue_version__publications_get","parameters":[{"name":"catalogue_version","in":"path","required":true,"schema":{"type":"string","title":"Catalogue Version"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/internal/home/catalogue/versions/{catalogue_version}/activate":{"post":{"tags":["home-merch-catalogue-ops"],"summary":"Activate Version","operationId":"activate_version_api_internal_home_catalogue_versions__catalogue_version__activate_post","parameters":[{"name":"catalogue_version","in":"path","required":true,"schema":{"type":"string","title":"Catalogue Version"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/storefront/desk/public":{"get":{"tags":["storefront-desk-public"],"summary":"Public Overlay","operationId":"public_overlay_api_v1_storefront_desk_public_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/internal/storefront/desk/state":{"get":{"tags":["storefront-desk"],"summary":"Desk State","operationId":"desk_state_api_internal_storefront_desk_state_get","parameters":[{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/internal/storefront/desk/catalogue":{"get":{"tags":["storefront-desk"],"summary":"Desk Catalogue","operationId":"desk_catalogue_api_internal_storefront_desk_catalogue_get","parameters":[{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/internal/storefront/desk/words-check":{"post":{"tags":["storefront-desk"],"summary":"Words Check","operationId":"words_check_api_internal_storefront_desk_words_check_post","parameters":[{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WordsPreview"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/internal/storefront/desk/rails":{"post":{"tags":["storefront-desk"],"summary":"Save Rail","operationId":"save_rail_api_internal_storefront_desk_rails_post","parameters":[{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RailSave"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/internal/storefront/desk/rails/{rail_id}/publish":{"post":{"tags":["storefront-desk"],"summary":"Publish Rail","operationId":"publish_rail_api_internal_storefront_desk_rails__rail_id__publish_post","parameters":[{"name":"rail_id","in":"path","required":true,"schema":{"type":"string","title":"Rail Id"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionedReason"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/internal/storefront/desk/rails/{rail_id}/state":{"post":{"tags":["storefront-desk"],"summary":"Rail State","operationId":"rail_state_api_internal_storefront_desk_rails__rail_id__state_post","parameters":[{"name":"rail_id","in":"path","required":true,"schema":{"type":"string","title":"Rail Id"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RailStateChange"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/internal/storefront/desk/cards/{card_id}/switch":{"post":{"tags":["storefront-desk"],"summary":"Card Switch","operationId":"card_switch_api_internal_storefront_desk_cards__card_id__switch_post","parameters":[{"name":"card_id","in":"path","required":true,"schema":{"type":"string","title":"Card Id"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardSwitchChange"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/internal/storefront/desk/banners":{"post":{"tags":["storefront-desk"],"summary":"Save Banner","operationId":"save_banner_api_internal_storefront_desk_banners_post","parameters":[{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BannerSave"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/internal/storefront/desk/banners/{banner_id}/publish":{"post":{"tags":["storefront-desk"],"summary":"Publish Banner","operationId":"publish_banner_api_internal_storefront_desk_banners__banner_id__publish_post","parameters":[{"name":"banner_id","in":"path","required":true,"schema":{"type":"string","title":"Banner Id"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/storefront_desk__contracts__Reason"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/internal/storefront/desk/banners/{banner_id}/withdraw":{"post":{"tags":["storefront-desk"],"summary":"Withdraw Banner","operationId":"withdraw_banner_api_internal_storefront_desk_banners__banner_id__withdraw_post","parameters":[{"name":"banner_id","in":"path","required":true,"schema":{"type":"string","title":"Banner Id"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/storefront_desk__contracts__Reason"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/internal/storefront/desk/settings/personal-push-under-18":{"post":{"tags":["storefront-desk"],"summary":"Personal Push","operationId":"personal_push_api_internal_storefront_desk_settings_personal_push_under_18_post","parameters":[{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonalPushChange"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/internal/storefront/desk/founder-view":{"get":{"tags":["storefront-desk"],"summary":"Founder View","operationId":"founder_view_api_internal_storefront_desk_founder_view_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":366,"minimum":1,"default":28,"title":"Days"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Ops-Key"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Id"}},{"name":"x-operator-role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Operator-Role"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/storefront/home":{"get":{"tags":["storefront-home"],"summary":"Get Storefront Home","operationId":"get_storefront_home_api_v1_storefront_home_get","parameters":[{"name":"exam","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Exam"}},{"name":"class","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"Class"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/storefront/parent/home":{"get":{"tags":["storefront-home-parent"],"summary":"Get Parent Home","operationId":"get_parent_home_api_v1_storefront_parent_home_get","parameters":[{"name":"child_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Child Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/storefront/search":{"get":{"tags":["storefront-search"],"summary":"Storefront Search","operationId":"storefront_search_api_v1_storefront_search_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","maxLength":120,"default":"","title":"Q"}},{"name":"exam","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Exam"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":20,"minimum":1,"default":8,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/jarvis/utility_assist_message/{student_id}":{"get":{"tags":["jarvis-assist"],"summary":"Utility Assist Message","description":"Return the subtle Twin assist line for a Utility-led Home variant.\n\nNever raises 5xx — degrades to deterministic fallback on any LLM issue.\n422 only if `intent` is unsupported (FE bug).","operationId":"utility_assist_message_api_v1_jarvis_utility_assist_message__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"intent","in":"query","required":true,"schema":{"type":"string","description":"One of TEST / GRADE / PREDICT / DOUBT / LEARN","title":"Intent"},"description":"One of TEST / GRADE / PREDICT / DOUBT / LEARN"},{"name":"product_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional specific product context","title":"Product Id"},"description":"Optional specific product context"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Utility Assist Message Api V1 Jarvis Utility Assist Message  Student Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/atrix/strategy-hint":{"post":{"tags":["strategy"],"summary":"Strategy Hint","description":"Return the best problem-solving strategy for a given question context.\n\nRequired:\n  problem_type   : str  — one of EDU-018's known types\n                          (mechanics_force / mechanics_kinematics /\n                           electrostatics / organic_chemistry /\n                           integration_maths / probability /\n                           genetics_biology)\n\nOptional:\n  question_type     : str  — numerical / single_correct (default) /\n                             multiple_correct / integer_type\n  time_left_seconds : int  — defaults to 120 (per-question budget)\n  theta             : float 0..1 — student ability proxy (default 0.5)\n  student_id        : str  — for audit log (defaults to 'stu_anon')","operationId":"strategy_hint_api_v1_atrix_strategy_hint_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/atrix/strategy-history/{student_id}":{"get":{"tags":["strategy"],"summary":"Strategy History","description":"Per-student strategy-decision history. Used by ENG-048 preference learner\n(future wire) and any \"what worked for me?\" surface.","operationId":"strategy_history_api_v1_atrix_strategy_history__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/atrix/strategy-library":{"get":{"tags":["strategy"],"summary":"Strategy Library","description":"Full strategy catalogue (no auth — same data the FE can show).","operationId":"strategy_library_api_v1_atrix_strategy_library_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/atrix/strategy-feedback/{decision_id}":{"post":{"tags":["strategy"],"summary":"Strategy Feedback","description":"Closes the feedback loop: did the student actually follow the suggestion,\nand did it work? Feeds ENG-048 preference learner downstream.","operationId":"strategy_feedback_api_v1_atrix_strategy_feedback__decision_id__post","parameters":[{"name":"decision_id","in":"path","required":true,"schema":{"type":"integer","title":"Decision Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/grade/subjective-evaluate":{"post":{"tags":["grade_subjective"],"summary":"Subjective Evaluate","description":"Direct subjective-answer evaluation. No tier gate.","operationId":"subjective_evaluate_api_v1_grade_subjective_evaluate_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/grade/subjective-history/{student_id}":{"get":{"tags":["grade_subjective"],"summary":"Subjective History","operationId":"subjective_history_api_v1_grade_subjective_history__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/escalation/queue":{"get":{"tags":["admin_escalation"],"summary":"Queue","description":"List escalations in the queue. Admin / teacher / ops only.","operationId":"queue_api_v1_admin_escalation_queue_get","parameters":[{"name":"level","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by escalation level (HARD_CRISIS / HARD_WELLNESS / HARD_ACADEMIC / SOFT_ENGAGEMENT / SOFT_ACADEMIC).","title":"Level"},"description":"Filter by escalation level (HARD_CRISIS / HARD_WELLNESS / HARD_ACADEMIC / SOFT_ENGAGEMENT / SOFT_ACADEMIC)."},{"name":"resolved","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Filter by resolution status. None = all (default); true = resolved only; false = open only.","title":"Resolved"},"description":"Filter by resolution status. None = all (default); true = resolved only; false = open only."},{"name":"since_minutes","in":"query","required":false,"schema":{"type":"integer","maximum":10080,"minimum":1,"description":"Look-back window in minutes (default 24h, max 7d).","default":1440,"title":"Since Minutes"},"description":"Look-back window in minutes (default 24h, max 7d)."},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Queue Api V1 Admin Escalation Queue Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/escalation/resolve":{"post":{"tags":["admin_escalation"],"summary":"Resolve","description":"Mark an escalation resolved. Required: escalation_id, status.","operationId":"resolve_api_v1_admin_escalation_resolve_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Resolve Api V1 Admin Escalation Resolve Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/escalation/humans":{"get":{"tags":["admin_escalation"],"summary":"List Humans","description":"List registered humans of the given type.","operationId":"list_humans_api_v1_admin_escalation_humans_get","parameters":[{"name":"human_type","in":"query","required":false,"schema":{"type":"string","description":"tutor | counselor | crisis_counselor","default":"tutor","title":"Human Type"},"description":"tutor | counselor | crisis_counselor"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Humans Api V1 Admin Escalation Humans Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["admin_escalation"],"summary":"Register Human","description":"Register a new tutor / counsellor / crisis-counsellor.\nRequired: human_id, human_type, name.","operationId":"register_human_api_v1_admin_escalation_humans_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Register Human Api V1 Admin Escalation Humans Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/escalation/sla-breaches":{"get":{"tags":["admin_escalation"],"summary":"Sla Breaches","description":"Escalations whose SLA deadline has passed without resolution.\n\nThis is the PagerDuty wire-point — a downstream PD consumer should poll\nthis every minute (or subscribe to the `escalation_sla_breached` G95\nevent) and fire an alarm for any non-empty result.","operationId":"sla_breaches_api_v1_admin_escalation_sla_breaches_get","parameters":[{"name":"since_minutes","in":"query","required":false,"schema":{"type":"integer","maximum":10080,"minimum":1,"description":"Look-back window (default 24h, max 7d).","default":1440,"title":"Since Minutes"},"description":"Look-back window (default 24h, max 7d)."},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Sla Breaches Api V1 Admin Escalation Sla Breaches Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/calibration/cold-start":{"post":{"tags":["admin_calibration"],"summary":"Cold Start Calibration","description":"Walk uncalibrated questions and seed IRT priors via ENG-005 simulation.\n\nPayload (all optional):\n    limit:               max items to process this batch (default 100, max 500)\n    n_synthetic_students: cohort size per item (default 100, max 1000)\n    dry_run:             if True, simulate but DON'T write priors (default False)\n    subject:             optional filter — only items for one subject\n\nReturns:\n    items_processed:     count\n    items_skipped:       count (already calibrated or missing expected_b)\n    items_failed:        per-item failures (engine errors etc.)\n    sample:              first 5 audit rows for visual sanity check\n    elapsed_ms:          orchestrator latency","operationId":"cold_start_calibration_api_v1_admin_calibration_cold_start_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","default":{},"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/calibration/cold-start/status":{"get":{"tags":["admin_calibration"],"summary":"Cold Start Status","description":"Stats on the cold-start calibration progress across the question bank.","operationId":"cold_start_status_api_v1_admin_calibration_cold_start_status_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/calibration/questions/pending-expected-b":{"get":{"tags":["admin_calibration"],"summary":"Pending Expected B","description":"SME queue for questions that still need an expected_b tag.","operationId":"pending_expected_b_api_v1_admin_calibration_questions_pending_expected_b_get","parameters":[{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/calibration/questions/{question_id}/expected-b":{"patch":{"tags":["admin_calibration"],"summary":"Tag Expected B","description":"Write the SME expected difficulty tag that feeds ENG-036 cold-start calibration.","operationId":"tag_expected_b_api_v1_admin_calibration_questions__question_id__expected_b_patch","parameters":[{"name":"question_id","in":"path","required":true,"schema":{"type":"string","title":"Question Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/items/{question_id}/difficulty":{"get":{"tags":["difficulty"],"summary":"Get Item Difficulty","description":"Get the current IRT 3PL difficulty estimate for an item.\n\nFlow:\n  1. Read item_difficulty_estimates row\n  2. If row exists and < 30 days old → return it\n  3. Else dispatch ENG-042 (estimate mode) and persist + return\n  4. If engine unreachable + no cached row → 503","operationId":"get_item_difficulty_api_v1_items__question_id__difficulty_get","parameters":[{"name":"question_id","in":"path","required":true,"schema":{"type":"string","title":"Question Id"}},{"name":"auto_calibrate","in":"query","required":false,"schema":{"type":"boolean","description":"Trigger calibration if no row exists","default":true,"title":"Auto Calibrate"},"description":"Trigger calibration if no row exists"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/items/{question_id}/calibrate":{"post":{"tags":["difficulty"],"summary":"Force Calibrate","description":"Force a fresh ENG-042 calibration. Used by cron + ops.","operationId":"force_calibrate_api_v1_items__question_id__calibrate_post","parameters":[{"name":"question_id","in":"path","required":true,"schema":{"type":"string","title":"Question Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/items/difficulty/distribution":{"get":{"tags":["difficulty"],"summary":"Difficulty Distribution","description":"Aggregate stats across the bank — by label + by method.","operationId":"difficulty_distribution_api_v1_items_difficulty_distribution_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/attention/track-session/{session_id}":{"post":{"tags":["attention"],"summary":"Track Session","operationId":"track_session_api_v1_attention_track_session__session_id__post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"student_id","in":"query","required":true,"schema":{"type":"string","description":"Student ID","title":"Student Id"},"description":"Student ID"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/attention/state/{student_id}":{"get":{"tags":["attention"],"summary":"Get Attention State","description":"Latest reading + 7-reading rolling trend.","operationId":"get_attention_state_api_v1_attention_state__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/attention/readings/{student_id}":{"get":{"tags":["attention"],"summary":"Get Attention Readings","operationId":"get_attention_readings_api_v1_attention_readings__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/profile/motivation/{student_id}":{"post":{"tags":["profile_engines"],"summary":"Profile Motivation","description":"Re-run ENG-046 motivation typing. Caches in motivation_profiles.\n\nD-29 path-b (2026-05-26): rewired to the actual v2.0.1 ENG-046 response\nshape (primary_type / secondary_type / probabilities / risk_flags /\npersonalisation block). Response keeps the legacy `motivation_type` /\n`intensity` / `type_scores` / `risk_burnout` aliases for backward compat\nplus the new v2 fields the Motivation Tile + Your Profile card consume.\nPersists into mig 193 columns.","operationId":"profile_motivation_api_v1_profile_motivation__student_id__post","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["profile_engines"],"summary":"Get Motivation","description":"Cached motivation profile. Returns 'unknown' if never profiled.\n\nD-29 path-b: reads mig 193 v2 columns. Returns both v2 keys and legacy\naliases so existing consumers keep working.","operationId":"get_motivation_api_v1_profile_motivation__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/profile/preferences/{student_id}":{"post":{"tags":["profile_engines"],"summary":"Learn Preferences","description":"Re-run folded preference learning through ENG-012.","operationId":"learn_preferences_api_v1_profile_preferences__student_id__post","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["profile_engines"],"summary":"Get Preferences","description":"Cached preference profile. Returns cold-start defaults if never learned.","operationId":"get_preferences_api_v1_profile_preferences__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/profile/preferences/{student_id}/feedback":{"post":{"tags":["profile_engines"],"summary":"Post Preferences Feedback","description":"Explicit feedback signal: thumbs_up/down/skip/complete/replay on an\nitem. Persists to preference_feedback_events + dispatches ENG-012\nrecord_explicit_feedback so the live profile reflects the signal.","operationId":"post_preferences_feedback_api_v1_profile_preferences__student_id__feedback_post","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/certificates/verify/{cert_id}":{"get":{"tags":["eng-053-certificates","eng-053-verify"],"summary":"Verify Certificate Early","description":"Wrapper that delegates to the real handler defined below. Declared\nearly so route matching reaches it before the `/{student_id}` shape.","operationId":"verify_certificate_early_api_v1_certificates_verify__cert_id__get","parameters":[{"name":"cert_id","in":"path","required":true,"schema":{"type":"string","title":"Cert Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Verify Certificate Early Api V1 Certificates Verify  Cert Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/certificates/leaderboard/cohort":{"get":{"tags":["eng-053-certificates","eng-053-leaderboard"],"summary":"Cohort Leaderboard Early","description":"Wrapper — declared early for route order; impl below.","operationId":"cohort_leaderboard_early_api_v1_certificates_leaderboard_cohort_get","parameters":[{"name":"badge_tier","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(PLATINUM|GOLD|SILVER)$"},{"type":"null"}],"title":"Badge Tier"}},{"name":"since_days","in":"query","required":false,"schema":{"type":"integer","maximum":365,"minimum":1,"default":30,"title":"Since Days"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Cohort Leaderboard Early Api V1 Certificates Leaderboard Cohort Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/certificates/page/{cert_id}":{"get":{"tags":["eng-053-certificates","eng-053-page"],"summary":"Certificate Html Page Early","description":"Wrapper — declared early so it wins route matching.","operationId":"certificate_html_page_early_api_v1_certificates_page__cert_id__get","parameters":[{"name":"cert_id","in":"path","required":true,"schema":{"type":"string","title":"Cert Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/certificates/{student_id}":{"get":{"tags":["eng-053-certificates"],"summary":"List Certificates","description":"Return the most-recent certificates for a student.\n\nMirrors ENG-053 `history` mode: same shape, same fields. Reads\n`mastery_certificates` directly through the shared app_main pool so\nCL-090 renders without a slow engine dispatch on every DNA load.","operationId":"list_certificates_api_v1_certificates__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"include_revoked","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Revoked"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Certificates Api V1 Certificates  Student Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/certificates/{student_id}/{cert_id}":{"get":{"tags":["eng-053-certificates"],"summary":"Get Certificate","description":"Single-cert detail — used by the share flow + verification page.","operationId":"get_certificate_api_v1_certificates__student_id___cert_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"cert_id","in":"path","required":true,"schema":{"type":"string","title":"Cert Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Certificate Api V1 Certificates  Student Id   Cert Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/atrix-comms/pick":{"post":{"tags":["atrix-comms-v1"],"summary":"Atrix Pick","operationId":"atrix_pick_api_v1_atrix_comms_pick_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PickReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/atrix-comms/recent/{student_id}":{"get":{"tags":["atrix-comms-v1"],"summary":"Atrix Recent","operationId":"atrix_recent_api_v1_atrix_comms_recent__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/atrix-comms/dismiss":{"post":{"tags":["atrix-comms-v1"],"summary":"Atrix Dismiss","operationId":"atrix_dismiss_api_v1_atrix_comms_dismiss_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DismissReq"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/atrix-comms/triggers":{"get":{"tags":["atrix-comms-v1"],"summary":"Atrix Triggers","operationId":"atrix_triggers_api_v1_atrix_comms_triggers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/programs/{student_id}":{"get":{"tags":["programs-pr-235"],"summary":"List Programs","description":"List active programs for a student + today's per-program target.\n\nUsed by:\n  - CL-080 Daily Plan (PR-235 SCALE variant) to interleave programs with daily plan\n  - CL-085 Calendar (PR-280 SCALE variant) to overlay program day-cards\n  - CL-088 Burst Kit landing to show \"7-day kit active\" state","operationId":"pr_235_list_programs","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/programs/{student_id}/enroll":{"post":{"tags":["programs-pr-235"],"summary":"Enroll Program","description":"Enrol a student in a program.\n\ntype=burst_kit | booster_30d uses the template. type=custom requires\ncustom_day_targets in the body.","operationId":"pr_235_enroll_program","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrollBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/programs/{student_id}/{program_id}/complete-day":{"post":{"tags":["programs-pr-235"],"summary":"Complete Day","operationId":"pr_235_complete_day","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"program_id","in":"path","required":true,"schema":{"type":"string","title":"Program Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/programs/{student_id}/{program_id}/skip-day":{"post":{"tags":["programs-pr-235"],"summary":"Skip Day","operationId":"pr_235_skip_day","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"program_id","in":"path","required":true,"schema":{"type":"string","title":"Program Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/programs/{student_id}/{program_id}":{"delete":{"tags":["programs-pr-235"],"summary":"Withdraw Program","operationId":"pr_235_withdraw_program","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"program_id","in":"path","required":true,"schema":{"type":"string","title":"Program Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/coaching/start":{"post":{"tags":["coaching-set-a"],"summary":"Start Coaching","description":"Open a new coaching session OR resume the latest active one for\n(student_id, mode). Always returns a session_id + opening turn.","operationId":"set_a_coaching_start","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CoachingStartBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/coaching/turn":{"post":{"tags":["coaching-set-a"],"summary":"Add Turn","description":"Append a user message to a session and return JARVIS's reply.","operationId":"set_a_coaching_turn","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CoachingTurnBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/coaching/session/{session_id}":{"get":{"tags":["coaching-set-a"],"summary":"Get Session","description":"Full transcript. Caller must pass ?student_id=... for ownership check.","operationId":"set_a_coaching_session","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"student_id","in":"query","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/coaching/active/{student_id}":{"get":{"tags":["coaching-set-a"],"summary":"List Active","description":"List resumable (status='active') sessions, newest first. Optional\n?mode= filter.","operationId":"set_a_coaching_active","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"mode","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mode"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/coaching/close/{session_id}":{"post":{"tags":["coaching-set-a"],"summary":"Close Session","description":"User-initiated end. status='closed', closed_at=NOW(). Session stays\nqueryable for history but won't be returned by /active or auto-resumed.","operationId":"set_a_coaching_close","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"student_id","in":"query","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"reason","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mental-prep/consent":{"get":{"tags":["mental-prep"],"summary":"Consent Read","operationId":"mental-prep.consent_read","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mental-prep/consent/grant":{"post":{"tags":["mental-prep"],"summary":"Consent Grant","operationId":"mental-prep.consent_grant","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mental-prep/consent/withdraw":{"post":{"tags":["mental-prep"],"summary":"Consent Withdraw","description":"Turning storage off deletes what was stored. A receipt says what went.","operationId":"mental-prep.consent_withdraw","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mental-prep/content/{content_id}":{"get":{"tags":["mental-prep"],"summary":"Content Read","operationId":"mental-prep.content_read","parameters":[{"name":"content_id","in":"path","required":true,"schema":{"type":"string","title":"Content Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mental-prep/help":{"get":{"tags":["mental-prep"],"summary":"Help Read","operationId":"mental-prep.help_read","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/mental-prep/toolkit":{"get":{"tags":["mental-prep"],"summary":"Toolkit Read","description":"Free at every tier, always. Reviewed rows when they exist; the labelled\nawaiting-review reminders otherwise. A database failure is not an error here.","operationId":"mental-prep.toolkit_read","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/mental-prep/help/handover":{"post":{"tags":["mental-prep"],"summary":"Wellness Handover","description":"Writes the handover record and stops. Wellness owns the case from here.\nA failure still returns the Wellness route: the student is never at a dead end.\n`alerted_a_person` is false because no notification channel is wired.","operationId":"mental-prep.wellness_handover","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/mental_prep_routes__HandoverBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mental-prep/eligibility":{"get":{"tags":["mental-prep"],"summary":"Eligibility","operationId":"mental-prep.eligibility","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mental-prep/decline":{"post":{"tags":["mental-prep"],"summary":"Entry Decline","description":"'Not now' is a first-class answer. Nothing is stored; the toolkit and the help\ndoor stay one tap away.","operationId":"mental-prep.entry_decline","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/mental_prep_routes__DeclineBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mental-prep/sessions":{"post":{"tags":["mental-prep"],"summary":"Session Create","operationId":"mental-prep.session_create","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionCreateBody"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mental-prep/sessions/{session_id}":{"get":{"tags":["mental-prep"],"summary":"Session Read","operationId":"mental-prep.session_read","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["mental-prep"],"summary":"Session Delete","operationId":"mental-prep.session_delete","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mental-prep/sessions/{session_id}/step":{"post":{"tags":["mental-prep"],"summary":"Step Advance","operationId":"mental-prep.step_advance","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StepBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mental-prep/sessions/{session_id}/steps/{step_id}/outcome":{"post":{"tags":["mental-prep"],"summary":"Step Outcome","operationId":"mental-prep.step_outcome","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"step_id","in":"path","required":true,"schema":{"type":"string","title":"Step Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StepOutcomeBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mental-prep/sessions/{session_id}/action":{"post":{"tags":["mental-prep"],"summary":"Action Select","operationId":"mental-prep.action_select","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mental-prep/sessions/{session_id}/interrupt":{"post":{"tags":["mental-prep"],"summary":"Session Interrupt","operationId":"mental-prep.session_interrupt","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mental-prep/sessions/{session_id}/resume":{"post":{"tags":["mental-prep"],"summary":"Session Resume","operationId":"mental-prep.session_resume","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mental-prep/sessions/{session_id}/finish":{"post":{"tags":["mental-prep"],"summary":"Session Finish","operationId":"mental-prep.session_finish","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mental-prep/sessions/{session_id}/receipt":{"get":{"tags":["mental-prep"],"summary":"Receipt Read","description":"The receipt NEVER carries the concern text, a score or an inference.","operationId":"mental-prep.receipt_read","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mental-prep/sessions/{session_id}/return":{"post":{"tags":["mental-prep"],"summary":"Return Send","description":"Builds the return receipt (session id, action, time; never the concern text).\nNo sender product has a receiver wired yet, so it is NOT delivered and says so.","operationId":"mental-prep.return_send","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReturnBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mental-prep/history":{"get":{"tags":["mental-prep"],"summary":"History Read","operationId":"mental-prep.history_read","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mental-prep/history/delete-all":{"post":{"tags":["mental-prep"],"summary":"History Delete All","operationId":"mental-prep.history_delete_all","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/subjective-import/start":{"post":{"tags":["subjective-import-pr-429"],"summary":"Start Import","description":"PR-429 — start a subjective import. SCALE only.\n\nBody:\n  exam_label:   str (optional — e.g., \"JEE Main 2024 Subjective Mock\")\n  page_urls:    [str] (optional — S3/CDN URLs of uploaded page scans)\n  answers:      [{page_index?, question_text?, expected_answer?,\n                  rubric?, subject?, max_score?, student_answer?}, ...]\n                Pre-beta path: caller passes `student_answer` text\n                directly. When ENG-004 OCR worker lands, the worker\n                will populate student_answer from page_urls.\n\nSECURITY (Task 6 BOLA fix 2026-05-30): student_id is derived from the JWT.","operationId":"pr_429_subjective_import_start","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/subjective-import/status/{import_id}":{"get":{"tags":["subjective-import-pr-429"],"summary":"Get Status","description":"PR-429 — poll status / fetch result. Caller must pass ?student_id=.","operationId":"pr_429_subjective_import_status","parameters":[{"name":"import_id","in":"path","required":true,"schema":{"type":"string","title":"Import Id"}},{"name":"student_id","in":"query","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/subjective-import/list/{student_id}":{"get":{"tags":["subjective-import-pr-429"],"summary":"List Imports","description":"PR-429 — student's recent imports, newest first.","operationId":"pr_429_subjective_import_list","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/subjective-import/{import_id}":{"delete":{"tags":["subjective-import-pr-429"],"summary":"Delete Import","description":"PR-429 — soft-delete (status → 'failed' with note). Hard delete is admin-only.","operationId":"pr_429_subjective_import_delete","parameters":[{"name":"import_id","in":"path","required":true,"schema":{"type":"string","title":"Import Id"}},{"name":"student_id","in":"query","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/recap/weekly/{student_id}":{"get":{"tags":["recap-pr-200-r"],"summary":"Get Weekly Recap","description":"Return the most-recent recap for this student, or null. Reads the snapshot\nstore first; a week that has no snapshot yet falls back to the read-only legacy\n``weekly_recaps`` row. Does NOT auto-generate (use POST generate-this-week or\nrely on the Sunday cron). Used by the Today recap_tile fetcher and the\ndedicated WeeklyRecapScreen.","operationId":"pr_200_r_weekly_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/recap/latest":{"get":{"tags":["recap-pr-200-r"],"summary":"Get Latest Recap","description":"Return the signed-in student's latest weekly recap.","operationId":"weekly_recap_latest","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/recap/history":{"get":{"tags":["recap-pr-200-r"],"summary":"Get Recap History","description":"Return bounded weekly recap history for the signed-in learner (snapshots + legacy fallback).","operationId":"weekly_recap_history","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":12,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/recap/monthly":{"get":{"tags":["recap-pr-200-r"],"summary":"Get Monthly Recap","description":"Aggregate sealed weekly recaps into a monthly rollup without inventing unmeasured weeks.","operationId":"weekly_recap_monthly_rollup","parameters":[{"name":"year","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Year"}},{"name":"month","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Month"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/recap/{recap_id}":{"get":{"tags":["recap-pr-200-r"],"summary":"Get Recap By Id","operationId":"pr_200_r_by_id","parameters":[{"name":"recap_id","in":"path","required":true,"schema":{"type":"string","title":"Recap Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/recap/{recap_id}/view":{"post":{"tags":["recap-pr-200-r"],"summary":"Mark Recap Viewed","description":"Mark recap as viewed. Idempotent — re-viewing is a no-op.\n\nA snapshot is append-only, so the first open is a receipt in\n``growth_recap_views`` keyed by the week (a rebuilt in-progress week stays\nviewed). A version/digest-aware command additionally receives an immutable\nexact-snapshot OPEN receipt. A legacy row keeps its own ``viewed_at``.","operationId":"pr_200_r_view","parameters":[{"name":"recap_id","in":"path","required":true,"schema":{"type":"string","title":"Recap Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/recap_routes__ViewBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/recap/{recap_id}/next-week/commit":{"post":{"tags":["recap-pr-200-r"],"summary":"Commit Recap Next Week","description":"FD-4 delegate: record a next-week PROPOSAL. This route writes no plan blocks.\n\nKept for one release so the existing button keeps working. It cuts a versioned\nrow in ``growth_plan_proposals`` and returns it; Today previews it and the\nstudent commits it there, which is the only step that writes the plan.\n\nThe proposal names concepts, never sentences. A concept is proposed only when\nthe recap's own evidence names it, or when typed text matches a concept the\ngraph can prove (exact or >= 0.9). Anything else is returned in\n``unresolved_focus`` and is not turned into an id.","operationId":"weekly_recap_next_week_commit","deprecated":true,"parameters":[{"name":"recap_id","in":"path","required":true,"schema":{"type":"string","title":"Recap Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecapNextWeekCommitBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/recap/{recap_id}/share-card":{"post":{"tags":["recap-pr-200-r"],"summary":"Parent Safe Recap Share","description":"RECAP-003 - parent-safe share audit (free, consent-gated) and card payload.\n\nThe current app mints the raster card client-side through ShareCardMint;\nthis endpoint is the server-side gate/audit boundary and returns the\nconsent-scoped payload the card may show. Rank, wellness internals, anxiety\nflags, and raw detail are explicitly suppressed.","operationId":"weekly_recap_parent_safe_share","parameters":[{"name":"recap_id","in":"path","required":true,"schema":{"type":"string","title":"Recap Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecapShareBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/recap/{recap_id}/parent-preview":{"get":{"tags":["recap-pr-200-r"],"summary":"Get Recap Parent Preview","description":"Read-only parent-safe preview of a weekly recap (suppressing rank, wellness, anxiety, raw attempts).","operationId":"weekly_recap_parent_preview","parameters":[{"name":"recap_id","in":"path","required":true,"schema":{"type":"string","title":"Recap Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/recap/{recap_id}/letter":{"get":{"tags":["recap-pr-200-r"],"summary":"Get Recap Letter","description":"Return the deterministic weekly narrative letter grounded strictly in measured recap fields.","operationId":"weekly_recap_letter","parameters":[{"name":"recap_id","in":"path","required":true,"schema":{"type":"string","title":"Recap Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/recap/generate-this-week":{"post":{"tags":["recap-pr-200-r"],"summary":"Generate This Week","description":"Cut (or re-cut) the recap snapshot for the current ISO week.\n\nA week that has finished is cut once and then returned as it is. A week still\nin progress is re-cut from what has happened so far, but only when the evidence\nchanged: the new version supersedes the old and an unchanged week writes nothing.\nNothing here writes ``weekly_recaps``.","operationId":"pr_200_r_generate","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/recap/build-runs":{"get":{"tags":["admin","recap-pr-200-r"],"summary":"Build Runs","description":"The newest runs with their counts (built, already built, no activity, failed), plus the students still FAILED for their week.\nStudent ids are returned to the operator; they are not telemetry.","operationId":"pr_200_r_build_runs_read","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":10,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["admin","recap-pr-200-r"],"summary":"Build Run Now","description":"Run the build now for a week (default: the current one). Same idempotent run as the schedule; a week that has not begun is refused.","operationId":"pr_200_r_build_run_now","parameters":[{"name":"year","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":2100,"minimum":2020},{"type":"null"}],"title":"Year"}},{"name":"week","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":53,"minimum":1},{"type":"null"}],"title":"Week"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/today/plan-proposal":{"get":{"tags":["weekly-recap-plan-proposal"],"summary":"Get Open Proposal","description":"The newest suggestion from the student's recap that is still open.","operationId":"weekly_recap_plan_proposal_open","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Weekly Recap Plan Proposal Open"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/today/plan-proposal/{proposal_id}/commit":{"post":{"tags":["weekly-recap-plan-proposal"],"summary":"Commit Proposal","operationId":"weekly_recap_plan_proposal_commit","parameters":[{"name":"proposal_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Proposal Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Weekly Recap Plan Proposal Commit"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/today/plan-proposal/{proposal_id}/dismiss":{"post":{"tags":["weekly-recap-plan-proposal"],"summary":"Dismiss Proposal","operationId":"weekly_recap_plan_proposal_dismiss","parameters":[{"name":"proposal_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Proposal Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Weekly Recap Plan Proposal Dismiss"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/grade/papers/ocr":{"post":{"tags":["grade_papers"],"summary":"Ocr Preview","description":"Sync OCR of one answer image → recognised text + confidence. Drives the\nOCRVerificationOverlay; the corrected text is submitted with the grade.","operationId":"ocr_preview_api_v1_grade_papers_ocr_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OcrPreviewRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Ocr Preview Api V1 Grade Papers Ocr Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/grade/papers/submit":{"post":{"tags":["grade_papers"],"summary":"Submit Paper","description":"PR-429: kick off a multi-page handwritten grading job (SCALE only).\n\nReturns immediately with a paper_id. The FE polls\nGET /api/v1/grade/papers/{paper_id}/result for progress.","operationId":"submit_paper_api_v1_grade_papers_submit_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaperSubmit"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/grade/papers/release-proof/{student_id}":{"get":{"tags":["grade_papers"],"summary":"Deepgrade Release Proof","description":"STD-037 DeepGrade release proof.\n\nThis is intentionally separate from the paper result endpoint: the\nproduct shelf can prove schema, OCR, HSGE, confidence routing, review\nflags, history, ownership, and cognitive-signal export without requiring\na specific paper_id.","operationId":"deepgrade_release_proof_api_v1_grade_papers_release_proof__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/grade/papers/{paper_id}/result":{"get":{"tags":["grade_papers"],"summary":"Paper Result","description":"Return the current state of a multi-page paper job.","operationId":"paper_result_api_v1_grade_papers__paper_id__result_get","parameters":[{"name":"paper_id","in":"path","required":true,"schema":{"type":"string","title":"Paper Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/grade/papers/{paper_id}/pages/{page_no}/image":{"get":{"tags":["grade_papers"],"summary":"Paper Page Image","description":"One page scan, for the student to read their own handwriting against.\n\nGRADE-003P names the gap this closes: the read contract shows what the\nmachine read but not the page it read from, so a student at a desk compares\nthe text against the paper in their hand. They frequently do not have it --\nit was photographed and put away, or it was never theirs to keep.\n\nServed per page rather than inlined into `/read` on purpose. A five-page\npaper is five scans, and base64 in a JSON body makes the screen wait for\nevery one of them before it can show any text -- turning the fast part of\nthe contract into the slow part.\n\nThe ownership check is the same one `/read` makes, and it is not optional:\nthese are photographs of a named child's handwriting. Before 2026-08-18 any\nteacher or parent token could open any student's; `_can_access_student` asks\nwhether this student is actually theirs.","operationId":"paper_page_image_api_v1_grade_papers__paper_id__pages__page_no__image_get","parameters":[{"name":"paper_id","in":"path","required":true,"schema":{"type":"string","title":"Paper Id"}},{"name":"page_no","in":"path","required":true,"schema":{"type":"integer","title":"Page No"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/grade/papers/{paper_id}/read":{"get":{"tags":["grade_papers"],"summary":"Paper Read Contract","description":"What the machine read from this paper, for the student to confirm.\n\nReturns full page text, not the 200-character preview `/{paper_id}/result`\ngives: you cannot confirm a read you can only see the start of.","operationId":"paper_read_contract_api_v1_grade_papers__paper_id__read_get","parameters":[{"name":"paper_id","in":"path","required":true,"schema":{"type":"string","title":"Paper Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Paper Read Contract Api V1 Grade Papers  Paper Id  Read Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/grade/papers/{paper_id}/read/confirm":{"post":{"tags":["grade_papers"],"summary":"Paper Read Confirm","description":"Confirm what was read, optionally correcting it first (H2).\n\nCorrections are applied before the digest is taken, so the digest records\nwhat the student actually agreed to rather than what the machine proposed.\n\nConfirming every page is the only thing that counts. A partial confirmation\nis stored honestly as partial and still withholds -- that was the GR-C01\ndefect, where page one stood in for the whole paper.","operationId":"paper_read_confirm_api_v1_grade_papers__paper_id__read_confirm_post","parameters":[{"name":"paper_id","in":"path","required":true,"schema":{"type":"string","title":"Paper Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReadConfirmRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Paper Read Confirm Api V1 Grade Papers  Paper Id  Read Confirm Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/grade/papers/history/{student_id}":{"get":{"tags":["grade_papers"],"summary":"Paper History","description":"List the student's recent multi-page paper submissions.","operationId":"paper_history_api_v1_grade_papers_history__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/grade/teacher-bulk/scope":{"get":{"tags":["grade_teacher_bulk"],"summary":"Read Scope","description":"What this teacher may do this month, including having no scope at all.","operationId":"read_scope_api_v1_grade_teacher_bulk_scope_get","parameters":[{"name":"organisation_ref","in":"query","required":false,"schema":{"type":"string","default":"","title":"Organisation Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/grade/teacher-bulk/scope/admit":{"post":{"tags":["grade_teacher_bulk"],"summary":"Admit Self","description":"A verified teacher opens their own free monthly allowance.\n\nOnly the individual scope (no organisation) can be taken this way: an\norganisation scope is the institution's to grant, and letting a caller name\nany organisation would let one teacher open any number of free allowances.\nAsking again returns the same scope. A held or revoked scope is never\nreopened here: the row is the authority and only its owner changes it.","operationId":"admit_self_api_v1_grade_teacher_bulk_scope_admit_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/grade/teacher-bulk/batches":{"post":{"tags":["grade_teacher_bulk"],"summary":"Create Batch","description":"Open a batch. The same command key returns the same batch, not a second one.","operationId":"create_batch_api_v1_grade_teacher_bulk_batches_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/grader_teacher_bulk__BatchCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["grade_teacher_bulk"],"summary":"List Batches","description":"The calling teacher's own batches, newest first, with how many responses are in each state.\n\nThe filter is the caller's id in the query itself, so another teacher's batch can never be\nreturned however the rows are shaped.","operationId":"list_batches_api_v1_grade_teacher_bulk_batches_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/grade/teacher-bulk/batches/{batch_id}/responses":{"post":{"tags":["grade_teacher_bulk"],"summary":"Reserve Response","description":"Take one response off the month's allowance, before any grading starts.\n\nReserving first is what stops a teacher opening a batch and admitting two\nhundred responses against a twenty-response grant.","operationId":"reserve_response_api_v1_grade_teacher_bulk_batches__batch_id__responses_post","parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","title":"Batch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseReserve"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/grade/teacher-bulk/responses/{response_id}/commit":{"post":{"tags":["grade_teacher_bulk"],"summary":"Commit Response","description":"Bind the reservation to the canonical grade job it became.\n\nThis door never grades. The job id comes from the grading owner, and a\ncommit without one is refused by the table itself.","operationId":"commit_response_api_v1_grade_teacher_bulk_responses__response_id__commit_post","parameters":[{"name":"response_id","in":"path","required":true,"schema":{"type":"string","title":"Response Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseCommit"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/grade/teacher-bulk/responses/{response_id}/release":{"post":{"tags":["grade_teacher_bulk"],"summary":"Release Response","description":"Give the quota back for work that never happened, with a reason.\n\nA release with no reason is indistinguishable from a miscount, so the\ntable refuses one.","operationId":"release_response_api_v1_grade_teacher_bulk_responses__response_id__release_post","parameters":[{"name":"response_id","in":"path","required":true,"schema":{"type":"string","title":"Response Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseRelease"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/grade/teacher-bulk/batches/{batch_id}/withdraw":{"post":{"tags":["grade_teacher_bulk"],"summary":"Withdraw Unperformed","description":"Close a batch and give back every response that was never graded.\n\nReserved responses become RELEASED with the teacher's reason, so the month's\nallowance returns. Committed responses have a grade job behind them and stay\nspent. A batch with nothing performed is WITHDRAWN; one with graded work in it\nis CLOSED and its results stay readable. Works on a held or revoked scope too:\npulling work back is always allowed. Doing it twice changes nothing.","operationId":"withdraw_unperformed_api_v1_grade_teacher_bulk_batches__batch_id__withdraw_post","parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","title":"Batch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchWithdraw"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/grade/teacher-bulk/batches/{batch_id}":{"get":{"tags":["grade_teacher_bulk"],"summary":"Read Batch","description":"The batch and what happened to each response in it.","operationId":"read_batch_api_v1_grade_teacher_bulk_batches__batch_id__get","parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","title":"Batch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/grade/step-meter":{"get":{"tags":["grade_step_meter"],"summary":"Read Meter","description":"The signed-in learner's own units and the price per unit. Reads only; nothing here sells or grants anything.","operationId":"read_meter_api_v1_grade_step_meter_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notify/unsubscribe":{"get":{"tags":["notify_unsubscribe"],"summary":"Confirm Page","description":"Shows what the link would stop and a button. Changes nothing.","operationId":"confirm_page_api_v1_notify_unsubscribe_get","parameters":[{"name":"t","in":"query","required":true,"schema":{"type":"string","maxLength":600,"title":"T"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["notify_unsubscribe"],"summary":"Unsubscribe","description":"The one click. Also what a mail client sends for List-Unsubscribe-Post.","operationId":"unsubscribe_api_v1_notify_unsubscribe_post","parameters":[{"name":"t","in":"query","required":true,"schema":{"type":"string","maxLength":600,"title":"T"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/grade/reviewer-workbench/queue":{"get":{"tags":["grade_reviewer_workbench"],"summary":"Read Queue","description":"What this reviewer can claim now (their subjects, oldest first) and what they already hold.","operationId":"read_queue_api_v1_grade_reviewer_workbench_queue_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/grade/reviewer-workbench/reviews/{result_id}":{"get":{"tags":["grade_reviewer_workbench"],"summary":"Read Review","description":"The answer and the AI's marks for one review assigned to this reviewer, with no learner identity.","operationId":"read_review_api_v1_grade_reviewer_workbench_reviews__result_id__get","parameters":[{"name":"result_id","in":"path","required":true,"schema":{"type":"string","title":"Result Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/grade/teacher-bulk/batches/{batch_id}/review":{"get":{"tags":["grade_teacher_bulk_review"],"summary":"Read Review","description":"The AI mark and the release state of every graded answer in the teacher's own batch.","operationId":"read_review_api_v1_grade_teacher_bulk_batches__batch_id__review_get","parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","title":"Batch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/grade/teacher-bulk/batches/{batch_id}/export":{"post":{"tags":["grade_teacher_bulk_review"],"summary":"Request Export","description":"Released marks of the teacher's own batch as a file. Someone else's batch answers 404.","operationId":"request_export_api_v1_grade_teacher_bulk_batches__batch_id__export_post","parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","title":"Batch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/grade/teacher-bulk/batches/{batch_id}/release":{"post":{"tags":["grade_teacher_bulk_review"],"summary":"Release Marks","description":"Confirm or change the AI mark of each listed answer; each becomes a release the Gradebook can take.","operationId":"release_marks_api_v1_grade_teacher_bulk_batches__batch_id__release_post","parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","title":"Batch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReleaseBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/marking-bureau/batches":{"post":{"tags":["marking_bureau_batches"],"summary":"Create","operationId":"create_api_v1_marking_bureau_batches_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateBatchBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["marking_bureau_batches"],"summary":"List Mine","operationId":"list_mine_api_v1_marking_bureau_batches_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/marking-bureau/batches/{batch_id}":{"get":{"tags":["marking_bureau_batches"],"summary":"Read","operationId":"read_api_v1_marking_bureau_batches__batch_id__get","parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","title":"Batch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/marking-bureau/batches/{batch_id}/consent-requests":{"post":{"tags":["marking_bureau_batches"],"summary":"Ask Consent","operationId":"ask_consent_api_v1_marking_bureau_batches__batch_id__consent_requests_post","parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","title":"Batch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommandBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/marking-bureau/batches/{batch_id}/submit":{"post":{"tags":["marking_bureau_batches"],"summary":"Submit","operationId":"submit_api_v1_marking_bureau_batches__batch_id__submit_post","parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","title":"Batch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommandBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/marking-bureau/batches/{batch_id}/cancel":{"post":{"tags":["marking_bureau_batches"],"summary":"Cancel","operationId":"cancel_api_v1_marking_bureau_batches__batch_id__cancel_post","parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","title":"Batch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/marking_bureau_routes__CancelBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/marking-bureau/batches/{batch_id}/items/{item_id}/decision":{"post":{"tags":["marking_bureau_batches"],"summary":"Decide","operationId":"decide_api_v1_marking_bureau_batches__batch_id__items__item_id__decision_post","parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","title":"Batch Id"}},{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/marking_bureau_routes__DecisionBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/marking-bureau/consent/mine":{"get":{"tags":["marking-bureau-consent"],"summary":"My Consents","description":"Pending requests and given consents for the caller: the pupil's own, or a parent's children's.","operationId":"my_consents_api_v1_marking_bureau_consent_mine_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response My Consents Api V1 Marking Bureau Consent Mine Get"}}}}}}},"/api/v1/marking-bureau/consent/{teacher_id}/grant":{"post":{"tags":["marking-bureau-consent"],"summary":"Grant","operationId":"grant_api_v1_marking_bureau_consent__teacher_id__grant_post","parameters":[{"name":"teacher_id","in":"path","required":true,"schema":{"type":"string","title":"Teacher Id"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/marking_bureau_consent__DecisionBody"},{"type":"null"}],"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Grant Api V1 Marking Bureau Consent  Teacher Id  Grant Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/marking-bureau/consent/{teacher_id}/withdraw":{"post":{"tags":["marking-bureau-consent"],"summary":"Withdraw","operationId":"withdraw_api_v1_marking_bureau_consent__teacher_id__withdraw_post","parameters":[{"name":"teacher_id","in":"path","required":true,"schema":{"type":"string","title":"Teacher Id"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/marking_bureau_consent__DecisionBody"},{"type":"null"}],"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Withdraw Api V1 Marking Bureau Consent  Teacher Id  Withdraw Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/marking-bureau/desk/assignments":{"get":{"tags":["marking_bureau_desk"],"summary":"My Assignments","operationId":"my_assignments_api_v1_marking_bureau_desk_assignments_get","parameters":[{"name":"include_done","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Done"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/marking-bureau/desk/assignments/{assignment_id}/packet":{"get":{"tags":["marking_bureau_desk"],"summary":"Packet","operationId":"packet_api_v1_marking_bureau_desk_assignments__assignment_id__packet_get","parameters":[{"name":"assignment_id","in":"path","required":true,"schema":{"type":"string","title":"Assignment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/marking-bureau/desk/assignments/{assignment_id}/packet/pages/{page_index}":{"get":{"tags":["marking_bureau_desk"],"summary":"Packet Page","operationId":"packet_page_api_v1_marking_bureau_desk_assignments__assignment_id__packet_pages__page_index__get","parameters":[{"name":"assignment_id","in":"path","required":true,"schema":{"type":"string","title":"Assignment Id"}},{"name":"page_index","in":"path","required":true,"schema":{"type":"integer","title":"Page Index"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/marking-bureau/desk/assignments/{assignment_id}/mark":{"post":{"tags":["marking_bureau_desk"],"summary":"Mark","operationId":"mark_api_v1_marking_bureau_desk_assignments__assignment_id__mark_post","parameters":[{"name":"assignment_id","in":"path","required":true,"schema":{"type":"string","title":"Assignment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/marking-bureau/desk/assignments/{assignment_id}/release":{"post":{"tags":["marking_bureau_desk"],"summary":"Release","operationId":"release_api_v1_marking_bureau_desk_assignments__assignment_id__release_post","parameters":[{"name":"assignment_id","in":"path","required":true,"schema":{"type":"string","title":"Assignment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/marking-bureau/trututor/accept":{"post":{"tags":["marking_bureau_trututor"],"summary":"Tt Accept","operationId":"tt_accept_api_v1_marking_bureau_trututor_accept_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/marking-bureau/trututor/decline":{"post":{"tags":["marking_bureau_trututor"],"summary":"Tt Decline","operationId":"tt_decline_api_v1_marking_bureau_trututor_decline_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/marking-bureau/trututor/packet-link":{"post":{"tags":["marking_bureau_trututor"],"summary":"Tt Packet Link","operationId":"tt_packet_link_api_v1_marking_bureau_trututor_packet_link_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/marking-bureau/trututor/mark":{"post":{"tags":["marking_bureau_trututor"],"summary":"Tt Mark","operationId":"tt_mark_api_v1_marking_bureau_trututor_mark_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/marking-bureau/trututor/release":{"post":{"tags":["marking_bureau_trututor"],"summary":"Tt Release","operationId":"tt_release_api_v1_marking_bureau_trututor_release_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/marking-bureau/trututor/packets/{assignment_id}":{"get":{"tags":["marking_bureau_trututor"],"summary":"Tt Packet","operationId":"tt_packet_api_v1_marking_bureau_trututor_packets__assignment_id__get","parameters":[{"name":"assignment_id","in":"path","required":true,"schema":{"type":"string","title":"Assignment Id"}},{"name":"marker","in":"query","required":false,"schema":{"type":"string","default":"","title":"Marker"}},{"name":"exp","in":"query","required":false,"schema":{"type":"string","default":"","title":"Exp"}},{"name":"sig","in":"query","required":false,"schema":{"type":"string","default":"","title":"Sig"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/marking-bureau/trututor/packets/{assignment_id}/pages/{page_index}":{"get":{"tags":["marking_bureau_trututor"],"summary":"Tt Packet Page","operationId":"tt_packet_page_api_v1_marking_bureau_trututor_packets__assignment_id__pages__page_index__get","parameters":[{"name":"assignment_id","in":"path","required":true,"schema":{"type":"string","title":"Assignment Id"}},{"name":"page_index","in":"path","required":true,"schema":{"type":"integer","title":"Page Index"}},{"name":"marker","in":"query","required":false,"schema":{"type":"string","default":"","title":"Marker"}},{"name":"exp","in":"query","required":false,"schema":{"type":"string","default":"","title":"Exp"}},{"name":"sig","in":"query","required":false,"schema":{"type":"string","default":"","title":"Sig"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/grade/recheck-door/scope":{"get":{"tags":["grade_recheck_door"],"summary":"Read Scope","description":"What this door sells, and whether both halves can be honoured today.","operationId":"read_scope_api_v1_grade_recheck_door_scope_get","parameters":[{"name":"subject","in":"query","required":false,"schema":{"type":"string","default":"","title":"Subject"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/grade/recheck-door/activation/{order_id}":{"get":{"tags":["grade_recheck_door"],"summary":"Read Activation Receipt","description":"R26 Activation and Return Receipt for the signed-in student's own order on Door 28.\n\nAn order id that is not this student's, or is not a Door 28 order, is a 404: the page never prints a receipt for a\nstring someone typed. A commerce read that fails is a 503, not a quiet RECONCILING.","operationId":"read_activation_receipt_api_v1_grade_recheck_door_activation__order_id__get","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","title":"Order Id"}},{"name":"subject","in":"query","required":false,"schema":{"type":"string","default":"","title":"Subject"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/grade/institution-scope/candidates":{"get":{"tags":["grade_institution_scope"],"summary":"List Candidates","description":"Every held candidate, with the decision each one is waiting on.\n\nDeliberately readable without a scope row, because the honest answer for an\ninstitution that has never asked is the same as for one that has: held.","operationId":"list_candidates_api_v1_grade_institution_scope_candidates_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/grade/institution-scope/candidates/{object_id}":{"get":{"tags":["grade_institution_scope"],"summary":"Read Candidate","operationId":"read_candidate_api_v1_grade_institution_scope_candidates__object_id__get","parameters":[{"name":"object_id","in":"path","required":true,"schema":{"type":"string","title":"Object Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/grade/institution-scope/candidates/{object_id}/request":{"post":{"tags":["grade_institution_scope"],"summary":"Request Operation","description":"Record that an institution asked, and answer honestly.\n\nThis route never releases an artefact, never quotes a price and never\ncreates an entitlement. Its whole output is a decision and a receipt of the\nasking.","operationId":"request_operation_api_v1_grade_institution_scope_candidates__object_id__request_post","parameters":[{"name":"object_id","in":"path","required":true,"schema":{"type":"string","title":"Object Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/grade/teacher-review/entitlement":{"get":{"tags":["grade_teacher_review"],"summary":"Read Entitlement","description":"What this student may ask for, and out of which pocket.","operationId":"read_entitlement_api_v1_grade_teacher_review_entitlement_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/grade/teacher-review/request":{"post":{"tags":["grade_teacher_review"],"summary":"Request Review","description":"A student asks a human to look at one grade.\n\nReserve first, then queue. A reservation that never becomes a queued job is\nreleased rather than left holding the student's allowance -- and the whole\nthing refuses before it spends anything when no pocket can pay.","operationId":"request_review_api_v1_grade_teacher_review_request_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/teacher_review_entitlement__ReviewRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/mock/papers/publish-legacy":{"post":{"tags":["mock_paper_publication"],"summary":"Publish Legacy Papers","description":"Put the legacy papers on the canonical shelf, or say exactly why not.","operationId":"publish_legacy_papers_internal_v1_mock_papers_publish_legacy_post","parameters":[{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublishLegacyRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Publish Legacy Papers Internal V1 Mock Papers Publish Legacy Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/mock/papers/source-authority":{"post":{"tags":["mock_paper_publication"],"summary":"Record Source Authority","description":"Record the source passport and rights decision for one outside-publisher paper.","operationId":"record_source_authority_internal_v1_mock_papers_source_authority_post","parameters":[{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordSourceAuthorityRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Record Source Authority Internal V1 Mock Papers Source Authority Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mock/sessions/{session_id}/pacing":{"get":{"tags":["mock_pacing"],"summary":"Read Pacing","description":"The Time-Leak Report for one of the caller's own attempts.","operationId":"read_pacing_api_v1_mock_sessions__session_id__pacing_get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Pacing Api V1 Mock Sessions  Session Id  Pacing Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mock/pacing":{"get":{"tags":["mock_pacing"],"summary":"Read Latest Pacing","description":"Standalone Pacing Diagnostic entry (`/api/v1/mock/pacing`).","operationId":"read_latest_pacing_api_v1_mock_pacing_get","parameters":[{"name":"session_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Latest Pacing Api V1 Mock Pacing Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mock/arena/offer":{"get":{"tags":["mock_arena"],"summary":"Read Arena Offer","description":"What this learner may start, and what is honestly on offer if they cannot.","operationId":"read_arena_offer_api_v1_mock_arena_offer_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Arena Offer Api V1 Mock Arena Offer Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/mock-summary/{child_id}":{"get":{"tags":["mock-parent-summary"],"summary":"Mock Parent Summary","operationId":"mock_parent_summary","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Mock Parent Summary"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/explain/prompts":{"get":{"tags":["explain_it_back"],"summary":"List Prompts","description":"R1. Eligible prompts with the evidence that justifies each one.\n\nRead-only and unmetered: seeing what you could explain must not cost one of\nthe three you get.","operationId":"list_prompts_api_v1_explain_prompts_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":3,"minimum":1,"default":3,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Prompts Api V1 Explain Prompts Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/explain/entitlement":{"get":{"tags":["explain_it_back"],"summary":"Read Entitlement","description":"R2. What the meter says, for the meter and the locked bench.\n\nPack 50 contains no rupee value and no quota number: the limit is read\nthrough OS09's adapter over `sku_tier_enforcement.TIER_LIMITS`, and the\noffer's price, id and grant come from the OS09 offer payload. A price\nhardcoded here is the MOCK-CM01 defect, and it is not repeated.","operationId":"read_entitlement_api_v1_explain_entitlement_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Entitlement Api V1 Explain Entitlement Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/explain/sessions":{"post":{"tags":["explain_it_back"],"summary":"Open Session","description":"R3. Open a bench, freeze the prompt, and reserve the unit.\n\nThe order is the spec's and is load-bearing: preflight, then validate, then\nfreeze, then reserve -- and the reservation happens before the judge is ever\ncalled, because a limit applied after the provider ran is not a limit.\n\nToday this route reaches the reservation and stops. OS09 has no\n`reserve_quota` command (§16.2), and writing the ledger row here would fail\nat the `decision_receipt_id` foreign key. So it returns 503 with the missing\ncommand named, rather than opening a session on a reservation that does not\nexist.","operationId":"open_session_api_v1_explain_sessions_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Open Session Api V1 Explain Sessions Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/explain/sessions/{session_id}":{"get":{"tags":["explain_it_back"],"summary":"Read Session","description":"R6. Is my bench still there?\n\nThe only route that can answer that after a tab close or a network drop, and\nthe one route where returning the draft text would have been convenient.\nIt returns `word_count` instead: a resume shows the learner *that* they\nwrote 84 words, not the 84 words. The draft lives in their browser.","operationId":"read_session_api_v1_explain_sessions__session_id__get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Session Api V1 Explain Sessions  Session Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/explain/reads/{read_id}":{"get":{"tags":["explain_it_back"],"summary":"Read Card","description":"R7. The Explanation Card on a revisit, a deep link or a Ledger tap.\n\nA HELD read is not a card: `release_state IN ('HELD','REVOKED')` is a 409,\nnot a partial card. A read is saved or the card says it is not.\n\nAn erased explanation still has a card. The verdict, element keys, rubric\nversion and misconception code survive erasure; every quoted span goes.\nThe product does not 404 a record the learner chose to keep.","operationId":"read_card_api_v1_explain_reads__read_id__get","parameters":[{"name":"read_id","in":"path","required":true,"schema":{"type":"string","title":"Read Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Card Api V1 Explain Reads  Read Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/explain/ledger":{"get":{"tags":["explain_it_back"],"summary":"Read Ledger","description":"R9. The record the learner keeps.\n\n`totals` is computed here from released reads. There is no stored counter,\nbecause a counter and the rows it counts drift, and the rows are the truth.","operationId":"read_ledger_api_v1_explain_ledger_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":20,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Ledger Api V1 Explain Ledger Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/explain/sessions/{session_id}/explanation":{"post":{"tags":["explain_it_back"],"summary":"Submit Explanation","description":"R4. What the learner actually said, and what we are allowed to claim.\n\nThe sequence is §6.6's, in that order and no other, because each step\nprotects the one after it:\n\n1. Owner check from the JWT against `eib_sessions.student_id` -- the\n   *session* row, because the attempt row does not exist until step 4.\n2. Lazy TTL, status-first. An expired bench whose provider outcome is\n   unknown goes to RECONCILING and holds its unit; it is never released on\n   a timeout and never judged on a dead bench.\n3. Length guards, before any provider call -- so a two-word answer costs\n   nothing and a novel is refused before it is paid for.\n4. Insert the attempt, with `student_id` and `prompt_id` copied from the\n   session row and never from the request body.\n5. Read it back. The shared helpers swallow errors and return None, so an\n   unread-back insert is not a write; the client keeps its draft.\n6-11 call the judge, apply the allow-list, floor and one-name rules, write\n   the read HELD, and release it only inside the transaction that also\n   commits the unit.\n\nSteps 6 onward live in `eib_reader`: the cascade is asked, the judge's laws\ndecide what may be claimed, and the held unit is committed on a released\nread, released on a definite non-read, and held in RECONCILING when the\nprovider's outcome is unknown. With no provider key configured the route\nanswers 503 `provider_not_configured` before writing or charging anything.\n\n**No `os06_grade_finalizations` row and no `os06_score_versions` row is\nwritten, at any step.** Both require `total_score numeric NOT NULL`, and\nthis product has no score. That is §5.6 T2, and it is why the Twin edge\ncannot be walked today.","operationId":"submit_explanation_api_v1_explain_sessions__session_id__explanation_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Submit Explanation Api V1 Explain Sessions  Session Id  Explanation Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/explain/sessions/{session_id}/transcribe":{"post":{"tags":["explain_it_back"],"summary":"Transcribe","description":"R5. A session-bound proxy over the existing speech-to-text endpoint.\n\nIt adds the ownership check and nothing else, and it **never submits**.\nConfirming a transcript is a separate act, because a transcript the learner\nhas not seen is not their explanation -- and this product then reads that\nexplanation for understanding, so putting unreviewed words in their mouth\nwould not merely be sloppy, it would be judged.","operationId":"transcribe_api_v1_explain_sessions__session_id__transcribe_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Transcribe Api V1 Explain Sessions  Session Id  Transcribe Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/explain/sessions/{session_id}/abandon":{"post":{"tags":["explain_it_back"],"summary":"Abandon Session","description":"R8. Stop, honestly.\n\nThree laws ride on this route:\n\n1. **Settlement reads back before a terminal response.** An unread-back\n   release is not a release, and R8 cannot infer \"no provider effect\" from a\n   timeout. A student told they got their unit back when they did not is not\n   a recoverable state -- they will spend it twice and be charged once.\n2. **`explanation_kept: true` is the truth, not a courtesy.** Abandoning\n   closes the bench; it does not delete what was already said. Deletion is a\n   separate, deliberate act.\n3. **It is idempotent.** A second abandon returns the original close reason\n   with `entry_type: null`, never a second RELEASE. The idempotency key is\n   unique in the ledger, so a double release is a constraint failure rather\n   than a free unit.","operationId":"abandon_session_api_v1_explain_sessions__session_id__abandon_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Abandon Session Api V1 Explain Sessions  Session Id  Abandon Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/explain/ledger/erase":{"post":{"tags":["explain_it_back"],"summary":"Erase Ledger","description":"R10. The learner deletes the words of one explanation, or of all of them.\n\nBody is `{\"scope\": \"all\"}` or `{\"read_id\": \"...\"}`; anything else is a 422.\nIdentity is the JWT subject only. Another student's read id is the same\n404 as a missing one. The verdict and the misconception name stay; the\nwords, the quoted fragments and the judge's questions about them go.\nIdempotent: a second erase finds nothing left and says zero.","operationId":"erase_ledger_api_v1_explain_ledger_erase_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Erase Ledger Api V1 Explain Ledger Erase Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/explain/ledger/export":{"get":{"tags":["explain_it_back"],"summary":"Export Ledger","description":"R11. The learner's own explanations, reads and named mix-ups as a JSON file.\n\nOpen at every tier (SET_50 D11 default), rate limited instead. Owner only:\nthe queries bind the JWT subject, and the document never contains another\nstudent's row or an internal score.","operationId":"export_ledger_api_v1_explain_ledger_export_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notebook":{"get":{"tags":["error_notebook"],"summary":"Read Book","description":"Route 1. The book, paged. Free.","operationId":"read_book_api_v1_notebook_get","parameters":[{"name":"family","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Family"}},{"name":"open_only","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Open Only"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":20,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Book Api V1 Notebook Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notebook/entries/{entry_id}":{"get":{"tags":["error_notebook"],"summary":"Read Entry","description":"Route 2. The only full record. Free.","operationId":"read_entry_api_v1_notebook_entries__entry_id__get","parameters":[{"name":"entry_id","in":"path","required":true,"schema":{"type":"string","title":"Entry Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Entry Api V1 Notebook Entries  Entry Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notebook/entries/{entry_id}/note":{"put":{"tags":["error_notebook"],"summary":"Write Note","description":"Route 3. The student's own words, learner-private. Free.\n\nNever logged, never in telemetry, never in a parent projection. It is the\none field in this pack a student writes themselves, and the only reader is\nthem.","operationId":"write_note_api_v1_notebook_entries__entry_id__note_put","parameters":[{"name":"entry_id","in":"path","required":true,"schema":{"type":"string","title":"Entry Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Write Note Api V1 Notebook Entries  Entry Id  Note Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notebook/coverage":{"get":{"tags":["error_notebook"],"summary":"Read Coverage","description":"Route 11. What the book does and does not capture from. Free.\n\nExists so the brochure's \"every error you make, anywhere\" is testable\nrather than asserted. Where it is not true, this route is where it says so.","operationId":"read_coverage_api_v1_notebook_coverage_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Coverage Api V1 Notebook Coverage Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notebook/patterns":{"get":{"tags":["error_notebook"],"summary":"Read Patterns","description":"Route 8. The cause ledger, and the pack's only gate.\n\nThe entitlement check runs BEFORE the ledger is computed, so a denied\ncaller never has the answer worked out and then withheld. Denial is a 200\nwith a Locked-Useful payload: their mistakes are theirs, and what GROW buys\nis the analysis over them. A 403 would say the opposite.","operationId":"read_patterns_api_v1_notebook_patterns_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Patterns Api V1 Notebook Patterns Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notebook/entries/{entry_id}/cause":{"put":{"tags":["error_notebook"],"summary":"Write Cause","description":"Route 4. Two intents on one route: re-tag, or disagree.\n\nThey are separate acts and the difference is the point. **Re-tagging a\ngraded cause is refused**, because a student's tag does not overwrite a\ngrader's label. **Disagreeing is never refused**, on any cause, because\n\"your grader said X, I say Y\" is a thing a student is always entitled to\nsay -- and it keeps both, side by side.\n\nIf the two travelled through one intent, the refusal above would make the\ndisagreement unreachable and the mechanism would be dead spec. So the\nintent is explicit and a caller must choose.","operationId":"write_cause_api_v1_notebook_entries__entry_id__cause_put","parameters":[{"name":"entry_id","in":"path","required":true,"schema":{"type":"string","title":"Entry Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Write Cause Api V1 Notebook Entries  Entry Id  Cause Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notebook/returns":{"get":{"tags":["error_notebook"],"summary":"Read Returns","description":"Route 5. Today's return pass.\n\nPACK 51 owns the schedule. \"Nothing due\" and \"we cannot reach the\nschedule\" are different answers and the envelope keeps them apart: an\nunreachable schedule sets degraded_reason, an empty one does not.","operationId":"read_returns_api_v1_notebook_returns_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Returns Api V1 Notebook Returns Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notebook/returns/{entry_id}/shown":{"post":{"tags":["error_notebook"],"summary":"Record Shown","description":"Route 6. The resurfacing receipt.\n\n`seen_marked` is a SEEN receipt and nothing more. It cannot close an entry\nand there is no branch here that lets it: only a scored correct attempt,\nthrough the resolution ledger, does that. A student tapping \"I've got this\nnow\" has told us they looked, not that they know it.","operationId":"record_shown_api_v1_notebook_returns__entry_id__shown_post","parameters":[{"name":"entry_id","in":"path","required":true,"schema":{"type":"string","title":"Entry Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Record Shown Api V1 Notebook Returns  Entry Id  Shown Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notebook/pass":{"get":{"tags":["error_notebook"],"summary":"Read Pass","description":"Route 7. The pre-exam flick-through.\n\nOrdered by what is still unresolved and has been returned least -- the\nentries the student has seen least and proved least. It schedules nothing\nand PACK 51 knows nothing about it, which is exactly why the receipt table\nis this pack's and not the queue's.","operationId":"read_pass_api_v1_notebook_pass_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":20,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Pass Api V1 Notebook Pass Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notebook/export":{"post":{"tags":["error_notebook"],"summary":"Start Export","description":"Route 9. GROW+ since FD-1 (founder, 2026-09-13).\n\nThe gate runs before anything is read, so a denied caller never has their\nbook assembled and then withheld. Denial is a 200 with Locked-Useful, not a\n403: the entries are still theirs to read one at a time on every other\nroute, and what GROW+ buys is taking the whole book out in one file.\n\nCreates a job row and returns its id. The file is built when it is fetched,\nfrom stored fields only (see notebook_export_service).","operationId":"start_export_api_v1_notebook_export_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/notebook_routes__ExportBody"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Start Export Api V1 Notebook Export Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notebook/export/latest":{"get":{"tags":["error_notebook"],"summary":"Read Latest Export","description":"What the export screen needs on arrival: the book's size and span, how many\nexports are left today, how many entries are inside the 14-day window, and the\nnewest job.\n\nRegistered BEFORE `/export/{job_id}` so \"latest\" is a route and not a job id,\nand gated for the same reason that route is: the count and span of a student's\nbook are theirs to read only when the door is open. Same FD-1 gate, first.","operationId":"read_latest_export_api_v1_notebook_export_latest_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Latest Export Api V1 Notebook Export Latest Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notebook/export/{job_id}":{"get":{"tags":["error_notebook"],"summary":"Read Export","description":"Route 10. Polls the job, and serves the whole book when it is done.\n\nThe route most easily missed from a denial matrix, which is why the route\ntable names it: it serves everything, so an ownership hole here leaks a\nstudent's entire record rather than one entry. For the same reason the FD-1\ngate is applied here too and not only on the route that starts the job -- a\ngate on the door and none on the window is not a gate. `?download=true` is\nthe same door, not another one, so it passes the same gate first.\n\nA job that is not the caller's answers exactly like one that does not exist.\nA download that cannot be built completely produces NO file: a short CSV\noffered as the whole book is the one failure here with no way back.","operationId":"read_export_api_v1_notebook_export__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"download","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Download"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notebook/meter":{"get":{"tags":["error_notebook"],"summary":"Read Meter","description":"Route 16 (PRD 27.2). Free and ungated: the state of the student's own book.\n\n`{tier, cap, kept, leaving_soon, replay_packs_left}`, plus whether the book is\nover its cap and the notice window. Never a price. Reading it also refreshes\nretention dates after a plan change (idempotent). A fact that could not be\nread is None with a `degraded_reason`, never zero. Nothing is deleted\nanywhere, and the body says so.","operationId":"read_meter_api_v1_notebook_meter_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Meter Api V1 Notebook Meter Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notebook/entries/{entry_id}/replay":{"post":{"tags":["error_notebook"],"summary":"Start Trace Replay","description":"Route 12. Walk one mistake, step by step.\n\nA replay writes no evidence, no resolution, no mastery and no schedule: it\nre-reads something that already happened.\n\nTwo quite different 404s, deliberately distinguishable. `entry_not_found` is\nthe shared concealment body and says nothing about whether the id exists;\n`no_trace` is about an entry the student demonstrably owns -- a mock kept the\nanswer chosen, not the working behind it -- and says so in copy.","operationId":"start_trace_replay_api_v1_notebook_entries__entry_id__replay_post","parameters":[{"name":"entry_id","in":"path","required":true,"schema":{"type":"string","title":"Entry Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Start Trace Replay Api V1 Notebook Entries  Entry Id  Replay Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notebook/replays/{replay_id}":{"get":{"tags":["error_notebook"],"summary":"Read Trace Replay","description":"Route 13. Read a replay back, and record how far the student got.\n\n`steps_viewed` only moves forward and is clamped to the total: a stale\nclient cannot walk the count backwards and a broken one cannot run past the\nend.","operationId":"read_trace_replay_api_v1_notebook_replays__replay_id__get","parameters":[{"name":"replay_id","in":"path","required":true,"schema":{"type":"string","title":"Replay Id"}},{"name":"steps_viewed","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Steps Viewed"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Trace Replay Api V1 Notebook Replays  Replay Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notebook/import":{"post":{"tags":["error_notebook"],"summary":"Create Import","description":"Route 14. Bring an old error log back.\n\nParses and binds, then stops at REVIEW. Nothing becomes an entry until the\nstudent has seen every line and confirmed (route 16). The file's bytes are\nread in memory and dropped; nothing is stored, re-served or executed.","operationId":"create_import_api_v1_notebook_import_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_create_import_api_v1_notebook_import_post"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Import Api V1 Notebook Import Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notebook/import/{job_id}":{"get":{"tags":["error_notebook"],"summary":"Read Import","description":"Route 15. The parse, line by line, before anything is written.\n\nImported rows never carry a graded basis and stay out of the cause ledger\nuntil they are bound. Both facts are in the body, not only in the docs.","operationId":"read_import_api_v1_notebook_import__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Import Api V1 Notebook Import  Job Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notebook/import/{job_id}/confirm":{"post":{"tags":["error_notebook"],"summary":"Confirm Import","description":"Route 16. The student's confirm, and the receipt.\n\nThe one addition to the PRD's table: R09 needs a confirm between the review\nand the entries, and routes 14 and 15 cannot carry three states between them.","operationId":"confirm_import_api_v1_notebook_import__job_id__confirm_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Confirm Import Api V1 Notebook Import  Job Id  Confirm Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/video/territories":{"get":{"tags":["sliced_video_lectures"],"summary":"List Territories","description":"§27.2 `videoListTerritories`. Where there is coverage, and where there is not.\n\nA territory here is a curriculum scope, not a legal one -- the parameters are\nsubject, chapter and topic. The rights territory is a different axis and is\napplied inside the gate. JUDGMENT, flagged in the pack: §7 uses the word for\nboth and the parameter list settles which one this route means.\n\nZero is returned, never hidden. A topic with no playable slice comes back as\n`none` with a count of zero, because the alternative -- omitting it -- makes\nan empty shelf indistinguishable from a complete one.","operationId":"list_territories_api_v1_video_territories_get","parameters":[{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"}},{"name":"chapter","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chapter"}},{"name":"topic","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Topic"}},{"name":"language","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Territories Api V1 Video Territories Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/video/availability":{"get":{"tags":["sliced_video_lectures"],"summary":"Read Availability","description":"EXT-SR-10. Is there anything a learner could actually watch for this concept?\n\nSpaced Repetition asks this before it offers a video as a way back to a\nconcept. The answer is a count from the playability gate, never from a\n`published` flag. Today it is zero, and zero is returned as zero, with\n`available: false`, rather than as an error or a hidden field.\n\nA failed read is a degraded envelope, not zero: \"we could not look\" and\n\"there is nothing\" are different statements and the caller must be able to\ntell them apart.","operationId":"read_availability_api_v1_video_availability_get","parameters":[{"name":"concept_id","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":120,"title":"Concept Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Availability Api V1 Video Availability Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/video/slices":{"get":{"tags":["sliced_video_lectures"],"summary":"List Slices","description":"§27.2 `videoListSlices`. One of `topic`, `concept` or `chapter` is required.\n\n`chapter` (Pack 1, JOB-093) lists every video bound to one chapter, so the\nchapter page can show them together. It is a scope, not a shelf of everything.\n\nHeld slices are returned, not filtered out, each carrying why it is held.\nA learner who was told a lecture existed yesterday and finds it gone today\nlearns nothing; a learner who sees \"being corrected\" knows to come back.\nThe exception is the slice that was never published at all, which is not the\nlearner's business and is filtered in the query.","operationId":"list_slices_api_v1_video_slices_get","parameters":[{"name":"topic","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Topic"}},{"name":"concept","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Concept"}},{"name":"language","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"}},{"name":"chapter","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chapter"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":20,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Slices Api V1 Video Slices Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/video/publications":{"get":{"tags":["sliced_video_lectures"],"summary":"List Publications","description":"P08. The consumer projection: published slices as specimens, and nothing to play.\n\nConcept Capsule and Subject Slice Library read this instead of\n`video_library.lectures` (T15). It is the `/slices` shelf without the parts\nthat belong to one learner's player: no resume position, no meter, no\nmanifest. Same specimen, same gate, so a slice looks identical wherever it\nis shown; the address still comes only from `/manifest` after Play.\n\nEach slice appears once however many concepts it binds (a topic query would\notherwise return a slice per bound concept). Held, recalled and expired\nslices are returned with their word, so a consumer can show a Recall Ribbon\nrather than silently dropping a lecture it showed yesterday. A slice that\nwas never published is not returned at all.\n\nReading the projection is not a learner viewing a library, so it emits no\n`video.library_viewed`; the surface that renders the shelf does.","operationId":"list_publications_api_v1_video_publications_get","parameters":[{"name":"topic","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Topic"}},{"name":"concept","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Concept"}},{"name":"language","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":20,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Publications Api V1 Video Publications Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/video/meter":{"get":{"tags":["sliced_video_lectures"],"summary":"Read Meter","description":"§27.2 `videoGetMeter`. FD-4's numbers, this learner's count.","operationId":"read_meter_api_v1_video_meter_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Meter Api V1 Video Meter Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/video/slices/{slice_id}":{"get":{"tags":["sliced_video_lectures"],"summary":"Read Slice","description":"§27.2 `videoGetSlice`.","operationId":"read_slice_api_v1_video_slices__slice_id__get","parameters":[{"name":"slice_id","in":"path","required":true,"schema":{"type":"string","title":"Slice Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Slice Api V1 Video Slices  Slice Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/video/slices/{slice_id}/manifest":{"get":{"tags":["sliced_video_lectures"],"summary":"Read Manifest","description":"§27.2 `videoGetSliceManifest`. The only route in this file that yields an address.\n\nOrder matters and is the gate's, not this handler's: rights and publication\nbefore anything else, because serving despite those is a wrong that cannot\nbe taken back. A refusal here carries the gate's own status -- 423 when the\nslice is not in a servable state, 403 when this learner may not have it --\nand the plain sentence, never a tier name.\n\nThe returned handle is short-lived by construction. `video_storage.playback_address`\nsigns a GET on the shared R2 store that expires in `expires_in_s` seconds (the\nresponse says so; the player must ask again after that). When no address can\nbe made it returns None, and this route answers 424 rather than an empty\nstring, because an empty address handed to a player is the 44-lecture defect\nwearing a new shape.","operationId":"read_manifest_api_v1_video_slices__slice_id__manifest_get","parameters":[{"name":"slice_id","in":"path","required":true,"schema":{"type":"string","title":"Slice Id"}},{"name":"device_class","in":"query","required":false,"schema":{"type":"string","default":"web","title":"Device Class"}},{"name":"captions_required","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Captions Required"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Manifest Api V1 Video Slices  Slice Id  Manifest Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/video/slices/{slice_id}/transcript":{"get":{"tags":["sliced_video_lectures"],"summary":"Read Transcript","description":"§27.2 `videoGetSliceTranscript`.\n\nGated on rights and publication like the manifest, and for the same reason:\na full transcript of a lecture we may not show is the lecture, in text.","operationId":"read_transcript_api_v1_video_slices__slice_id__transcript_get","parameters":[{"name":"slice_id","in":"path","required":true,"schema":{"type":"string","title":"Slice Id"}},{"name":"language","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Transcript Api V1 Video Slices  Slice Id  Transcript Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/video/slices/{slice_id}/passport":{"get":{"tags":["sliced_video_lectures"],"summary":"Read Passport","description":"§27.2 `videoGetSlicePassport`. Where this lecture came from and under what licence.\n\nFree and ungated on purpose. A learner is entitled to know the provenance of\nwhat they are being taught from even when they cannot currently play it --\nespecially then, since \"why can't I watch this\" is usually a rights question.","operationId":"read_passport_api_v1_video_slices__slice_id__passport_get","parameters":[{"name":"slice_id","in":"path","required":true,"schema":{"type":"string","title":"Slice Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Passport Api V1 Video Slices  Slice Id  Passport Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/video/slices/{slice_id}/corrections":{"get":{"tags":["sliced_video_lectures"],"summary":"List Corrections","description":"§27.2 `videoListCorrections`. Why this slice changed, in the open.","operationId":"list_corrections_api_v1_video_slices__slice_id__corrections_get","parameters":[{"name":"slice_id","in":"path","required":true,"schema":{"type":"string","title":"Slice Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Corrections Api V1 Video Slices  Slice Id  Corrections Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/video/playback/{slice_id}/start":{"post":{"tags":["sliced_video_lectures"],"summary":"Start Playback","description":"§27.2 `videoStartPlayback`.\n\nIdempotent by shape rather than by a key table: the primary key is\n(student_id, slice_id), so starting twice updates one row and cannot create\na second. The `Idempotency-Key` header is accepted and logged for the\nclient's benefit; it is not what makes this safe.\n\nRe-starting a slice already started does not charge again -- §6 -- which the\ngate expresses as `already_started`. There is no meter to charge today, and\nthe flag is passed anyway so that wiring one later does not also require\nremembering this rule.","operationId":"start_playback_api_v1_video_playback__slice_id__start_post","parameters":[{"name":"slice_id","in":"path","required":true,"schema":{"type":"string","title":"Slice Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Start Playback Api V1 Video Playback  Slice Id  Start Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/video/playback/{slice_id}/progress":{"post":{"tags":["sliced_video_lectures"],"summary":"Record Progress","description":"§27.2 `videoRecordProgress`. 422 when the cursor is outside the slice.\n\nThe bound is the slice's own window, not the source recording's. A position\npast `end_ms` would be a position inside the next lecture, and storing it\nwould make the resume open somewhere the learner has never been.","operationId":"record_progress_api_v1_video_playback__slice_id__progress_post","parameters":[{"name":"slice_id","in":"path","required":true,"schema":{"type":"string","title":"Slice Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Record Progress Api V1 Video Playback  Slice Id  Progress Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/video/playback/{slice_id}/complete":{"post":{"tags":["sliced_video_lectures"],"summary":"Complete Playback","description":"§27.2 `videoCompletePlayback`. Replay is ignored, not re-recorded.\n\nA completion is a LIGHT evidence signal, and §2.11's weighting rule matters\nhere: watching is a weak signal about mastery next to a solved problem.\nCompleting the same lecture five times must not read as five pieces of\nevidence, so the second and later calls return the first receipt unchanged.","operationId":"complete_playback_api_v1_video_playback__slice_id__complete_post","parameters":[{"name":"slice_id","in":"path","required":true,"schema":{"type":"string","title":"Slice Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Complete Playback Api V1 Video Playback  Slice Id  Complete Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/video/playback/resume":{"get":{"tags":["sliced_video_lectures"],"summary":"Read Resume","description":"§27.2 `videoGetResume`.\n\n`still_playable` is computed, not stored. A lecture whose rights lapsed\nsince the learner last watched is still in their resume list, and saying so\nis better than dropping it silently -- a half-watched lecture that vanishes\nreads as lost work.","operationId":"read_resume_api_v1_video_playback_resume_get","parameters":[{"name":"slice_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slice Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Resume Api V1 Video Playback Resume Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/video/offline":{"get":{"tags":["sliced_video_lectures"],"summary":"List Offline","description":"§27.2 `videoListOffline`.\n\nReturns revoked and expired manifests as well as live ones, deliberately:\nthe client deletes them on sync, and it cannot delete what it was not told\nabout.","operationId":"list_offline_api_v1_video_offline_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Offline Api V1 Video Offline Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/video/offline/{slice_id}":{"post":{"tags":["sliced_video_lectures"],"summary":"Create Offline Manifest","description":"§27.2 `videoCreateOfflineManifest`. 429 when the month's cap is reached.\n\nThe slice must pass the same gate a stream does. An offline copy is a\nstream that outlives the session, so anything that would refuse a play\nrefuses a download — and it refuses *before* the cap is touched, so a\nlearner is never charged an allowance for a lecture they could not have\nwatched anyway.","operationId":"create_offline_manifest_api_v1_video_offline__slice_id__post","parameters":[{"name":"slice_id","in":"path","required":true,"schema":{"type":"string","title":"Slice Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Offline Manifest Api V1 Video Offline  Slice Id  Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/video/offline/{manifest_id}":{"delete":{"tags":["sliced_video_lectures"],"summary":"Delete Offline Manifest","description":"§27.2 `videoDeleteOfflineManifest`. Free, and it does not refund the cap.\n\nThe no-refund rule needs no code here: `video_meter.offline_used` counts\nrows issued this month, and deleting does not un-issue one. There is no\ncounter to leave alone.\n\nScoped to the caller's own manifests. The 404 body is identical for a\nmissing manifest and for somebody else's, so the route cannot be used to\ndiscover whether an id exists.","operationId":"delete_offline_manifest_api_v1_video_offline__manifest_id__delete","parameters":[{"name":"manifest_id","in":"path","required":true,"schema":{"type":"string","title":"Manifest Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Delete Offline Manifest Api V1 Video Offline  Manifest Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/video/requests":{"post":{"tags":["sliced_video_lectures"],"summary":"Ask To Be Told","description":"Save \"tell me when a video for this topic is ready\". Asking twice is one row.","operationId":"ask_to_be_told_api_v1_video_requests_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Ask To Be Told Api V1 Video Requests Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["sliced_video_lectures"],"summary":"List My Requests","description":"Her own requests, or one topic's. A failed read is not \"you asked for nothing\".","operationId":"list_my_requests_api_v1_video_requests_get","parameters":[{"name":"topic_ref","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Topic Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List My Requests Api V1 Video Requests Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["sliced_video_lectures"],"summary":"Withdraw Request","description":"She changed her mind. The row is deleted, not hidden.","operationId":"withdraw_request_api_v1_video_requests_delete","parameters":[{"name":"topic_ref","in":"query","required":true,"schema":{"type":"string","title":"Topic Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Withdraw Request Api V1 Video Requests Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/video/requests/told":{"post":{"tags":["sliced_video_lectures"],"summary":"Mark Told","description":"The \"it is ready\" line has been shown for this topic; stop showing it.","operationId":"mark_told_api_v1_video_requests_told_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Mark Told Api V1 Video Requests Told Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/video/slices/{slice_id}/report":{"post":{"tags":["sliced_video_lectures"],"summary":"Report Problem","description":"Save a problem report on one video. A few per video per day, then a plain 429.","operationId":"report_problem_api_v1_video_slices__slice_id__report_post","parameters":[{"name":"slice_id","in":"path","required":true,"schema":{"type":"string","title":"Slice Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Report Problem Api V1 Video Slices  Slice Id  Report Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/video/upload-url":{"post":{"tags":["sliced_video_operator"],"summary":"Issue Upload Url","description":"Issue a short-lived presigned PUT for one staff upload.\n\nReturns `storage_object_key`, which is what `/sources`, `/transcripts` and\n`/delivery` then record. The client must PUT with the same `Content-Type`\nit asked for; the signature covers it. 503 with the missing variables when\nstorage is not configured, never a URL that would fail later.","operationId":"issue_upload_url_api_v1_internal_video_upload_url_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Issue Upload Url Api V1 Internal Video Upload Url Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/video/upload-check":{"post":{"tags":["sliced_video_operator"],"summary":"Check Upload","description":"Did the object actually land? Reads its size from the bucket (HEAD).\n\nRun before `/sources` so a failed upload is caught while the operator still\nhas the file, not after a source row points at nothing. The size is read\nfrom storage; the checksum is the operator's own and is not asserted here.","operationId":"check_upload_api_v1_internal_video_upload_check_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Check Upload Api V1 Internal Video Upload Check Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/video/sources":{"post":{"tags":["sliced_video_operator"],"summary":"Ingest Source","description":"§27.2 `videoIngestSource`. The recording, before anyone may show it.\n\n409 on a duplicate checksum, not a second row. The same recording uploaded\ntwice under two filenames is one recording, and the checksum says so where\nthe filename does not -- `video_source_lectures` is UNIQUE on it.\n\n`ingest_state` starts at INGESTED. It is not a parameter: letting the caller\ndeclare a recording READY would skip transcription and segmentation, which\nis the pipeline's whole point.","operationId":"ingest_source_api_v1_internal_video_sources_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Ingest Source Api V1 Internal Video Sources Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/video/rights":{"post":{"tags":["sliced_video_operator"],"summary":"Record Rights Grant","description":"§27.2 `videoRecordRightsGrant`. The gate that opens everything else.\n\n`decided_by` is the authenticated actor and is never taken from the body. A\nrights record is the document we would produce if somebody asked what gave\nus the right to show a lecture; a self-declared decider is worth nothing in\nthat conversation.\n\n422 rather than a stored contradiction when the window is backwards. The\ntable has a CHECK for it too -- this returns the operator a sentence instead\nof a constraint violation.","operationId":"record_rights_grant_api_v1_internal_video_rights_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Record Rights Grant Api V1 Internal Video Rights Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/video/transcripts":{"post":{"tags":["sliced_video_operator"],"summary":"Attach Transcript","description":"§27.2 `videoAttachTranscript`.\n\nAn AI candidate is not a reviewed transcript, and `origin` keeps them apart.\nA REVIEWED transcript records who reviewed it -- the database has the CHECK,\nand `reviewed_by` is the actor rather than a body field for the same reason\n`decided_by` is on the rights route.","operationId":"attach_transcript_api_v1_internal_video_transcripts_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Attach Transcript Api V1 Internal Video Transcripts Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/video/slices":{"post":{"tags":["sliced_video_operator"],"summary":"Cut Slice","description":"§27.2 `videoCutSlice`. The slice, its window, and what it teaches.\n\nFour refusals, and the last two are the ones that matter.\n\n**Bounds.** 422 when the window is backwards or runs past the recording. A\nslice ending after the source does is a slice whose last seconds are\nsilence, and a learner reads that as a broken player.\n\n**Overlap.** 409 when the window overlaps an existing slice of the same\nsource. Two slices covering the same seconds means the same explanation\nreaches a learner twice under two titles, and a correction to one leaves the\nother standing.\n\n**Rights.** The grant must belong to this source. A grant id from another\nrecording would licence this one by clerical accident, and nothing later in\nthe pipeline re-checks which source a grant was for.\n\n**Bindings.** Written in the same transaction as the slice. A slice with no\nbinding teaches nothing findable, and a partial write would leave one --\nthey are one act, so they are one transaction. The database refuses a\nbinding to a concept that does not exist; this route does not need to\nre-check it, and deliberately does not, because a second check that can\ndisagree with the foreign key is worse than no second check.","operationId":"cut_slice_api_v1_internal_video_slices_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Cut Slice Api V1 Internal Video Slices Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/video/qa":{"post":{"tags":["sliced_video_operator"],"summary":"Record Qa","description":"§27.2 `videoRecordQa`. One stage at a time, from the stage it is at.\n\n409 when the verdict does not belong to the slice's current stage. Without\nthat, one accessibility pass could carry a slice from DRAFT to QUALIFIED and\nit would reach learners without its boundaries ever being looked at.\n\nThe accessibility record is merged, not replaced. A later stage reporting\n`audio_description` must not silently unset `captions_ready` recorded by an\nearlier one -- and a replace would do exactly that, quietly, on a field the\nrelease gate depends on.","operationId":"record_qa_api_v1_internal_video_qa_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Record Qa Api V1 Internal Video Qa Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/video/publish":{"post":{"tags":["sliced_video_operator"],"summary":"Publish Slice","description":"§27.2 `videoPublishSlice`. The OS10 record, earned at the moment of writing.\n\nThis is the route that replaces a `published` boolean somebody set. Every\ncondition is re-checked now, against the database, and a refusal names the\nstep the operator has to go back and do.\n\nPublishing does not make a slice playable. Delivery comes after, per §6's\npipeline, and the learner gate holds a published slice with no healthy\naddress at DELIVERY_UNAVAILABLE. That is deliberate and is the honest state:\nreviewed and cleared, not yet servable.","operationId":"publish_slice_api_v1_internal_video_publish_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Publish Slice Api V1 Internal Video Publish Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/video/delivery":{"post":{"tags":["sliced_video_operator"],"summary":"Register Delivery Object","description":"The tenth operation, and the one §27.2 does not list.\n\n§6's pipeline ends `...immutable OS10 publication → S3/CDN delivery object`,\nand nothing in the sheet's operator table registers one. Without this route\nevery slice publishes and then fails the learner gate on\nDELIVERY_UNAVAILABLE for ever, which would make the whole lane unfinishable\nwhile looking complete. Flagged in this module's docstring as a judgment\ncall for a reviewer to overrule.\n\n`health` is not a parameter. A delivery object is UNAVAILABLE until\nsomething checks it, and letting the caller assert HEALTHY at registration\nis precisely how 44 lectures came to be advertised over nothing. The health\nroute below records a check; registration records an address.","operationId":"register_delivery_object_api_v1_internal_video_delivery_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Register Delivery Object Api V1 Internal Video Delivery Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/video/delivery/{delivery_id}/health":{"post":{"tags":["sliced_video_operator"],"summary":"Record Delivery Health","description":"Record the result of checking an address. T28: health never rewrites\npublication or entitlement.\n\nA DEGRADED object still plays -- slower or lower quality is a worse watch\nand still a watch -- and the learner gate says so. Only UNAVAILABLE holds\nit, and it holds it without touching the publication, so the slice is still\npublished and still cleared; it is the address that is broken.","operationId":"record_delivery_health_api_v1_internal_video_delivery__delivery_id__health_post","parameters":[{"name":"delivery_id","in":"path","required":true,"schema":{"type":"string","title":"Delivery Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Record Delivery Health Api V1 Internal Video Delivery  Delivery Id  Health Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/video/delivery/{delivery_id}/probe":{"post":{"tags":["sliced_video_operator"],"summary":"Probe Delivery Object","description":"Look at the registered file in storage and record the health the evidence supports.\n\nThe encode check. A lecture is filmed, encoded by the person who holds the master (H.264 video, AAC audio,\nMP4 with the index at the front), uploaded to the delivery prefix and registered. Registration starts\nUNAVAILABLE on purpose; this route is how it earns HEALTHY without anyone asserting it:\n\n- the object is in the bucket and is exactly the registered size;\n- it is an MP4 whose `moov` index is before the media (else DEGRADED: plays, but slowly to start);\n- with `verify_checksum: true` (files up to 1 GiB), its SHA-256 equals the registered one.\n\nHLS is reported DEGRADED, never HEALTHY: a private bucket cannot sign the segment files. Publication and\nentitlement are untouched (T28); only the address's health moves.","operationId":"probe_delivery_object_api_v1_internal_video_delivery__delivery_id__probe_post","parameters":[{"name":"delivery_id","in":"path","required":true,"schema":{"type":"string","title":"Delivery Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","default":{},"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Probe Delivery Object Api V1 Internal Video Delivery  Delivery Id  Probe Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/video/recall":{"post":{"tags":["sliced_video_operator"],"summary":"Recall Slice","description":"§27.2 `videoRecallSlice`. Take it down, and say where that has to reach.\n\nThree writes in one transaction, because a recall that half-lands is worse\nthan one that does not land at all: the publication goes RECALLED with its\nreason and time, the correction is recorded with its fan-out, and any\noffline manifest for that slice is revoked.\n\n**Offline manifests are revoked here, not left to a sweeper.** T14: a\nrevoked slice deletes on sync. A downloaded lecture whose rights were\nwithdrawn keeps playing on a device until the manifest says otherwise, and a\nnightly job means it keeps playing tonight.\n\nThe fan-out is recorded as intent with acknowledgements pending, not as\ndone. Claiming search and the capsule were reached when nothing was sent\nwould make the recall look complete while the lecture is still on a shelf.","operationId":"recall_slice_api_v1_internal_video_recall_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Recall Slice Api V1 Internal Video Recall Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/video/seed-reconciliation":{"post":{"tags":["sliced_video_operator"],"summary":"Reconcile Seed Row","description":"§27.2 `videoReconcileSeedRow`. FD-3, T16. One legacy row, one decision.\n\nADOPT names the real recording that stands behind a legacy row; RETIRE says\nthere is nothing behind it. 422 on an adoption with no source, because an\nadoption that names nothing is the same shape as the defect being cleaned\nup: a record asserting content that does not exist.\n\nNothing here edits `video_library`. The 44 rows stay as they are, as\nlineage, and this records what we concluded about each. Rewriting the seed\nwould destroy the evidence of what was originally claimed.","operationId":"reconcile_seed_row_api_v1_internal_video_seed_reconciliation_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Reconcile Seed Row Api V1 Internal Video Seed Reconciliation Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/video/queue/{name}":{"get":{"tags":["sliced_video_operator"],"summary":"Read Queue","description":"The rows behind one health count, so an operator can act on an item.\n\nT27 asks for owner, age, reason and correction SLA on each item, and the\nsummary could only ever carry them per QUEUE. A depth of seven tells nobody\nwhich seven, and an operator cannot clear what the screen will not name.\n\n**An unknown queue name is 404, not an empty list.** An empty list here\nreads as \"this queue is clear\" -- which is the 44-lecture defect in a new\ncostume: a screen reporting nothing-to-do when the truth is it did not look.\n\n**A failed read returns null items with a reason**, never `[]`, for the same\nreason the health summary returns null counts.","operationId":"read_queue_api_v1_internal_video_queue__name__get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Queue Api V1 Internal Video Queue  Name  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/video/seed-queue":{"get":{"tags":["sliced_video_operator"],"summary":"Read Seed Queue","description":"FD-3's queue: the legacy rows, one at a time, adopt or retire.\n\nThe rule FD-3 sets is that no row is left in limbo, and a count of how many\nare undecided does not let anybody decide one. These are the rows.\n\nEach carries what the seed row actually holds, because that is what the\ndecision rests on: a row with no address was never playable and is a retire\non its face, and one with an address still has to be checked.","operationId":"read_seed_queue_api_v1_internal_video_seed_queue_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Seed Queue Api V1 Internal Video Seed Queue Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/video/health":{"get":{"tags":["sliced_video_operator"],"summary":"Read Health","description":"§27.2 `videoGetHealth`. T27: owner, age and reason on every queue.\n\nEvery number here is counted, never estimated, and a failed count reports\nnull rather than zero -- an operator dashboard showing an empty queue during\nan outage is how a backlog goes unworked for a week.","operationId":"read_health_api_v1_internal_video_health_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Health Api V1 Internal Video Health Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/video-digest/{child_id}":{"get":{"tags":["sliced_video_parent"],"summary":"Read Video Digest","description":"§27.2 `videoParentDigest`. Counts, topics and freshness. Nothing else.\n\nThe relationship is proved on every call against `parent_children`, never\ninferred from the caller holding a parent role (T17). `parent_child_access`\nis the repository's one answer to that question, shared with the learning\nsummary rather than copied here.","operationId":"read_video_digest_api_v1_parent_video_digest__child_id__get","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Video Digest Api V1 Parent Video Digest  Child Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/pyq-digest/{child_id}":{"get":{"tags":["pyq_atlas_parent"],"summary":"Read Pyq Digest","description":"A22 `pyq_atlas_parent_digest`. One sentence, a count and the subjects. Nothing else.\n\nThe relationship is proved on every call against `parent_children`, never inferred from the\ncaller holding a parent role: a parent role plus a guessed child id is the hole this repository\nhas already found once, in grading.","operationId":"read_pyq_digest_api_v1_parent_pyq_digest__child_id__get","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Pyq Digest Api V1 Parent Pyq Digest  Child Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/custom-test/saved":{"get":{"tags":["custom_test_saved"],"summary":"List Saved","operationId":"list_saved_api_v1_custom_test_saved_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":30,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Saved Api V1 Custom Test Saved Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/custom-test/saved/{session_id}/key":{"get":{"tags":["custom_test_saved"],"summary":"Read Key","operationId":"read_key_api_v1_custom_test_saved__session_id__key_get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"open","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"`take_away` opens a key before the test is finished","title":"Open"},"description":"`take_away` opens a key before the test is finished"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Key Api V1 Custom Test Saved  Session Id  Key Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/pyq-atlas/os10/readback":{"get":{"tags":["pyq-os10-loader"],"summary":"Read Back","operationId":"pyq_os10_readback","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Pyq Os10 Readback"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/pyq-atlas/os10/load":{"post":{"tags":["pyq-os10-loader"],"summary":"Load Coverage","operationId":"pyq_os10_load","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScopeBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Pyq Os10 Load"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/pyq-atlas/os10/project":{"post":{"tags":["pyq-os10-loader"],"summary":"Run Projection","operationId":"pyq_os10_project","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScopeBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Pyq Os10 Project"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/spaced-rep/board":{"get":{"tags":["spaced_repetition"],"summary":"Read Board","description":"Route 1. The whole Return Board, capped at 200.\n\nA failed read renders the board degraded with NO counts, never an empty\nqueue with zeros: \"nothing due\" and \"we could not look\" are different\nsentences, and the student is owed the difference.","operationId":"read_board_api_v1_spaced_rep_board_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":200,"title":"Limit"}},{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"}},{"name":"state","in":"query","required":false,"schema":{"type":"string","default":"active","title":"State"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Board Api V1 Spaced Rep Board Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/spaced-rep/due":{"get":{"tags":["spaced_repetition"],"summary":"Read Due","description":"Route 2. What is due, filtered by item type — the host read.\n\nThis is the one the Error Notebook waits on: it matches `item_ref`s to its\nown entries and reads the date back every time rather than storing it.","operationId":"read_due_api_v1_spaced_rep_due_get","parameters":[{"name":"item_types","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Item Types"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":20,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Due Api V1 Spaced Rep Due Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/spaced-rep/round":{"post":{"tags":["spaced_repetition"],"summary":"Open Round","description":"Route 3. Open a Return Round inside a host product.\n\nThe round is a serve ledger row, written before anything is shown, because\nan unanswered return and a return that was never shown are different facts\nand the queue would otherwise reschedule work the student never saw.","operationId":"open_round_api_v1_spaced_rep_round_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Open Round Api V1 Spaced Rep Round Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/spaced-rep/round/{serve_id}/items":{"get":{"tags":["spaced_repetition"],"summary":"Read Round Items","description":"Return safe question content for this learner's exact issued round.","operationId":"read_round_items_api_v1_spaced_rep_round__serve_id__items_get","parameters":[{"name":"serve_id","in":"path","required":true,"schema":{"type":"string","title":"Serve Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Round Items Api V1 Spaced Rep Round  Serve Id  Items Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/spaced-rep/rounds/{serve_id}":{"get":{"tags":["spaced_repetition"],"summary":"Read Round","description":"Read the caller's exact issued serve and its source-bound item refs.","operationId":"read_round_api_v1_spaced_rep_rounds__serve_id__get","parameters":[{"name":"serve_id","in":"path","required":true,"schema":{"type":"string","title":"Serve Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Round Api V1 Spaced Rep Rounds  Serve Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/spaced-rep/round/{serve_id}/answer":{"post":{"tags":["spaced_repetition"],"summary":"Record Answer","description":"Route 4. Record one outcome. SR-W01 — the write path that did not exist.\n\nIdempotent on `client_event_id`: a replay returns the existing row and\nschedules nothing a second time. Without that, a flaky connection would\npush an item's next review further out on every retry.\n\nThe interval comes from the scheduler tricks and notes already share. A\nfourth SM-2 implementation is exactly what §3.1 forbids.","operationId":"record_answer_api_v1_spaced_rep_round__serve_id__answer_post","parameters":[{"name":"serve_id","in":"path","required":true,"schema":{"type":"string","title":"Serve Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Record Answer Api V1 Spaced Rep Round  Serve Id  Answer Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/spaced-rep/round/{serve_id}/close":{"post":{"tags":["spaced_repetition"],"summary":"Close Round","description":"Route 5. Close a round with a reason. Four reasons, no default.","operationId":"close_round_api_v1_spaced_rep_round__serve_id__close_post","parameters":[{"name":"serve_id","in":"path","required":true,"schema":{"type":"string","title":"Serve Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Close Round Api V1 Spaced Rep Round  Serve Id  Close Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/spaced-rep/item/{item_ref}":{"get":{"tags":["spaced_repetition"],"summary":"Read Item","description":"Route 6. One item's history and arc. The Error Notebook's second read.","operationId":"read_item_api_v1_spaced_rep_item__item_ref__get","parameters":[{"name":"item_ref","in":"path","required":true,"schema":{"type":"string","title":"Item Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Item Api V1 Spaced Rep Item  Item Ref  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/spaced-rep/escalations":{"get":{"tags":["spaced_repetition"],"summary":"Read Escalations","description":"Route 7. Open loop breaks and the routes actually offered on each.","operationId":"read_escalations_api_v1_spaced_rep_escalations_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Escalations Api V1 Spaced Rep Escalations Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/spaced-rep/escalations/{escalation_id}/choose":{"post":{"tags":["spaced_repetition"],"summary":"Choose Route","description":"Route 8. Accept a repair route — but only one that was actually offered.\n\nChecked against the stored `offered_routes` rather than a list of names,\nbecause a route offered by an older payload may have stopped being\navailable since, and sending a student somewhere that no longer exists at\nthe moment they finally accept help is the worst possible time to do it.","operationId":"choose_route_api_v1_spaced_rep_escalations__escalation_id__choose_post","parameters":[{"name":"escalation_id","in":"path","required":true,"schema":{"type":"string","title":"Escalation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Choose Route Api V1 Spaced Rep Escalations  Escalation Id  Choose Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/spaced-rep/summary":{"get":{"tags":["spaced_repetition"],"summary":"Read Summary","description":"Route 9. Counts for Home and Plan. Zero-data safe.\n\nSafe means the counts are absent when nothing was checked, not zero. A\nHome tile reading \"0 due\" for a student whose queue was never built is the\nsame lie as an empty notebook for a student whose read failed.","operationId":"read_summary_api_v1_spaced_rep_summary_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Summary Api V1 Spaced Rep Summary Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/spaced-rep/meter":{"get":{"tags":["spaced_repetition"],"summary":"Read Meter","description":"P12. How many returns today, of how many. A reading, never a gate.\n\nScheduling is free on every plan and the queue never closes (spec section 11,\nfounder decision 2): when the day's returns are spent the board stays and the\nround waits for the reset. `offer` is null because Commerce publishes no offer\nfor this product; no price or plan name is written here (T15).","operationId":"read_meter_api_v1_spaced_rep_meter_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Meter Api V1 Spaced Rep Meter Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/spaced-rep/round/{serve_id}/answers":{"get":{"tags":["spaced_repetition"],"summary":"Read Round Answers","description":"Route 12. The answers a served round holds, in order. Main's 7 Nov path and shape, with the round id checked.\n\nOnly the caller's own round (another student's is the same 404 as one that does not exist). It returns what the\nserver recorded, never an answer key.","operationId":"read_round_answers_api_v1_spaced_rep_round__serve_id__answers_get","parameters":[{"name":"serve_id","in":"path","required":true,"schema":{"type":"string","title":"Serve Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Round Answers Api V1 Spaced Rep Round  Serve Id  Answers Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/spaced-rep/round/{serve_id}/answers/replay":{"post":{"tags":["spaced_repetition"],"summary":"Replay Answers","description":"P10. Offline answers, sent once the device is back, each recorded exactly once.\n\nEvery answer goes through the same `record_answer` as a live one, so it keeps\nthe same ownership, round and item checks and the same `client_event_id`\nidempotency: an answer the server already holds comes back `replayed`, never\nrescheduled twice, and an answer the round cannot take comes back `rejected`\nwith its reason while the others still land. A write that failed comes back\n`pending` (nothing moved; send it again).","operationId":"replay_answers_api_v1_spaced_rep_round__serve_id__answers_replay_post","parameters":[{"name":"serve_id","in":"path","required":true,"schema":{"type":"string","title":"Serve Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Replay Answers Api V1 Spaced Rep Round  Serve Id  Answers Replay Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/spaced-rep/item/{item_ref}/corrections":{"post":{"tags":["spaced_repetition"],"summary":"Correct Misrating","description":"P11. \"I rated this wrong\": a successor schedule, with the predecessor left legible.\n\nThe review row is never edited. The correction row holds the schedule that now\ngoverns the item and the round it came from; `review_items` carries the live\nvalues. Only the item's latest review can be corrected (an earlier one would\nneed every later review rebuilt), only while the item is ACTIVE (an escalated\nitem is settled through its Loop Break), and a review row is corrected once:\nasking again returns the stored correction with `replayed: true`.\n\nWithout `corrected_quality` the rating is flipped (a pass becomes quality 1, a\nlapse becomes quality 4). The successor is rebuilt from the ease and interval\nthe review row recorded, on the one shared scheduler, counted from the original\nreview time. Repetitions before a lapse are not stored, so a lapse corrected to\na pass restarts from the first rung; a pass corrected to a lapse is exact.","operationId":"correct_misrating_api_v1_spaced_rep_item__item_ref__corrections_post","parameters":[{"name":"item_ref","in":"path","required":true,"schema":{"type":"string","title":"Item Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Correct Misrating Api V1 Spaced Rep Item  Item Ref  Corrections Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/spaced-rep/internal/admit":{"post":{"tags":["spaced_repetition_internal"],"summary":"Admit Internal","description":"P13. The worker's admission pass for one student. Never a learner call.\n\nThis replaces main's 7 Nov route at the same path. That one imported a function that does not exist (every call\nwas a 500) and was open to any signed-in student, who could have named any source product for any item. This one\nneeds the internal service token and the `aspireace` tenant (`require_internal_actor`), and takes the student id\nfrom the worker's body, since the worker is not that student.\n\nRuns the same ingest the board's read triggers, so a worker and a page view\ncannot disagree about what was admitted. `force` skips the fifteen-minute\ncadence; without it a call inside the window reports `skipped: not_due`.\nThe worker reads the numbers back: admitted, merged, refusals by reason, and\nthe freshness of the ledger afterwards.","operationId":"admit_internal_api_v1_spaced_rep_internal_admit_post","parameters":[{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Admit Internal Api V1 Spaced Rep Internal Admit Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/flashcards/deck/cards":{"post":{"tags":["flashcard-deck"],"summary":"Add Cards","operationId":"add_cards_api_v1_flashcards_deck_cards_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/flashcard_deck__CreateBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Add Cards Api V1 Flashcards Deck Cards Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["flashcard-deck"],"summary":"List Cards","description":"The student's own cards, newest first, with when each comes back. Withdrawn cards are not listed.","operationId":"list_cards_api_v1_flashcards_deck_cards_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Cards Api V1 Flashcards Deck Cards Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/flashcards/deck/cards/{card_id}/requeue":{"post":{"tags":["flashcard-deck"],"summary":"Requeue","description":"Put a card back in the queue after the queue declined it or was unavailable. The same rules apply.","operationId":"requeue_api_v1_flashcards_deck_cards__card_id__requeue_post","parameters":[{"name":"card_id","in":"path","required":true,"schema":{"type":"string","title":"Card Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Requeue Api V1 Flashcards Deck Cards  Card Id  Requeue Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/flashcards/deck/cards/{card_id}/withdraw":{"post":{"tags":["flashcard-deck"],"summary":"Withdraw Card","description":"Take a card out of the deck. The queue row is withdrawn with it, so nothing keeps coming back.","operationId":"withdraw_card_api_v1_flashcards_deck_cards__card_id__withdraw_post","parameters":[{"name":"card_id","in":"path","required":true,"schema":{"type":"string","title":"Card Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Withdraw Card Api V1 Flashcards Deck Cards  Card Id  Withdraw Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/series/cycles/{cycle_id}/sitting":{"post":{"tags":["nts_series"],"summary":"Create Cycle Sitting","description":"Bind one learner to one sitting of one cycle, and hand off to the runner.","operationId":"create_cycle_sitting_api_v1_series_cycles__cycle_id__sitting_post","parameters":[{"name":"cycle_id","in":"path","required":true,"schema":{"type":"string","title":"Cycle Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Cycle Sitting Api V1 Series Cycles  Cycle Id  Sitting Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/series/cycles/{cycle_id}/registration":{"post":{"tags":["nts_registration"],"summary":"Register For Cycle","description":"Take a seat in a counting cycle.\n\n201 on create, 200 on an idempotent repeat, with the same body. The seat\nand the grant move together or not at all.","operationId":"register_for_cycle_api_v1_series_cycles__cycle_id__registration_post","parameters":[{"name":"cycle_id","in":"path","required":true,"schema":{"type":"string","title":"Cycle Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Register For Cycle Api V1 Series Cycles  Cycle Id  Registration Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["nts_registration"],"summary":"Withdraw From Cycle","description":"Give the seat back, and the free cycle with it if it went unused.\n\nA learner who changes their mind before sitting has not consumed anything.\nKeeping the grant spent because they clicked register once would be a\ncharge for nothing, which is the failure this route exists to prevent.","operationId":"withdraw_from_cycle_api_v1_series_cycles__cycle_id__registration_delete","parameters":[{"name":"cycle_id","in":"path","required":true,"schema":{"type":"string","title":"Cycle Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Withdraw From Cycle Api V1 Series Cycles  Cycle Id  Registration Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/series/cycles/{cycle_id}/count":{"post":{"tags":["nts_count"],"summary":"Count Cycle","description":"Count a closed cycle and record what it decided, once.\n\nThis is the operator's one publishing action. It refuses while the sitting\nwindow is open (the cohort is still filling), freezes the cohort from the\nsittings on file when it runs, and moves the cycle to PUBLISHED or WITHHELD\nin the same transaction as the publication row.","operationId":"count_cycle_api_v1_series_cycles__cycle_id__count_post","parameters":[{"name":"cycle_id","in":"path","required":true,"schema":{"type":"string","title":"Cycle Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/CountRequest"},{"type":"null"}],"title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Count Cycle Api V1 Series Cycles  Cycle Id  Count Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/series/cycles/{cycle_id}/result":{"get":{"tags":["nts_count"],"summary":"Read Cycle Result","description":"The Counting Board, as this learner may see it.\n\nEvery read is scoped to the caller: the sitting and the rank are looked up\nby their own id, so there is no shape of this request that returns somebody\nelse's position.","operationId":"read_cycle_result_api_v1_series_cycles__cycle_id__result_get","parameters":[{"name":"cycle_id","in":"path","required":true,"schema":{"type":"string","title":"Cycle Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Cycle Result Api V1 Series Cycles  Cycle Id  Result Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/series/calendar":{"get":{"tags":["nts_calendar"],"summary":"Get Calendar","description":"Every cycle this learner can see, with what they may do with each.","operationId":"get_calendar_api_v1_series_calendar_get","parameters":[{"name":"exam_lane","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Exam Lane"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Calendar Api V1 Series Calendar Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/series/cycles/{cycle_id}":{"get":{"tags":["nts_calendar"],"summary":"Get Cycle","description":"One cycle. 404 for missing, DRAFT, or another exam's cycle alike.","operationId":"get_cycle_api_v1_series_cycles__cycle_id__get","parameters":[{"name":"cycle_id","in":"path","required":true,"schema":{"type":"string","title":"Cycle Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Cycle Api V1 Series Cycles  Cycle Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/series/cycles":{"post":{"tags":["nts_cycle_admin"],"summary":"Create Cycle","description":"Create a cycle from a PUBLISHED paper snapshot. Same body replays.","operationId":"create_cycle_internal_v1_series_cycles_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CycleCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Cycle Internal V1 Series Cycles Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/series/cycles/{cycle_id}/lifecycle":{"post":{"tags":["nts_cycle_admin"],"summary":"Move Cycle State","description":"Move a cycle along the AD-10 order. PUBLISHED/WITHHELD follow the count.","operationId":"move_cycle_state_internal_v1_series_cycles__cycle_id__lifecycle_post","parameters":[{"name":"cycle_id","in":"path","required":true,"schema":{"type":"string","title":"Cycle Id"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LifecycleMove"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Move Cycle State Internal V1 Series Cycles  Cycle Id  Lifecycle Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/series/cycles/{cycle_id}/state":{"post":{"tags":["nts_cycle_admin"],"summary":"Move Cycle State","description":"Move a cycle along the AD-10 order. PUBLISHED/WITHHELD follow the count.","operationId":"move_cycle_state_internal_v1_series_cycles__cycle_id__state_post","parameters":[{"name":"cycle_id","in":"path","required":true,"schema":{"type":"string","title":"Cycle Id"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LifecycleMove"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Move Cycle State Internal V1 Series Cycles  Cycle Id  State Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/dpp-block/start":{"post":{"tags":["dpp-block-pr-200"],"summary":"Start Dpp Block","description":"Start a DPP session (optionally tied to a plan block). Enforces FREE\n100q/mo cap before allocating questions.","operationId":"pr_200_dpp_start","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DppBlockStartBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/dpp-block/answer":{"post":{"tags":["dpp-block-pr-200"],"summary":"Answer Dpp Question","description":"Record a single answer. Idempotent — partial UNIQUE index from migration\n037 prevents double-credit on retry.","operationId":"pr_200_dpp_answer","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DppBlockAnswerBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/dpp-block/complete":{"post":{"tags":["dpp-block-pr-200"],"summary":"Complete Dpp Block","description":"Finalize a DPP session. Updates streak, advances plan envelope when\nlinked, returns a summary.","operationId":"pr_200_dpp_complete","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DppBlockCompleteBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/dpp-block/session/{session_id}":{"get":{"tags":["dpp-block-pr-200"],"summary":"Get Dpp Session","description":"Resume support — fetch session state + remaining questions.","operationId":"pr_200_dpp_get_session","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/dpp-block/session/{session_id}/provenance/recheck":{"post":{"tags":["dpp-block-pr-200"],"summary":"Recheck Dpp Session Provenance","description":"Return fresh OS05 posture for the session's already-persisted items.\n\nThe route is ownership checked and never rewrites the DPP definition or\nallocates a replacement set.  That makes it suitable for a staged proof\nafter a reviewed provenance binding becomes available.","operationId":"pr_200_dpp_provenance_recheck","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DppBlockProvenanceRecheckBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sprint/start":{"post":{"tags":["sprint"],"summary":"Start Sprint","description":"Start a new sprint. Tier-gate (ACE+) + uniqueness check + emit\n`sprint.started` (PR-230-attributed).","operationId":"pr_230_sprint_start","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SprintStartBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sprint/active/{student_id}":{"get":{"tags":["sprint"],"summary":"Get Active Sprints","description":"List active sprints for a student. Empty list when none — keeps the\ndaily-plan generator's lookup branch single-line. Ordered by start_date\nso multi-sprint GROW students get deterministic priority order.","operationId":"pr_230_sprint_active","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sprint/{sprint_id}":{"get":{"tags":["sprint"],"summary":"Get Sprint","description":"Read one of the authenticated student's sprints, including terminal states.","operationId":"pr_230_sprint_detail","parameters":[{"name":"sprint_id","in":"path","required":true,"schema":{"type":"integer","title":"Sprint Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sprint/{sprint_id}/complete":{"post":{"tags":["sprint"],"summary":"Complete Sprint","description":"Mark a sprint complete + emit `sprint.completed`. Called either by\na scheduled job at end_date or by the frontend when the user reviews\ntheir final-day report. Idempotent — second call returns the existing\ncompleted row without re-emitting.","operationId":"pr_230_sprint_complete","parameters":[{"name":"sprint_id","in":"path","required":true,"schema":{"type":"integer","title":"Sprint Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SprintAbandonBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sprint/{sprint_id}/abandon":{"post":{"tags":["sprint"],"summary":"Abandon Sprint","description":"User-initiated early end. Doesn't penalize — emits\n`sprint.abandoned` so retention signals can fire and the plan\ngenerator stops biasing toward this subject from tomorrow.","operationId":"pr_230_sprint_abandon","parameters":[{"name":"sprint_id","in":"path","required":true,"schema":{"type":"integer","title":"Sprint Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SprintAbandonBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/calendar/{student_id}/release-proof":{"get":{"tags":["calendar"],"summary":"Get Calendar Release Proof","operationId":"cl085_release_proof","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/calendar/{student_id}":{"get":{"tags":["calendar"],"summary":"Get Calendar","description":"PR-265 — return aggregated calendar events for [start, end].\nDefaults: start=today, end=today + tier_view_days.\nFREE 7d / ACE 31d / GROW 92d / SCALE 366d.","operationId":"pr_265_calendar_view","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"start","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start"}},{"name":"end","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/calendar/event":{"post":{"tags":["calendar"],"summary":"Create Calendar Event","description":"Create a manual calendar event. FREE: 5 active scheduled events\ncap; ACE+: unlimited.","operationId":"pr_265_calendar_event_create","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalendarEventCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/calendar/event/{event_id}":{"patch":{"tags":["calendar"],"summary":"Update Calendar Event","operationId":"pr_265_calendar_event_update","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"integer","title":"Event Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalendarEventUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["calendar"],"summary":"Delete Calendar Event","description":"Soft-cancel — status = 'cancelled'. Hard delete reserved for ops.","operationId":"pr_265_calendar_event_delete","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"integer","title":"Event Id"}},{"name":"student_id","in":"query","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/exam-countdown/{student_id}":{"get":{"tags":["calendar"],"summary":"Get Exam Countdown","description":"PR-270 — exam countdown payload for the student. Universal tier.","operationId":"pr_270_exam_countdown","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["calendar"],"summary":"Set Exam Countdown","description":"Set/update the student's primary exam date. Universal tier.","operationId":"pr_270_exam_countdown_set","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExamDateBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/wellness/rest-permits/expiry-policy":{"put":{"tags":["wellness-cl-099","wellness-rest-permits"],"summary":"Publish Rest Permit Expiry Policy","description":"Publish an explicit expiry policy and its required OS17 retention rule.\n\nNo default is seeded. A policy is usable only after an administrator sends\nits version, expiry interval, and concrete retention input together.","operationId":"publish_rest_permit_expiry_policy_api_v1_wellness_rest_permits_expiry_policy_put","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestPermitExpiryPolicy"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Publish Rest Permit Expiry Policy Api V1 Wellness Rest Permits Expiry Policy Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/wellness/rest-permits":{"post":{"tags":["wellness-cl-099","wellness-rest-permits"],"summary":"Declare Rest Permit","operationId":"declare_rest_permit_api_v1_wellness_rest_permits_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestPermitCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Declare Rest Permit Api V1 Wellness Rest Permits Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/wellness/rest-permits/{permit_id}":{"get":{"tags":["wellness-cl-099","wellness-rest-permits"],"summary":"Read Rest Permit","operationId":"read_rest_permit_api_v1_wellness_rest_permits__permit_id__get","parameters":[{"name":"permit_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Permit Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Rest Permit Api V1 Wellness Rest Permits  Permit Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["wellness-cl-099","wellness-rest-permits"],"summary":"Revoke Rest Permit","operationId":"revoke_rest_permit_api_v1_wellness_rest_permits__permit_id__delete","parameters":[{"name":"permit_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Permit Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestPermitRevoke"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Revoke Rest Permit Api V1 Wellness Rest Permits  Permit Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/wellness/pulse":{"post":{"tags":["wellness-cl-099"],"summary":"Post Pulse","description":"PR-340 — record a self-report pulse. All tiers can submit; PR-345\nplan-softening recommendation is computed inline for ACE+ tiers.","operationId":"cl099_pr340_pulse_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PulseBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/wellness/recovery/{student_id}":{"get":{"tags":["wellness-cl-099"],"summary":"Get Recovery Prompt","description":"Return the one recovery move and eased-day preview for WELL-002.\n\nLIRA-09C: under the flag the wording of the move may follow the learner's\nBuddy preference, and a real offer is recorded as a canonical intervention.\nThe band, the thresholds and the eligibility are unchanged either way.","operationId":"well007_recovery_prompt_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/wellness/recovery/{student_id}/accept":{"post":{"tags":["wellness-cl-099"],"summary":"Post Recovery Accept","description":"Create a reviewable lighter-day proposal without mutating today's plan.","operationId":"well007_recovery_accept_post","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecoveryAcceptBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/wellness/consent-state/{student_id}":{"get":{"tags":["wellness-cl-099"],"summary":"Get Wellness Consent State","operationId":"well007_consent_state_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["wellness-cl-099"],"summary":"Post Wellness Consent State","operationId":"well007_consent_state_post","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WellnessConsentBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/wellness/status/{student_id}":{"get":{"tags":["wellness-cl-099"],"summary":"Get Status","description":"Composite read for the WellnessCheckScreen header + Coach card.\nReturns latest pulse + 7d burnout-risk avg + tier-aware nudge.\nCohort classifier reuses the same underlying spre_wellness table so\nthe numbers stay consistent across L-C cohort detection + parent\ndashboard alerts + this status read.","operationId":"cl099_status_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/wellness/history/{student_id}":{"get":{"tags":["wellness-cl-099"],"summary":"Get History","description":"PR-340 history feed for the FE trend chart + streak. Caps days at 90\nto avoid pulling unbounded rows on a noisy account.","operationId":"cl099_history_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/wellness/breath-exercise/{student_id}/start":{"post":{"tags":["wellness-cl-099"],"summary":"Post Breath Started","description":"PR-350 all tiers — surface the breath guide + emit\n`wellness.breath_exercise_started`. Pure read of static content; the\ntimer runs client-side.","operationId":"cl099_pr350_breath_start","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/wellness/anxiety-toolkit/{student_id}/open":{"post":{"tags":["wellness-cl-099"],"summary":"Post Toolkit Opened","description":"PR-365-B all tiers — surface the test-day toolkit + emit\n`wellness.testday_toolkit_opened`. Universal wellness equity per\ncatalogue v5.1 §8.3.","operationId":"cl099_pr365b_toolkit_open","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/wellness/release-proof/{student_id}":{"get":{"tags":["wellness-cl-099"],"summary":"Get Release Proof","operationId":"cl099_release_proof_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/wellness/anxiety/scan/{student_id}":{"post":{"tags":["wellness-cl-099"],"summary":"Post Anxiety Scan","description":"PR-365-A — explicit scan trigger. Runs the passive-signal aggregator\nand emits `behavioural_anxiety.signal_detected` when severity ≥ low\nAND the student has DPDP §9 wellness consent. Bypasses the 60-min\nthrottle (forced=True) so admin / FE-test triggers always run.\n\nTier never gates this (founder decision FD-3, and s54 E1): every tier\nfaces the same consent gate. Without consent nothing is read or written\nand the reply says so plainly, with the free helpline pointer.\ncrisis_routing is set on severity=high at EVERY tier (2026-08-20)\n\nResponse shape lets the FE render a \"why we think you might be anxious\"\ntooltip from the signal breakdown without a second API call.","operationId":"cl099_pr365a_anxiety_scan","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/wellness/counsellor-link/{student_id}":{"get":{"tags":["wellness-cl-099"],"summary":"Get Counsellor Link","description":"Surface the external counselling helpline. Available on every tier.\n\nUntil 2026-08-20 this was SCALE-only: FREE, ACE and GROW got a 403 carrying\n`\"upgrade_cta\": \"Counsellor helpline — unlocks at SCALE.\"` The resource behind\nthat gate is `_COUNSELLOR_LINK_DEFAULT`, and this file already describes it\ncorrectly - iCALL, \"Confidential, free, run by TISS.\"\n\nSo the thing being withheld was a free public helpline, not anything of ours,\nand what a distressed student on a lower tier received instead was an advert\nfor a subscription. There is no margin here to protect and there never was:\npointing at a public number costs nothing. Tier is still returned so the\ncaller can decide what else to offer, but it no longer decides whether a\nstudent in distress is given a phone number.\n\nAnything genuinely staffed and paid for stays tiered elsewhere. A public\nhelpline must never be the thing behind a paywall.","operationId":"cl099_pr360_counsellor_link_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/wellness/counsellor-link/{student_id}/confirm":{"post":{"tags":["wellness-cl-099"],"summary":"Post Counsellor Confirm","description":"Record that the student opted to reach the helpline. Every tier.\n\nWas SCALE-only alongside the GET above. Refusing this one is worse than it\nlooks: it is the audit trail the parent dashboard and the escalation engine\nread, so tiering it meant the platform stayed deliberately blind to exactly\nthe students it had already declined to help. The connection itself is\nexternal either way - this only records that it happened.","operationId":"cl099_pr360_counsellor_confirm","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CounsellorLinkBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/wellness/resources":{"get":{"tags":["wellness-cl-099"],"summary":"Get Wellness Resources Alias","description":"Same answer as GET /api/v1/wellness/safety-resources (PRD-AA-WELLNESS).\n\nThe reviewed helpline catalogue is read in one place, growth_authority_routes;\nthis path calls that handler instead of keeping a second copy of the list.\nThe import is inside the function because growth_authority_routes is mounted\nseparately and this module must not depend on it at import time.","operationId":"cl099_wellness_resources_alias","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/wellness/capacity-signal/{student_id}":{"get":{"tags":["wellness-cl-099"],"summary":"Get Capacity Signal","description":"Return the learner's study-capacity signal from the pulses they logged.\n\nReads the keys get_status really returns: the 7-day average when there are\npulses in the last 7 days, otherwise the latest pulse. With no pulse at all\nthe band is NO_SIGNAL: the route never reports STEADY for a student it has\nno measurement for.","operationId":"cl099_wellness_capacity_signal","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/wellness/load-proposals/{student_id}":{"get":{"tags":["wellness-cl-099"],"summary":"Get Load Proposals","description":"Return non-coercive study-load adjustment proposals when burnout risk is elevated.\n\nA proposal only suggests. The student acts on it through the route named in\n`confirm_route`, which already exists and asks for their own confirmation:\nthe lighter-day proposal and the rest permit.","operationId":"cl099_wellness_load_proposals","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{student_id}/voice/status":{"get":{"tags":["notes-voice"],"summary":"Get Voice Status","description":"Is voice available right now? Called before the learner records anything.","operationId":"notes_voice_status","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{student_id}/voice/transcribe":{"post":{"tags":["notes-voice"],"summary":"Post Voice Transcribe","description":"Turn a recording into text for the learner to REVIEW. Writes nothing; keeps no audio.","operationId":"notes_voice_transcribe","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_notes_voice_transcribe"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{student_id}/voice/save":{"post":{"tags":["notes-voice"],"summary":"Post Voice Save","description":"Save the text the learner reviewed as a note. Voice-origin, so its blocks are UNVERIFIED\nuntil the learner has reviewed it by saving a later version (notes_service.compute_claims).","operationId":"notes_voice_save","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoiceSaveBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/shared-with-me":{"get":{"tags":["notes-mentor-share"],"summary":"List Shared With Me","description":"Notes shared with the signed-in account's verified email: title, the student's FIRST name\nand the end date. Never the student's id, text, or anything the share did not name.","operationId":"notes_shared_with_me_list","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Notes Shared With Me List"}}}}}}},"/api/v1/notes/shared-with-me/{share_id}":{"get":{"tags":["notes-mentor-share"],"summary":"Read Shared With Me","description":"Open one shared note, read only. Counts a view. Stopped, ended, deleted, for another\nemail or unknown are all the same 404.","operationId":"notes_shared_with_me_read","parameters":[{"name":"share_id","in":"path","required":true,"schema":{"type":"string","title":"Share Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Notes Shared With Me Read"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/shared-with-me/{share_id}/dismiss":{"post":{"tags":["notes-mentor-share"],"summary":"Dismiss Shared With Me","description":"The recipient hides a share they did not ask for. Idempotent. It ends THEIR access only:\nthe share stays in the student's own list as hidden by the recipient, and the student can\nstill stop it. Only the account whose verified email the share names can do this; a stopped,\nended, unknown or someone else's share is the same 404 as everywhere else.","operationId":"notes_shared_with_me_dismiss","parameters":[{"name":"share_id","in":"path","required":true,"schema":{"type":"string","title":"Share Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Notes Shared With Me Dismiss"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{student_id}/{note_id}/shares":{"post":{"tags":["notes-mentor-share"],"summary":"Create Share","description":"Share one of the student's own live notes with a mentor, by email address.\n\nNothing is sent to that address. The mentor has to sign in to AspireACE with it. A replay\nof the same Idempotency-Key and body returns the same share; the same key with another\nmentor or note is 409 idempotency_conflict.","operationId":"notes_mentor_share_create","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"note_id","in":"path","required":true,"schema":{"type":"string","title":"Note Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateShareBody"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Notes Mentor Share Create"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["notes-mentor-share"],"summary":"List Shares","description":"Everyone this note was shared with, newest first, in every state (active, ended, stopped).","operationId":"notes_mentor_share_list","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"note_id","in":"path","required":true,"schema":{"type":"string","title":"Note Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Notes Mentor Share List"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{student_id}/share-recipients":{"get":{"tags":["notes-mentor-share"],"summary":"Share Recipients","description":"The student's OWN linked, approved parents, to offer as one-tap recipients: a first name and\nthe email already on the parent account. Pending, declined, revoked and unlinked parents are\nnot returned, and neither is anyone linked to another student.","operationId":"notes_share_recipients","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Notes Share Recipients"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{student_id}/{note_id}/shares/{share_id}":{"delete":{"tags":["notes-mentor-share"],"summary":"Stop Share","description":"Stop sharing, now. Idempotent: stopping a stopped share answers the same.\n\nDeliberately works on a note in the trash and is not held by any switch: taking access\nback must always work.","operationId":"notes_mentor_share_stop","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"note_id","in":"path","required":true,"schema":{"type":"string","title":"Note Id"}},{"name":"share_id","in":"path","required":true,"schema":{"type":"string","title":"Share Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Notes Mentor Share Stop"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{student_id}/meter":{"get":{"tags":["notes-lifecycle"],"summary":"Get Meter","description":"Current usage for the two Notes meters. Read only.","operationId":"notes_meter_read","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{student_id}/processing":{"get":{"tags":["notes-lifecycle"],"summary":"Get Processing","description":"Whether the student has asked us to stop processing their notes.","operationId":"notes_processing_read","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["notes-lifecycle"],"summary":"Put Processing","description":"Turn \"stop processing\" on or off. Setting the same value twice is harmless.","operationId":"notes_processing_write","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcessingBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{student_id}/gap-check":{"get":{"tags":["notes-lifecycle"],"summary":"Get Gap Check","description":"Which chapters the learner has notes for, and which heavily tested ones they lack.","operationId":"notes_gap_check","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{student_id}/ingest/{job_id}":{"get":{"tags":["notes-lifecycle"],"summary":"Get Ingest Status","operationId":"notes_ingest_status","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{student_id}/ingest/{job_id}/confirmation":{"get":{"tags":["notes-lifecycle"],"summary":"Get Ingest Confirmation","operationId":"notes_ingest_confirmation_read","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["notes-lifecycle"],"summary":"Post Ingest Confirmation","operationId":"notes_ingest_confirmation_write","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OcrConfirmationBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{student_id}/{note_id}/source-corrections":{"get":{"tags":["notes-lifecycle"],"summary":"Get Source Corrections","operationId":"notes_source_correction_list","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"note_id","in":"path","required":true,"schema":{"type":"string","title":"Note Id"}},{"name":"request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Request Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{student_id}/{note_id}/source-correction-responses/{response_id}":{"get":{"tags":["notes-lifecycle"],"summary":"Get Source Correction Response","description":"Read one exact source response receipt; it never falls forward to latest.","operationId":"notes_source_correction_response_read","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"note_id","in":"path","required":true,"schema":{"type":"string","title":"Note Id"}},{"name":"response_id","in":"path","required":true,"schema":{"type":"string","title":"Response Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{student_id}/{note_id}/source-corrections/{request_id}/respond":{"post":{"tags":["notes-lifecycle"],"summary":"Post Source Correction Response","operationId":"notes_source_correction_respond","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"note_id","in":"path","required":true,"schema":{"type":"string","title":"Note Id"}},{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceCorrectionResponseBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{student_id}/ingest/{job_id}/retry":{"post":{"tags":["notes-lifecycle"],"summary":"Post Ingest Retry","description":"Try a FAILED photo or PDF import again from its kept original (owner only; 7 days from the first try).\nReads the file again inside this request. 200 {...status, result: succeeded | failed_again};\n409 job_not_retryable; 410 original_expired; 402 allowance used up; 503 storage_not_configured |\nstorage_unavailable. See notes_import_retry.","operationId":"notes_ingest_retry","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{student_id}/import-commands/{key}":{"get":{"tags":["notes-lifecycle"],"summary":"Get Import Command","description":"Did the photo or PDF upload that carried this Idempotency-Key reach us? For the learner\nwhose reply was lost. Read only, this learner's keys only. An unknown key answers\n{\"found\": false} (not a 404): \"nothing was saved under that key\" is a real answer here.\n{\"found\": true, \"state\": \"SAVED\", job_id, note_id, stage, note_available} or\n{\"found\": true, \"state\": \"IN_PROGRESS\"} when the upload is still being saved.","operationId":"notes_import_command_read","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}},{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"enum":["PHOTO","PDF"],"type":"string"},{"type":"null"}],"title":"Kind"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{student_id}/export":{"post":{"tags":["notes-lifecycle"],"summary":"Post Export","operationId":"notes_export_request","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/notes_contract__ExportBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{student_id}/exports/{export_id}":{"get":{"tags":["notes-lifecycle"],"summary":"Get Export Status","operationId":"notes_export_status","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"export_id","in":"path","required":true,"schema":{"type":"string","title":"Export Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{student_id}/exports/{export_id}/download":{"get":{"tags":["notes-lifecycle"],"summary":"Get Export Download","operationId":"notes_export_download","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"export_id","in":"path","required":true,"schema":{"type":"string","title":"Export Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{student_id}/purge-all":{"post":{"tags":["notes-lifecycle"],"summary":"Post Purge All","operationId":"notes_purge_all","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurgeAllBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{student_id}/purges/{purge_id}":{"get":{"tags":["notes-lifecycle"],"summary":"Get Purge Status","operationId":"notes_purge_status","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"purge_id","in":"path","required":true,"schema":{"type":"string","title":"Purge Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{student_id}/formula-sheet":{"post":{"tags":["notes-lifecycle"],"summary":"Post Formula Sheet","operationId":"notes_formula_sheet_build","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FormulaSheetBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{student_id}/{note_id}/sources":{"get":{"tags":["notes-lifecycle"],"summary":"Get Sources","operationId":"notes_sources_list","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"note_id","in":"path","required":true,"schema":{"type":"string","title":"Note Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["notes-lifecycle"],"summary":"Post Source","operationId":"notes_source_attach","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"note_id","in":"path","required":true,"schema":{"type":"string","title":"Note Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceAttachBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{student_id}/{note_id}/claims":{"get":{"tags":["notes-lifecycle"],"summary":"Get Claims","operationId":"notes_claims_read","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"note_id","in":"path","required":true,"schema":{"type":"string","title":"Note Id"}},{"name":"version","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"title":"Version"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{student_id}/{note_id}/claims/{block_index}/mark":{"post":{"tags":["notes-lifecycle"],"summary":"Post Claim Mark","description":"The learner marks one block of the current version: OWN_WORDS, UNVERIFIED, or CITED to a\nready OFFICIAL_NCERT / APPROVED_ACE source on this note. Creates no note version.","operationId":"notes_claim_mark","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"note_id","in":"path","required":true,"schema":{"type":"string","title":"Note Id"}},{"name":"block_index","in":"path","required":true,"schema":{"type":"integer","title":"Block Index"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClaimMarkBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{student_id}/{note_id}/suggestions":{"get":{"tags":["notes-lifecycle"],"summary":"Get Suggestions","operationId":"notes_suggestions_list","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"note_id","in":"path","required":true,"schema":{"type":"string","title":"Note Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{student_id}/{note_id}/suggestions/{suggestion_id}/decide":{"post":{"tags":["notes-lifecycle"],"summary":"Post Suggestion Decide","operationId":"notes_suggestion_decide","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"note_id","in":"path","required":true,"schema":{"type":"string","title":"Note Id"}},{"name":"suggestion_id","in":"path","required":true,"schema":{"type":"string","title":"Suggestion Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuggestionDecideBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{student_id}/{note_id}/mint":{"post":{"tags":["notes-lifecycle"],"summary":"Post Mint","operationId":"notes_mint","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"note_id","in":"path","required":true,"schema":{"type":"string","title":"Note Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/MintBody"},{"type":"null"}],"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{student_id}/{note_id}/purge":{"post":{"tags":["notes-lifecycle"],"summary":"Post Note Purge","operationId":"notes_purge_request","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"note_id","in":"path","required":true,"schema":{"type":"string","title":"Note Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurgeBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/capture":{"post":{"tags":["notes-cl-260"],"summary":"Post Capture","description":"PR-730 — capture a new note. JWT subject = canonical student_id\n(no IDOR risk). Tier-quota-gated. Emits `note.created` (PR-730).","operationId":"cl260_pr730_note_capture","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NoteCaptureBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{student_id}/{note_id}/star":{"put":{"tags":["notes-cl-260"],"summary":"Set Note Star","description":"Star or un-star one of the student's own notes. A preference, not a revision: the note's text,\nversions and revision number are untouched.","operationId":"notes_star_set","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"note_id","in":"path","required":true,"schema":{"type":"string","title":"Note Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NoteStarBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{student_id}":{"get":{"tags":["notes-cl-260"],"summary":"Get Notes","description":"List notes for a student. Filters: folder_id (UUID), tag (string).\nExcludes soft-deleted rows. Caps at 200 rows per response (FE\npaginates if needed).","operationId":"cl260_notes_list","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"folder_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Folder Id"}},{"name":"tag","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tag"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{student_id}/search":{"get":{"tags":["notes-cl-260"],"summary":"Search Notes","description":"PR-740 — keyword search across notes via Postgres full-text-search.\nFREE: simple substring + tag match. ACE+: same FTS surface (semantic\nsearch via ENG-002 ships post-Phase-1). Phase 1 unified path:\nplainto_tsquery on `english` config, with fallback to ILIKE for short\nor punctuation-heavy queries.","operationId":"cl260_pr740_search","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"q","in":"query","required":true,"schema":{"type":"string","title":"Q"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{student_id}/trash":{"get":{"tags":["notes-cl-260"],"summary":"Get Notes Trash","description":"Notes the student deleted in the last 30 days, newest-deleted first.\nOnly the student's own rows; permanently removed (purged) notes are gone\nand never appear. Only light fields are returned, not note text.","operationId":"cl260_notes_trash_list","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":200,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{student_id}/release-proof":{"get":{"tags":["notes-cl-260"],"summary":"Get Notes Release Proof","description":"Current CL-260 production-readiness proof for UI, audit, and demos.","operationId":"cl260_release_proof","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{student_id}/approved":{"get":{"tags":["notes-cl-260"],"summary":"Get Approved Ace Notes","description":"Browse app-approved canonical Ace Notes as saveable sources.\n\nKeep this route ahead of the generic note-read path so `/approved` cannot\nbe mistaken for a note id. Falls back to an empty 200 when the source table\nis absent or temporarily unavailable, which keeps browser proof quiet; the\nreply then carries `degraded_reason` instead of looking like \"no notes\".\n\nReads go through the published-note-reference/v1 adapter, and who sees what\nfollows the one Ace Notes visibility rule (everyone while the door cannot be\nbought, one sample note per chapter once it can).","operationId":"cl260_notes_approved_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"subject","in":"query","required":false,"schema":{"type":"string","title":"Subject"}},{"name":"chapter_id","in":"query","required":false,"schema":{"type":"string","title":"Chapter Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":40,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{student_id}/save-from-canonical":{"post":{"tags":["notes-cl-260"],"summary":"Save Note From Canonical","description":"Clone an approved governed note without mutating its source.\n\nThe previously mounted CL-260 router omitted this route even though the\nlegacy unmounted router and UI depended on it.  The canonical source note\nnow resolves through the OS01 object-binding ledger and the personal clone\nowns its ACTION and completion RECEIPT.","operationId":"cl260_notes_save_canonical","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CanonicalNoteSaveBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{student_id}/commands/{key}":{"get":{"tags":["notes-cl-260"],"summary":"Reconcile Private Command","operationId":"notes_private_command_read","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}},{"name":"operation_id","in":"query","required":true,"schema":{"enum":["create_note","save_revision"],"type":"string","title":"Operation Id"}},{"name":"note_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{student_id}/{note_id}/history":{"get":{"tags":["notes-cl-260"],"summary":"Private Note History","operationId":"notes_private_history","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"note_id","in":"path","required":true,"schema":{"type":"string","title":"Note Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{student_id}/{note_id}/resume":{"get":{"tags":["notes-cl-260"],"summary":"Resume Private Note","operationId":"notes_private_resume","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"note_id","in":"path","required":true,"schema":{"type":"string","title":"Note Id"}},{"name":"revision","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Revision"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{student_id}/{note_id}":{"get":{"tags":["notes-cl-260"],"summary":"Get Note","description":"Fetch a single note. 404 when not found OR soft-deleted.\nNOTE: declared AFTER /{student_id}/search to prevent route-ordering\nshadow (see comment on search endpoint above).","operationId":"cl260_note_read","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"note_id","in":"path","required":true,"schema":{"type":"string","title":"Note Id"}},{"name":"revision","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Revision"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["notes-cl-260"],"summary":"Patch Note","description":"Edit a note. Writes a row to notes.versions (DAT-149) for audit /\nprovenance per spec. version_number auto-increments per note.","operationId":"cl260_note_edit","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"note_id","in":"path","required":true,"schema":{"type":"string","title":"Note Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NoteUpdateBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["notes-cl-260"],"summary":"Delete Note","description":"Soft-delete (sets deleted_at). Hard-delete via DPDP §11 right-to-be-\nforgotten flow only. Idempotent: deleting a deleted note returns 200.\n\nA database failure is 503 {\"error\": \"notes_store_unavailable\", \"retryable\": true}:\nthe route never answers status \"deleted\" (or emits note.deleted) unless the\nstatements ran.","operationId":"cl260_note_delete","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"note_id","in":"path","required":true,"schema":{"type":"string","title":"Note Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{student_id}/{note_id}/auto-tag":{"post":{"tags":["notes-cl-260"],"summary":"Post Auto Tag","description":"PR-735 ACE+ — re-run auto-tagger on an existing note. Inline\nkeyword fallback in Phase 1; ENG-002 RAG / ENG-001 JARVIS via\ntry_engine when wired (forward-compat scaffold).","operationId":"cl260_pr735_auto_tag","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"note_id","in":"path","required":true,"schema":{"type":"string","title":"Note Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{student_id}/{note_id}/restore":{"post":{"tags":["notes-cl-260"],"summary":"Restore Note","description":"Bring a deleted note back. Owner only (the router guard checks the path\nstudent; every query below also filters on student_id).\n\n404 - no such note for this student (also a note that was purged: its row is gone)\n409 {\"error\": \"note_not_deleted\"} - the note is already in the library\n409 {\"error\": \"note_copy_already_in_library\"} - the student saved the same canonical\n      note again after deleting this one, so a second live copy is not allowed\n      (the old row stays in the trash)\n410 {\"error\": \"restore_window_closed\"} - deleted more than 30 days ago\n403 - restoring would put the student over their note or storage limit\n      (same error body as saving a new note)\n503 {\"error\": \"notes_store_unavailable\", \"retryable\": true} - the database failed;\n      nothing was restored and no event was emitted\n\nThe count/storage check and the un-delete run in one transaction under a\nper-student advisory lock, so two concurrent restores cannot pass the cap together.\n\nSuccess body: {\"status\": \"restored\", \"readable\": bool, \"reindex_queued\": bool, \"note\": {...}}\n* `readable` - false when the note is restored but cannot be shown right now (its\n  provenance check said no or is down); `note` then holds only id, title, note_type,\n  deleted_at (null) and readable:false. The client must not claim it is visible.\n* `reindex_queued` - false when the `note.restored` event could not be emitted: the\n  note is back, but search and the capsule will not pick it up until it is re-indexed.\n\nis_indexed is left FALSE, exactly like a freshly saved note: this API never\nflips it to TRUE itself. The `note.restored` event makes the notes consumer\nclear the delete tombstone and queue the note for re-indexing, so it returns to\nsearch and the capsule the same way a new note does.","operationId":"cl260_note_restore","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"note_id","in":"path","required":true,"schema":{"type":"string","title":"Note Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{student_id}/pdf-ingest":{"post":{"tags":["notes-cl-260"],"summary":"Post Pdf Ingest","description":"PR-745 GROW+ — ingest a PDF. Phase 1 expects FE to upload the PDF\nto R2 first + send the extracted text + the byte size for storage\nquota. ENG-004 OCR via try_engine when wired (forward-compat).","operationId":"cl260_pr745_pdf_ingest","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PdfIngestBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{student_id}/pdf-upload":{"post":{"tags":["notes-cl-260"],"summary":"Post Pdf Upload","description":"PR-745 multipart PDF upload. An optional Idempotency-Key header (one per chosen file)\nmakes a lost reply recoverable through GET /{student_id}/import-commands/{key}.","operationId":"cl260_pr745_pdf_upload","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_cl260_pr745_pdf_upload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/capture-photo":{"post":{"tags":["notes-cl-260"],"summary":"Post Capture Photo","description":"PR-730 photo capture. An optional Idempotency-Key header (one per chosen file) makes a\nlost reply recoverable through GET /{student_id}/import-commands/{key}.","operationId":"cl260_pr730_note_capture_photo","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_cl260_pr730_note_capture_photo"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{student_id}/rag":{"post":{"tags":["notes-cl-260"],"summary":"Post Rag","description":"PR-750 SCALE — RAG over the student's own notes. Phase 1 returns\na structured 'best matching notes' response (BM25-equivalent via FTS);\nENG-002 RAG with vector retrieval ships when ENG002_URL is set.\n\nOutput shape mirrors the eventual ENG-002 response so the FE doesn't\nneed to change when the engine ships.","operationId":"cl260_pr750_rag","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RagBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notes/{student_id}/{note_id}/mnemonic":{"post":{"tags":["notes-cl-260"],"summary":"Post Mnemonic","description":"PR-755 SCALE — generate a mnemonic from a note. ENG-008 STG via\ntry_engine when wired; Phase 1 fallback returns a templated nudge so\nthe FE has consistent shape.","operationId":"cl260_pr755_mnemonic","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"note_id","in":"path","required":true,"schema":{"type":"string","title":"Note Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pdfchat/upload":{"post":{"tags":["pdfchat"],"summary":"Pdfchat Upload","description":"Upload + parse + embed a PDF. Returns the doc_id the FE will\nuse to ask questions. Sync (small uploads); for large PDFs the\ncaller should expect 2-10s of work on this endpoint.\n\nRETIRED: closed to new uploads. See the note above _RETIRED_DETAIL.","operationId":"pdfchat_upload","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_pdfchat_upload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pdfchat/list":{"get":{"tags":["pdfchat"],"summary":"Pdfchat List Current","operationId":"pdfchat_list_current","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pdfchat/list/{student_id}":{"get":{"tags":["pdfchat"],"summary":"Pdfchat List","description":"List the user's uploaded PDFs (most recent first, soft-deleted excluded).","operationId":"pdfchat_list","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pdfchat/ask":{"post":{"tags":["pdfchat"],"summary":"Pdfchat Ask","description":"Answer a question grounded in the doc's chunks.\n\nRETIRED: closed. No document on this path is readable, so every answer it\ncould give would be grounded in nothing.","operationId":"pdfchat_ask","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AskBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pdfchat/history/{doc_id}":{"get":{"tags":["pdfchat"],"summary":"Pdfchat History","description":"Past Q&A for one doc (oldest → newest).","operationId":"pdfchat_history","parameters":[{"name":"doc_id","in":"path","required":true,"schema":{"type":"string","title":"Doc Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pdfchat/{doc_id}":{"delete":{"tags":["pdfchat"],"summary":"Pdfchat Delete","description":"Soft-delete a PDF document. Qdrant points are kept for now;\nwhen storage cost matters, add a batch job to drop chunks where\npayload.doc_id matches the deleted row.","operationId":"pdfchat_delete","parameters":[{"name":"doc_id","in":"path","required":true,"schema":{"type":"string","title":"Doc Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ncert/page/{chapter_id}/{page}":{"get":{"tags":["ncert-cl-250"],"summary":"Ncert Page Image","description":"Render a scanned NCERT page to PNG, when we are allowed to.\n\nAuth-free by design so an `<img>` tag can load it, which is exactly why the\nrights basis has to be checked here rather than left to the caller: there is\nno caller to trust.","operationId":"cl250_page_image","parameters":[{"name":"chapter_id","in":"path","required":true,"schema":{"type":"string","title":"Chapter Id"}},{"name":"page","in":"path","required":true,"schema":{"type":"integer","title":"Page"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ncert/public/proof":{"get":{"tags":["ncert-cl-250"],"summary":"Get Public Proof","description":"How much of the map is real, for anyone, signed in or not.\n\nThe decorator belongs HERE. It spent a day attached to the helper that was\ninserted directly beneath it, so `/public/proof` resolved to a pitfall\ncounter that takes a required `chapter_id` -- which FastAPI reads as a\nrequired query parameter, so every anonymous visitor got a 422 and the\npublic landing's proof strip showed nothing. A route bound to the wrong\nfunction still starts, still passes import checks, and still appears in the\nroute table under the right path.","operationId":"cl250_public_proof_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/ncert/{student_id}/door/ncert-ace-notes":{"get":{"tags":["ncert-cl-250"],"summary":"Get Ncert Ace Notes Door","description":"The door's state for this learner: offer, hosts, entitlement.","operationId":"cl250_door_offer_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"chapter_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chapter Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ncert/{student_id}/offline/{chapter_id}/manifest":{"get":{"tags":["ncert-cl-250"],"summary":"Get Offline Manifest","description":"The offline pack for a chapter, or an honest 404 saying why there is none.","operationId":"cl250_offline_manifest_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"chapter_id","in":"path","required":true,"schema":{"type":"string","title":"Chapter Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ncert/{student_id}/offline/{chapter_id}/pack":{"get":{"tags":["ncert-cl-250"],"summary":"Download Offline Pack","description":"The chapter pack as one zip, built now from the rights records. Nothing is stored.\n\n404 with the reason when neither the notes register nor the chapter's book record lets us\nput anything in it.","operationId":"cl250_offline_pack_download","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"chapter_id","in":"path","required":true,"schema":{"type":"string","title":"Chapter Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ncert/{student_id}/study-order/{subject}/runs":{"get":{"tags":["ncert-cl-250"],"summary":"Get Study Order Runs","description":"Every order we have given this learner for this subject, newest first. SCALE only,\nlike the order itself: the history of a feature a learner cannot use is not theirs\nto read, and a Locked-Useful 403 names the tier instead of returning an empty list\nthat would read as \"you have had no orders\".","operationId":"cl250_study_order_runs_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"subject","in":"path","required":true,"schema":{"type":"string","title":"Subject"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ncert/{student_id}/read-receipt":{"post":{"tags":["ncert-cl-250"],"summary":"Create Read Receipt","description":"Record that a learner read something. LIGHT, always.\n\nTwo reads of the same thing in the same second are one receipt -- the\nunique index does that, so a double-tap or a retried request cannot inflate\nsomeone's coverage. A lost acknowledgement retried with the same\nIdempotency-Key returns that same receipt rather than minting another.","operationId":"cl250_read_receipt_create","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReadReceiptBody"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ncert/{student_id}/page/{chapter_id}/{page}/passport":{"get":{"tags":["ncert-cl-250"],"summary":"Get Page Passport","description":"What this page is, and what we can actually prove about it.\n\nFree at every tier (founder decision 3): for NEET the answer is in NCERT and\nthe problem is finding it, so the coordinates of the official line are the\nthing this product exists to give away.","operationId":"cl250_page_passport_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"chapter_id","in":"path","required":true,"schema":{"type":"string","title":"Chapter Id"}},{"name":"page","in":"path","required":true,"schema":{"type":"integer","title":"Page"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ncert/study/{chapter_id}":{"get":{"tags":["ncert-cl-250"],"summary":"Ncert Study View","description":"Structured visual study view: clean section spine (from the curated\nncert_topics ontology) mapped to crisp rendered NCERT pages, plus figure\nreferences and filtered formulas. Replaces the raw-OCR-text dump.\n\nSigned-in learners only, and only for a chapter whose own book has been\nreleased: this route hands back figure captions and formula text taken from the\nbook, so it answers to the same per-book decision as the page images. It used to\nanswer anyone, for any chapter, with nothing to say a withdrawn book had gone.","operationId":"cl250_study_view","parameters":[{"name":"chapter_id","in":"path","required":true,"schema":{"type":"string","title":"Chapter Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ncert/{student_id}/subjects":{"get":{"tags":["ncert-cl-250"],"summary":"Get Subjects","description":"List subjects available for the student's exam_context.\n\nUngated (all tiers) — picker is foundational navigation. Empty exam\ncontext → defaults to NEET.","operationId":"cl250_pr700_subjects","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ncert/{student_id}/anchors":{"get":{"tags":["ncert-cl-250"],"summary":"Get Ncert Anchors","description":"Where in the book a question or a concept comes from. PRD §27.3.\n\nTHE FAILURE RULE IS THE SPEC'S OWN WORDS: \"`unmapped:true` with reason,\nnever 'not relevant'\". A lookup that finds nothing has learned something\nabout our mapping, not about the question. Saying otherwise tells a student\nthe question does not matter, on our authority, when all we know is that we\nhave not mapped it.\n\nA candidate is returned WITH its method rather than withheld. A learner who\ncan see \"we think it is around here, matched by text\" is better served than\none shown nothing, as long as the guess is labelled as a guess.","operationId":"cl250_anchor_lookup_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"question_ref","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Question Ref"}},{"name":"concept_ref","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Concept Ref"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ncert/{student_id}/map/{chapter_id}":{"get":{"tags":["ncert-cl-250"],"summary":"Get Ncert Mastery Map","description":"The one map projection. PRD §27.2: \"no unlisted equivalent route\".\n\nEverything that wants \"the map\" reads this. Before it existed, the chapter\ndashboard assembled its own view from six queries and every other consumer\neither called the dashboard and took what it got or invented its own idea of\na mapping -- which is how a citation on one screen ends up disagreeing with\nthe same citation on another.\n\nDelegates its state entirely to ncert_mastery_map. This route decides\nnothing about rights, freshness or relevance; it asks and reports.","operationId":"cl250_ncert_mastery_map_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"chapter_id","in":"path","required":true,"schema":{"type":"string","title":"Chapter Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ncert/{student_id}/release-proof":{"get":{"tags":["ncert-cl-250"],"summary":"Get Release Proof","operationId":"cl250_release_proof_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ncert/{student_id}/chapters/{subject}":{"get":{"tags":["ncert-cl-250"],"summary":"Get Chapters","description":"Chapter list for a subject in the student's exam context.\n\nUngated. Returns ordered by chapter_number per NCERT convention.","operationId":"cl250_pr700_chapters","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"subject","in":"path","required":true,"schema":{"type":"string","title":"Subject"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ncert/{student_id}/dashboard/{chapter_id}/notes":{"get":{"tags":["ncert-cl-250"],"summary":"Get Approved Ncert Notes","description":"The Ace Notes panel for a chapter (R09).\n\nSince the founder ruling of 13 Oct 2026 the notes are free for every signed-in\nstudent, with credit to NCERT: state `free`, every note, `access` and\n`attribution` in the payload, no sample cut. The door-gated text below\ndescribes the owned / sample rules, which stay for a future paid product and\napply whenever the rights register does not declare the notes free.\n\nDoor-gated, and gated the way this repo requires locked things to be gated:\nLocked-Useful. Someone who has not bought the door sees the real number of\nnotes that exist, one whole note as a sample with its citation, and the\nexact scope of what the door opens. Never a blur, never a grey rectangle,\nnever a count with the content hidden behind a shimmer -- those tell a\nlearner nothing and read as a trick.\n\nThe sample is a real published note, not an illustration. If the only thing\nwe can show is fake, the honest move is to show nothing and say the chapter\nhas no notes yet.","operationId":"cl250_notes_approved_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"chapter_id","in":"path","required":true,"schema":{"type":"string","title":"Chapter Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ncert/{student_id}/dashboard/{chapter_id}":{"get":{"tags":["ncert-cl-250"],"summary":"Get Chapter Dashboard","description":"Composite chapter dashboard — the moat-product of CL-250.\n\nReturns per-topic NTA pressure (PYQ frequency stars) for ALL tiers,\nplus tier-gated overlays:\n\n  ACE+   :  per-topic SPRE colour + pitfalls + action chips\n  GROW+  :  ncert_page anchors + summary CTA\n  SCALE  :  study-order CTA + audio CTA\n\nResponse shape is stable across tiers — values are nulled / empty\nwhere the tier doesn't unlock them, so the FE renders the same\ncomponent and shows tier-up callouts in place of locked fields.","operationId":"cl250_pr705_dashboard","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"chapter_id","in":"path","required":true,"schema":{"type":"string","title":"Chapter Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ncert/{student_id}/pitfalls/{chapter_id}":{"get":{"tags":["ncert-cl-250"],"summary":"Get Pitfalls","description":"Direct pitfalls fetch — used for \"see all pitfalls\" deep-link from\na Coach card or notification. Tier-gated ACE+. Same data shape as the\nembedded `pitfalls` array in PR-705 dashboard response.","operationId":"cl250_pr710_pitfalls","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"chapter_id","in":"path","required":true,"schema":{"type":"string","title":"Chapter Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ncert/{student_id}/dashboard/{chapter_id}/summary":{"post":{"tags":["ncert-cl-250"],"summary":"Generate Chapter Summary","description":"PR-720 JARVIS chapter summary. GROW+ gated. 24h cache.\n\nFirst-user-per-chapter triggers generation (JARVIS via call_llm, or\ndeterministic fallback when no LLM key is configured / API down).\nSubsequent reads within 24h return the cached summary.\n\nIdempotent: pass body.force_refresh=true to bypass cache.","operationId":"cl250_pr720_chapter_summary","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"chapter_id","in":"path","required":true,"schema":{"type":"string","title":"Chapter Id"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/SummaryQuery"},{"type":"null"}],"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ncert/{student_id}/study-order/{subject}":{"get":{"tags":["ncert-cl-250"],"summary":"Get Study Order","description":"PR-725 cross-chapter prereq + personalised study order. SCALE only.\n\nReturns the chapters in a recommended study sequence — topo-sort over\n`chapter_prereqs`, then greedy peak-protocol scoring (gap × yield) at\neach step.\n\nResponse includes per-step rationale (`reasons[]`) so the FE can\nrender \"why this chapter next?\" cards. Also includes the full prereq\nedge list so the FE can draw the graph.","operationId":"cl250_pr725_study_order","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"subject","in":"path","required":true,"schema":{"type":"string","title":"Subject"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ncert/{student_id}/event":{"post":{"tags":["ncert-cl-250"],"summary":"Post Event","description":"FE-side beacon. Whitelisted set of CL-250 events; rejects unknown\nevent names so a compromised client can't spam the bus with garbage.","operationId":"cl250_event_beacon","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ncert_routes__BeaconBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/content/ncert-notes/chapters/{chapter_id}/source-audit":{"get":{"tags":["ncert-notes-admin"],"summary":"Get Ncert Notes Source Audit","description":"Audit whether the existing NCERT structured corpus can produce notes.","operationId":"cl250_notes_source_audit","parameters":[{"name":"chapter_id","in":"path","required":true,"schema":{"type":"string","title":"Chapter Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/content/ncert-notes/chapters/{chapter_id}/candidates/build":{"post":{"tags":["ncert-notes-admin"],"summary":"Build Ncert Note Candidates","description":"Build review candidates from source sections + concept graph bindings.\n\nWrites only to `ncert_note_candidates`; nothing becomes student-live.","operationId":"cl250_notes_candidates_build","parameters":[{"name":"chapter_id","in":"path","required":true,"schema":{"type":"string","title":"Chapter Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/content/ncert-notes/chapters/{chapter_id}/candidates":{"get":{"tags":["ncert-notes-admin"],"summary":"Get Ncert Note Candidates","operationId":"cl250_notes_candidates_get","parameters":[{"name":"chapter_id","in":"path","required":true,"schema":{"type":"string","title":"Chapter Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/content/ncert-notes/candidates/{candidate_id}/approve":{"post":{"tags":["ncert-notes-admin"],"summary":"Approve Ncert Note Candidate","description":"Content-ops: promote a reviewed candidate into published Ace notes.\n\nAdmin/SME only. Honesty-gated — refuses to publish a raw grounding-pack\ncandidate (409) so copied source text never reaches students.","operationId":"ncert_notes_candidate_approve","parameters":[{"name":"candidate_id","in":"path","required":true,"schema":{"type":"string","title":"Candidate Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/content/ncert-notes/candidates":{"get":{"tags":["ncert-notes-admin"],"summary":"List Ncert Note Candidates","description":"SME review queue. Lightweight list of candidates filtered by review status\n(pending_review default; pass status=all for every state) and optionally a\nchapter. Admin/SME only.","operationId":"ncert_notes_candidates_list","parameters":[{"name":"status","in":"query","required":false,"schema":{"type":"string","default":"pending_review","title":"Status"}},{"name":"chapter_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chapter Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/content/ncert-notes/candidates/{candidate_id}":{"get":{"tags":["ncert-notes-admin"],"summary":"Get Ncert Note Candidate Detail","description":"Full candidate for the review view: generated blocks + concept bindings +\ncitation/source provenance, plus a publish_ready flag so the SME knows whether\nApprove will succeed.","operationId":"ncert_notes_candidate_detail","parameters":[{"name":"candidate_id","in":"path","required":true,"schema":{"type":"string","title":"Candidate Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["ncert-notes-admin"],"summary":"Edit Ncert Note Candidate","description":"Edit a candidate's content before approval (title / summary / blocks_json).\nOnly a still-`pending_review` candidate is editable — an approved/rejected\ndecision is immutable here. Marks the editor as reviewer.","operationId":"ncert_notes_candidate_edit","parameters":[{"name":"candidate_id","in":"path","required":true,"schema":{"type":"string","title":"Candidate Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/content/ncert-notes/candidates/{candidate_id}/reject":{"post":{"tags":["ncert-notes-admin"],"summary":"Reject Ncert Note Candidate","description":"Reject a candidate (sets review_status='rejected' + reviewer_notes). A\npublished candidate cannot be rejected — unpublish first.","operationId":"ncert_notes_candidate_reject","parameters":[{"name":"candidate_id","in":"path","required":true,"schema":{"type":"string","title":"Candidate Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/content/ncert-notes/anchors/project":{"post":{"tags":["ncert-notes-admin"],"summary":"Project Ncert Source Anchors","description":"Project a reviewed release into line-level anchors.\n\nDefaults to a dry run. An operator sees exactly what would be written —\nhow many grounded, how many candidates, how many refused and why — before\nanything lands. A projection that writes first and reports afterwards is one\nnobody can check before it reaches a student.\n\nBody: {\"requests\": [{\"phrase\": ..., \"concept_ref\": ..., \"question_ref\": ...}],\n       \"chapter_id\": optional, \"manifest_id\": optional}","operationId":"ncert_source_anchors_project","parameters":[{"name":"dry_run","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Dry Run"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pyq-atlas/{student_id}/exams":{"get":{"tags":["pyq-atlas-cl-125"],"summary":"Get Exams","description":"List exam-context filters available to the heatmap.\n\nReturns the platform's full supported-exam list (JEE / NEET / CUET)\nregardless of data presence in pyq_year_breakdown. Previously returned\nonly `DISTINCT exam_context FROM pyq_year_breakdown ORDER BY ...`, which\non Neon today only has NEET seeded — so a JEE student saw a single\n\"NEET\" pill that didn't match the active subject grid below\n(s33 followup #38).\n\nThe heatmap endpoint at /heatmap/{exam}/{subject} gracefully handles\nempty data (returns topics:[]) for un-seeded contexts, so showing\nJEE/CUET pills even when their PYQ rows aren't there yet is safe —\nuser lands on an empty heatmap with the same empty-state we already\nrender. Once pyq_year_breakdown gets seeded with JEE + CUET data,\nnothing here changes; the heatmap auto-populates.","operationId":"cl125_pr431_exams","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pyq-atlas/{student_id}/cell/{exam}/{subject}/{topic_id}/{year}":{"get":{"tags":["pyq-atlas-cl-125"],"summary":"Get Cell Sources","description":"The source records behind one heatmap cell (P03, spec A03).\n\nOwner-only (router dependency). Every field comes from `pyq_year_breakdown`,\n`questions`, `pyq_question_provenance` and `pyq_source_documents`; a missing\nprovenance row leaves the field null, nothing is inferred. A year with no\npaper held is a 200 `NO_OBSERVATION`, never a 404. No source url, storage key,\nquestion text or answer is returned.","operationId":"pyq_atlas_cell_sources","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"exam","in":"path","required":true,"schema":{"type":"string","title":"Exam"}},{"name":"subject","in":"path","required":true,"schema":{"type":"string","title":"Subject"}},{"name":"topic_id","in":"path","required":true,"schema":{"type":"string","title":"Topic Id"}},{"name":"year","in":"path","required":true,"schema":{"type":"integer","title":"Year"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pyq-atlas/{student_id}/availability":{"get":{"tags":["pyq-atlas-cl-125"],"summary":"Get Availability","description":"What the Atlas holds, per exam, before any colour is shown (P01).\n\nOne row per exam we list: AVAILABLE (every chapter has history), PARTIAL\n(some do not) or NO_CORPUS (nothing loaded). `primary_exam` is the learner's\nown choice and is null when they have not made one; nothing is assumed.","operationId":"cl125_pyq_availability","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pyq-atlas/{student_id}/release-proof":{"get":{"tags":["pyq-atlas-cl-125"],"summary":"Get Release Proof","operationId":"cl125_release_proof","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"exam","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Exam"}},{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pyq-atlas/{student_id}/heatmap/{exam}/{subject}":{"get":{"tags":["pyq-atlas-cl-125"],"summary":"Get Heatmap","description":"PR-431 frequency heatmap — topic × year matrix.\n\nReturns an array of topics, each with `years[]` (10 cells for ACE+,\n5 cells for FREE) holding {year, count, intensity, difficulty_avg,\ndifficulty_band} per year.\n\nFREE collapses the year_window to 5 (only the most recent 5 years\nappear). ACE+ unlocks all 10 years + difficulty bands. The locked\nfields still surface in the response (`locked[]`) so the FE can\nrender upgrade CTAs in place of greyed cells.","operationId":"cl125_pr431_heatmap","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"exam","in":"path","required":true,"schema":{"type":"string","title":"Exam"}},{"name":"subject","in":"path","required":true,"schema":{"type":"string","title":"Subject"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pyq-atlas/{student_id}/topic/{topic_id}/drill":{"get":{"tags":["pyq-atlas-cl-125"],"summary":"Get Topic Drill","description":"PR-432 topic-difficulty drill (ACE+).\n\nReturns a per-topic deep-dive: full 10-year breakdown + difficulty\ndistribution + drill-launch metadata for routing into CL-145\nTargeted Drills with `source_target_cluster=CL-125` flag.\n\nFREE returns 403 with upgrade CTA.","operationId":"cl125_pr432_topic_drill","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"topic_id","in":"path","required":true,"schema":{"type":"string","title":"Topic Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pyq-atlas/{student_id}/topic/{topic_id}/questions":{"get":{"tags":["pyq-atlas-cl-125"],"summary":"Get Topic Questions","description":"Live question list for the question-solve screen.\n\nOnly questions placed in this chapter or topic (`pyq_topic_id` / `pyq_chapter_id`) are listed, the same\nplacement the heatmap counts come from, so a cell that says \"3 questions\" opens those 3. A question is\nnever matched to a topic by words in its text. `year` narrows the list to one paper year. The list is\npaged: `offset` and `limit` (at most 50) pick a page; `total_available` says how many the student may\nsee in all, so a chapter with more than one page can be read to the end.","operationId":"cl125_pyq_topic_questions","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"topic_id","in":"path","required":true,"schema":{"type":"string","title":"Topic Id"}},{"name":"year","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Year"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pyq-atlas/{student_id}/question/{question_id}/solve":{"post":{"tags":["pyq-atlas-cl-125"],"summary":"Solve Pyq Question","description":"Persist a PYQ solve attempt and return the review envelope.","operationId":"cl125_pyq_question_solve","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"question_id","in":"path","required":true,"schema":{"type":"string","title":"Question Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PYQSolveBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pyq-atlas/{student_id}/bookmarks":{"get":{"tags":["pyq-atlas-cl-125"],"summary":"List Pyq Bookmarks","operationId":"cl125_pyq_bookmarks","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["pyq-atlas-cl-125"],"summary":"Save Pyq Bookmark","operationId":"cl125_pyq_bookmark_save","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PYQBookmarkBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pyq-atlas/{student_id}/year-compare/{exam}/{subject}":{"get":{"tags":["pyq-atlas-cl-125"],"summary":"Get Year Compare","description":"Compare selectable PYQ year columns for a subject.","operationId":"cl125_year_compare","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"exam","in":"path","required":true,"schema":{"type":"string","title":"Exam"}},{"name":"subject","in":"path","required":true,"schema":{"type":"string","title":"Subject"}},{"name":"left","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Left"}},{"name":"right","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Right"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pyq-atlas/{student_id}/hot-topics/{exam}/{subject}":{"get":{"tags":["pyq-atlas-cl-125"],"summary":"Get Hot Topics","description":"Read source-qualified historical topic counts (GROW+).\n\nThe retained PR-434 route identity does not qualify forecasts. Missing\ncalibration stays unavailable; no future-paper probability is returned.","operationId":"cl125_pr434_hot_topics","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"exam","in":"path","required":true,"schema":{"type":"string","title":"Exam"}},{"name":"subject","in":"path","required":true,"schema":{"type":"string","title":"Subject"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pyq-atlas/{student_id}/blueprint/{exam}":{"get":{"tags":["pyq-atlas-cl-125"],"summary":"Get Exam Blueprint","description":"SCALE historical chapter composition; unsupported forecast capabilities abstain.","operationId":"cl125_pr436_blueprint","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"exam","in":"path","required":true,"schema":{"type":"string","title":"Exam"}},{"name":"year","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Year"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pyq-atlas/{student_id}/patterns/{exam}/{subject}":{"get":{"tags":["pyq-atlas-cl-125"],"summary":"Get Cross Chapter Patterns","description":"Return exact cross-chapter topic pairs from the qualified annual projection.\n\nThe versioned pairwise denominator includes explicit zeros and excludes\nmissing topic-year cells. Only three positive shared years are required.\n\nGROW+ tier gate; FREE/ACE → 403 with upgrade CTA.","operationId":"cl125_pr433_cross_chapter_patterns","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"exam","in":"path","required":true,"schema":{"type":"string","title":"Exam"}},{"name":"subject","in":"path","required":true,"schema":{"type":"string","title":"Subject"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pyq-atlas/{student_id}/patterns/{exam}/{subject}/graph":{"get":{"tags":["pyq-atlas-cl-125"],"summary":"Get Pattern Graph","description":"Return node/edge graph data for the pattern view.","operationId":"cl125_pattern_graph","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"exam","in":"path","required":true,"schema":{"type":"string","title":"Exam"}},{"name":"subject","in":"path","required":true,"schema":{"type":"string","title":"Subject"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pyq-atlas/{student_id}/pattern-narrative/{exam}/{subject}":{"get":{"tags":["pyq-atlas-cl-125"],"summary":"Get Pattern Narrative","description":"Plain-words explanation of the topic pairs, with a browser TTS payload.\n\nSame access as the pairs it explains (GROW+, enforced by the pairs read).","operationId":"cl125_pattern_narrative_tts","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"exam","in":"path","required":true,"schema":{"type":"string","title":"Exam"}},{"name":"subject","in":"path","required":true,"schema":{"type":"string","title":"Subject"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pyq-atlas/{student_id}/event":{"post":{"tags":["pyq-atlas-cl-125"],"summary":"Post Event","description":"FE-side beacon. Whitelisted to CL-125 events; rejects unknown\nevent names so a compromised client can't spam the bus.","operationId":"cl125_event_beacon","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/pyq_atlas_routes__BeaconBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pyq-print/editions/{edition_id}":{"get":{"tags":["pyq-print-series"],"summary":"Inspect Edition","operationId":"pyq_print_inspect_edition","parameters":[{"name":"edition_id","in":"path","required":true,"schema":{"type":"string","title":"Edition Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/pyq-print/editions/{edition_id}":{"get":{"tags":["pyq-print-series-admin"],"summary":"Admin Inspect Edition","operationId":"pyq_print_admin_inspect_edition","parameters":[{"name":"edition_id","in":"path","required":true,"schema":{"type":"string","title":"Edition Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/pyq-print/editions":{"post":{"tags":["pyq-print-series-admin"],"summary":"Admin Create Draft","operationId":"pyq_print_admin_create_draft","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDraftBody"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/pyq-print/editions/{edition_id}/submit-review":{"post":{"tags":["pyq-print-series-admin"],"summary":"Admin Submit Review","operationId":"pyq_print_admin_submit_review","parameters":[{"name":"edition_id","in":"path","required":true,"schema":{"type":"string","title":"Edition Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/pyq-print/editions/{edition_id}/publish":{"post":{"tags":["pyq-print-series-admin"],"summary":"Admin Publish","operationId":"pyq_print_admin_publish","parameters":[{"name":"edition_id","in":"path","required":true,"schema":{"type":"string","title":"Edition Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/pyq_print_routes__ReviewBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/pyq-print/editions/{edition_id}/open-fulfilment":{"post":{"tags":["pyq-print-series-admin"],"summary":"Admin Open Fulfilment","operationId":"pyq_print_admin_open_fulfilment","parameters":[{"name":"edition_id","in":"path","required":true,"schema":{"type":"string","title":"Edition Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/pyq-print/editions/{edition_id}/supersede":{"post":{"tags":["pyq-print-series-admin"],"summary":"Admin Supersede","operationId":"pyq_print_admin_supersede","parameters":[{"name":"edition_id","in":"path","required":true,"schema":{"type":"string","title":"Edition Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/pyq_print_routes__SupersedeBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/pyq-print/editions/{edition_id}/recall":{"post":{"tags":["pyq-print-series-admin"],"summary":"Admin Recall","operationId":"pyq_print_admin_recall","parameters":[{"name":"edition_id","in":"path","required":true,"schema":{"type":"string","title":"Edition Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecallBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/pyq-print/editions/{edition_id}/pdf":{"post":{"tags":["pyq-print-series-admin"],"summary":"Admin Render Pdf","description":"Make (or remake) the print-ready PDF. Only a rights-review or published edition renders.","operationId":"pyq_print_admin_render_pdf","parameters":[{"name":"edition_id","in":"path","required":true,"schema":{"type":"string","title":"Edition Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/RenderPdfBody"},{"type":"null"}],"title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["pyq-print-series-admin"],"summary":"Admin Download Pdf","operationId":"pyq_print_admin_download_pdf","parameters":[{"name":"edition_id","in":"path","required":true,"schema":{"type":"string","title":"Edition Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/pyq-solutions/chapters":{"get":{"tags":["pyq-solution-review"],"summary":"Chapters","operationId":"pyq_solution_review_chapters","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/pyq-solutions/queue":{"get":{"tags":["pyq-solution-review"],"summary":"Queue","operationId":"pyq_solution_review_queue","parameters":[{"name":"chapter","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Chapter"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/pyq-solutions/{draft_id}/claim":{"post":{"tags":["pyq-solution-review"],"summary":"Claim","operationId":"pyq_solution_review_claim","parameters":[{"name":"draft_id","in":"path","required":true,"schema":{"type":"integer","title":"Draft Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/pyq-solutions/{draft_id}/approve":{"post":{"tags":["pyq-solution-review"],"summary":"Approve","operationId":"pyq_solution_review_approve","parameters":[{"name":"draft_id","in":"path","required":true,"schema":{"type":"integer","title":"Draft Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApproveBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/pyq-solutions/{draft_id}/reject":{"post":{"tags":["pyq-solution-review"],"summary":"Reject","operationId":"pyq_solution_review_reject","parameters":[{"name":"draft_id","in":"path","required":true,"schema":{"type":"integer","title":"Draft Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RejectBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/pyq-solutions/ranked-chapters":{"get":{"tags":["pyq-solution-review"],"summary":"Ranked Chapters","operationId":"pyq_solution_review_ranked_chapters","parameters":[{"name":"source","in":"query","required":false,"schema":{"enum":["pyq","generated","all"],"type":"string","default":"all","title":"Source"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/pyq-solutions/gate-summary":{"get":{"tags":["pyq-solution-review"],"summary":"Gate Summary","operationId":"pyq_solution_review_gate_summary","parameters":[{"name":"source","in":"query","required":false,"schema":{"enum":["pyq","generated","all"],"type":"string","default":"all","title":"Source"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/pyq-solutions/batch-queue":{"get":{"tags":["pyq-solution-review"],"summary":"Batch Queue","operationId":"pyq_solution_review_batch_queue","parameters":[{"name":"chapter","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Chapter"}},{"name":"source","in":"query","required":false,"schema":{"enum":["pyq","generated","all"],"type":"string","default":"all","title":"Source"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"include_blocked","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Blocked"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/pyq-solutions/batch":{"post":{"tags":["pyq-solution-review"],"summary":"Batch","operationId":"pyq_solution_review_batch","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pyq-atlas/{student_id}/resume":{"get":{"tags":["pyq-atlas-resume"],"summary":"Read Resume","operationId":"pyq_atlas_resume","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Pyq Atlas Resume"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pyq-atlas/{student_id}/report/{report_id}/card":{"get":{"tags":["pyq-atlas-report"],"summary":"Read Card","operationId":"pyq_report_card","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"report_id","in":"path","required":true,"schema":{"type":"string","title":"Report Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pyq-atlas/{student_id}/report/{report_id}/card.svg":{"get":{"tags":["pyq-atlas-report"],"summary":"Read Card Image","operationId":"pyq_report_card_image","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"report_id","in":"path","required":true,"schema":{"type":"string","title":"Report Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pyq-atlas/{student_id}/report/{exam}/{subject}":{"get":{"tags":["pyq-atlas-report"],"summary":"Read Report","operationId":"pyq_report_read","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"exam","in":"path","required":true,"schema":{"type":"string","title":"Exam"}},{"name":"subject","in":"path","required":true,"schema":{"type":"string","title":"Subject"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/pyq-atlas/recompute":{"post":{"tags":["pyq-atlas-report-admin"],"summary":"Recompute","operationId":"pyq_report_recompute","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecomputeBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/pyq-atlas/hot-topics/{exam}/{subject}/review":{"get":{"tags":["pyq-atlas-report-admin"],"summary":"Review Read","description":"What the reviewer is judging: the CURRENT report's measured rows, each with its verdict so far.\nCounts only (no learner data). The report id returned here is the one a verdict must name.","operationId":"pyq_report_review_read","parameters":[{"name":"exam","in":"path","required":true,"schema":{"type":"string","title":"Exam"}},{"name":"subject","in":"path","required":true,"schema":{"type":"string","title":"Subject"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["pyq-atlas-report-admin"],"summary":"Review Rows","operationId":"pyq_report_review","parameters":[{"name":"exam","in":"path","required":true,"schema":{"type":"string","title":"Exam"}},{"name":"subject","in":"path","required":true,"schema":{"type":"string","title":"Subject"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/pyq_atlas_report_routes__ReviewBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/external-mocks/{student_id}/upload":{"post":{"tags":["external-mocks-cl-120"],"summary":"Upload External Mock","description":"PR-426 Snap & import score sheet.\n\nPipeline:\n  1. Tier resolve + monthly quota check (FREE 1/mo, ACE 5/mo, GROW+ unlimited)\n  2. Insert row at status='pending'\n  3. Call ENG-004 OCR (synchronous in this Phase 1 walk; could move\n     to background queue per s29 perf-polish pattern when latency hurts)\n  4. Run heuristic score extraction on OCR text\n  5. Update row to status='ocr_done' with extracted_scores\n  6. Emit external_mock.uploaded + external_mock.ocr_completed\n  7. Return upload_id + extracted_scores for FE confirm step (PR-427)\n\nOn OCR failure: row goes to status='failed' (still counted toward\nuser's \"history\" but with `requires_manual_review: true` so FE\nsurfaces the manual-entry form on the confirm step.","operationId":"cl120_pr426_upload","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/external-mocks/{student_id}/{upload_id}/confirm":{"post":{"tags":["external-mocks-cl-120"],"summary":"Confirm External Mock","description":"PR-427 OCR confirm + edit.\n\nConfirmation is immutable: the row is locked, the first accepted body\nreceives its source sequence, an exact replay is safe, and a changed replay\nis rejected. Downstream consequences use only that persisted row.\n\nCompatibility SPRE remains a one-time consequence while the owned Twin\nchain runs from the same source identity in shadow or canonical mode.\n\nTier shape: response confirms whatever scores the user provided. The\nvisibility flags from upload still apply — FREE writes only `total`\nand `max_total`; ACE+ also writes per-subject keys.","operationId":"cl120_pr427_confirm","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"upload_id","in":"path","required":true,"schema":{"type":"string","title":"Upload Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/external_mock_routes__ConfirmBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/external-mocks/{student_id}/upload-subjective":{"post":{"tags":["external-mocks-cl-120"],"summary":"Upload Subjective External Mock","description":"PR-429 SCALE handwritten subjective import.\n\nMulti-page pipeline: each page is OCR'd via ENG-004, then graded by\nENG-003 HSGE in `mode=grade`. Per-page results are aggregated into a\ncluster total. Stored as a single `external_mock_uploads` row with\n`extracted_scores._kind = 'subjective'` and the per-page grading\npayload tucked inside — avoids a schema migration.\n\nSCALE-only (matches v5.1 §9.4 tier_expression for handwritten\nsubjective). FREE/ACE/GROW get the upgrade envelope.\n\nSame monthly quota counter applies as the regular upload path.","operationId":"cl120_pr429_upload_subjective","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubjectiveUploadBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/external-mocks/{student_id}/release-proof":{"get":{"tags":["external-mocks-cl-120"],"summary":"Get External Mock Release Proof","operationId":"cl120_release_proof","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/external-mocks/{student_id}":{"get":{"tags":["external-mocks-cl-120"],"summary":"List External Mocks","description":"List the student's recent external mock uploads (most recent first).","operationId":"cl120_pr426_list","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/external-mocks/{student_id}/{upload_id}":{"get":{"tags":["external-mocks-cl-120"],"summary":"Read External Mock","description":"Single upload detail.","operationId":"cl120_pr426_read","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"upload_id","in":"path","required":true,"schema":{"type":"string","title":"Upload Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["external-mocks-cl-120"],"summary":"Discard External Mock","description":"Soft-delete (mark as discarded). Frees the quota slot for the\nrolling 30-day window.","operationId":"cl120_pr426_discard","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"upload_id","in":"path","required":true,"schema":{"type":"string","title":"Upload Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/external-mocks/{student_id}/event":{"post":{"tags":["external-mocks-cl-120"],"summary":"Post Event","description":"FE-side beacon. Whitelist non-server-emitted events only.","operationId":"cl120_event_beacon","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/external_mock_routes__BeaconBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/external-mocks/{student_id}/series/start":{"post":{"tags":["external-mocks-cl-120"],"summary":"Start External Mock Series","description":"PR-426 SCALE multi-mock series import — enqueue.\n\nSCALE only. Lower tiers get the locked envelope (matches PR-429\npattern) so the FE can render the upgrade CTA without a 4xx.\n\nPipeline:\n  1. Tier check — non-SCALE returns locked envelope (200)\n  2. Quota check — same _quota_check used by PR-426 (rolling 30d cap)\n     — counted against the SUM of papers in this series, not 1\n  3. Insert parent external_mock_series row at status='queued'\n  4. Insert N external_mock_uploads child rows at status='queued'\n  5. Kick off background `_process_series_async` task\n  6. Return series_id + child upload_ids immediately","operationId":"cl120_pr426_series_start","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SeriesStartBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/external-mocks/{student_id}/series":{"get":{"tags":["external-mocks-cl-120"],"summary":"List External Mock Series","description":"List recent series for this student (most recent first).","operationId":"cl120_pr426_series_list","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/external-mocks/{student_id}/series/{series_id}":{"get":{"tags":["external-mocks-cl-120"],"summary":"Read External Mock Series","description":"Polling endpoint — series counters + per-paper status (including\nextracted_scores once OCR finishes so the FE can render a confirm CTA).","operationId":"cl120_pr426_series_read","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"series_id","in":"path","required":true,"schema":{"type":"string","title":"Series Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/peer/form-groups":{"post":{"tags":["peer_learning"],"summary":"Form Groups","description":"Group a pool of students into complementary study groups.\n\nBody:\n  requesting_student_id: str (for tier gate)\n  students: [{student_id, name, exam_type, subject_mastery: {subj: 0..1}, city_tier?}]\n  group_size: int  (default 3)\n  exam_type:  str  ('JEE_MAIN' | 'NEET' | 'CUET' | '' = no filter)\n\nTier: ACE+ (peer features pay tier). FREE returns a preview locked envelope.","operationId":"form_groups_api_v1_peer_form_groups_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/peer/feynman":{"post":{"tags":["peer_learning"],"summary":"Feynman Evaluate","description":"Evaluate a student's Feynman-technique explanation.\n\nBody:\n  student_id:  str\n  topic:       str   (e.g. 'newton_laws', 'photosynthesis')\n  explanation: str   (≥ ~30 words for a real signal)\n\nReturns: {evaluation: {accuracy, completeness, clarity, depth, overall, verdict, feedback, missing_points}}.\nVerdicts: READY_TO_TEACH (≥0.75) · NEEDS_REVIEW (≥0.50) · SURFACE_ONLY (<0.50).\n\nTier: ACE+. Heavy use is a GROW signal — counts toward `peer_learning` quota.","operationId":"feynman_evaluate_api_v1_peer_feynman_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/peer/session-plan":{"post":{"tags":["peer_learning"],"summary":"Session Plan","description":"Build a 2-hour collaborative session plan for a peer group.\n\nBody:\n  group_id:           str\n  members:            [{student_id, name, exam_type, subject_mastery}]\n  subject_strengths:  {subject: strongest_student_id}\n  requesting_student_id: str (for tier gate)\n\nReturns: 6-block timeline with peer-teaching + mini-mock + error-analysis,\nplus role assignments (TEACHER / QUESTIONER / CHECKER / RECORDER).\n\nTier: ACE+ to receive a structured plan. GROW+ unlocks variant generation.","operationId":"session_plan_api_v1_peer_session_plan_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/peer/mock-compare":{"post":{"tags":["peer_learning"],"summary":"Mock Compare","description":"Compare mock test results across a peer group → identify subject leaders\n+ propose peer-teaching pairs.\n\nBody:\n  group_id: str\n  results:  [{student_id, scores: {physics, chemistry, maths, biology}}]\n  requesting_student_id: str (for tier gate)\n\nReturns: {subject_leaders, average_scores, peer_teaching_pairs}.\nTier: GROW+ — collaborative-mock coordination is the value-add a paying\ncohort would justify.","operationId":"mock_compare_api_v1_peer_mock_compare_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/peer/health":{"get":{"tags":["peer_learning"],"summary":"Peer Health","description":"Lightweight engine reachability ping. Returns engine_unavailable when\nthe registry has no entry for EDU-027 (engine fleet not booted).","operationId":"peer_health_api_v1_peer_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/strengths-weaknesses/{student_id}":{"get":{"tags":["cl095_strengths_weaknesses"],"summary":"Get Strengths Weaknesses","description":"Tier-shaped heatmap + weakness alerts.\n\nResponse shape per tier:\n  FREE  → subject-level heatmap only (3 subjects × {mastery, accuracy, attempts})\n  ACE   → + chapter breakdown (top 6 chapters per subject by attempt count)\n  GROW  → + topic breakdown (top 12 topics by attempts) + bookmark counts\n  SCALE → + sub_topic breakdown where present + JARVIS-hint placeholders\n          (real JARVIS hint generation is a separate engine call; here we\n          return the prompt seeds the FE can submit to /jarvis/chat)\n\nQuery param `depth` (subject/chapter/topic/sub_topic) lets the FE\nrequest a deeper view within tier headroom (e.g. ACE asking for\n`depth=chapter` returns chapter detail; ACE asking for `depth=topic`\nreturns subject + chapter only — silent down-clamp to the tier ceiling).","operationId":"get_strengths_weaknesses_api_v1_strengths_weaknesses__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"depth","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Depth"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/strengths-weaknesses/{student_id}/error-log":{"get":{"tags":["cl095_strengths_weaknesses"],"summary":"Get Error Log","description":"PR-327 SCALE-tier error log — every wrong / partially-correct answer\na student has submitted in the last `days`, unified across three\nsources:\n\n  1. dpp_responses              MCQ wrong answers (is_correct = FALSE)\n  2. grading_results            Single-page subjective < max_score\n  3. grade_paper_questions      Multi-page subjective < max_score\n                                (PR-429 SCALE handwritten flow)\n\nThe 'schema unification' concern flagged in the inventory is\naddressed inline — each source has a slightly different shape; we\nproject them all to a common error-event envelope here, mark the\n`source` per row, and let the FE render uniformly with type-aware\nbadges.\n\nTier gate: SCALE only. ACE/GROW/FREE return a locked envelope so\nthe FE can render an upgrade CTA.","operationId":"get_error_log_api_v1_strengths_weaknesses__student_id__error_log_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":365,"minimum":7,"default":60,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/strengths-weaknesses/{student_id}/trend":{"get":{"tags":["cl095_strengths_weaknesses"],"summary":"Get Strength Trend","description":"PR-330 — accuracy / mastery trend over N weeks, tier-shaped.\n\nTier window:\n  FREE   → 403 tier_locked (upsell to ACE)\n  ACE    → 4 weeks\n  GROW   → 12 weeks\n  SCALE  → unlimited (capped at 104 weeks = 2 years for query sanity)\n\nTrend is computed weekly: each ISO week between max(now − window, first\nattempt) and now produces a row with {week_start, attempts, accuracy,\navg_mastery}. Subject filter is optional; without it the response\naggregates across all subjects.\n\nReplaces the old 'one-shape-for-everyone' trend payload — the\nCL-095_status.md doc previously flagged the GROW/SCALE windows as\nnot differentiated; this endpoint is the fix.","operationId":"get_strength_trend_api_v1_strengths_weaknesses__student_id__trend_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/strengths-weaknesses/{student_id}/smart-replay-seed":{"get":{"tags":["cl095_strengths_weaknesses"],"summary":"Get Smart Replay Seed","description":"PR-326 smart-replay seed (GROW+) — emits the per-student question-set\na downstream mock-generation route can consume to build a \"wrong-items\nreplay\" mock.\n\nReturns:\n  bookmark_question_ids[]      — explicitly bookmarked question_ids\n  recent_wrong_question_ids[]  — last `limit` wrong dpp_responses\n  combined_question_ids[]      — de-duplicated union (bookmarks first)\n  mock_seed_envelope           — shape ready to POST to /test/start\n                                 once that route accepts question_ids[]\n                                 seeding (CL-110 follow-up)\n\nGROW+ gated. FREE/ACE → 403 with upsell.","operationId":"get_smart_replay_seed_api_v1_strengths_weaknesses__student_id__smart_replay_seed_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":5,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/strengths-weaknesses/{student_id}/concepts/{concept_id}/replay-requests":{"post":{"tags":["cl095_strengths_weaknesses"],"summary":"Request Concept Replay","description":"CIS-10 durable replay request for an exact, active OS07 repair episode.\n\nIt is intentionally fail-closed: the caller cannot replay an ambiguous\nconcept, another learner's episode, or an already completed repair.  The row\nis an idempotent learner-intent receipt; completion still requires a separate\nOS07 reassessment and Twin evidence.","operationId":"request_concept_replay_api_v1_strengths_weaknesses__student_id__concepts__concept_id__replay_requests_post","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"concept_id","in":"path","required":true,"schema":{"type":"string","title":"Concept Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["cl095_strengths_weaknesses"],"summary":"List Concept Replay Requests","description":"Learner-safe replay receipt history. No score or answer-key data is exposed.","operationId":"list_concept_replay_requests_api_v1_strengths_weaknesses__student_id__concepts__concept_id__replay_requests_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"concept_id","in":"path","required":true,"schema":{"type":"string","title":"Concept Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/strengths-weaknesses/{student_id}/topic/{topic_id}/narrative":{"get":{"tags":["cl095_strengths_weaknesses"],"summary":"Get Topic Narrative","description":"PR-325 SCALE — per-topic JARVIS narrative. Reads the student's\nmastery + recent-attempt signal for the topic and asks JARVIS to\ncompose a 3-4 sentence explanation of where they stand and what to\ndo next.\n\nSCALE-gated. Best-effort: if JARVIS is unreachable, returns a\ndeterministic fallback built from the Analytics spine or an honest cold-start\nsignal so the surface never blanks.","operationId":"get_topic_narrative_api_v1_strengths_weaknesses__student_id__topic__topic_id__narrative_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"topic_id","in":"path","required":true,"schema":{"type":"string","title":"Topic Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/bookmarks/{student_id}":{"get":{"tags":["cl095_bookmarks"],"summary":"List Bookmarks","description":"List a student's bookmarks, optionally filtered by subject.\nNewest-first; capped at 200.","operationId":"list_bookmarks_api_v1_bookmarks__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"}},{"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":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["cl095_bookmarks"],"summary":"Create Bookmark","description":"Create a bookmark. Idempotent on (student_id, question_id) per\nthe unique index from migration 087 — re-bookmarking the same item\nis a no-op upsert that returns the existing bookmark_id.","operationId":"create_bookmark_api_v1_bookmarks__student_id__post","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/bookmarks/{student_id}/{bookmark_id}":{"delete":{"tags":["cl095_bookmarks"],"summary":"Delete Bookmark","description":"Remove a bookmark. Constrained on (student_id, bookmark_id) so\na malformed call can't delete someone else's bookmark even if the\nJWT-vs-path-id check were ever bypassed.","operationId":"delete_bookmark_api_v1_bookmarks__student_id___bookmark_id__delete","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"bookmark_id","in":"path","required":true,"schema":{"type":"string","title":"Bookmark Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/error-analyzer/{student_id}/session-analysis":{"get":{"tags":["edu-033-error-analyzer"],"summary":"Session Analysis","description":"Single-window error breakdown — for the last `days` of activity.\nUses the rule-based taxonomy without ML clustering.\n\nTier gate: ACE+. FREE returns the upgrade envelope.","operationId":"session_analysis_api_v1_error_analyzer__student_id__session_analysis_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":60,"minimum":1,"default":7,"title":"Days"}},{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/error-analyzer/{student_id}/systemic":{"get":{"tags":["edu-033-error-analyzer"],"summary":"Systemic Report","description":"KMeans-clustered systemic patterns across the student's error history.\n\nTier gate: GROW+. ACE/FREE return upgrade envelope.","operationId":"systemic_report_api_v1_error_analyzer__student_id__systemic_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":180,"minimum":7,"default":30,"title":"Days"}},{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/error-analyzer/{student_id}/trend":{"get":{"tags":["edu-033-error-analyzer"],"summary":"Weekly Trend","description":"EMA-weighted trend across recent sessions.\n\nTier gate: GROW+.","operationId":"weekly_trend_api_v1_error_analyzer__student_id__trend_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":180,"minimum":14,"default":30,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/error-analyzer/{student_id}/prescription":{"get":{"tags":["edu-033-error-analyzer"],"summary":"Prescription","description":"Personalised cluster-aware fix prescription with time budget.\n\nTier gate: SCALE. The actionable personalised plan is the paid value.","operationId":"prescription_api_v1_error_analyzer__student_id__prescription_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":180,"minimum":7,"default":30,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/error-analyzer/{student_id}/root-cause":{"get":{"tags":["edu-033-error-analyzer"],"summary":"Root Cause","description":"Taxonomy-driven root cause for a specific error type. ACE+.","operationId":"root_cause_api_v1_error_analyzer__student_id__root_cause_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"error_type","in":"query","required":true,"schema":{"type":"string","title":"Error Type"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/error-analyzer/health":{"get":{"tags":["edu-033-error-analyzer"],"summary":"Health","operationId":"health_api_v1_error_analyzer_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Health Api V1 Error Analyzer Health Get"}}}}}}},"/api/v1/time-analyzer/health":{"get":{"tags":["edu-034-time-analyzer"],"summary":"Health","operationId":"health_api_v1_time_analyzer_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Health Api V1 Time Analyzer Health Get"}}}}}}},"/api/v1/time-analyzer/{student_id}/session/{session_id}":{"get":{"tags":["edu-034-time-analyzer"],"summary":"Session Analysis","description":"Single-session time analysis. ACE+.\n\nLooks up the session (DPP or mock), pulls per-Q timings, hands them to\nEDU-034, persists the snapshot, forwards fatigue signal to LSCI.","operationId":"session_analysis_api_v1_time_analyzer__student_id__session__session_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/time-analyzer/{student_id}/overtime-topics":{"get":{"tags":["edu-034-time-analyzer"],"summary":"Overtime Topics","description":"KMeans-clustered overtime topics over recent history. GROW+.","operationId":"overtime_topics_api_v1_time_analyzer__student_id__overtime_topics_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":365,"minimum":7,"default":60,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/time-analyzer/{student_id}/pacing-trend":{"get":{"tags":["edu-034-time-analyzer"],"summary":"Pacing Trend","description":"Cross-session fatigue trend from recent snapshots. GROW+.","operationId":"pacing_trend_api_v1_time_analyzer__student_id__pacing_trend_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":180,"minimum":7,"default":30,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/time-analyzer/{student_id}/speed-benchmark":{"get":{"tags":["edu-034-time-analyzer"],"summary":"Speed Benchmark","description":"Personalised vs exam-target speed comparison. ACE+.","operationId":"speed_benchmark_api_v1_time_analyzer__student_id__speed_benchmark_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"exam_type","in":"query","required":false,"schema":{"type":"string","default":"jee_main","title":"Exam Type"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/time-analyzer/{student_id}/exam-day-plan":{"get":{"tags":["edu-034-time-analyzer"],"summary":"Exam Day Plan","description":"Personalised exam-day plan + stop-loss threshold. SCALE only.","operationId":"exam_day_plan_api_v1_time_analyzer__student_id__exam_day_plan_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"exam_type","in":"query","required":false,"schema":{"type":"string","default":"jee_main","title":"Exam Type"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/material-recommender/health":{"get":{"tags":["edu-035-material-recommender"],"summary":"Health","operationId":"health_api_v1_material_recommender_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/material-recommender/{student_id}/topic":{"get":{"tags":["edu-035-material-recommender"],"summary":"Recommend Topic","operationId":"recommend_topic_api_v1_material_recommender__student_id__topic_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"subject","in":"query","required":false,"schema":{"type":"string","default":"physics","title":"Subject"}},{"name":"topic","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Topic"}},{"name":"entry_mode","in":"query","required":false,"schema":{"type":"string","default":"direct_route","title":"Entry Mode"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/material-recommender/{student_id}/plan":{"get":{"tags":["edu-035-material-recommender"],"summary":"Full Plan","operationId":"full_plan_api_v1_material_recommender__student_id__plan_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"subject","in":"query","required":false,"schema":{"type":"string","default":"physics","title":"Subject"}},{"name":"entry_mode","in":"query","required":false,"schema":{"type":"string","default":"direct_route","title":"Entry Mode"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/material-recommender/{student_id}/history":{"get":{"tags":["edu-035-material-recommender"],"summary":"Recommendation History","description":"EDU-035 read-back: the persisted `material_recommendations` rows were written\nby `/topic` but never surfaced (A3-3 write_never_read). Returns a student's recent\nrecommendations from the table (index-covered by `idx_material_recs_student_created`)\nso the panel can show history without a recompute. Closes the elite \"UI surface /\nread-back\" row + the data gap.","operationId":"recommendation_history_api_v1_material_recommender__student_id__history_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/material-recommender/{student_id}/feedback":{"post":{"tags":["edu-035-material-recommender"],"summary":"Feedback","operationId":"feedback_api_v1_material_recommender__student_id__feedback_post","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"entry_mode","in":"query","required":false,"schema":{"type":"string","default":"direct_route","title":"Entry Mode"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/strategy-advisor/{student_id}/what-next":{"get":{"tags":["edu-036-strategy-advisor"],"summary":"What Next","description":"Personalised what-to-study-next strategy. GROW+.","operationId":"what_next_api_v1_strategy_advisor__student_id__what_next_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"exam_type","in":"query","required":false,"schema":{"type":"string","default":"jee_main","title":"Exam Type"}},{"name":"target_rank","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Target Rank"}},{"name":"days_to_exam","in":"query","required":false,"schema":{"type":"integer","maximum":730,"minimum":0,"default":60,"title":"Days To Exam"}},{"name":"entry_mode","in":"query","required":false,"schema":{"type":"string","default":"strategy_simulator","title":"Entry Mode"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/strategy-advisor/{student_id}/feedback":{"post":{"tags":["edu-036-strategy-advisor"],"summary":"Feedback","operationId":"feedback_api_v1_strategy_advisor__student_id__feedback_post","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/strategy-advisor/{student_id}/history":{"get":{"tags":["edu-036-strategy-advisor"],"summary":"Strategy History","description":"EDU-036 read-back: `/what-next` writes an `edu036_strategy_snapshots` row each call\nbut the snapshots were never read back (A3-3 write_never_read), so a student couldn't\nsee how the advisor's strategy evolved over time. Returns recent snapshots (indexed by\n`idx_edu036_strategy_snapshots_student_recent`), JSONB columns parsed back to objects.\nGROW-gated, matching `/what-next`. Closes the elite \"UI surface / read-back\" row + the\ndata gap. Inherits the router-level ownership gate.","operationId":"strategy_history_api_v1_strategy_advisor__student_id__history_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":10,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/revision-planner/{student_id}/today":{"get":{"tags":["edu-032-revision-planner"],"summary":"Today Revision","operationId":"today_revision_api_v1_revision_planner__student_id__today_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"entry_mode","in":"query","required":false,"schema":{"type":"string","default":"coach_daily_plan","title":"Entry Mode"}},{"name":"exam_type","in":"query","required":false,"schema":{"type":"string","default":"jee_main","title":"Exam Type"}},{"name":"horizon_days","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":60,"minimum":0},{"type":"null"}],"title":"Horizon Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/revision-planner/{student_id}/plan/latest":{"get":{"tags":["edu-032-revision-planner"],"summary":"Latest Persisted Plan","description":"EDU-032 read-back: `/today` writes a fresh `edu032_revision_plans` row + items\nevery call but the persisted rows were never read back (A3-3 write_never_read) — so\nper-item `status` changes (mark-done) had nowhere to surface. This returns the most\nrecent saved plan + its items WITH their current status, so the UI reflects progress\ninstead of a stateless recompute. Pairs with the item-status POST below to close the\nwrite→read loop.","operationId":"latest_persisted_plan_api_v1_revision_planner__student_id__plan_latest_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/revision-planner/{student_id}/item/{item_id}/status":{"post":{"tags":["edu-032-revision-planner"],"summary":"Update Item Status","description":"EDU-032 write half of the read-back loop: mark a persisted revision item\ndone/skipped/etc. Scoped to the calling student (WHERE student_id = $2) so a caller\ncan't mutate another student's items even past the path-ownership gate. The new\nstatus is what `/plan/latest` reads back.","operationId":"update_item_status_api_v1_revision_planner__student_id__item__item_id__status_post","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"item_id","in":"path","required":true,"schema":{"type":"integer","title":"Item Id"}},{"name":"status","in":"query","required":true,"schema":{"type":"string","description":"queued | in_progress | done | skipped","title":"Status"},"description":"queued | in_progress | done | skipped"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/causal/health":{"get":{"tags":["eng-063-causal-inference"],"summary":"Causal Health","operationId":"causal_health_api_v1_causal_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Causal Health Api V1 Causal Health Get"}}}}}}},"/api/v1/causal/experiments":{"post":{"tags":["eng-063-causal-inference"],"summary":"Create Experiment","operationId":"create_experiment_api_v1_causal_experiments_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Experiment Api V1 Causal Experiments Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["eng-063-causal-inference"],"summary":"List Experiments","operationId":"list_experiments_api_v1_causal_experiments_get","parameters":[{"name":"operator_student_id","in":"query","required":true,"schema":{"type":"string","title":"Operator Student Id"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Experiments Api V1 Causal Experiments Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/causal/experiments/{experiment_id}/analyze":{"post":{"tags":["eng-063-causal-inference"],"summary":"Analyze Experiment","operationId":"analyze_experiment_api_v1_causal_experiments__experiment_id__analyze_post","parameters":[{"name":"experiment_id","in":"path","required":true,"schema":{"type":"string","title":"Experiment Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Analyze Experiment Api V1 Causal Experiments  Experiment Id  Analyze Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/causal/ad-hoc":{"post":{"tags":["eng-063-causal-inference"],"summary":"Analyze Ad Hoc","operationId":"analyze_ad_hoc_api_v1_causal_ad_hoc_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Analyze Ad Hoc Api V1 Causal Ad Hoc Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/causal/experiments/{experiment_id}/runs":{"get":{"tags":["eng-063-causal-inference"],"summary":"List Experiment Runs","operationId":"list_experiment_runs_api_v1_causal_experiments__experiment_id__runs_get","parameters":[{"name":"experiment_id","in":"path","required":true,"schema":{"type":"string","title":"Experiment Id"}},{"name":"operator_student_id","in":"query","required":true,"schema":{"type":"string","title":"Operator Student Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Experiment Runs Api V1 Causal Experiments  Experiment Id  Runs Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/causal/{student_id}/intervention-effect":{"get":{"tags":["eng-063-causal-inference"],"summary":"Student Intervention Effect","description":"Per-student causal evidence: did a recent intervention (default\nmock_review) improve this student's outcomes?\n\nThis synthesises a treatment/control pair from the student's own\nhistory: sessions WITHIN lookback_days where the intervention fired\nare 'treated', other comparable sessions are 'control'. ATE estimated\nvia doubly_robust over (theta, minutes_studied) covariates if\navailable.","operationId":"student_intervention_effect_api_v1_causal__student_id__intervention_effect_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"intervention","in":"query","required":false,"schema":{"type":"string","description":"Treatment label","default":"mock_review","title":"Intervention"},"description":"Treatment label"},{"name":"lookback_days","in":"query","required":false,"schema":{"type":"integer","maximum":180,"minimum":1,"default":30,"title":"Lookback Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Student Intervention Effect Api V1 Causal  Student Id  Intervention Effect Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/reasoning-graph/health":{"get":{"tags":["eng-064-reasoning-graph"],"summary":"Reasoning Health","operationId":"reasoning_health_api_v1_reasoning_graph_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Reasoning Health Api V1 Reasoning Graph Health Get"}}}}}}},"/api/v1/reasoning-graph/summary":{"get":{"tags":["eng-064-reasoning-graph"],"summary":"Graph Summary","operationId":"graph_summary_api_v1_reasoning_graph_summary_get","parameters":[{"name":"operator_student_id","in":"query","required":true,"schema":{"type":"string","title":"Operator Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Graph Summary Api V1 Reasoning Graph Summary Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/reasoning-graph/{student_id}/next-to-study":{"get":{"tags":["eng-064-reasoning-graph"],"summary":"Next To Study","operationId":"next_to_study_api_v1_reasoning_graph__student_id__next_to_study_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":25,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Next To Study Api V1 Reasoning Graph  Student Id  Next To Study Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/reasoning-graph/{student_id}/weakest-link/{subject}":{"get":{"tags":["eng-064-reasoning-graph"],"summary":"Weakest Link","operationId":"weakest_link_api_v1_reasoning_graph__student_id__weakest_link__subject__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"subject","in":"path","required":true,"schema":{"type":"string","title":"Subject"}},{"name":"threshold","in":"query","required":false,"schema":{"type":"number","maximum":1.0,"minimum":0.0,"default":0.6,"title":"Threshold"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Weakest Link Api V1 Reasoning Graph  Student Id  Weakest Link  Subject  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/reasoning-graph/{student_id}/prereq-chain/{node_id}":{"get":{"tags":["eng-064-reasoning-graph"],"summary":"Prereq Chain","operationId":"prereq_chain_api_v1_reasoning_graph__student_id__prereq_chain__node_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"node_id","in":"path","required":true,"schema":{"type":"string","title":"Node Id"}},{"name":"max_depth","in":"query","required":false,"schema":{"type":"integer","maximum":32,"minimum":1,"default":8,"title":"Max Depth"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Prereq Chain Api V1 Reasoning Graph  Student Id  Prereq Chain  Node Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/reasoning-graph/{student_id}/mistake-propagate":{"post":{"tags":["eng-064-reasoning-graph"],"summary":"Mistake Propagate","operationId":"mistake_propagate_api_v1_reasoning_graph__student_id__mistake_propagate_post","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Mistake Propagate Api V1 Reasoning Graph  Student Id  Mistake Propagate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/reasoning-graph/{student_id}/snapshots":{"get":{"tags":["eng-064-reasoning-graph"],"summary":"Reasoning Snapshots","description":"ENG-064 read-back: `next-to-study` / `weakest-link` / `mistake-propagate` each persist\na `reasoning_graph_snapshots` row but they were never read back (A3-3 write_never_read),\nso the reasoning-graph history was invisible. Returns recent snapshots (indexed by\n`idx_reasoning_graph_snapshots_student`), JSONB columns parsed to objects, ACE-gated.\nInherits the router-level ownership gate. Closes the elite read-back row + the data gap.","operationId":"reasoning_snapshots_api_v1_reasoning_graph__student_id__snapshots_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Reasoning Snapshots Api V1 Reasoning Graph  Student Id  Snapshots Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/syllabus-spine/nodes/{node_ref}/actions":{"get":{"tags":["pack44-syllabus-spine"],"summary":"Resolve Actions","operationId":"resolve_actions_api_v1_syllabus_spine_nodes__node_ref__actions_get","parameters":[{"name":"node_ref","in":"path","required":true,"schema":{"type":"string","title":"Node Ref"}},{"name":"level","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/SyllabusLevel"},{"type":"null"}],"title":"Level"}},{"name":"requested_scope","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Requested Scope"}},{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"}},{"name":"chapter","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chapter"}},{"name":"topic","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Topic"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Resolve Actions Api V1 Syllabus Spine Nodes  Node Ref  Actions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/syllabus-spine/health":{"get":{"tags":["pack44-syllabus-spine"],"summary":"Spine Health","operationId":"spine_health_api_v1_syllabus_spine_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Spine Health Api V1 Syllabus Spine Health Get"}}}}}}},"/api/v1/syllabus-spine/subjects":{"get":{"tags":["pack44-syllabus-spine"],"summary":"List Subjects","operationId":"list_subjects_api_v1_syllabus_spine_subjects_get","parameters":[{"name":"requested_scope","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Requested Scope"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Subjects Api V1 Syllabus Spine Subjects Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/syllabus-spine/nodes/{node_ref}":{"get":{"tags":["pack44-syllabus-spine"],"summary":"Resolve Node","operationId":"resolve_node_api_v1_syllabus_spine_nodes__node_ref__get","parameters":[{"name":"node_ref","in":"path","required":true,"schema":{"type":"string","title":"Node Ref"}},{"name":"level","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/SyllabusLevel"},{"type":"null"}],"title":"Level"}},{"name":"requested_scope","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Requested Scope"}},{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"}},{"name":"chapter","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chapter"}},{"name":"topic","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Topic"}},{"name":"max_graph_depth","in":"query","required":false,"schema":{"type":"integer","maximum":4,"minimum":1,"default":2,"title":"Max Graph Depth"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Resolve Node Api V1 Syllabus Spine Nodes  Node Ref  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/syllabus-spine/nodes/{node_ref}/children":{"get":{"tags":["pack44-syllabus-spine"],"summary":"Resolve Children","operationId":"resolve_children_api_v1_syllabus_spine_nodes__node_ref__children_get","parameters":[{"name":"node_ref","in":"path","required":true,"schema":{"type":"string","title":"Node Ref"}},{"name":"level","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/SyllabusLevel"},{"type":"null"}],"title":"Level"}},{"name":"requested_scope","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Requested Scope"}},{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"}},{"name":"chapter","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chapter"}},{"name":"topic","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Topic"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Resolve Children Api V1 Syllabus Spine Nodes  Node Ref  Children Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/syllabus-spine/nodes/{node_ref}/neighbors":{"get":{"tags":["pack44-syllabus-spine"],"summary":"Resolve Neighbors","operationId":"resolve_neighbors_api_v1_syllabus_spine_nodes__node_ref__neighbors_get","parameters":[{"name":"node_ref","in":"path","required":true,"schema":{"type":"string","title":"Node Ref"}},{"name":"level","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/SyllabusLevel"},{"type":"null"}],"title":"Level"}},{"name":"requested_scope","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Requested Scope"}},{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"}},{"name":"chapter","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chapter"}},{"name":"topic","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Topic"}},{"name":"max_graph_depth","in":"query","required":false,"schema":{"type":"integer","maximum":4,"minimum":1,"default":2,"title":"Max Graph Depth"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Resolve Neighbors Api V1 Syllabus Spine Nodes  Node Ref  Neighbors Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/syllabus-spine/resolve-object":{"post":{"tags":["pack44-syllabus-spine"],"summary":"Resolve Object","operationId":"resolve_object_api_v1_syllabus_spine_resolve_object_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResolveObjectRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Resolve Object Api V1 Syllabus Spine Resolve Object Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/syllabus-spine/search":{"get":{"tags":["pack44-syllabus-spine"],"summary":"Node First Search","operationId":"node_first_search_api_v1_syllabus_spine_search_get","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":120,"title":"Q"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":20,"title":"Limit"}},{"name":"requested_scope","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Requested Scope"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Node First Search Api V1 Syllabus Spine Search Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/syllabus-spine/nodes/{node_ref}/history":{"get":{"tags":["pack44-syllabus-spine"],"summary":"Node History","operationId":"node_history_api_v1_syllabus_spine_nodes__node_ref__history_get","parameters":[{"name":"node_ref","in":"path","required":true,"schema":{"type":"string","title":"Node Ref"}},{"name":"level","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Level"}},{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"}},{"name":"chapter","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chapter"}},{"name":"topic","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Topic"}},{"name":"requested_scope","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Requested Scope"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Node History Api V1 Syllabus Spine Nodes  Node Ref  History Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["pack44-syllabus-spine"],"summary":"Append Node History","operationId":"append_node_history_api_v1_syllabus_spine_nodes__node_ref__history_post","parameters":[{"name":"node_ref","in":"path","required":true,"schema":{"type":"string","title":"Node Ref"}},{"name":"level","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Level"}},{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"}},{"name":"chapter","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chapter"}},{"name":"topic","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Topic"}},{"name":"requested_scope","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Requested Scope"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeActivityCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Append Node History Api V1 Syllabus Spine Nodes  Node Ref  History Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/syllabus-spine/library":{"get":{"tags":["pack44-syllabus-spine"],"summary":"Saved Library","operationId":"saved_library_api_v1_syllabus_spine_library_get","parameters":[{"name":"item_kind","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Item Kind"}},{"name":"node_ref","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Node Ref"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Saved Library Api V1 Syllabus Spine Library Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/syllabus-spine/library/items":{"post":{"tags":["pack44-syllabus-spine"],"summary":"Save Library Item","operationId":"save_library_item_api_v1_syllabus_spine_library_items_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavedItemCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Save Library Item Api V1 Syllabus Spine Library Items Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/syllabus-spine/library/items/{save_id}":{"delete":{"tags":["pack44-syllabus-spine"],"summary":"Delete Library Item","operationId":"delete_library_item_api_v1_syllabus_spine_library_items__save_id__delete","parameters":[{"name":"save_id","in":"path","required":true,"schema":{"type":"string","title":"Save Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/syllabus-spine/nodes/{node_ref}/offline-pack":{"post":{"tags":["pack44-syllabus-spine"],"summary":"Build Offline Topic Pack","operationId":"build_offline_topic_pack_api_v1_syllabus_spine_nodes__node_ref__offline_pack_post","parameters":[{"name":"node_ref","in":"path","required":true,"schema":{"type":"string","title":"Node Ref"}},{"name":"level","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Level"}},{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"}},{"name":"chapter","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chapter"}},{"name":"topic","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Topic"}},{"name":"requested_scope","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Requested Scope"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfflinePackRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Build Offline Topic Pack Api V1 Syllabus Spine Nodes  Node Ref  Offline Pack Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/syllabus-spine/offline-packs/{pack_id}":{"get":{"tags":["pack44-syllabus-spine"],"summary":"Read Offline Topic Pack","operationId":"read_offline_topic_pack_api_v1_syllabus_spine_offline_packs__pack_id__get","parameters":[{"name":"pack_id","in":"path","required":true,"schema":{"type":"string","title":"Pack Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Offline Topic Pack Api V1 Syllabus Spine Offline Packs  Pack Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/traversal/context/validate":{"post":{"tags":["pack44-traversal-context"],"summary":"Validate Context","operationId":"validate_context_api_v1_traversal_context_validate_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TraversalContext"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Validate Context Api V1 Traversal Context Validate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/traversal/context/transition":{"post":{"tags":["pack44-traversal-context"],"summary":"Transition","operationId":"transition_api_v1_traversal_context_transition_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContextTransitionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Transition Api V1 Traversal Context Transition Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/traversal/context/return":{"post":{"tags":["pack44-traversal-context"],"summary":"Return To Previous","operationId":"return_to_previous_api_v1_traversal_context_return_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContextReturnRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Return To Previous Api V1 Traversal Context Return Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/traversal/resume":{"get":{"tags":["pack44-traversal-context"],"summary":"Read Traversal Resume","operationId":"read_traversal_resume_api_v1_traversal_resume_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Traversal Resume Api V1 Traversal Resume Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["pack44-traversal-context"],"summary":"Write Traversal Resume","operationId":"write_traversal_resume_api_v1_traversal_resume_put","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TraversalResumeWrite"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Write Traversal Resume Api V1 Traversal Resume Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["pack44-traversal-context"],"summary":"Clear Traversal Resume","operationId":"clear_traversal_resume_api_v1_traversal_resume_delete","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mixed-practice/start":{"post":{"tags":["cl130_mixed_practice"],"summary":"Start Mixed Practice","description":"Start a mixed-practice session.\n\nBody:\n  student_id:  str (required)\n  mode:        str ('standard' | 'time_pressure'; default 'standard').\n               PR-471: 'time_pressure' tightens the per-question cap by\n               10s and surfaces a `time_pressure: true` flag for the FE.\n  length:      int — override question count (capped at tier limit)\n\nTier shape (per PR-450/455/460/465):\n  FREE  → 100 random questions, no exam-target filter, uniform difficulty\n  ACE   → 50 questions, IRT band around student's avg mastery (±0.20)\n  GROW  → 50 questions cross-subject (≥ N from every subject in target)\n  SCALE → 50 questions cross-subject + 45s/q time pressure","operationId":"start_mixed_practice_api_v1_mixed_practice_start_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mixed-practice/submit":{"post":{"tags":["cl130_mixed_practice"],"summary":"Submit Mixed Practice","description":"Forwards to the canonical /test/submit handler — same answer-key\nlookup against session_answer_keys, same +4/-1/0 marking. Splitting\ninto a separate endpoint keeps the URL surface clean per cluster.\n\nAlso emits `practice.session.completed` once the grader returns, with\nitems_count + completion_pct derived from the answer envelope so the\nanalytics consumer sees the full session lifecycle.","operationId":"submit_mixed_practice_api_v1_mixed_practice_submit_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mixed-practice/track-item":{"post":{"tags":["cl130_mixed_practice"],"summary":"Track Item","description":"Per-item granular tracking (PR-440 §6 / PR-471 §6).\n\nOptional FE hook for per-answer telemetry. Body:\n  {student_id, session_id, item_id, correct, time_taken_s,\n   time_budget_s?, theta_at_serve?}\n\nAlways emits `practice.item.attempted`. When `time_budget_s` is\nprovided and `time_taken_s > time_budget_s`, additionally emits\n`time_pressure.item_under_budget`.\n\nDesigned for fire-and-forget calls — never throws on missing data so\nthe FE doesn't block on telemetry.","operationId":"track_item_api_v1_mixed_practice_track_item_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mixed-practice/analytics/{student_id}":{"get":{"tags":["cl130_mixed_practice"],"summary":"Mixed Practice Analytics","description":"PR-455 Practice analytics dashboard.\n\nAggregates the past N days of mixed-practice sessions into:\n  - session count + completion rate\n  - accuracy trend (overall + last-7 vs prior window)\n  - average time-per-question + time-pressure share\n  - subject-level accuracy breakdown\n  - recent theta proxy via avg accuracy (real IRT theta is in SPRE; this\n    view stays grader-grounded so it works without ENG-005 wired in)\n\nEmpty/new accounts get a clear \"more data unlocks deeper analytics\" hint\nper spec §2.4 edge.","operationId":"mixed_practice_analytics_api_v1_mixed_practice_analytics__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"window_days","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Window Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mixed-practice/decision-tree/{session_id}":{"get":{"tags":["cl130_mixed_practice"],"summary":"Decision Tree","description":"PR-471 §3 SCALE decision-tree analysis.\n\nIdentifies items where time pressure plausibly caused divergence\nfrom the answer the student would have given untimed. Heuristic\n(no real IRT residuals yet — ENG-005 wiring is a separate pass):\n\n  \"pressure-induced miss\" ⇔\n    - the answer was wrong, AND\n    - the question's difficulty was inside the student's recent\n      mastery band (so it's a question they could plausibly get\n      right), AND\n    - the student's avg time-per-question on this session was\n      materially below the cluster baseline (60s) — indicating\n      they were operating under pressure.\n\nReturns per-item rows + aggregate counts. SCALE-only — lower tiers\nget a locked envelope so the FE can render the upgrade CTA.","operationId":"decision_tree_api_v1_mixed_practice_decision_tree__session_id__get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"student_id","in":"query","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mixed-practice/history/{student_id}":{"get":{"tags":["cl130_mixed_practice"],"summary":"Mixed Practice History","description":"Past mixed-practice sessions — filters mock_sessions to test_type='MIXED'.","operationId":"mixed_practice_history_api_v1_mixed_practice_history__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/test/review/{session_id}":{"get":{"tags":["cl115_mock_review"],"summary":"Get Mock Review","operationId":"get_mock_review_api_v1_test_review__session_id__get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/test/review/latest/{student_id}":{"get":{"tags":["cl115_mock_review"],"summary":"Get Latest Mock Review Candidate","operationId":"get_latest_mock_review_candidate_api_v1_test_review_latest__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/test/review/{session_id}/reasoning-traces":{"get":{"tags":["cl115_mock_review"],"summary":"Get Mock Reasoning Traces","operationId":"get_mock_reasoning_traces_api_v1_test_review__session_id__reasoning_traces_get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":25,"minimum":1,"default":10,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/test/review/{session_id}/questions":{"get":{"tags":["cl115_mock_review"],"summary":"Get Mock Review Questions","operationId":"get_mock_review_questions_api_v1_test_review__session_id__questions_get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/test/review/{session_id}/questions/{question_id}/tag":{"post":{"tags":["cl115_mock_review"],"summary":"Tag Mock Review Question","description":"Loop 3 review beat: student labels why a wrong/skipped mock item failed.\n\nThis writes a real `mistake_events` row with source=`mock_review`, so\nWeak Spots / Analytics OS / later plan reads consume the review action\ninstead of the Q-by-Q screen being a dead-end. Correct answers are rejected;\nreview tags are for repair evidence only.","operationId":"tag_mock_review_question_api_v1_test_review__session_id__questions__question_id__tag_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"question_id","in":"path","required":true,"schema":{"type":"string","title":"Question Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MockReviewQuestionTagBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mock-marking-bench/request":{"post":{"tags":["mock_marking_bench"],"summary":"Request Marking Review","description":"request_marking_review + preflight_attempt_and_rights + submit_redacted_packet.\n\nPreflight: a READY ORDER for this paper and mode (paid, included in the plan, or allowed by AspireACE), the beneficiary\nrelationship, and that the referenced mock session belongs to the beneficiary and is completed. The packet handed to a\nhuman reviewer is redacted to a digest; raw answers/questions never leave the Mock Session Authority.\n\nThree modes (the order says which): AI only (the AI marks at once, no human), teacher only (a vetted marker), AI plus\nteacher (the AI marks first, a marker reviews and signs). The order is spent in the same transaction that writes the\nrequest, so a failure anywhere leaves the order unspent and nothing is charged twice.","operationId":"request_marking_review_api_v1_mock_marking_bench_request_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkingBenchRequestBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mock-marking-bench/{request_id}":{"get":{"tags":["mock_marking_bench"],"summary":"Read Marking Bench Request","operationId":"read_marking_bench_request_api_v1_mock_marking_bench__request_id__get","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mock-marking-bench/{request_id}/clarifications":{"post":{"tags":["mock_marking_bench"],"summary":"Issue Marking Request Clarification Route","description":"A reserved, currently admitted reviewer issues a child clarification.\n\nThis is separate from creating a marking request or recording its review.\nThe source transaction binds the child to the exact current Mock request\nand sealed submission before it can be answered by the learner.","operationId":"issue_marking_request_clarification_route_api_v1_mock_marking_bench__request_id__clarifications_post","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkingRequestClarificationIssue"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["mock_marking_bench"],"summary":"Read Marking Request Clarifications","description":"Reviewer-only read of clarifications on their exact active Mock request.","operationId":"read_marking_request_clarifications_api_v1_mock_marking_bench__request_id__clarifications_get","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mock-marking-bench/{request_id}/record-review":{"post":{"tags":["mock_marking_bench"],"summary":"Record Review Or Abstain","description":"record_review_or_abstain — the reviewer's own action.\n\nA real reviewer identity/role authority is one of the adoption gaps the\nspec names (\"qualified reviewer... purpose\"). Until that authority is\nadopted this refuses everyone except the reviewer already reserved onto\nthis request, which is the one relationship this migration can prove.","operationId":"record_review_or_abstain_api_v1_mock_marking_bench__request_id__record_review_post","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkingBenchRecordReviewBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mock-marking-bench/{request_id}/review":{"get":{"tags":["mock_marking_bench"],"summary":"Read Marking Review","description":"The review itself, for the student it is about (or their linked parent).\n\nOwnership first, state second: a stranger is refused before learning\nwhether a review exists. The review is advice; it never changes the mock\nscore, which the Mock Session Authority still owns.\n\nUp to two parts: the AI's marking (there from the moment the request is made, in the two modes that use the AI, even\nwhile a marker is still being found) and the marker's signed review (once recorded).","operationId":"read_marking_review_api_v1_mock_marking_bench__request_id__review_get","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mock-marking-bench/{request_id}/deliver":{"post":{"tags":["mock_marking_bench"],"summary":"Deliver Review","description":"deliver_review — hands the reviewed packet to the beneficiary or their\nauthorised parent. The review is advisory: it never rewrites the mock\nscore/result, which the existing Mock Session Authority still owns.","operationId":"deliver_review_api_v1_mock_marking_bench__request_id__deliver_post","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mock-marking-bench/{request_id}/cancel":{"post":{"tags":["mock_marking_bench"],"summary":"Cancel Marking Review","description":"cancel_or_dispute (cancel branch). Releases any reserved reviewer\ncapacity back to grader_reviewer_supply rather than leaking it.","operationId":"cancel_marking_review_api_v1_mock_marking_bench__request_id__cancel_post","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkingBenchCancelBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mock-marking-bench/{request_id}/dispute":{"post":{"tags":["mock_marking_bench"],"summary":"Dispute Marking Review","description":"cancel_or_dispute (dispute branch) + reconcile_unknown_effect entry\npoint: a delivered/reviewed mark the beneficiary contests moves to\nRECONCILING pending the still-unadopted retained score/regrade owner\n(named residual — see module docstring).","operationId":"dispute_marking_review_api_v1_mock_marking_bench__request_id__dispute_post","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkingBenchDisputeBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mock-marking-bench/{request_id}/switch-to-ai":{"post":{"tags":["mock_marking_bench"],"summary":"Switch To Ai","description":"No marker is free (or the marker has not opened the paper yet): take the AI's marking instead.\n\nThe AI marks now (once; an AI plus teacher request already has its AI part). The place held for a marker is given back.\nIf money was paid, the difference between what was paid and the AI price is recorded as owed back to the buyer; this\nsystem does not send it. Allowed while the paper is waiting (no marker free, a marker assigned but not yet opened it,\nor a marker who declined); once a marker has opened the paper, only they can finish it.","operationId":"switch_to_ai_api_v1_mock_marking_bench__request_id__switch_to_ai_post","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mock-marking-bench/reviewer/queue":{"get":{"tags":["mock_marking_bench_reviewer"],"summary":"Reviewer Queue","description":"Requests reserved to the signed-in reviewer. No student name, id or email.","operationId":"reviewer_queue_api_v1_mock_marking_bench_reviewer_queue_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mock-marking-bench/{request_id}/packet":{"get":{"tags":["mock_marking_bench_reviewer"],"summary":"Reviewer Packet","description":"The redacted attempt, for the one reviewer it is reserved to.\n\nQuestion ids, question text and the learner's answers - with the student's\nname, id, class, school and the mock's score left out. Read every time, never\nstored. An unreadable attempt returns a typed `packet_unavailable` reason\ninstead of an empty list the reviewer might mistake for \"answered nothing\".","operationId":"reviewer_packet_api_v1_mock_marking_bench__request_id__packet_get","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mock-marking-bench/reviewer/sweep-stale":{"post":{"tags":["mock_marking_bench_reviewer"],"summary":"Sweep Stale Endpoint","description":"Operator trigger for the same sweep. Owner or admin only.","operationId":"sweep_stale_endpoint_api_v1_mock_marking_bench_reviewer_sweep_stale_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mock-marking/modes":{"get":{"tags":["mock_marking_modes"],"summary":"Get Modes","operationId":"get_modes_api_v1_mock_marking_modes_get","parameters":[{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mock-marking/orders":{"post":{"tags":["mock_marking_modes"],"summary":"Create Order","description":"Record an order. Asking again for the same paper and mode returns the same order. No money moves.","operationId":"create_order_api_v1_mock_marking_orders_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string","minLength":8,"maxLength":160},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["mock_marking_modes"],"summary":"My Orders","operationId":"my_orders_api_v1_mock_marking_orders_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mock-marking/orders/{order_id}":{"get":{"tags":["mock_marking_modes"],"summary":"Get Order","operationId":"get_order_api_v1_mock_marking_orders__order_id__get","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","title":"Order Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mock-marking/orders/{order_id}/pay":{"post":{"tags":["mock_marking_modes"],"summary":"Pay Order","description":"Open a checkout. While payments are closed the answer is a plain refusal, the order stays as it was, nothing is charged.","operationId":"pay_order_api_v1_mock_marking_orders__order_id__pay_post","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","title":"Order Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mock-marking/orders/{order_id}/cancel":{"post":{"tags":["mock_marking_modes"],"summary":"Cancel Order","operationId":"cancel_order_api_v1_mock_marking_orders__order_id__cancel_post","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","title":"Order Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/mock_marking_modes_routes__CancelBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mock-marking/markers/me":{"get":{"tags":["mock_marking_modes"],"summary":"Marker Me","operationId":"marker_me_api_v1_mock_marking_markers_me_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mock-marking/markers/apply":{"post":{"tags":["mock_marking_modes"],"summary":"Marker Apply","operationId":"marker_apply_api_v1_mock_marking_markers_apply_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string","minLength":8,"maxLength":160},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplyBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mock-marking/markers/apply/withdraw":{"post":{"tags":["mock_marking_modes"],"summary":"Marker Withdraw","operationId":"marker_withdraw_api_v1_mock_marking_markers_apply_withdraw_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mock-marking/markers/me/availability":{"post":{"tags":["mock_marking_modes"],"summary":"Marker Availability","operationId":"marker_availability_api_v1_mock_marking_markers_me_availability_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/mock_marking_modes_routes__AvailabilityBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/school-talent-test/programmes":{"post":{"tags":["school_talent_test"],"summary":"Preflight Programme","description":"preflight_programme — an institution declares a programme. DRAFT until\npublished; nothing is visible or joinable yet.","operationId":"preflight_programme_api_v1_school_talent_test_programmes_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProgrammeCreateBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/school-talent-test/programmes/{programme_id}/publish":{"post":{"tags":["school_talent_test"],"summary":"Publish Comparable Event","operationId":"publish_comparable_event_api_v1_school_talent_test_programmes__programme_id__publish_post","parameters":[{"name":"programme_id","in":"path","required":true,"schema":{"type":"string","title":"Programme Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/school-talent-test/programmes/{programme_id}":{"get":{"tags":["school_talent_test"],"summary":"Read Programme","operationId":"read_programme_api_v1_school_talent_test_programmes__programme_id__get","parameters":[{"name":"programme_id","in":"path","required":true,"schema":{"type":"string","title":"Programme Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/school-talent-test/programmes/{programme_id}/enrolments":{"post":{"tags":["school_talent_test"],"summary":"Enrol Student","description":"enrol_or_withdraw (enrol branch). Fails closed without a roster source\nand a consent reference — real consent-store integration is a named\nresidual (BUILD_WORK: this checks presence, not a verified consent\nrecord, since no consent ledger for institution-driven enrolment exists\nyet). Never enrols a student the roster does not name.","operationId":"enrol_student_api_v1_school_talent_test_programmes__programme_id__enrolments_post","parameters":[{"name":"programme_id","in":"path","required":true,"schema":{"type":"string","title":"Programme Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrolBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/school-talent-test/programmes/{programme_id}/enrolments/{student_id}":{"delete":{"tags":["school_talent_test"],"summary":"Withdraw Student","operationId":"withdraw_student_api_v1_school_talent_test_programmes__programme_id__enrolments__student_id__delete","parameters":[{"name":"programme_id","in":"path","required":true,"schema":{"type":"string","title":"Programme Id"}},{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/school-talent-test/programmes/{programme_id}/sittings":{"post":{"tags":["school_talent_test"],"summary":"Link Eligible Sitting","description":"atomically_start_eligible_attempt. Never starts a clock itself — the\nmock_session_id must already have been created by the existing Mock\nSession Authority (`/api/v1/test/start`). This only proves eligibility\n(published programme + active enrolment) and records the linkage once.","operationId":"link_eligible_sitting_api_v1_school_talent_test_programmes__programme_id__sittings_post","parameters":[{"name":"programme_id","in":"path","required":true,"schema":{"type":"string","title":"Programme Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SittingLinkBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/school-talent-test/programmes/{programme_id}/sittings/{sitting_id}/submit":{"post":{"tags":["school_talent_test"],"summary":"Submit Sitting","operationId":"submit_sitting_api_v1_school_talent_test_programmes__programme_id__sittings__sitting_id__submit_post","parameters":[{"name":"programme_id","in":"path","required":true,"schema":{"type":"string","title":"Programme Id"}},{"name":"sitting_id","in":"path","required":true,"schema":{"type":"string","title":"Sitting Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/school-talent-test/programmes/{programme_id}/close":{"post":{"tags":["school_talent_test"],"summary":"Close Population","description":"close_population then compute_or_withhold_rank in one step: closing a\nprogramme always evaluates rank eligibility immediately, and for a single\nparticipating institution it is never comparable (see module docstring).","operationId":"close_population_api_v1_school_talent_test_programmes__programme_id__close_post","parameters":[{"name":"programme_id","in":"path","required":true,"schema":{"type":"string","title":"Programme Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/school-talent-test/programmes/{programme_id}/rank":{"get":{"tags":["school_talent_test"],"summary":"Issue Or Supersede Result","description":"issue_or_supersede_result — reads the current rank publication state.\nToday this is always RANK_WITHHELD with the reason named plainly; the\nschema (`superseded_by`) is ready for a future adopted comparable\npopulation without a rewrite.","operationId":"issue_or_supersede_result_api_v1_school_talent_test_programmes__programme_id__rank_get","parameters":[{"name":"programme_id","in":"path","required":true,"schema":{"type":"string","title":"Programme Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/drills":{"post":{"tags":["pracimp-pr02-drill-authority"],"summary":"Create Drill","operationId":"create_drill_api_v1_drills_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DrillCreateRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Drill Api V1 Drills Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/drills/{drill_id}":{"get":{"tags":["pracimp-pr02-drill-authority"],"summary":"Get Drill","operationId":"get_drill_api_v1_drills__drill_id__get","parameters":[{"name":"drill_id","in":"path","required":true,"schema":{"type":"string","title":"Drill Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Drill Api V1 Drills  Drill Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/drills/{drill_id}/next":{"get":{"tags":["pracimp-pr02-drill-authority"],"summary":"Get Next","operationId":"get_next_api_v1_drills__drill_id__next_get","parameters":[{"name":"drill_id","in":"path","required":true,"schema":{"type":"string","title":"Drill Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Next Api V1 Drills  Drill Id  Next Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/drills/{drill_id}/answers":{"post":{"tags":["pracimp-pr02-drill-authority"],"summary":"Answer Drill","operationId":"answer_drill_api_v1_drills__drill_id__answers_post","parameters":[{"name":"drill_id","in":"path","required":true,"schema":{"type":"string","title":"Drill Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DrillAnswerRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Answer Drill Api V1 Drills  Drill Id  Answers Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/drills/{drill_id}/complete":{"post":{"tags":["pracimp-pr02-drill-authority"],"summary":"Complete Drill","operationId":"complete_drill_api_v1_drills__drill_id__complete_post","parameters":[{"name":"drill_id","in":"path","required":true,"schema":{"type":"string","title":"Drill Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DrillCompleteRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Complete Drill Api V1 Drills  Drill Id  Complete Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/drills/{drill_id}/result":{"get":{"tags":["pracimp-pr02-drill-authority"],"summary":"Get Drill Result","operationId":"get_drill_result_api_v1_drills__drill_id__result_get","parameters":[{"name":"drill_id","in":"path","required":true,"schema":{"type":"string","title":"Drill Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Drill Result Api V1 Drills  Drill Id  Result Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/drills/{drill_id}/review":{"get":{"tags":["pracimp-pr02-drill-authority"],"summary":"Get Drill Review","description":"Per-question review. Opens only once the drill has a sealed result, so the\nright answers are never served while the drill can still be answered.","operationId":"get_drill_review_api_v1_drills__drill_id__review_get","parameters":[{"name":"drill_id","in":"path","required":true,"schema":{"type":"string","title":"Drill Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Drill Review Api V1 Drills  Drill Id  Review Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/practice/drills/{drill_id}/reassessments":{"post":{"tags":["pracimp-pr02-internal"],"summary":"Publish Reassessment","operationId":"publish_reassessment_internal_v1_practice_drills__drill_id__reassessments_post","parameters":[{"name":"drill_id","in":"path","required":true,"schema":{"type":"string","title":"Drill Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DrillReassessmentRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Publish Reassessment Internal V1 Practice Drills  Drill Id  Reassessments Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/practice/drills/{drill_id}/corrections":{"post":{"tags":["pracimp-pr02-internal"],"summary":"Correct Drill","operationId":"correct_drill_internal_v1_practice_drills__drill_id__corrections_post","parameters":[{"name":"drill_id","in":"path","required":true,"schema":{"type":"string","title":"Drill Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DrillCorrectionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Correct Drill Internal V1 Practice Drills  Drill Id  Corrections Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/practice/drills/{drill_id}/readback":{"get":{"tags":["pracimp-pr02-internal"],"summary":"Readback Drill","operationId":"readback_drill_internal_v1_practice_drills__drill_id__readback_get","parameters":[{"name":"drill_id","in":"path","required":true,"schema":{"type":"string","title":"Drill Id"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Readback Drill Internal V1 Practice Drills  Drill Id  Readback Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/drill/start":{"post":{"tags":["cl145_targeted_drill"],"summary":"Start Drill","description":"Start a targeted drill session.\n\nBody:\n  student_id:    str (required)\n  subject:       str (required if topic given; auto-resolved from suggest if not)\n  topic:         str (optional — ACE+ auto-picks weakest if missing)\n  topics:        List[str] (PR-540 SCALE multi-concept — explicit list of\n                 2-4 weak topics the user picked. Overrides the single-\n                 topic + auto-stitch path when present. SCALE-only;\n                 ignored on lower tiers.)\n  mode:          str ('standard' | 'sharpen'; default 'standard')\n                 'sharpen' forces SCALE staircase even on lower tiers\n                 (no-op since the staircase is SCALE-gated below)\n\nTier shape:\n  FREE  → 10Q on student-picked topic only (errors if none + no auto-pick)\n  ACE+  → 10Q; auto-picks weakest topic if none supplied (PR-545)\n  GROW+ → 12Q stitching 2 related topics in addition to primary (PR-550)\n  SCALE → 15Q across 3 difficulty buckets — easy/medium/hard (PR-555)\n         + multi-concept (PR-540): if `topics` array supplied, drill\n         covers those concepts directly (no auto-stitch). Each question\n         carries `target_topic` so the FE can render a per-topic\n         accuracy breakdown after submit.","operationId":"start_drill_api_v1_drill_start_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/drill/submit":{"post":{"tags":["cl145_targeted_drill"],"summary":"Submit Drill","description":"Forward to the canonical /test/submit handler — same answer-key\nlookup against session_answer_keys, same +4/-1/0 marking. Splitting\ninto a separate URL keeps the cluster surface clean.","operationId":"submit_drill_api_v1_drill_submit_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/drill/chapters":{"get":{"tags":["cl145_targeted_drill"],"summary":"Drill Chapter Catalog","description":"Chapter catalog for the drill picker (chapter-drill library door).\n\nThe qbank remains the chapter vocabulary, but it is not sufficient proof\nthat the live drill creator can serve a chapter.  The creator requires at\nleast three active questions with an active permanent concept and an\nanswer, matched on the exact chapter/topic scope.  Reconcile the qbank\ncatalog against that same live eligibility rule before exposing a picker\nentry; otherwise a learner can select a chapter and immediately receive\n``no_eligible_exact_scope_supply``.","operationId":"drill_chapter_catalog_api_v1_drill_chapters_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/drill/suggest/{student_id}":{"get":{"tags":["cl145_targeted_drill"],"summary":"Suggest Drill Topics","description":"Return the student's weakest topics with available-question counts.\n\nThe PR-540 FREE flow uses this to populate a topic picker. The PR-545\nACE+ auto-trigger short-circuits this — if no topic_filter is passed\nto /start, the BFF auto-picks suggestions[0] (the weakest). FE just\nforwards the user's manual pick when present.\n\nRanking: ascending mastery_score within attempt_count >= 5\n(statistically meaningful sample). Ties broken by descending\nattempt_count so high-effort low-mastery topics float to the top.\nTopics with zero available questions in the bank are filtered out.","operationId":"suggest_drill_topics_api_v1_drill_suggest__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":20,"minimum":1,"default":8,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/drill/next-set":{"post":{"tags":["cl145_targeted_drill"],"summary":"Next Drill Set","description":"PR-535 — the next set in an adaptive drill arc (GROW+).\n\nOn a completed set, tune the next set to how the student just did: escalate\n(harder + a stitched related topic) on a strong set, consolidate on a mid set,\nor ease back to the basics on a weak one. Capped at DRILL_MAX_ROUNDS. Reuses the\nPR-545/PR-550 selection + the same persistence as /start.\n\nBody: student_id, subject, topic, round (1-indexed, the set just finished),\n      + accuracy OR correct/attempted (the just-finished result).","operationId":"next_drill_set_api_v1_drill_next_set_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/drill/history/{student_id}":{"get":{"tags":["cl145_targeted_drill"],"summary":"Drill History","description":"Past drill sessions — filters mock_sessions to test_type='DRILL'.","operationId":"drill_history_api_v1_drill_history__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/custom-test/feasibility":{"post":{"tags":["cl130_custom_test"],"summary":"Custom Test Feasibility","description":"Live feasibility strip for the Builder — UNGATED so FREE/ACE see a useful\nsample (never a blurred wall). Building moves nothing; this is read-only.","operationId":"custom_test_feasibility","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeasibilityRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/custom-test/compose":{"post":{"tags":["cl130_custom_test"],"summary":"Custom Test Compose","description":"The compose commit point + the GROW gate (re-checked here for deep-link\nguard). DENIED (FREE/ACE) → 403 lock envelope with a visible upgrade + a real\nfree taster + free alternatives. ALLOWED (GROW+) → the composed-set reveal:\nfeasibility-true count + difficulty-vs-θ marker. Still no mastery claim —\ncomposing/previewing moves nothing.","operationId":"custom_test_compose","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComposeRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/custom-test/personal-paper":{"get":{"tags":["cl130_custom_test"],"summary":"Custom Test Personal Paper Door","description":"DOOR-31, for the student who is signed in.\n\nThe door could always be *spent* — compose has reserved and redeemed a paper\ncredit since 2026-08-13 — but nothing could be *seen*: a student holding five\npaid papers was shown the same below-GROW taster as a student holding none,\nbecause the screen read the tier and never the purchase. This is the read the\nscreen was missing.\n\nThe learner is the session: no student id in the path, so one student can\nnever read another's papers. Read-only — nothing is reserved here, and a\npaper is only ever spent by a compose that succeeded.","operationId":"custom_test_personal_paper_door","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/custom-test/taster":{"post":{"tags":["cl130_custom_test"],"summary":"Custom Test Taster","description":"A REAL free 5-question taster (UNGATED) so the lock *demonstrates* the\nproduct. The scope runs through the shared runner (/dpp/start) and scores into\nthe one shared θ on submit — a genuine attempt, never a blurred preview.","operationId":"custom_test_taster","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TasterRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/custom-test/taster/status":{"get":{"tags":["cl130_custom_test"],"summary":"Custom Test Taster Status","description":"What this signed-in student can start today, for the Custom Test screen.\n\nA student who already has the full builder (GROW and above, or the paid-tier gates\nare open, in which case the session tier arrives as SCALE) gets ``mode: full`` and is\nnever limited. Anyone else gets the weekly five-question taster: ``available`` says\nwhether it can be started now, and ``next_available_at`` says when it opens again.\nRead-only. The limit itself is enforced when the test launches, not here.","operationId":"custom_test_taster_status","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/custom-test/print-programmes/{programme_ref}/scope":{"get":{"tags":["cl130_print_assignment"],"summary":"View Programme Scope","operationId":"custom_test_print_view_programme_scope","parameters":[{"name":"programme_ref","in":"path","required":true,"schema":{"type":"string","title":"Programme Ref"}},{"name":"sitting_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sitting Id"}},{"name":"embed","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Embed"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/custom-test/print-programmes/{programme_ref}/assignments":{"post":{"tags":["cl130_print_assignment"],"summary":"Request Assignment","operationId":"custom_test_print_request_assignment","parameters":[{"name":"programme_ref","in":"path","required":true,"schema":{"type":"string","title":"Programme Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrintAssignmentBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/custom-test/print-assignments/{assignment_ref}/compose":{"post":{"tags":["cl130_print_assignment"],"summary":"Compose Unique Paper","operationId":"custom_test_print_compose_unique_paper","parameters":[{"name":"assignment_ref","in":"path","required":true,"schema":{"type":"string","title":"Assignment Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdempotentBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/custom-test/print-assignments/{assignment_ref}/render-approval":{"post":{"tags":["cl130_print_assignment"],"summary":"Approve Render","operationId":"custom_test_print_approve_render","parameters":[{"name":"assignment_ref","in":"path","required":true,"schema":{"type":"string","title":"Assignment Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdempotentBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/custom-test/print-assignments/{assignment_ref}/fulfilment-receipt":{"get":{"tags":["cl130_print_assignment"],"summary":"Read Fulfilment Receipt","operationId":"custom_test_print_read_fulfilment_receipt","parameters":[{"name":"assignment_ref","in":"path","required":true,"schema":{"type":"string","title":"Assignment Ref"}},{"name":"embed","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Embed"}},{"name":"provider_known","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Provider Known"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/custom-test/print-assignments/{assignment_ref}/exports":{"post":{"tags":["cl130_print_assignment"],"summary":"Request Pdf Export","operationId":"custom_test_print_request_pdf_export","parameters":[{"name":"assignment_ref","in":"path","required":true,"schema":{"type":"string","title":"Assignment Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdempotentBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/custom-test/print-assignments/{assignment_ref}/withdraw-before-effect":{"post":{"tags":["cl130_print_assignment"],"summary":"Withdraw Before Effect","operationId":"custom_test_print_withdraw_before_effect","parameters":[{"name":"assignment_ref","in":"path","required":true,"schema":{"type":"string","title":"Assignment Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdempotentBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/custom-test/print-assignments":{"get":{"tags":["cl130_print_assignment"],"summary":"List Assignments","description":"The signed-in student's own papers. Identity is the session, never a path.","operationId":"custom_test_print_list_assignments","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/custom-test/print-assignments/{assignment_ref}/pdf":{"get":{"tags":["cl130_print_assignment"],"summary":"Download Paper Pdf","description":"The student's own paper file. 403 for another student's paper; 409 until authorised.","operationId":"custom_test_print_download_paper_pdf","parameters":[{"name":"assignment_ref","in":"path","required":true,"schema":{"type":"string","title":"Assignment Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/custom-test/worksheets/scope":{"get":{"tags":["cl130_printable_worksheet"],"summary":"View Scope","operationId":"custom_test_worksheet_view_scope","parameters":[{"name":"sitting_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sitting Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/custom-test/worksheets":{"post":{"tags":["cl130_printable_worksheet"],"summary":"Request Worksheet","operationId":"custom_test_request_worksheet","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorksheetRequestBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["cl130_printable_worksheet"],"summary":"List Worksheets","description":"The signed-in student's own worksheets. Identity is the session, never a path.","operationId":"custom_test_worksheet_list","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/custom-test/worksheets/{worksheet_ref}/render":{"post":{"tags":["cl130_printable_worksheet"],"summary":"Compose Render","operationId":"custom_test_worksheet_compose_render","parameters":[{"name":"worksheet_ref","in":"path","required":true,"schema":{"type":"string","title":"Worksheet Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorksheetOpBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/custom-test/worksheets/{worksheet_ref}/delivery-approval":{"post":{"tags":["cl130_printable_worksheet"],"summary":"Approve Delivery","operationId":"custom_test_worksheet_approve_delivery","parameters":[{"name":"worksheet_ref","in":"path","required":true,"schema":{"type":"string","title":"Worksheet Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorksheetOpBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/custom-test/worksheets/{worksheet_ref}/receipt":{"get":{"tags":["cl130_printable_worksheet"],"summary":"Read Receipt","operationId":"custom_test_worksheet_read_receipt","parameters":[{"name":"worksheet_ref","in":"path","required":true,"schema":{"type":"string","title":"Worksheet Ref"}},{"name":"embed","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Embed"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/custom-test/worksheets/{worksheet_ref}/cancel-before-effect":{"post":{"tags":["cl130_printable_worksheet"],"summary":"Cancel Before Effect","operationId":"custom_test_worksheet_cancel_before_effect","parameters":[{"name":"worksheet_ref","in":"path","required":true,"schema":{"type":"string","title":"Worksheet Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorksheetOpBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/custom-test/worksheets/{worksheet_ref}/pdf":{"get":{"tags":["cl130_printable_worksheet"],"summary":"Download Pdf","description":"The rendered PDF. 403 for another student's sheet; 409 until it is rendered.","operationId":"custom_test_worksheet_download_pdf","parameters":[{"name":"worksheet_ref","in":"path","required":true,"schema":{"type":"string","title":"Worksheet Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/context/{student_id}":{"get":{"tags":["cbse_marks_os"],"summary":"Get Cbse Context","operationId":"get_cbse_context_api_v1_cbse_context__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"entry_mode","in":"query","required":false,"schema":{"type":"string","default":"direct","title":"Entry Mode"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/subjects":{"get":{"tags":["cbse_marks_os"],"summary":"Get Subjects","operationId":"get_subjects_api_v1_cbse_subjects_get","parameters":[{"name":"class_level","in":"query","required":true,"schema":{"type":"integer","title":"Class Level"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/marks-command/{student_id}":{"get":{"tags":["cbse_marks_os"],"summary":"Get Marks Command","operationId":"get_marks_command_api_v1_cbse_marks_command__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"entry_mode","in":"query","required":false,"schema":{"type":"string","default":"direct","title":"Entry Mode"}},{"name":"class_level","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Class Level"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/source-manifest":{"get":{"tags":["cbse_marks_os"],"summary":"Get Source Manifest","operationId":"get_source_manifest_api_v1_cbse_source_manifest_get","parameters":[{"name":"class_level","in":"query","required":true,"schema":{"type":"integer","title":"Class Level"}},{"name":"subject","in":"query","required":true,"schema":{"type":"string","title":"Subject"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/signals":{"post":{"tags":["cbse_marks_os"],"summary":"Post Signal","operationId":"post_signal_api_v1_cbse_signals_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/signals/{student_id}":{"get":{"tags":["cbse_marks_os"],"summary":"List Signals","operationId":"list_signals_api_v1_cbse_signals__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"class_level","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Class Level"}},{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/calculations":{"post":{"tags":["cbse_marks_os"],"summary":"Post Calculation","operationId":"post_calculation_api_v1_cbse_calculations_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/calculations/history/{student_id}":{"get":{"tags":["cbse_marks_os"],"summary":"Calculation History","operationId":"calculation_history_api_v1_cbse_calculations_history__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"}},{"name":"class_level","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Class Level"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/calculations/{receipt_id}":{"get":{"tags":["cbse_marks_os"],"summary":"Get Calculation","operationId":"get_calculation_api_v1_cbse_calculations__receipt_id__get","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","title":"Receipt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/lost-marks/{student_id}":{"get":{"tags":["cbse_marks_os"],"summary":"Get Lost Marks","operationId":"get_lost_marks_api_v1_cbse_lost_marks__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"class_level","in":"query","required":true,"schema":{"type":"integer","title":"Class Level"}},{"name":"subject","in":"query","required":true,"schema":{"type":"string","title":"Subject"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/almanac/catalogue":{"get":{"tags":["predict-almanac"],"summary":"Catalogue","operationId":"catalogue_api_v1_predict_almanac_catalogue_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Catalogue Api V1 Predict Almanac Catalogue Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/almanac/colleges":{"get":{"tags":["predict-almanac"],"summary":"Colleges","operationId":"colleges_api_v1_predict_almanac_colleges_get","parameters":[{"name":"exam_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Exam Type"}},{"name":"body_key","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body Key"}},{"name":"year","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Year"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Colleges Api V1 Predict Almanac Colleges Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/almanac/college":{"get":{"tags":["predict-almanac"],"summary":"College","operationId":"college_api_v1_predict_almanac_college_get","parameters":[{"name":"exam_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Exam Type"}},{"name":"body_key","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body Key"}},{"name":"year","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Year"}},{"name":"college_key","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"College Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response College Api V1 Predict Almanac College Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/almanac/season-facts":{"get":{"tags":["predict-almanac"],"summary":"Season Facts","description":"Dates, fees and refund rules a counselling body published for one season, with page and quote.","operationId":"season_facts_api_v1_predict_almanac_season_facts_get","parameters":[{"name":"body_key","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body Key"}},{"name":"year","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Year"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Season Facts Api V1 Predict Almanac Season Facts Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/almanac/home-state-gap":{"get":{"tags":["predict-almanac"],"summary":"Home State Gap","description":"Home-state versus other-state closing ranks of one college, from the same published file.","operationId":"home_state_gap_api_v1_predict_almanac_home_state_gap_get","parameters":[{"name":"exam_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Exam Type"}},{"name":"body_key","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body Key"}},{"name":"year","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Year"}},{"name":"college_key","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"College Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Home State Gap Api V1 Predict Almanac Home State Gap Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/cutoff-alerts/status":{"get":{"tags":["predict-cutoff-alerts"],"summary":"Status","operationId":"status_api_v1_predict_cutoff_alerts_status_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Status Api V1 Predict Cutoff Alerts Status Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/cutoff-alerts/follows":{"get":{"tags":["predict-cutoff-alerts"],"summary":"List Follows","operationId":"list_follows_api_v1_predict_cutoff_alerts_follows_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Follows Api V1 Predict Cutoff Alerts Follows Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["predict-cutoff-alerts"],"summary":"Follow Line","operationId":"follow_line_api_v1_predict_cutoff_alerts_follows_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FollowRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Follow Line Api V1 Predict Cutoff Alerts Follows Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/cutoff-alerts/follows/{follow_id}/unfollow":{"post":{"tags":["predict-cutoff-alerts"],"summary":"Unfollow Line","operationId":"unfollow_line_api_v1_predict_cutoff_alerts_follows__follow_id__unfollow_post","parameters":[{"name":"follow_id","in":"path","required":true,"schema":{"type":"string","title":"Follow Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Unfollow Line Api V1 Predict Cutoff Alerts Follows  Follow Id  Unfollow Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/cutoff-alerts/alerts":{"get":{"tags":["predict-cutoff-alerts"],"summary":"List Alerts","operationId":"list_alerts_api_v1_predict_cutoff_alerts_alerts_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"before","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Before"}},{"name":"unread_only","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Unread Only"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Alerts Api V1 Predict Cutoff Alerts Alerts Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/cutoff-alerts/alerts/read":{"post":{"tags":["predict-cutoff-alerts"],"summary":"Mark Alerts Read","operationId":"mark_alerts_read_api_v1_predict_cutoff_alerts_alerts_read_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkReadRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Mark Alerts Read Api V1 Predict Cutoff Alerts Alerts Read Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/work-atlas/status":{"get":{"tags":["work-atlas"],"summary":"Status","operationId":"status_api_v1_work_atlas_status_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Status Api V1 Work Atlas Status Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/work-atlas/release":{"get":{"tags":["work-atlas"],"summary":"Release Read","operationId":"work_atlas_release_read","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Work Atlas Release Read"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/work-atlas/search":{"get":{"tags":["work-atlas"],"summary":"Search","operationId":"work_atlas_search","parameters":[{"name":"facet","in":"query","required":false,"schema":{"type":"string","maxLength":20,"default":"role","title":"Facet"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Q"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":20,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Cursor"}},{"name":"graph_release_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"description":"Read at a specific published release (a saved role's own).","title":"Graph Release Id"},"description":"Read at a specific published release (a saved role's own)."},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Work Atlas Search"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/work-atlas/roles/{role_id}":{"get":{"tags":["work-atlas"],"summary":"Role Read","operationId":"work_atlas_role_read","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}},{"name":"graph_release_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"description":"Read at a specific published release (a saved role's own).","title":"Graph Release Id"},"description":"Read at a specific published release (a saved role's own)."},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Work Atlas Role Read"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/work-atlas/roles/{role_id}/tasks":{"get":{"tags":["work-atlas"],"summary":"Tasks Read","operationId":"work_atlas_tasks_read","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}},{"name":"graph_release_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"description":"Read at a specific published release (a saved role's own).","title":"Graph Release Id"},"description":"Read at a specific published release (a saved role's own)."},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Work Atlas Tasks Read"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/work-atlas/tasks/{task_id}":{"get":{"tags":["work-atlas"],"summary":"Task Read","operationId":"work_atlas_task_read","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Work Atlas Task Read"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/work-atlas/tools/{tool_id}":{"get":{"tags":["work-atlas"],"summary":"Tool Read","operationId":"work_atlas_tool_read","parameters":[{"name":"tool_id","in":"path","required":true,"schema":{"type":"string","title":"Tool Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Work Atlas Tool Read"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/work-atlas/roles/{role_id}/responsibility":{"get":{"tags":["work-atlas"],"summary":"Responsibility Read","operationId":"work_atlas_responsibility_read","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}},{"name":"graph_release_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"description":"Read at a specific published release (a saved role's own).","title":"Graph Release Id"},"description":"Read at a specific published release (a saved role's own)."},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Work Atlas Responsibility Read"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/work-atlas/roles/{role_id}/adjacent":{"get":{"tags":["work-atlas"],"summary":"Adjacent Read","operationId":"work_atlas_adjacent_read","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}},{"name":"graph_release_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"description":"Read at a specific published release (a saved role's own).","title":"Graph Release Id"},"description":"Read at a specific published release (a saved role's own)."},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Work Atlas Adjacent Read"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/work-atlas/roles/{role_id}/sources":{"get":{"tags":["work-atlas"],"summary":"Sources Read","operationId":"work_atlas_sources_read","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}},{"name":"graph_release_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"description":"Read at a specific published release (a saved role's own).","title":"Graph Release Id"},"description":"Read at a specific published release (a saved role's own)."},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Work Atlas Sources Read"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/work-atlas/statements/{statement_id}":{"get":{"tags":["work-atlas"],"summary":"Statement Read","operationId":"work_atlas_statement_read","parameters":[{"name":"statement_id","in":"path","required":true,"schema":{"type":"string","title":"Statement Id"}},{"name":"graph_release_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"description":"Read at a specific published release (a saved role's own).","title":"Graph Release Id"},"description":"Read at a specific published release (a saved role's own)."},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Work Atlas Statement Read"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/work-atlas/statements/{statement_id}/corrections":{"post":{"tags":["work-atlas"],"summary":"Statement Correct","operationId":"work_atlas_statement_correct","parameters":[{"name":"statement_id","in":"path","required":true,"schema":{"type":"string","title":"Statement Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/work_atlas__models__CorrectionRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Work Atlas Statement Correct"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/work-atlas/roles/{role_id}/market":{"get":{"tags":["work-atlas"],"summary":"Market Read","operationId":"work_atlas_market_read","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}},{"name":"geography","in":"query","required":false,"schema":{"type":"string","maxLength":80,"default":"NATIONAL","title":"Geography"}},{"name":"graph_release_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"description":"Read at a specific published release (a saved role's own).","title":"Graph Release Id"},"description":"Read at a specific published release (a saved role's own)."},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Work Atlas Market Read"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/work-atlas/roles/{role_id}/employer-preview":{"get":{"tags":["work-atlas"],"summary":"Employer Preview Read","operationId":"work_atlas_employer_preview_read","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Work Atlas Employer Preview Read"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/work-atlas/saved":{"get":{"tags":["work-atlas"],"summary":"Saved List","operationId":"work_atlas_saved_list","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Work Atlas Saved List"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["work-atlas"],"summary":"Saved Add","operationId":"work_atlas_saved_add","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/work_atlas__models__SaveRoleRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Work Atlas Saved Add"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/work-atlas/saved/{saved_id}":{"get":{"tags":["work-atlas"],"summary":"Saved Read","operationId":"work_atlas_saved_read","parameters":[{"name":"saved_id","in":"path","required":true,"schema":{"type":"string","title":"Saved Id"}},{"name":"version","in":"query","required":true,"schema":{"type":"integer","maximum":2147483647,"minimum":1,"title":"Version"}},{"name":"graph_release_id","in":"query","required":true,"schema":{"type":"string","minLength":36,"maxLength":36,"title":"Graph Release Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Work Atlas Saved Read"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/work-atlas/saved/{role_id}":{"delete":{"tags":["work-atlas"],"summary":"Saved Remove","operationId":"work_atlas_saved_remove","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Work Atlas Saved Remove"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/work-atlas/handoff/{role_id}":{"get":{"tags":["work-atlas"],"summary":"Handoff Read","operationId":"work_atlas_handoff_read","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}},{"name":"target","in":"query","required":true,"schema":{"type":"string","maxLength":40,"title":"Target"}},{"name":"graph_release_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"description":"Read at a specific published release (a saved role's own).","title":"Graph Release Id"},"description":"Read at a specific published release (a saved role's own)."},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Work Atlas Handoff Read"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/work-atlas/public/roles/{role_id}":{"get":{"tags":["work-atlas-public"],"summary":"Public Role Read","operationId":"work_atlas_public_role_read","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":64,"title":"Role Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Work Atlas Public Role Read"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/market-radar/status":{"get":{"tags":["market-radar"],"summary":"Status","operationId":"market_radar_status","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Market Radar Status"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/market-radar/find-role":{"get":{"tags":["market-radar"],"summary":"Find Role","operationId":"market_radar_find_role","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":2,"maxLength":80,"title":"Q"}},{"name":"graph_release_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Graph Release Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":25,"minimum":1,"default":10,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Market Radar Find Role"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/market-radar/resolve":{"get":{"tags":["market-radar"],"summary":"Resolve","operationId":"market_radar_resolve_scope","parameters":[{"name":"role","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Role"}},{"name":"task","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Task"}},{"name":"geography","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Geography"}},{"name":"graph_release_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Graph Release Id"}},{"name":"taxonomy_version","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Taxonomy Version"}},{"name":"observed_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":10},{"type":"null"}],"title":"Observed From"}},{"name":"observed_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":10},{"type":"null"}],"title":"Observed To"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Market Radar Resolve Scope"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/market-radar/snapshot":{"get":{"tags":["market-radar"],"summary":"Read Snapshot","operationId":"market_radar_read_snapshot","parameters":[{"name":"role_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Role Id"}},{"name":"geography","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Geography"}},{"name":"graph_release_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Graph Release Id"}},{"name":"taxonomy_version","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Taxonomy Version"}},{"name":"observed_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":10},{"type":"null"}],"title":"Observed From"}},{"name":"observed_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":10},{"type":"null"}],"title":"Observed To"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Market Radar Read Snapshot"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/market-radar/snapshot/{snapshot_id}":{"get":{"tags":["market-radar"],"summary":"Read Stored Snapshot","operationId":"market_radar_read_stored_snapshot","parameters":[{"name":"snapshot_id","in":"path","required":true,"schema":{"type":"string","title":"Snapshot Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Market Radar Read Stored Snapshot"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/market-radar/roles/{role_id}":{"get":{"tags":["market-radar"],"summary":"Read Role","operationId":"market_radar_read_role","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}},{"name":"geography","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Geography"}},{"name":"graph_release_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Graph Release Id"}},{"name":"taxonomy_version","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Taxonomy Version"}},{"name":"observed_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":10},{"type":"null"}],"title":"Observed From"}},{"name":"observed_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":10},{"type":"null"}],"title":"Observed To"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Market Radar Read Role"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/market-radar/tasks/{task_id}":{"get":{"tags":["market-radar"],"summary":"Read Task","operationId":"market_radar_read_task","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}},{"name":"geography","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Geography"}},{"name":"graph_release_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Graph Release Id"}},{"name":"taxonomy_version","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Taxonomy Version"}},{"name":"observed_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":10},{"type":"null"}],"title":"Observed From"}},{"name":"observed_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":10},{"type":"null"}],"title":"Observed To"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Market Radar Read Task"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/market-radar/sources":{"get":{"tags":["market-radar"],"summary":"Read Sources","operationId":"market_radar_read_sources","parameters":[{"name":"snapshot_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Snapshot Id"}},{"name":"role_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Role Id"}},{"name":"geography","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Geography"}},{"name":"graph_release_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Graph Release Id"}},{"name":"taxonomy_version","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Taxonomy Version"}},{"name":"observed_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":10},{"type":"null"}],"title":"Observed From"}},{"name":"observed_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":10},{"type":"null"}],"title":"Observed To"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Market Radar Read Sources"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/market-radar/coverage":{"get":{"tags":["market-radar"],"summary":"Read Coverage","operationId":"market_radar_read_coverage","parameters":[{"name":"geography","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Geography"}},{"name":"graph_release_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Graph Release Id"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Q"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Market Radar Read Coverage"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/market-radar/watchlist":{"get":{"tags":["market-radar"],"summary":"List Watch","operationId":"market_radar_list_watch","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Market Radar List Watch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["market-radar"],"summary":"Add Watch","operationId":"market_radar_add_watch","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WatchRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Market Radar Add Watch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/market-radar/watchlist/{watch_id}":{"delete":{"tags":["market-radar"],"summary":"Remove Watch","operationId":"market_radar_remove_watch","parameters":[{"name":"watch_id","in":"path","required":true,"schema":{"type":"string","title":"Watch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Market Radar Remove Watch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/market-radar/receipts":{"post":{"tags":["market-radar"],"summary":"Create Receipt","operationId":"market_radar_create_receipt","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReceiptRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Market Radar Create Receipt"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/market-radar/receipts/{receipt_id}":{"get":{"tags":["market-radar"],"summary":"Read Receipt","operationId":"market_radar_read_receipt","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","title":"Receipt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Market Radar Read Receipt"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/market-radar/receipts/{receipt_id}/export":{"get":{"tags":["market-radar"],"summary":"Export Receipt","operationId":"market_radar_export_receipt","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","title":"Receipt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Market Radar Export Receipt"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/role-drift/status":{"get":{"tags":["role-drift"],"summary":"Status","operationId":"role_drift_status","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Role Drift Status"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/role-drift/roles/{role_id}/report":{"get":{"tags":["role-drift"],"summary":"Get Role Report","operationId":"role_drift_get_role_report","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}},{"name":"earlier","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Earlier"}},{"name":"later","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Later"}},{"name":"geography","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Geography"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Role Drift Get Role Report"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/role-drift/roles/{role_id}/timeline":{"get":{"tags":["role-drift"],"summary":"Get Timeline","operationId":"role_drift_get_timeline","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Role Drift Get Timeline"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/role-drift/roles/{role_id}/stable":{"get":{"tags":["role-drift"],"summary":"Get Stable","operationId":"role_drift_get_stable","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}},{"name":"earlier","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Earlier"}},{"name":"later","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Later"}},{"name":"geography","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Geography"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Role Drift Get Stable"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/role-drift/changes/{change_id}":{"get":{"tags":["role-drift"],"summary":"Get Change","operationId":"role_drift_get_change","parameters":[{"name":"change_id","in":"path","required":true,"schema":{"type":"string","title":"Change Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Role Drift Get Change"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/role-drift/comparability":{"get":{"tags":["role-drift"],"summary":"Get Comparability","operationId":"role_drift_get_comparability","parameters":[{"name":"role_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role Id"}},{"name":"earlier","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Earlier"}},{"name":"later","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Later"}},{"name":"geography","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Geography"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Role Drift Get Comparability"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/role-drift/coverage":{"get":{"tags":["role-drift"],"summary":"Get Coverage","operationId":"role_drift_get_coverage","parameters":[{"name":"query","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Query"}},{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"After"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Role Drift Get Coverage"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/role-drift/reports/{report_id}":{"get":{"tags":["role-drift"],"summary":"Get Report","operationId":"role_drift_get_report","parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"string","title":"Report Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Role Drift Get Report"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/role-drift/reports/{report_id}/receipt":{"get":{"tags":["role-drift"],"summary":"Get Report Receipt","operationId":"role_drift_get_report_receipt","parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"string","title":"Report Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Role Drift Get Report Receipt"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/role-drift/reports/{report_id}/export":{"get":{"tags":["role-drift"],"summary":"Export Report","operationId":"role_drift_export_report","parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"string","title":"Report Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Role Drift Export Report"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/role-drift/reports":{"post":{"tags":["role-drift"],"summary":"Create Report","operationId":"role_drift_create_report","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Role Drift Create Report"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/role-drift/reports/{report_id}/corrections":{"post":{"tags":["role-drift"],"summary":"Create Correction","operationId":"role_drift_create_correction","parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"string","title":"Report Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Role Drift Create Correction"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/role-drift/watch":{"post":{"tags":["role-drift"],"summary":"Add Watch","operationId":"role_drift_add_watch","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Role Drift Add Watch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["role-drift"],"summary":"List Watch","operationId":"role_drift_list_watch","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Role Drift List Watch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/role-drift/watch/{watch_id}":{"delete":{"tags":["role-drift"],"summary":"Remove Watch","operationId":"role_drift_remove_watch","parameters":[{"name":"watch_id","in":"path","required":true,"schema":{"type":"string","title":"Watch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/worklab/status":{"get":{"tags":["worklab"],"summary":"Worklab Status","operationId":"worklab_status_api_v1_worklab_status_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Worklab Status Api V1 Worklab Status Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/worklab/briefs":{"get":{"tags":["worklab"],"summary":"List Briefs","operationId":"list_briefs_api_v1_worklab_briefs_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Briefs Api V1 Worklab Briefs Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/worklab/briefs/{brief_id}":{"get":{"tags":["worklab"],"summary":"Get Brief","operationId":"get_brief_api_v1_worklab_briefs__brief_id__get","parameters":[{"name":"brief_id","in":"path","required":true,"schema":{"type":"string","title":"Brief Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Brief Api V1 Worklab Briefs  Brief Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/worklab/projects":{"post":{"tags":["worklab"],"summary":"Create Project","operationId":"create_project_api_v1_worklab_projects_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Project Api V1 Worklab Projects Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["worklab"],"summary":"List Projects","operationId":"list_projects_api_v1_worklab_projects_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Projects Api V1 Worklab Projects Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/worklab/projects/{project_id}":{"get":{"tags":["worklab"],"summary":"Get Project","operationId":"get_project_api_v1_worklab_projects__project_id__get","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Project Api V1 Worklab Projects  Project Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/worklab/projects/{project_id}/milestones/{milestone_id}":{"post":{"tags":["worklab"],"summary":"Complete Milestone","operationId":"complete_milestone_api_v1_worklab_projects__project_id__milestones__milestone_id__post","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"milestone_id","in":"path","required":true,"schema":{"type":"string","title":"Milestone Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MilestoneCompleteRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Complete Milestone Api V1 Worklab Projects  Project Id  Milestones  Milestone Id  Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/worklab/projects/{project_id}/milestones/{milestone_id}/receipt":{"get":{"tags":["worklab"],"summary":"Get Milestone Completion Receipt","operationId":"get_milestone_completion_receipt_api_v1_worklab_projects__project_id__milestones__milestone_id__receipt_get","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"milestone_id","in":"path","required":true,"schema":{"type":"string","title":"Milestone Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MilestoneCompletionReceipt"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/worklab/projects/{project_id}/milestones/{milestone_id}/action":{"get":{"tags":["worklab"],"summary":"Get Current Milestone Action","operationId":"get_current_milestone_action_api_v1_worklab_projects__project_id__milestones__milestone_id__action_get","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"milestone_id","in":"path","required":true,"schema":{"type":"string","title":"Milestone Id"}},{"name":"project_version","in":"query","required":true,"schema":{"type":"integer","minimum":1,"title":"Project Version"}},{"name":"milestone_version","in":"query","required":true,"schema":{"type":"integer","minimum":1,"title":"Milestone Version"}},{"name":"brief_id","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":120,"title":"Brief Id"}},{"name":"brief_version","in":"query","required":true,"schema":{"type":"integer","minimum":1,"title":"Brief Version"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MilestoneActionCurrent"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/worklab/projects/{project_id}/artifacts":{"post":{"tags":["worklab"],"summary":"Create Artifact","operationId":"create_artifact_api_v1_worklab_projects__project_id__artifacts_post","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArtifactCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Artifact Api V1 Worklab Projects  Project Id  Artifacts Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/worklab/artifacts/{artifact_id}/versions":{"post":{"tags":["worklab"],"summary":"Add Version","operationId":"add_version_api_v1_worklab_artifacts__artifact_id__versions_post","parameters":[{"name":"artifact_id","in":"path","required":true,"schema":{"type":"string","title":"Artifact Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArtifactVersionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Add Version Api V1 Worklab Artifacts  Artifact Id  Versions Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/worklab/artifacts/{artifact_id}":{"get":{"tags":["worklab"],"summary":"Get Artifact","operationId":"get_artifact_api_v1_worklab_artifacts__artifact_id__get","parameters":[{"name":"artifact_id","in":"path","required":true,"schema":{"type":"string","title":"Artifact Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Artifact Api V1 Worklab Artifacts  Artifact Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["worklab"],"summary":"Delete Artifact","operationId":"delete_artifact_api_v1_worklab_artifacts__artifact_id__delete","parameters":[{"name":"artifact_id","in":"path","required":true,"schema":{"type":"string","title":"Artifact Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Delete Artifact Api V1 Worklab Artifacts  Artifact Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/worklab/artifacts/{artifact_id}/download":{"get":{"tags":["worklab"],"summary":"Download Artifact","operationId":"download_artifact_api_v1_worklab_artifacts__artifact_id__download_get","parameters":[{"name":"artifact_id","in":"path","required":true,"schema":{"type":"string","title":"Artifact Id"}},{"name":"version","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"title":"Version"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/worklab/projects/{project_id}/review":{"post":{"tags":["worklab"],"summary":"Request Review","operationId":"request_review_api_v1_worklab_projects__project_id__review_post","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/worklab__models__ReviewRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Request Review Api V1 Worklab Projects  Project Id  Review Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["worklab"],"summary":"Get Review","operationId":"get_review_api_v1_worklab_projects__project_id__review_get","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Review Api V1 Worklab Projects  Project Id  Review Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/worklab/projects/{project_id}/close":{"post":{"tags":["worklab"],"summary":"Close Project","operationId":"close_project_api_v1_worklab_projects__project_id__close_post","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloseRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Close Project Api V1 Worklab Projects  Project Id  Close Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/worklab/projects/{project_id}/receipt":{"get":{"tags":["worklab"],"summary":"Get Receipt","operationId":"get_receipt_api_v1_worklab_projects__project_id__receipt_get","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Receipt Api V1 Worklab Projects  Project Id  Receipt Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/worklab/receipts/{receipt_id}/export":{"get":{"tags":["worklab"],"summary":"Export Receipt","operationId":"export_receipt_api_v1_worklab_receipts__receipt_id__export_get","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","title":"Receipt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Export Receipt Api V1 Worklab Receipts  Receipt Id  Export Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/worklab/records":{"get":{"tags":["worklab"],"summary":"List Records","operationId":"list_records_api_v1_worklab_records_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Records Api V1 Worklab Records Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/worklab/receipts/{receipt_id}/send":{"post":{"tags":["worklab"],"summary":"Send Evidence","operationId":"send_evidence_api_v1_worklab_receipts__receipt_id__send_post","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","title":"Receipt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendEvidenceRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Send Evidence Api V1 Worklab Receipts  Receipt Id  Send Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/worklab/sends/{send_id}":{"delete":{"tags":["worklab"],"summary":"Revoke Send","operationId":"revoke_send_api_v1_worklab_sends__send_id__delete","parameters":[{"name":"send_id","in":"path","required":true,"schema":{"type":"string","title":"Send Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Revoke Send Api V1 Worklab Sends  Send Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/worklab/reviewer/queue":{"get":{"tags":["worklab"],"summary":"Reviewer Queue","operationId":"reviewer_queue_api_v1_worklab_reviewer_queue_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Reviewer Queue Api V1 Worklab Reviewer Queue Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/worklab/reviewer/reviews/{review_id}":{"get":{"tags":["worklab"],"summary":"Reviewer Item","operationId":"reviewer_item_api_v1_worklab_reviewer_reviews__review_id__get","parameters":[{"name":"review_id","in":"path","required":true,"schema":{"type":"string","title":"Review Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Reviewer Item Api V1 Worklab Reviewer Reviews  Review Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/worklab/reviewer/reviews/{review_id}/return":{"post":{"tags":["worklab"],"summary":"Reviewer Return","operationId":"reviewer_return_api_v1_worklab_reviewer_reviews__review_id__return_post","parameters":[{"name":"review_id","in":"path","required":true,"schema":{"type":"string","title":"Review Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewerReturnRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Reviewer Return Api V1 Worklab Reviewer Reviews  Review Id  Return Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/worklab/operator/briefs/{brief_id}/{brief_version}/withdraw":{"post":{"tags":["worklab"],"summary":"Withdraw Brief","operationId":"withdraw_brief_api_v1_worklab_operator_briefs__brief_id___brief_version__withdraw_post","parameters":[{"name":"brief_id","in":"path","required":true,"schema":{"type":"string","title":"Brief Id"}},{"name":"brief_version","in":"path","required":true,"schema":{"type":"integer","title":"Brief Version"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriefWithdrawRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Withdraw Brief Api V1 Worklab Operator Briefs  Brief Id   Brief Version  Withdraw Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/careers/saved":{"get":{"tags":["career-explorer"],"summary":"List Saved","operationId":"list_saved_api_v1_careers_saved_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Saved Api V1 Careers Saved Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["career-explorer"],"summary":"Save Role","operationId":"save_role_api_v1_careers_saved_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/career_explorer__routes__SaveRoleRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Save Role Api V1 Careers Saved Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/careers/saved/export":{"get":{"tags":["career-explorer"],"summary":"Export Saved","operationId":"export_saved_api_v1_careers_saved_export_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Export Saved Api V1 Careers Saved Export Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/careers/saved/{occupation_id}":{"delete":{"tags":["career-explorer"],"summary":"Unsave Role","operationId":"unsave_role_api_v1_careers_saved__occupation_id__delete","parameters":[{"name":"occupation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Occupation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Unsave Role Api V1 Careers Saved  Occupation Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/careers/views":{"post":{"tags":["career-explorer"],"summary":"Record View","operationId":"record_view_api_v1_careers_views_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordViewRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Record View Api V1 Careers Views Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/careers/resilience-bundle/{bundle_ref}":{"get":{"tags":["career-explorer"],"summary":"Read Resilience Bundle","description":"bundle_ref is 'mine' or one of the learner's own plan ids. The owner is the session.","operationId":"read_resilience_bundle_api_v1_careers_resilience_bundle__bundle_ref__get","parameters":[{"name":"bundle_ref","in":"path","required":true,"schema":{"type":"string","title":"Bundle Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Resilience Bundle Api V1 Careers Resilience Bundle  Bundle Ref  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/careers/resilience-bundle/{bundle_ref}/handoff":{"post":{"tags":["career-explorer"],"summary":"Hand Off Resilience Bundle","operationId":"hand_off_resilience_bundle_api_v1_careers_resilience_bundle__bundle_ref__handoff_post","parameters":[{"name":"bundle_ref","in":"path","required":true,"schema":{"type":"string","title":"Bundle Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/career_explorer__routes__HandoffRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Hand Off Resilience Bundle Api V1 Careers Resilience Bundle  Bundle Ref  Handoff Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/career-refresh/standing":{"get":{"tags":["career-refresh"],"summary":"Standing","operationId":"career_refresh_standing","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Career Refresh Standing"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/career-refresh/checks":{"post":{"tags":["career-refresh"],"summary":"Check Create","operationId":"career_refresh_check_create","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckCreateRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Career Refresh Check Create"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/career-refresh/checks/{check_id}":{"get":{"tags":["career-refresh"],"summary":"Check Read","operationId":"career_refresh_check_read","parameters":[{"name":"check_id","in":"path","required":true,"schema":{"type":"string","title":"Check Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Career Refresh Check Read"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/career-refresh/checks/{check_id}/assessment":{"get":{"tags":["career-refresh"],"summary":"Assessment Read","operationId":"career_refresh_assessment_read","parameters":[{"name":"check_id","in":"path","required":true,"schema":{"type":"string","title":"Check Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Career Refresh Assessment Read"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/career-refresh/verdicts/{verdict_id}":{"get":{"tags":["career-refresh"],"summary":"Verdict Read","operationId":"career_refresh_verdict_read","parameters":[{"name":"verdict_id","in":"path","required":true,"schema":{"type":"string","title":"Verdict Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Career Refresh Verdict Read"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/career-refresh/verdicts/{verdict_id}/actions":{"get":{"tags":["career-refresh"],"summary":"Actions List","operationId":"career_refresh_actions_list","parameters":[{"name":"verdict_id","in":"path","required":true,"schema":{"type":"string","title":"Verdict Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Career Refresh Actions List"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/career-refresh/verdicts/{verdict_id}/actions/{action_id}/choose":{"post":{"tags":["career-refresh"],"summary":"Action Choose","operationId":"career_refresh_action_choose","parameters":[{"name":"verdict_id","in":"path","required":true,"schema":{"type":"string","title":"Verdict Id"}},{"name":"action_id","in":"path","required":true,"schema":{"type":"string","title":"Action Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChooseActionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Career Refresh Action Choose"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/career-refresh/actions/{action_id}/recheck":{"post":{"tags":["career-refresh"],"summary":"Recheck Request","operationId":"career_refresh_recheck_request","parameters":[{"name":"action_id","in":"path","required":true,"schema":{"type":"string","title":"Action Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecheckRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Career Refresh Recheck Request"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/career-refresh/rechecks/{recheck_id}":{"get":{"tags":["career-refresh"],"summary":"Recheck Read","operationId":"career_refresh_recheck_read","parameters":[{"name":"recheck_id","in":"path","required":true,"schema":{"type":"string","title":"Recheck Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Career Refresh Recheck Read"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/career-refresh/records":{"get":{"tags":["career-refresh"],"summary":"Records List","operationId":"career_refresh_records_list","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":30,"title":"Limit"}},{"name":"before","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Before"}},{"name":"capability_ref","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Capability Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Career Refresh Records List"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/career-refresh/policies/{capability_ref}":{"get":{"tags":["career-refresh"],"summary":"Policy Read","description":"Public where the rule itself is public; signed-in people also see non-public rules.","operationId":"career_refresh_policy_read","parameters":[{"name":"capability_ref","in":"path","required":true,"schema":{"type":"string","title":"Capability Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Career Refresh Policy Read"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/career-refresh/meter":{"get":{"tags":["career-refresh"],"summary":"Meter Read","operationId":"career_refresh_meter_read","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Career Refresh Meter Read"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/career-refresh/sponsorships":{"post":{"tags":["career-refresh"],"summary":"Sponsorship Create","description":"Held. Employer-sponsored refresh is not built, and nothing in the body is read or stored.","operationId":"career_refresh_sponsorship_create","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"423":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Career Refresh Sponsorship Create"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/side-hustle/status":{"get":{"tags":["side-hustle"],"summary":"Status","operationId":"getSideHustleStatus","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Getsidehustlestatus"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/side-hustle/skills":{"get":{"tags":["side-hustle"],"summary":"List Skills","operationId":"listSkillShelf","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Listskillshelf"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["side-hustle"],"summary":"Declare Skill","operationId":"declareSkill","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeclareSkillRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Declareskill"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/side-hustle/services":{"post":{"tags":["side-hustle"],"summary":"Create Service","operationId":"createService","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Createservice"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["side-hustle"],"summary":"List Services","operationId":"listServices","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Listservices"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/side-hustle/services/{service_id}":{"get":{"tags":["side-hustle"],"summary":"Get Service","operationId":"getService","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Getservice"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["side-hustle"],"summary":"Delete Service","operationId":"deleteService","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Deleteservice"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/side-hustle/services/{service_id}/export":{"get":{"tags":["side-hustle"],"summary":"Export Service","operationId":"exportService","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Exportservice"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/side-hustle/services/{service_id}/scope":{"put":{"tags":["side-hustle"],"summary":"Put Scope","operationId":"setServiceScope","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScopeUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Setservicescope"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/side-hustle/services/{service_id}/deliverables":{"put":{"tags":["side-hustle"],"summary":"Put Deliverables","operationId":"setServiceDeliverables","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeliverablesUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Setservicedeliverables"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/side-hustle/services/{service_id}/capacity":{"put":{"tags":["side-hustle"],"summary":"Put Capacity","operationId":"setServiceCapacity","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapacityUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Setservicecapacity"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/side-hustle/services/{service_id}/buyer":{"put":{"tags":["side-hustle"],"summary":"Put Buyer","operationId":"setServiceBuyer","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuyerUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Setservicebuyer"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/side-hustle/services/{service_id}/pricing":{"get":{"tags":["side-hustle"],"summary":"Get Pricing","operationId":"getServicePricing","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Getservicepricing"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["side-hustle"],"summary":"Put Pricing","operationId":"setServicePricing","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PricingUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Setservicepricing"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/side-hustle/services/{service_id}/evidence":{"get":{"tags":["side-hustle"],"summary":"Get Evidence","operationId":"getServiceEvidence","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Getserviceevidence"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/side-hustle/services/{service_id}/evidence/{requirement_id}":{"put":{"tags":["side-hustle"],"summary":"Put Evidence","operationId":"setEvidenceAnswer","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}},{"name":"requirement_id","in":"path","required":true,"schema":{"type":"string","title":"Requirement Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvidenceAnswerUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Setevidenceanswer"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/side-hustle/services/{service_id}/risks":{"get":{"tags":["side-hustle"],"summary":"Get Risks","operationId":"getServiceRisks","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Getservicerisks"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/side-hustle/services/{service_id}/risk-screening":{"put":{"tags":["side-hustle"],"summary":"Put Screening","operationId":"setRiskScreening","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RiskScreeningUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Setriskscreening"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/side-hustle/services/{service_id}/guardian-gate":{"get":{"tags":["side-hustle"],"summary":"Get Guardian Gate","operationId":"getGuardianGate","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Getguardiangate"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/side-hustle/services/{service_id}/guardian-gate/request":{"post":{"tags":["side-hustle"],"summary":"Request Guardian Gate","operationId":"requestGuardianGate","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuardianRequestBody"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Requestguardiangate"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/side-hustle/services/{service_id}/launch-decision":{"post":{"tags":["side-hustle"],"summary":"Create Launch Decision","operationId":"createLaunchDecision","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LaunchDecisionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Createlaunchdecision"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["side-hustle"],"summary":"Get Launch Decision","operationId":"getLaunchDecision","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Getlaunchdecision"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/side-hustle/services/{service_id}/first-customer-plan":{"get":{"tags":["side-hustle"],"summary":"Get First Customer Plan","operationId":"getFirstCustomerPlan","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Getfirstcustomerplan"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["side-hustle"],"summary":"Start First Customer Plan","operationId":"startFirstCustomerPlan","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/PlanStartBody"},{"type":"null"}],"title":" Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Startfirstcustomerplan"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/side-hustle/services/{service_id}/first-customer-plan/steps/{step_id}":{"put":{"tags":["side-hustle"],"summary":"Set Plan Step","operationId":"setFirstCustomerStep","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}},{"name":"step_id","in":"path","required":true,"schema":{"type":"string","title":"Step Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanStepUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Setfirstcustomerstep"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/side-hustle/handoffs":{"post":{"tags":["side-hustle"],"summary":"Create Handoff","operationId":"createHandoff","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/side_hustle__models__HandoffRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Createhandoff"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["side-hustle"],"summary":"List Handoffs","operationId":"listHandoffs","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Listhandoffs"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/side-hustle/handoffs/{handoff_id}":{"get":{"tags":["side-hustle"],"summary":"Get Handoff","operationId":"getHandoff","parameters":[{"name":"handoff_id","in":"path","required":true,"schema":{"type":"string","title":"Handoff Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Gethandoff"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/side-hustle/portfolio":{"get":{"tags":["side-hustle"],"summary":"List Portfolio","operationId":"listPortfolio","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Listportfolio"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["side-hustle"],"summary":"Add Portfolio Piece","operationId":"addPortfolioPiece","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PortfolioAddRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Addportfoliopiece"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/side-hustle/portfolio/{piece_id}":{"delete":{"tags":["side-hustle"],"summary":"Delete Portfolio Piece","operationId":"deletePortfolioPiece","parameters":[{"name":"piece_id","in":"path","required":true,"schema":{"type":"string","title":"Piece Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/side-hustle/services/{service_id}/proof-review":{"post":{"tags":["side-hustle"],"summary":"Request Proof Review","operationId":"requestProofReview","parameters":[{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProofReviewRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Requestproofreview"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/side-hustle/proof-review/{review_id}":{"get":{"tags":["side-hustle"],"summary":"Get Proof Review","operationId":"getProofReview","parameters":[{"name":"review_id","in":"path","required":true,"schema":{"type":"string","title":"Review Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Getproofreview"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/side-hustle/mentor-sessions":{"get":{"tags":["side-hustle"],"summary":"List Mentor Sessions","operationId":"listMentorSessions","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Listmentorsessions"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["side-hustle"],"summary":"Link Mentor Session","operationId":"linkMentorSession","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MentorLinkRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Linkmentorsession"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/side-hustle/templates":{"get":{"tags":["side-hustle"],"summary":"List Templates","operationId":"listTemplates","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Listtemplates"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/side-hustle/templates/{pack_id}/start":{"post":{"tags":["side-hustle"],"summary":"Start Template Pack","operationId":"startTemplatePack","parameters":[{"name":"pack_id","in":"path","required":true,"schema":{"type":"string","title":"Pack Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateStartRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Starttemplatepack"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/side-hustle/fee-terms":{"get":{"tags":["side-hustle"],"summary":"Get Fee Terms","description":"Closed for good (founder decision FD-2): no fee is ever taken on a learner's work.","operationId":"getFeeTerms","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Getfeeterms"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/side-hustle/guardian/{minor_id}/services/{service_id}":{"get":{"tags":["side-hustle"],"summary":"Guardian Read","description":"The verdict, its reasons, the risk list and the gate. Nothing else. Opaque 404 if not their ward.","operationId":"readWardServiceAsGuardian","parameters":[{"name":"minor_id","in":"path","required":true,"schema":{"type":"string","title":"Minor Id"}},{"name":"service_id","in":"path","required":true,"schema":{"type":"string","title":"Service Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Readwardserviceasguardian"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/compartment/scope":{"get":{"tags":["cbse_compartment"],"summary":"Read Scope","operationId":"read_scope_api_v1_cbse_compartment_scope_get","parameters":[{"name":"class_level","in":"query","required":true,"schema":{"type":"integer","title":"Class Level"}},{"name":"subject","in":"query","required":true,"schema":{"type":"string","title":"Subject"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/compartment/programmes":{"post":{"tags":["cbse_compartment"],"summary":"Create Programme","operationId":"create_programme_api_v1_cbse_compartment_programmes_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["cbse_compartment"],"summary":"List Programmes","operationId":"list_programmes_api_v1_cbse_compartment_programmes_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/compartment/programmes/{programme_id}":{"get":{"tags":["cbse_compartment"],"summary":"Get Programme","operationId":"get_programme_api_v1_cbse_compartment_programmes__programme_id__get","parameters":[{"name":"programme_id","in":"path","required":true,"schema":{"type":"string","title":"Programme Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/compartment/programmes/{programme_id}/blocks/{block_no}/done":{"post":{"tags":["cbse_compartment"],"summary":"Mark Done","operationId":"mark_done_api_v1_cbse_compartment_programmes__programme_id__blocks__block_no__done_post","parameters":[{"name":"programme_id","in":"path","required":true,"schema":{"type":"string","title":"Programme Id"}},{"name":"block_no","in":"path","required":true,"schema":{"type":"integer","title":"Block No"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/compartment/programmes/{programme_id}/exam-date":{"post":{"tags":["cbse_compartment"],"summary":"Change Exam Date","operationId":"change_exam_date_api_v1_cbse_compartment_programmes__programme_id__exam_date_post","parameters":[{"name":"programme_id","in":"path","required":true,"schema":{"type":"string","title":"Programme Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/compartment/programmes/{programme_id}/withdraw":{"post":{"tags":["cbse_compartment"],"summary":"Withdraw","operationId":"withdraw_api_v1_cbse_compartment_programmes__programme_id__withdraw_post","parameters":[{"name":"programme_id","in":"path","required":true,"schema":{"type":"string","title":"Programme Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/mock-evidence/{student_id}":{"get":{"tags":["cbse_marks_os"],"summary":"Get Mock Evidence","operationId":"get_mock_evidence_api_v1_cbse_mock_evidence__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"class_level","in":"query","required":true,"schema":{"type":"integer","title":"Class Level"}},{"name":"subject","in":"query","required":true,"schema":{"type":"string","title":"Subject"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/signals/from-mock":{"post":{"tags":["cbse_marks_os"],"summary":"Post Signal From Mock","operationId":"post_signal_from_mock_api_v1_cbse_signals_from_mock_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/targets/{student_id}":{"get":{"tags":["cbse_marks_os"],"summary":"Get Targets","operationId":"get_targets_api_v1_cbse_targets__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"class_level","in":"query","required":true,"schema":{"type":"integer","title":"Class Level"}},{"name":"subject","in":"query","required":true,"schema":{"type":"string","title":"Subject"}},{"name":"target","in":"query","required":false,"schema":{"type":"string","default":"90","title":"Target"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/career/{student_id}":{"get":{"tags":["cbse_marks_os"],"summary":"Get Career","operationId":"get_career_api_v1_cbse_career__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/internal/{student_id}":{"get":{"tags":["cbse_internal_ledger"],"summary":"Get Internal","operationId":"get_internal_api_v1_cbse_internal__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"class_level","in":"query","required":true,"schema":{"type":"integer","title":"Class Level"}},{"name":"subject","in":"query","required":true,"schema":{"type":"string","title":"Subject"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/internal":{"post":{"tags":["cbse_internal_ledger"],"summary":"Post Internal","operationId":"post_internal_api_v1_cbse_internal_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/internal/{entry_id}":{"delete":{"tags":["cbse_internal_ledger"],"summary":"Delete Internal","operationId":"delete_internal_api_v1_cbse_internal__entry_id__delete","parameters":[{"name":"entry_id","in":"path","required":true,"schema":{"type":"string","title":"Entry Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/practical/{student_id}":{"get":{"tags":["cbse_internal_ledger"],"summary":"Get Practical","operationId":"get_practical_api_v1_cbse_practical__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"class_level","in":"query","required":true,"schema":{"type":"integer","title":"Class Level"}},{"name":"subject","in":"query","required":true,"schema":{"type":"string","title":"Subject"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/practical/{student_id}/items/{item_ref}":{"put":{"tags":["cbse_internal_ledger"],"summary":"Put Practical Item","operationId":"put_practical_item_api_v1_cbse_practical__student_id__items__item_ref__put","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"item_ref","in":"path","required":true,"schema":{"type":"string","title":"Item Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/result-day/{student_id}":{"get":{"tags":["cbse_result_day"],"summary":"Get Result Day","operationId":"get_result_day_api_v1_cbse_result_day__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"class_level","in":"query","required":true,"schema":{"type":"integer","title":"Class Level"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/result-day-compartment/{student_id}":{"get":{"tags":["cbse_result_day"],"summary":"Get Result Compartment Flags","description":"Which subjects a result entry says are compartment. The Compartment Sprint shows these; they never gate a plan.","operationId":"get_result_compartment_flags_api_v1_cbse_result_day_compartment__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/result-day":{"post":{"tags":["cbse_result_day"],"summary":"Post Result Day","operationId":"post_result_day_api_v1_cbse_result_day_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/re-check/{student_id}":{"get":{"tags":["cbse_result_day"],"summary":"Get Recheck","operationId":"get_recheck_api_v1_cbse_re_check__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"class_level","in":"query","required":true,"schema":{"type":"integer","title":"Class Level"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/re-check/choices":{"put":{"tags":["cbse_result_day"],"summary":"Put Recheck Choice","operationId":"put_recheck_choice_api_v1_cbse_re_check_choices_put","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/reeval/overview/{student_id}":{"get":{"tags":["cbse_reeval"],"summary":"Get Overview","operationId":"get_overview_api_v1_cbse_reeval_overview__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"class_level","in":"query","required":true,"schema":{"type":"integer","title":"Class Level"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/reeval/offer":{"get":{"tags":["cbse_reeval"],"summary":"Get Offer","description":"The price (from the registry), whether this learner already holds it, and whether buying is open.\nWith class_level it also says whether CBSE's window in the notice we hold has closed.","operationId":"get_offer_api_v1_cbse_reeval_offer_get","parameters":[{"name":"class_level","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Class Level"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/reeval/purchase":{"post":{"tags":["cbse_reeval"],"summary":"Post Purchase","description":"Start a purchase on the repo's one commerce path: a pinned checkout on the published offer, then the provider order.\nThis route grants nothing. Access opens only when the signed provider webhook is verified, the invoice is issued and\nthe activation is verified (commerce_provider_routes / sysimp_pr01_commands); a refund revokes it there.\nClosed payments, a missing provider, no published offer or a closed window all refuse honestly and charge nothing.","operationId":"post_purchase_api_v1_cbse_reeval_purchase_post","parameters":[{"name":"class_level","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Class Level"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string","minLength":8,"maxLength":200},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/reeval/cases":{"post":{"tags":["cbse_reeval"],"summary":"Post Open Case","operationId":"post_open_case_api_v1_cbse_reeval_cases_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/reeval/cases/{case_id}":{"get":{"tags":["cbse_reeval"],"summary":"Get Case","operationId":"get_case_api_v1_cbse_reeval_cases__case_id__get","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","title":"Case Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/reeval/cases/{case_id}/questions":{"put":{"tags":["cbse_reeval"],"summary":"Put Questions","operationId":"put_questions_api_v1_cbse_reeval_cases__case_id__questions_put","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","title":"Case Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/reeval/cases/{case_id}/selection":{"put":{"tags":["cbse_reeval"],"summary":"Put Selection","operationId":"put_selection_api_v1_cbse_reeval_cases__case_id__selection_put","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","title":"Case Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/reeval/cases/{case_id}/advisory":{"get":{"tags":["cbse_reeval"],"summary":"Get Advisory","operationId":"get_advisory_api_v1_cbse_reeval_cases__case_id__advisory_get","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","title":"Case Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/reeval/cases/{case_id}/handoff":{"post":{"tags":["cbse_reeval"],"summary":"Post Handoff","operationId":"post_handoff_api_v1_cbse_reeval_cases__case_id__handoff_post","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","title":"Case Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/reeval/cases/{case_id}/withdraw":{"post":{"tags":["cbse_reeval"],"summary":"Post Withdraw","operationId":"post_withdraw_api_v1_cbse_reeval_cases__case_id__withdraw_post","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","title":"Case Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/reeval/cases/{case_id}/outcome":{"post":{"tags":["cbse_reeval"],"summary":"Post Outcome","operationId":"post_outcome_api_v1_cbse_reeval_cases__case_id__outcome_post","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","title":"Case Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/what-if-simulator/offer":{"get":{"tags":["what_if_simulator"],"summary":"Get Offer","description":"The price (from the registry), the allowance on this plan, whether a bought run is waiting, whether buying is open.","operationId":"get_offer_api_v1_what_if_simulator_offer_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/what-if-simulator/purchase":{"post":{"tags":["what_if_simulator"],"summary":"Post Purchase","description":"Start a purchase of one run: a pinned checkout on the published offer, then the provider order.\nClosed payments, a missing provider or no published offer all refuse honestly and charge nothing.","operationId":"post_purchase_api_v1_what_if_simulator_purchase_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string","minLength":8,"maxLength":200},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/compartment/programmes/{programme_id}/evidence":{"get":{"tags":["cbse_compartment"],"summary":"Read Evidence","operationId":"read_evidence_api_v1_cbse_compartment_programmes__programme_id__evidence_get","parameters":[{"name":"programme_id","in":"path","required":true,"schema":{"type":"string","title":"Programme Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/preboard/scope":{"get":{"tags":["cbse_preboard"],"summary":"Read Scope","operationId":"read_scope_api_v1_cbse_preboard_scope_get","parameters":[{"name":"class_level","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Class Level"}},{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"}},{"name":"paper_ref","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Paper Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/preboard/request":{"post":{"tags":["cbse_preboard"],"summary":"Request Job","operationId":"request_job_api_v1_cbse_preboard_request_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/preboard/jobs":{"get":{"tags":["cbse_preboard"],"summary":"List Jobs","operationId":"list_jobs_api_v1_cbse_preboard_jobs_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/preboard/{job_id}/submit":{"post":{"tags":["cbse_preboard"],"summary":"Submit","operationId":"submit_api_v1_cbse_preboard__job_id__submit_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/preboard/{job_id}":{"get":{"tags":["cbse_preboard"],"summary":"Get Job","operationId":"get_job_api_v1_cbse_preboard__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/preboard/{job_id}/read":{"get":{"tags":["cbse_preboard"],"summary":"Read It","operationId":"read_it_api_v1_cbse_preboard__job_id__read_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/preboard/{job_id}/read/confirm":{"post":{"tags":["cbse_preboard"],"summary":"Confirm It","operationId":"confirm_it_api_v1_cbse_preboard__job_id__read_confirm_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/preboard/{job_id}/result":{"get":{"tags":["cbse_preboard"],"summary":"Result","operationId":"result_api_v1_cbse_preboard__job_id__result_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/preboard/{job_id}/withdraw":{"post":{"tags":["cbse_preboard"],"summary":"Withdraw","operationId":"withdraw_api_v1_cbse_preboard__job_id__withdraw_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/preboard/{job_id}/pay":{"post":{"tags":["cbse_preboard"],"summary":"Pay","operationId":"pay_api_v1_cbse_preboard__job_id__pay_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/preboard/{job_id}/order":{"get":{"tags":["cbse_preboard"],"summary":"Order","operationId":"order_api_v1_cbse_preboard__job_id__order_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/preboard/school/roster":{"get":{"tags":["cbse_preboard_school"],"summary":"Roster","operationId":"roster_api_v1_cbse_preboard_school_roster_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/preboard/school/batches":{"post":{"tags":["cbse_preboard_school"],"summary":"Create Batch","operationId":"create_batch_api_v1_cbse_preboard_school_batches_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["cbse_preboard_school"],"summary":"List Batches","operationId":"list_batches_api_v1_cbse_preboard_school_batches_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/preboard/school/batches/{batch_id}":{"get":{"tags":["cbse_preboard_school"],"summary":"Get Batch","operationId":"get_batch_api_v1_cbse_preboard_school_batches__batch_id__get","parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","title":"Batch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/preboard/school/batches/{batch_id}/quote-request":{"post":{"tags":["cbse_preboard_school"],"summary":"Quote Request","operationId":"quote_request_api_v1_cbse_preboard_school_batches__batch_id__quote_request_post","parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","title":"Batch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/preboard/school/batches/{batch_id}/pay":{"post":{"tags":["cbse_preboard_school"],"summary":"Pay","operationId":"pay_api_v1_cbse_preboard_school_batches__batch_id__pay_post","parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","title":"Batch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/preboard/school/batches/{batch_id}/scripts/{script_id}/send":{"post":{"tags":["cbse_preboard_school"],"summary":"Send Script","operationId":"send_script_api_v1_cbse_preboard_school_batches__batch_id__scripts__script_id__send_post","parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","title":"Batch Id"}},{"name":"script_id","in":"path","required":true,"schema":{"type":"string","title":"Script Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/preboard/school/batches/{batch_id}/progress":{"get":{"tags":["cbse_preboard_school"],"summary":"Progress","operationId":"progress_api_v1_cbse_preboard_school_batches__batch_id__progress_get","parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","title":"Batch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/preboard/school/batches/{batch_id}/results.csv":{"get":{"tags":["cbse_preboard_school"],"summary":"Results Csv","operationId":"results_csv_api_v1_cbse_preboard_school_batches__batch_id__results_csv_get","parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","title":"Batch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/preboard/school/batches/{batch_id}/cancel":{"post":{"tags":["cbse_preboard_school"],"summary":"Cancel","operationId":"cancel_api_v1_cbse_preboard_school_batches__batch_id__cancel_post","parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","title":"Batch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/preboard-desk/assignments":{"get":{"tags":["cbse_preboard_desk"],"summary":"My Assignments","operationId":"my_assignments_api_v1_cbse_preboard_desk_assignments_get","parameters":[{"name":"include_done","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Done"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/preboard-desk/assignments/{assignment_id}/packet":{"get":{"tags":["cbse_preboard_desk"],"summary":"Packet","operationId":"packet_api_v1_cbse_preboard_desk_assignments__assignment_id__packet_get","parameters":[{"name":"assignment_id","in":"path","required":true,"schema":{"type":"string","title":"Assignment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/preboard-desk/assignments/{assignment_id}/packet/pages/{page_no}":{"get":{"tags":["cbse_preboard_desk"],"summary":"Packet Page","operationId":"packet_page_api_v1_cbse_preboard_desk_assignments__assignment_id__packet_pages__page_no__get","parameters":[{"name":"assignment_id","in":"path","required":true,"schema":{"type":"string","title":"Assignment Id"}},{"name":"page_no","in":"path","required":true,"schema":{"type":"integer","title":"Page No"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/preboard-desk/assignments/{assignment_id}/mark":{"post":{"tags":["cbse_preboard_desk"],"summary":"Mark","operationId":"mark_api_v1_cbse_preboard_desk_assignments__assignment_id__mark_post","parameters":[{"name":"assignment_id","in":"path","required":true,"schema":{"type":"string","title":"Assignment Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cbse/preboard-desk/assignments/{assignment_id}/release":{"post":{"tags":["cbse_preboard_desk"],"summary":"Release","operationId":"release_api_v1_cbse_preboard_desk_assignments__assignment_id__release_post","parameters":[{"name":"assignment_id","in":"path","required":true,"schema":{"type":"string","title":"Assignment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/cbse-digest/{child_id}":{"get":{"tags":["cbse_parent"],"summary":"Read Cbse Digest","operationId":"read_cbse_digest_api_v1_parent_cbse_digest__child_id__get","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Cbse Digest Api V1 Parent Cbse Digest  Child Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/cbse-reminders/run":{"post":{"tags":["cbse_reminders"],"summary":"Run Now","operationId":"run_now_api_v1_admin_cbse_reminders_run_post","parameters":[{"name":"dry_run","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Dry Run"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":2000,"minimum":1,"default":500,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Run Now Api V1 Admin Cbse Reminders Run Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/cbse-reminders/{child_id}":{"get":{"tags":["cbse_reminders"],"summary":"Read Parent Setting","operationId":"read_parent_setting_api_v1_parent_cbse_reminders__child_id__get","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Parent Setting Api V1 Parent Cbse Reminders  Child Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["cbse_reminders"],"summary":"Write Parent Setting","operationId":"write_parent_setting_api_v1_parent_cbse_reminders__child_id__put","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ParentReminderIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Write Parent Setting Api V1 Parent Cbse Reminders  Child Id  Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/pack-stale-nudge/run":{"post":{"tags":["pack_stale_nudge"],"summary":"Run Now","operationId":"run_now_api_v1_admin_pack_stale_nudge_run_post","parameters":[{"name":"dry_run","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Dry Run"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":2000,"minimum":1,"default":500,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Run Now Api V1 Admin Pack Stale Nudge Run Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/cbse/sources":{"post":{"tags":["cbse_admin_sources"],"summary":" Load","operationId":"_load_api_v1_admin_cbse_sources_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["cbse_admin_sources"],"summary":"List Sources","operationId":"list_sources_api_v1_admin_cbse_sources_get","parameters":[{"name":"source_kind","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Kind"}},{"name":"class_level","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Class Level"}},{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"}},{"name":"publication_state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Publication State"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/cbse/sources/{source_id}":{"get":{"tags":["cbse_admin_sources"],"summary":"Get Source","operationId":"get_source_api_v1_admin_cbse_sources__source_id__get","parameters":[{"name":"source_id","in":"path","required":true,"schema":{"type":"string","title":"Source Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/cbse/sources/{source_id}/publish":{"post":{"tags":["cbse_admin_sources"],"summary":"Publish Source","operationId":"publish_source_api_v1_admin_cbse_sources__source_id__publish_post","parameters":[{"name":"source_id","in":"path","required":true,"schema":{"type":"string","title":"Source Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/cbse/sources/{source_id}/recall":{"post":{"tags":["cbse_admin_sources"],"summary":"Recall Source","operationId":"recall_source_api_v1_admin_cbse_sources__source_id__recall_post","parameters":[{"name":"source_id","in":"path","required":true,"schema":{"type":"string","title":"Source Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sources/citations":{"get":{"tags":["source_ledger"],"summary":"My Citations","operationId":"my_citations_api_v1_sources_citations_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sources/citations/{citation_id}":{"get":{"tags":["source_ledger"],"summary":"Citation Sheet","operationId":"citation_sheet_api_v1_sources_citations__citation_id__get","parameters":[{"name":"citation_id","in":"path","required":true,"schema":{"type":"string","title":"Citation Id"}},{"name":"for","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"For"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sources/by-answer":{"get":{"tags":["source_ledger"],"summary":"By Answer","operationId":"by_answer_api_v1_sources_by_answer_get","parameters":[{"name":"product_id","in":"query","required":true,"schema":{"type":"string","minLength":1,"title":"Product Id"}},{"name":"answer_id","in":"query","required":true,"schema":{"type":"string","minLength":1,"title":"Answer Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sources/versions/{registry}/{version_id}":{"get":{"tags":["source_ledger"],"summary":"Version","operationId":"version_api_v1_sources_versions__registry___version_id__get","parameters":[{"name":"registry","in":"path","required":true,"schema":{"type":"string","title":"Registry"}},{"name":"version_id","in":"path","required":true,"schema":{"type":"string","title":"Version Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sources/coverage":{"get":{"tags":["source_ledger"],"summary":"Coverage","operationId":"coverage_api_v1_sources_coverage_get","parameters":[{"name":"authority","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authority"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sources/versions/{registry}/{version_id}/compare/{other_version_id}":{"get":{"tags":["source_ledger"],"summary":"Compare Versions","operationId":"compare_versions_api_v1_sources_versions__registry___version_id__compare__other_version_id__get","parameters":[{"name":"registry","in":"path","required":true,"schema":{"type":"string","title":"Registry"}},{"name":"version_id","in":"path","required":true,"schema":{"type":"string","title":"Version Id"}},{"name":"other_version_id","in":"path","required":true,"schema":{"type":"string","title":"Other Version Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sources/releases":{"get":{"tags":["source_ledger"],"summary":"Releases","operationId":"releases_api_v1_sources_releases_get","parameters":[{"name":"authority","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authority"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sources/releases/{release_id}":{"get":{"tags":["source_ledger"],"summary":"Release","operationId":"release_api_v1_sources_releases__release_id__get","parameters":[{"name":"release_id","in":"path","required":true,"schema":{"type":"string","title":"Release Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sources/citations/{citation_id}/parent":{"get":{"tags":["source_ledger"],"summary":"Citation Parent View","operationId":"citation_parent_view_api_v1_sources_citations__citation_id__parent_get","parameters":[{"name":"citation_id","in":"path","required":true,"schema":{"type":"string","title":"Citation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sources/versions/{registry}/{version_id}/history":{"get":{"tags":["source_ledger"],"summary":"Version History Route","operationId":"source_ledger_version_history","parameters":[{"name":"registry","in":"path","required":true,"schema":{"type":"string","title":"Registry"}},{"name":"version_id","in":"path","required":true,"schema":{"type":"string","title":"Version Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sources/citations/{citation_id}/export":{"get":{"tags":["source_ledger"],"summary":"Export Citation Sheet","operationId":"source_ledger_export_citation","parameters":[{"name":"citation_id","in":"path","required":true,"schema":{"type":"string","title":"Citation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mock/strategy/{student_id}":{"get":{"tags":["e2_attempt_policy"],"summary":"Get Attempt Strategy","operationId":"get_attempt_strategy_api_v1_mock_strategy__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mock/strategy/ack":{"post":{"tags":["e2_attempt_policy"],"summary":"Ack Attempt Strategy","operationId":"ack_attempt_strategy_api_v1_mock_strategy_ack_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","default":{},"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notify/decide":{"post":{"tags":["e4_notification_brain"],"summary":"Notify Decide","description":"Decide whether/what to send for one student given candidate triggers.\n\nBody: {student_id, candidates:[{trigger,family,fields}], push_enabled?,\n       burnout?(override), now_ist?(test override)}.","operationId":"notify_decide_api_v1_notify_decide_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notify/admin/dashboard":{"get":{"tags":["e4_notification_brain"],"summary":"Notify Admin Dashboard","description":"Admin/operator view for ENG-035 decision truth.\n\nThis is intentionally read-only and fail-soft: if mig 248 has not been\napplied yet, operators still see which strict-proof gates remain.","operationId":"notify_admin_dashboard_api_v1_notify_admin_dashboard_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notify/admin/sweep":{"post":{"tags":["e4_notification_brain"],"summary":"Notify Admin Sweep","description":"Manually run the ENG-035 sweep through the same cron entry point.","operationId":"notify_admin_sweep_api_v1_notify_admin_sweep_post","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":200,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/answerkey/status":{"get":{"tags":["f2_answerkey"],"summary":"Answerkey Status","operationId":"answerkey_status_api_v1_answerkey_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/answerkey/{exam}/score":{"post":{"tags":["f2_answerkey"],"summary":"Answerkey Score","description":"Anon-friendly. Body: {response_sheet, session?, set_code?, year?, student_id?}.","operationId":"answerkey_score_api_v1_answerkey__exam__score_post","parameters":[{"name":"exam","in":"path","required":true,"schema":{"type":"string","title":"Exam"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/answerkey/{exam}":{"post":{"tags":["f2_answerkey_admin"],"summary":"Admin Upload Answerkey","description":"Admin: upload an official/provisional answer key.\n\nBody: {session, set_code, key:{q_no->option}, version?, is_provisional?, source?}.","operationId":"admin_upload_answerkey_api_v1_admin_answerkey__exam__post","parameters":[{"name":"exam","in":"path","required":true,"schema":{"type":"string","title":"Exam"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/content-review/summary":{"get":{"tags":["content-review-compatibility"],"summary":"Content Review Summary","operationId":"content_review_summary_api_v1_content_review_summary_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Content Review Summary Api V1 Content Review Summary Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/content-review/candidates":{"get":{"tags":["content-review-compatibility"],"summary":"List Content Review Candidates","operationId":"list_content_review_candidates_api_v1_content_review_candidates_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"type":"string","default":"pending_review","title":"Status"}},{"name":"subject","in":"query","required":false,"schema":{"type":"string","default":"","title":"Subject"}},{"name":"chapter","in":"query","required":false,"schema":{"type":"string","default":"","title":"Chapter"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":25,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Content Review Candidates Api V1 Content Review Candidates Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/content-review/candidates/{record_id}/review":{"post":{"tags":["content-review-compatibility"],"summary":"Review Content Candidate","operationId":"review_content_candidate_api_v1_content_review_candidates__record_id__review_post","parameters":[{"name":"record_id","in":"path","required":true,"schema":{"type":"string","title":"Record Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentReviewDecision"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Review Content Candidate Api V1 Content Review Candidates  Record Id  Review Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/content-review/beta-samples":{"post":{"tags":["beta-question-review"],"summary":"Create Beta Sample","operationId":"create_beta_sample_api_v1_content_review_beta_samples_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/beta_question_review_routes__BatchCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Beta Sample Api V1 Content Review Beta Samples Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["beta-question-review"],"summary":"List Beta Samples","operationId":"list_beta_samples_api_v1_content_review_beta_samples_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Beta Samples Api V1 Content Review Beta Samples Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/content-review/beta-samples/{sample_batch}/items":{"get":{"tags":["beta-question-review"],"summary":"List Beta Sample Items","operationId":"list_beta_sample_items_api_v1_content_review_beta_samples__sample_batch__items_get","parameters":[{"name":"sample_batch","in":"path","required":true,"schema":{"type":"string","title":"Sample Batch"}},{"name":"subject","in":"query","required":false,"schema":{"type":"string","default":"","title":"Subject"}},{"name":"verdict","in":"query","required":false,"schema":{"type":"string","default":"","title":"Verdict"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":200,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Beta Sample Items Api V1 Content Review Beta Samples  Sample Batch  Items Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/content-review/beta-samples/{sample_batch}/items/{question_id}/verdict":{"put":{"tags":["beta-question-review"],"summary":"Record Beta Sample Verdict","operationId":"record_beta_sample_verdict_api_v1_content_review_beta_samples__sample_batch__items__question_id__verdict_put","parameters":[{"name":"sample_batch","in":"path","required":true,"schema":{"type":"string","title":"Sample Batch"}},{"name":"question_id","in":"path","required":true,"schema":{"type":"string","title":"Question Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewVerdict"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Record Beta Sample Verdict Api V1 Content Review Beta Samples  Sample Batch  Items  Question Id  Verdict Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/content-review/beta-samples/{sample_batch}/report":{"get":{"tags":["beta-question-review"],"summary":"Beta Sample Report","operationId":"beta_sample_report_api_v1_content_review_beta_samples__sample_batch__report_get","parameters":[{"name":"sample_batch","in":"path","required":true,"schema":{"type":"string","title":"Sample Batch"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Beta Sample Report Api V1 Content Review Beta Samples  Sample Batch  Report Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/content-review/beta-samples/{sample_batch}/export.csv":{"get":{"tags":["beta-question-review"],"summary":"Export Beta Sample Csv","operationId":"export_beta_sample_csv_api_v1_content_review_beta_samples__sample_batch__export_csv_get","parameters":[{"name":"sample_batch","in":"path","required":true,"schema":{"type":"string","title":"Sample Batch"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/study-assets/summary":{"get":{"tags":["study-assets"],"summary":"Study Assets Summary","operationId":"study_assets_summary_api_v1_study_assets_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Study Assets Summary Api V1 Study Assets Summary Get"}}}}}}},"/api/v1/study-assets/catalogue":{"get":{"tags":["study-assets"],"summary":"Study Assets Catalogue","operationId":"study_assets_catalogue_api_v1_study_assets_catalogue_get","parameters":[{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Study Assets Catalogue Api V1 Study Assets Catalogue Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/study-assets":{"get":{"tags":["study-assets"],"summary":"List Study Assets","operationId":"list_study_assets_api_v1_study_assets_get","parameters":[{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"}},{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(flash-card|mind-map)?$"},{"type":"null"}],"title":"Kind"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"concept_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Concept Id"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":160,"minimum":1,"default":80,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Study Assets Api V1 Study Assets Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/quality/recalibrate":{"post":{"tags":["e5_quality_flywheel"],"summary":"Recalibrate","operationId":"recalibrate_api_v1_admin_quality_recalibrate_post","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":500,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/quality/flags":{"get":{"tags":["e5_quality_flywheel"],"summary":"List Flags","operationId":"list_flags_api_v1_admin_quality_flags_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"type":"string","default":"open","title":"Status"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/quality/flags/{flag_id}/resolve":{"post":{"tags":["e5_quality_flywheel"],"summary":"Resolve Flag","description":"Mark a flag reviewed/dismissed; optionally restore an auto-pulled item.","operationId":"resolve_flag_api_v1_admin_quality_flags__flag_id__resolve_post","parameters":[{"name":"flag_id","in":"path","required":true,"schema":{"type":"integer","title":"Flag Id"}},{"name":"action","in":"query","required":false,"schema":{"type":"string","default":"reviewed","title":"Action"}},{"name":"restore","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Restore"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/edugraph/round-gaps":{"get":{"tags":["edugraph_predictor"],"summary":"Admin Round Gap Report","description":"JOB-1187: missing final-round evidence, exportable. Admin only; reads, never writes.","operationId":"edugraph_admin_round_gaps","parameters":[{"name":"format","in":"query","required":false,"schema":{"type":"string","pattern":"^(json|csv)$","default":"json","title":"Format"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/edugraph/predictor-cutover":{"get":{"tags":["edugraph_predictor"],"summary":"Predictor Cutover Status","operationId":"edugraph_admin_predictor_cutover","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/edugraph/source-health":{"get":{"tags":["edugraph_predictor"],"summary":"Get Edugraph Source Health","operationId":"edugraph_admin_source_health_v2","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/neet-state-quota/{student_id}":{"get":{"tags":["edugraph_predictor"],"summary":"Get Neet State Quota List","description":"NEET state quota college list (JOB-1167 pilot). Separate from the All India Quota list; typed rank only.","operationId":"edugraph_predict_neet_state_quota_v1","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"state","in":"query","required":true,"schema":{"type":"string","description":"state body: KA, TN, WB, HR, UP, MP, OD, MH","title":"State"},"description":"state body: KA, TN, WB, HR, UP, MP, OD, MH"},{"name":"rank","in":"query","required":true,"schema":{"type":"integer","maximum":10000000,"minimum":1,"description":"the rank on the state's own list (NEET AIR or the state merit rank)","title":"Rank"},"description":"the rank on the state's own list (NEET AIR or the state merit rank)"},{"name":"category","in":"query","required":false,"schema":{"type":"string","default":"General","title":"Category"}},{"name":"kannada_medium","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Kannada Medium"}},{"name":"rural","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Rural"}},{"name":"kkr","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Kkr"}},{"name":"pwd","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Pwd"}},{"name":"female","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Female"}},{"name":"seats","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"extra seat types: private, management, nri (government always)","title":"Seats"},"description":"extra seat types: private, management, nri (government always)"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":40,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cohort/percentile/{student_id}":{"get":{"tags":["e6_cohort"],"summary":"Cohort Percentile","operationId":"cohort_percentile_api_v1_cohort_percentile__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"metric","in":"query","required":false,"schema":{"type":"string","default":"theta","title":"Metric"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cohort/trajectory/{student_id}":{"get":{"tags":["e6_cohort"],"summary":"Cohort Trajectory","operationId":"cohort_trajectory_api_v1_cohort_trajectory__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/cohort/refresh":{"post":{"tags":["e6_cohort_admin"],"summary":"Cohort Refresh","operationId":"cohort_refresh_api_v1_admin_cohort_refresh_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/institution/cohort/scopes":{"get":{"tags":["AA-P060 Institution Cohort"],"summary":"List Scopes","operationId":"list_scopes_api_v1_institution_cohort_scopes_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["AA-P060 Institution Cohort"],"summary":"Create Scope","operationId":"create_scope_api_v1_institution_cohort_scopes_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScopeCreateRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/institution/cohort/scope-grants":{"post":{"tags":["AA-P060 Institution Cohort"],"summary":"Create Scope Grant","operationId":"create_scope_grant_api_v1_institution_cohort_scope_grants_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScopeGrantCreateRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/institution/cohort/scope-grants/{grant_id}/revoke":{"post":{"tags":["AA-P060 Institution Cohort"],"summary":"Revoke Scope Grant","operationId":"revoke_scope_grant_api_v1_institution_cohort_scope_grants__grant_id__revoke_post","parameters":[{"name":"grant_id","in":"path","required":true,"schema":{"type":"string","title":"Grant Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScopeGrantRevokeRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/institution/cohort/snapshots":{"post":{"tags":["AA-P060 Institution Cohort"],"summary":"Record Snapshot","operationId":"record_snapshot_api_v1_institution_cohort_snapshots_post","parameters":[{"name":"x-pack60-snapshot-signature","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Pack60-Snapshot-Signature"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AggregateSnapshotPacket"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/institution/cohort/service-receipts":{"post":{"tags":["AA-P060 Institution Cohort"],"summary":"Receive Service Receipt","operationId":"receive_service_receipt_api_v1_institution_cohort_service_receipts_post","parameters":[{"name":"x-pack60-signature","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Pack60-Signature"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceReceiptPacket"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/institution/cohort/{scope_key}":{"get":{"tags":["AA-P060 Institution Cohort"],"summary":"Cohort Dashboard","operationId":"cohort_dashboard_api_v1_institution_cohort__scope_key__get","parameters":[{"name":"scope_key","in":"path","required":true,"schema":{"type":"string","title":"Scope Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/institution/cohort/interventions":{"post":{"tags":["AA-P060 Institution Cohort"],"summary":"Record Intervention","operationId":"record_intervention_api_v1_institution_cohort_interventions_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InterventionRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/trajectory/{student_id}":{"get":{"tags":["predict_ext_v2"],"summary":"Get Predict Trajectory","description":"PR-115 monthly snapshot · PR-120 weekly · PR-130 daily — same engine,\ncaller picks `horizon_days`. Tier-shaped:\n\n  FREE     → locked envelope (preview)\n  ACE      → state and direction only (no ranks)\n  GROW+    → the estimated range (optimistic to cautious) + persists\n  SCALE    → adds slope-explanation hints (PR-135 lite)\n\nOne rank owner: aces_predict_engine.compute_governed_snapshot (model_owner\n\"primary\"). EDU-029 runs only as a labelled shadow comparison. Too little\nqualified evidence is FORMING — never a fabricated band, never an older\nrank_predictions row relabelled to this exam and horizon (AP-R04).","operationId":"get_predict_trajectory_api_v1_predict_trajectory__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"exam","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"JEE_MAIN | JEE_ADVANCED | NEET_UG (JEE/NEET accepted); the profile is authoritative","title":"Exam"},"description":"JEE_MAIN | JEE_ADVANCED | NEET_UG (JEE/NEET accepted); the profile is authoritative"},{"name":"horizon_days","in":"query","required":false,"schema":{"type":"integer","maximum":365,"minimum":1,"default":30,"title":"Horizon Days"}},{"name":"window_days","in":"query","required":false,"schema":{"type":"integer","maximum":180,"minimum":7,"default":60,"title":"Window Days"}},{"name":"persist","in":"query","required":false,"schema":{"type":"boolean","description":"Write snapshot to rank_predictions","default":true,"title":"Persist"},"description":"Write snapshot to rank_predictions"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/snapshot/{student_id}":{"get":{"tags":["predict_ext_v2"],"summary":"Get Predict Trajectory","description":"PR-115 monthly snapshot · PR-120 weekly · PR-130 daily — same engine,\ncaller picks `horizon_days`. Tier-shaped:\n\n  FREE     → locked envelope (preview)\n  ACE      → state and direction only (no ranks)\n  GROW+    → the estimated range (optimistic to cautious) + persists\n  SCALE    → adds slope-explanation hints (PR-135 lite)\n\nOne rank owner: aces_predict_engine.compute_governed_snapshot (model_owner\n\"primary\"). EDU-029 runs only as a labelled shadow comparison. Too little\nqualified evidence is FORMING — never a fabricated band, never an older\nrank_predictions row relabelled to this exam and horizon (AP-R04).","operationId":"get_predict_trajectory_api_v1_predict_snapshot__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"exam","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"JEE_MAIN | JEE_ADVANCED | NEET_UG (JEE/NEET accepted); the profile is authoritative","title":"Exam"},"description":"JEE_MAIN | JEE_ADVANCED | NEET_UG (JEE/NEET accepted); the profile is authoritative"},{"name":"horizon_days","in":"query","required":false,"schema":{"type":"integer","maximum":365,"minimum":1,"default":30,"title":"Horizon Days"}},{"name":"window_days","in":"query","required":false,"schema":{"type":"integer","maximum":180,"minimum":7,"default":60,"title":"Window Days"}},{"name":"persist","in":"query","required":false,"schema":{"type":"boolean","description":"Write snapshot to rank_predictions","default":true,"title":"Persist"},"description":"Write snapshot to rank_predictions"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/trajectory-history/{student_id}":{"get":{"tags":["predict_ext_v2"],"summary":"Get Trajectory History","description":"EDU-029 read-back: `/predict/trajectory/{sid}` persists an `edu_029_trajectory_snapshots`\nrow each call but they were never read back (A3-3 write_never_read) — so the student's\nscore-velocity / rank trajectory over time was invisible. Returns recent snapshots\n(indexed by `idx_edu_029_trajectory_student_generated`), newest first, honest-empty when\nnone. Ownership-gated via predict_ext_v2_router.","operationId":"get_trajectory_history_api_v1_predict_trajectory_history__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"exam_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"jee_main | jee_advanced | neet","title":"Exam Type"},"description":"jee_main | jee_advanced | neet"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/rank-band/{student_id}":{"get":{"tags":["predict_ext_v2"],"summary":"Get Rank Band","description":"Pack #15 PREDICT-RANK (FREE) — the estimated range + 'what feeds this'.\n\nThe range runs from optimistic to cautious (lower rank is better). It is built from\nintegrity-qualified, exam-matched mocks and scored DPPs under the active evidence\npolicy. Below the evidence floor the state is FORMING and no rank is shown. The band\nis labelled an estimated range: no percentage, no 'confidence', because no calibration\nreceipt exists. Read-only: reading this never moves mastery or the rank. It returns NO\ncollege depth (the firewall).","operationId":"predict_rank_band_free","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"exam","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"JEE_MAIN | JEE_ADVANCED | NEET_UG (JEE/NEET accepted)","title":"Exam"},"description":"JEE_MAIN | JEE_ADVANCED | NEET_UG (JEE/NEET accepted)"},{"name":"prediction_context_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Prediction context receipt reference","title":"Prediction Context Id"},"description":"Prediction context receipt reference"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/public/predict/college/share-card":{"get":{"tags":["predict_ext_v2"],"summary":"Public College Predictor Share Card","operationId":"public_college_predictor_share_card","parameters":[{"name":"exam_type","in":"query","required":false,"schema":{"type":"string","default":"JEE_MAIN","title":"Exam Type"}},{"name":"rank","in":"query","required":true,"schema":{"type":"integer","minimum":1,"title":"Rank"}},{"name":"category","in":"query","required":false,"schema":{"type":"string","default":"General","title":"Category"}},{"name":"quota","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Quota"}},{"name":"round_no","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Round No"}},{"name":"counselling_year","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":2030,"minimum":2015},{"type":"null"}],"title":"Counselling Year"}},{"name":"result_intent","in":"query","required":false,"schema":{"type":"string","default":"college","title":"Result Intent"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/colleges/save/{student_id}":{"post":{"tags":["predict_ext_v2"],"summary":"Save College","description":"PR-140 save — append (or refresh) a college on the student's My List.\nIdempotent on (student_id, college_name, branch, category, exam_type).","operationId":"save_college_api_v1_predict_colleges_save__student_id__post","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_SaveCollegeBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["predict_ext_v2"],"summary":"Unsave College","description":"Remove a saved college. 404 if it wasn't saved.","operationId":"unsave_college_api_v1_predict_colleges_save__student_id__delete","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"college_name","in":"query","required":true,"schema":{"type":"string","description":"exact college_name as saved","title":"College Name"},"description":"exact college_name as saved"},{"name":"branch","in":"query","required":true,"schema":{"type":"string","description":"exact branch as saved","title":"Branch"},"description":"exact branch as saved"},{"name":"category","in":"query","required":false,"schema":{"type":"string","default":"General","title":"Category"}},{"name":"exam_type","in":"query","required":true,"schema":{"type":"string","description":"exam pool this saved row belongs to","title":"Exam Type"},"description":"exam pool this saved row belongs to"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/colleges/saved/{student_id}":{"get":{"tags":["predict_ext_v2"],"summary":"List Saved Colleges","description":"Return the student's saved My List, newest-first.\n\nEach item carries its college_decision_id and, when the decision behind it was\ncorrected or withdrawn, a plain `correction` note (R08). No probability field.","operationId":"list_saved_colleges_api_v1_predict_colleges_saved__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/dream/{student_id}":{"get":{"tags":["predict_ext_v2"],"summary":"Get Dream Tracker","description":"COLLEGE-DREAM — the saved dreams tracked toward their reach line.\n\nGROW-gated (chance/gap derive from the paid cutoff layer); below-GROW gets a\nLocked-Useful envelope that still says saving a dream is free. Honest empty\nwhen no dreams saved. Each dream: current chance + band + ranks-to-reach +\nthe climb since it was saved. Plus the closest dream and an honest, non-hyped\nmotivation line.","operationId":"get_dream_tracker_api_v1_predict_dream__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"rank","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"description":"current exam rank for the live chance read","title":"Rank"},"description":"current exam rank for the live chance read"},{"name":"exam_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"exam pool to scope the dreams to","title":"Exam Type"},"description":"exam pool to scope the dreams to"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/dream/{student_id}/save":{"post":{"tags":["predict_ext_v2"],"summary":"Save Dream","description":"Save a dream college. Persists to saved_colleges (idempotent) AND records a\nLIGHT PREFERENCE twin signal — a stated goal, never a mastery move. All-tier\n(a preference is free); the odds-tracking read is the GROW part.","operationId":"save_dream_api_v1_predict_dream__student_id__save_post","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_SaveCollegeBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/college/{college_name}/cutoff-trend":{"get":{"tags":["predict_ext_v2"],"summary":"Get Cutoff Trend","description":"PR-145 multi-year cutoff trend per (college, branch, exam_type).\nRequires an exact rank so the overlay matches the selected exam pool.\nReturns points, user_rank, and forecast.","operationId":"get_cutoff_trend_api_v1_predict_college__college_name__cutoff_trend_get","parameters":[{"name":"college_name","in":"path","required":true,"schema":{"type":"string","title":"College Name"}},{"name":"student_id","in":"query","required":true,"schema":{"type":"string","description":"for tier gate + user-rank overlay","title":"Student Id"},"description":"for tier gate + user-rank overlay"},{"name":"branch","in":"query","required":true,"schema":{"type":"string","description":"exact branch to filter; required because cutoffs differ per branch","title":"Branch"},"description":"exact branch to filter; required because cutoffs differ per branch"},{"name":"category","in":"query","required":false,"schema":{"type":"string","default":"General","title":"Category"}},{"name":"exam_type","in":"query","required":true,"schema":{"type":"string","description":"exam cutoff pool for this trend","title":"Exam Type"},"description":"exam cutoff pool for this trend"},{"name":"rank","in":"query","required":true,"schema":{"type":"integer","minimum":1,"description":"exact rank for the selected exam overlay line","title":"Rank"},"description":"exact rank for the selected exam overlay line"},{"name":"years","in":"query","required":false,"schema":{"type":"integer","maximum":10,"minimum":2,"default":5,"title":"Years"}},{"name":"offering_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"state counselling exams: the programme at a college (identity-linked)","title":"Offering Id"},"description":"state counselling exams: the programme at a college (identity-linked)"},{"name":"domicile_state","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"description":"state exams: the student's home state (Punjab home-state seats)","title":"Domicile State"},"description":"state exams: the student's home state (Punjab home-state seats)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/colleges/sensitivity/{student_id}":{"get":{"tags":["predict_ext_v2"],"summary":"College Sensitivity","description":"PR-140 sensitivity for historical cutoff-fit lanes.\n\nThe route varies the manually entered rank and compares it with one\nverified closing rank. It does not emit an admission probability.","operationId":"college_sensitivity_api_v1_predict_colleges_sensitivity__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"college_name","in":"query","required":true,"schema":{"type":"string","title":"College Name"}},{"name":"branch","in":"query","required":true,"schema":{"type":"string","title":"Branch"}},{"name":"category","in":"query","required":false,"schema":{"type":"string","default":"General","title":"Category"}},{"name":"exam_type","in":"query","required":true,"schema":{"type":"string","description":"exam cutoff pool for this analysis","title":"Exam Type"},"description":"exam cutoff pool for this analysis"},{"name":"rank","in":"query","required":true,"schema":{"type":"integer","minimum":1,"description":"exact rank for the selected exam","title":"Rank"},"description":"exact rank for the selected exam"},{"name":"offering_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"state counselling exams: the programme at a college (identity-linked)","title":"Offering Id"},"description":"state counselling exams: the programme at a college (identity-linked)"},{"name":"domicile_state","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"description":"state exams: the student's home state (Punjab home-state seats)","title":"Domicile State"},"description":"state exams: the student's home state (Punjab home-state seats)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/college-decision/preference-order":{"post":{"tags":["predict_ext_v2"],"summary":"Create College Decision Preference Order","description":"Create a durable draft preference-order artifact from the current\nCollege Decision OS payload. This is not an official counselling\nsubmission; it preserves the editable order plus source caveats.","operationId":"create_college_decision_preference_order_api_v1_predict_college_decision_preference_order_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_CollegeDecisionOrderArtifactBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/college-decision/parent-report":{"post":{"tags":["predict_ext_v2"],"summary":"Create College Decision Parent Report","description":"Create a parent-safe College Decision OS report artifact. The payload is\nredacted to decision counts, caveats, source proof, and next conversation;\nit does not expose learning weaknesses.","operationId":"create_college_decision_parent_report_api_v1_predict_college_decision_parent_report_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_CollegeDecisionParentReportBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/college-decision/parent-report/{student_id}":{"get":{"tags":["predict_ext_v2"],"summary":"Read College Decision Parent Report","description":"Read the latest parent-safe Decision OS artifact for its owner only.\n\nThe stored payload was already redacted by the writer. This endpoint keeps\nthat boundary explicit instead of returning the database row verbatim.","operationId":"read_college_decision_parent_report_api_v1_predict_college_decision_parent_report__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/colleges/compare":{"post":{"tags":["predict_ext_v2"],"summary":"Compare Colleges","description":"PR-150 side-by-side comparison of two to four sourced cutoff rows.\n\nAdmission probability remains withheld until reviewed calibration is\nattached. The comparison uses historical fit lanes and source evidence.\n\nWith `college_decision_id` it compares options of the caller's OWN stored college\ndecision (PRD-AA-YOUR-COLLEGES P04): observed closing ranks by year and round with\nsource, an \"advisory\" lane label, source-parity flags, and no probability.","operationId":"compare_colleges_api_v1_predict_colleges_compare_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/_CompareBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/seat-feasibility/{student_id}":{"get":{"tags":["predict_ext_v2"],"summary":"Get Seat Predictor Feasibility","description":"Pack #17 SEAT-PREDICTOR — honest feasibility/lock probe.\n\nReturns:\n  {\n    feasible: bool,                # whole chain runs end-to-end for this student\n    locked: bool,                  # GROW gate denial — render SEAT-LOCK\n    required_tier: 'GROW' | None,  # what unlocks it\n    free_fallback: 'predict-rank', # the FREE rung that's always one tap away\n    exam_supported: bool,          # our own counselling-rounds data covers this exam\n    exam_authority: str,           # 'JoSAA + CSAB' (JEE) or 'MCC / state' (NEET)\n    product_id: 'seat-predictor',  # canonical V7 slug (Pack #17 reframe 2026-06-15)\n    legacy_product_id: 'josaa-simulator',  # back-compat alias\n    notes: [..] honest copy strings, never raw codes\n  }","operationId":"get_seat_predictor_feasibility_api_v1_predict_seat_feasibility__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"exam_type","in":"query","required":false,"schema":{"type":"string","description":"JEE_MAIN | JEE_ADVANCED | NEET","default":"JEE_MAIN","title":"Exam Type"},"description":"JEE_MAIN | JEE_ADVANCED | NEET"},{"name":"authority","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authority"}},{"name":"institute_code","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Institute Code"}},{"name":"programme_code","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Programme Code"}},{"name":"category_code","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category Code"}},{"name":"domicile_scope","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Domicile Scope"}},{"name":"domicile_state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Domicile State"}},{"name":"quota_code","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Quota Code"}},{"name":"round_label","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Round Label"}},{"name":"rank_universe","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rank Universe"}},{"name":"gender_code","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gender Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/commerce-access/{student_id}/{product_key}":{"get":{"tags":["predict_ext_v2"],"summary":"Get Predictor Commerce Access","description":"Read the OS09 access decision for a Predictor surface without mutation.","operationId":"get_predictor_commerce_access_api_v1_predict_commerce_access__student_id___product_key__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"product_key","in":"path","required":true,"schema":{"type":"string","title":"Product Key"}},{"name":"feature_key","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Feature Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/seat/sim/{student_id}":{"post":{"tags":["predict_ext_v2"],"summary":"Simulate Seat Rounds","description":"Pack #17 Seat Predictor deep simulation.\n\nProduces a source-auditable round timeline from loaded cutoff rows. It does\nnot claim official allotment and it fails closed with ``blocked_source_missing``\nwhen the corpus has no rows for the requested exam/category/quota/round.","operationId":"simulate_seat_rounds_api_v1_predict_seat_sim__student_id__post","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SeatSimulationBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/monthly-insights/{student_id}":{"get":{"tags":["predict_ext_v2"],"summary":"Get Monthly Insights","description":"PR-280 (ACE NEW v5.2) — extracts 3-5 plain-English insight bullets\nfrom the same data PR-255 monthly report aggregates.\n\nPattern: \"X improved by 12% this month\" / \"Mock attendance dropped from 4 to 1 — at risk\".\nNever a wellness or burnout line: wellness is hidden from parents (D03).\nMid-tier ACE; SCALE adds JARVIS narrative (RAG-gated, preview today).","operationId":"get_monthly_insights_api_v1_parent_monthly_insights__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/recommended-actions/{student_id}":{"get":{"tags":["predict_ext_v2"],"summary":"Get Recommended Actions","description":"PR-270 (GROW NEW v5.2) — actionable recommendations for the parent.\n\nReads the same signals PR-280 reads but converts them into specific\nparent-actionable cards:\n  - \"Schedule a sit-down on Maths topic gaps\" (when subject mastery\n    below threshold AND attempt count meaningful)\n  - \"Praise: 14-day practice streak\" (when streak >=14 days)","operationId":"get_recommended_actions_api_v1_parent_recommended_actions__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/sample-question":{"get":{"tags":["public_web"],"summary":"Get Sample Question","operationId":"get_sample_question_api_public_sample_question_get","parameters":[{"name":"exam","in":"query","required":true,"schema":{"type":"string","description":"jee | neet","title":"Exam"},"description":"jee | neet"},{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Subject"}},{"name":"chapter","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Chapter"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/sample-question/attempt":{"post":{"tags":["public_web"],"summary":"Submit Sample Question Attempt","operationId":"submit_sample_question_attempt_api_public_sample_question_attempt_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicQuestionAttemptBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/prediction-context/{context_id}":{"delete":{"tags":["public_web"],"summary":"Public Delete Prediction Context","operationId":"public_delete_prediction_context_api_public_prediction_context__context_id__delete","parameters":[{"name":"context_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Context Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/predict/colleges":{"post":{"tags":["public_web"],"summary":"Public Predict Colleges","operationId":"public_predict_colleges_api_public_predict_colleges_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicPredictBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/cutoffs":{"get":{"tags":["public_web"],"summary":"Public Cutoffs","operationId":"public_cutoffs_api_public_cutoffs_get","parameters":[{"name":"college_slug","in":"query","required":true,"schema":{"type":"string","minLength":2,"maxLength":160,"title":"College Slug"}},{"name":"exam","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Exam"}},{"name":"branch","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Branch"}},{"name":"branch_slug","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Branch Slug"}},{"name":"year","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":2100,"minimum":2000},{"type":"null"}],"title":"Year"}},{"name":"latest","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Latest"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/colleges":{"get":{"tags":["public_web"],"summary":"Public Colleges Search","description":"Find colleges by name, short name (IIT, AIIMS...), or slug.\n\nPublic and anonymous: per-IP rate limited, and it returns only college\nnames, slugs, city and state, never any personal data.","operationId":"public_colleges_search_api_public_colleges_get","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":2,"maxLength":100,"title":"Q"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":15,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","maximum":5000,"minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/cutoffs/index":{"get":{"tags":["public_web"],"summary":"Public Cutoffs Index","description":"Enumerate the cutoff pages that are safe to publish.\n\n`/cutoffs` answers \"what does this one college have\", which is what a page\nrender needs. Nothing answered \"which pages exist at all\", so the website had\nno way to build a sitemap and Google had no way to discover a single cutoff\npage - 426,769 verified rows behind a route nothing linked to.\n\nThe one property that matters here is that this list and the page agree. A\nsitemap that names URLs which 404 is worse than no sitemap: it spends crawl\nbudget on dead ends and teaches Google the section is unreliable. So this\napplies the SAME filters `_fetch_public_edugraph_cutoffs` applies for a page\nrender - verified, a real cutoff rank, the General/OPEN category aliases, and\nno quota filter, matching the `quota=\"\"` the /cutoffs route passes - and it\nslugifies college and branch the same way the reader and the website do,\nincluding the website's `&` -> \" and \" step, which a plain non-alphanumeric\nsquash would get wrong for a branch like \"Electrical & Electronics\".\n\nReturns one row per publishable page, not per cutoff row.","operationId":"public_cutoffs_index_api_public_cutoffs_index_get","parameters":[{"name":"exam","in":"query","required":false,"schema":{"type":"string","maxLength":32,"default":"JEE_MAIN","title":"Exam"}},{"name":"college_slug","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"College Slug"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":5000,"minimum":1,"default":1000,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/topics":{"get":{"tags":["public_web"],"summary":"Public Topics","operationId":"public_topics_api_public_topics_get","parameters":[{"name":"exam","in":"query","required":true,"schema":{"type":"string","maxLength":16,"title":"Exam"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/claims":{"get":{"tags":["public_web"],"summary":"Public Claims","operationId":"public_claims_api_public_claims_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/public/content":{"get":{"tags":["public_web"],"summary":"Public Content List","operationId":"public_content_list_api_public_content_get","parameters":[{"name":"exam","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"Exam"}},{"name":"audience","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Audience"}},{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Kind"}},{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Subject"}},{"name":"chapter","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Chapter"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":30,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/content/availability":{"get":{"tags":["public_web"],"summary":"Public Content Availability","operationId":"public_content_availability_api_public_content_availability_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/public/content/{public_slug}/trust":{"get":{"tags":["public_web"],"summary":"Public Content Trust","operationId":"public_content_trust_api_public_content__public_slug__trust_get","parameters":[{"name":"public_slug","in":"path","required":true,"schema":{"type":"string","title":"Public Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/content/{public_slug}":{"get":{"tags":["public_web"],"summary":"Public Content Detail","operationId":"public_content_detail_api_public_content__public_slug__get","parameters":[{"name":"public_slug","in":"path","required":true,"schema":{"type":"string","title":"Public Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/continuity":{"post":{"tags":["public_web"],"summary":"Create Continuity","operationId":"create_continuity_api_public_continuity_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContinuityBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/continuity/claims/pending":{"get":{"tags":["public_web"],"summary":"Pending Claims","operationId":"pending_claims_api_public_continuity_claims_pending_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/continuity/claim":{"post":{"tags":["public_web"],"summary":"Claim Continuity","operationId":"claim_continuity_api_public_continuity_claim_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/continuity/claims/{continuity_id}/restore":{"post":{"tags":["public_web"],"summary":"Restore Continuity","operationId":"restore_continuity_api_public_continuity_claims__continuity_id__restore_post","parameters":[{"name":"continuity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Continuity Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/continuity/claims/{continuity_id}/first-action":{"post":{"tags":["public_web"],"summary":"Record First Action","operationId":"record_first_action_api_public_continuity_claims__continuity_id__first_action_post","parameters":[{"name":"continuity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Continuity Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FirstActionBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/continuity/{token}":{"get":{"tags":["public_web"],"summary":"Inspect Continuity","operationId":"inspect_continuity_api_public_continuity__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"}}}}}}},"/api/public/catalog":{"get":{"tags":["public_web"],"summary":"Public Catalog","operationId":"public_catalog_api_public_catalog_get","parameters":[{"name":"exam","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"Exam"}},{"name":"audience","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Audience"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/products":{"get":{"tags":["public_web"],"summary":"Public Products","operationId":"public_products_api_public_products_get","parameters":[{"name":"exam","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"Exam"}},{"name":"audience","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Audience"}},{"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":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/products/{public_slug}":{"get":{"tags":["public_web"],"summary":"Public Product","operationId":"public_product_api_public_products__public_slug__get","parameters":[{"name":"public_slug","in":"path","required":true,"schema":{"type":"string","title":"Public Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/plans":{"get":{"tags":["public_web"],"summary":"Public Plans","operationId":"public_plans_api_public_plans_get","parameters":[{"name":"exam","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Exam"}},{"name":"audience","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Audience"}},{"name":"tier","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tier"}},{"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":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/packs":{"get":{"tags":["public_web"],"summary":"Public Packs","operationId":"public_packs_api_public_packs_get","parameters":[{"name":"exam","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Exam"}},{"name":"audience","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Audience"}},{"name":"tier","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tier"}},{"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":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/offers":{"get":{"tags":["public_web"],"summary":"Public Offers","operationId":"public_offers_api_public_offers_get","parameters":[{"name":"exam","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Exam"}},{"name":"audience","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Audience"}},{"name":"tier","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tier"}},{"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":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/bundles":{"get":{"tags":["public_web"],"summary":"Public Bundles","operationId":"public_bundles_api_public_bundles_get","parameters":[{"name":"exam","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Exam"}},{"name":"audience","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Audience"}},{"name":"tier","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tier"}},{"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":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/availability":{"get":{"tags":["public_web"],"summary":"Public Commerce Availability","operationId":"public_commerce_availability_api_public_availability_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/public/doors":{"get":{"tags":["public_web"],"summary":"Public Doors","operationId":"public_doors_api_public_doors_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/public/doors/{slug}":{"get":{"tags":["public_web"],"summary":"Public Door","operationId":"public_door_api_public_doors__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/public/checkout/sessions":{"post":{"tags":["public_web"],"summary":"Create Checkout Session","operationId":"create_checkout_session_api_public_checkout_sessions_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutCreateBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/checkout/sessions/{checkout_id}":{"get":{"tags":["public_web"],"summary":"Checkout Session Status","operationId":"checkout_session_status_api_public_checkout_sessions__checkout_id__get","parameters":[{"name":"checkout_id","in":"path","required":true,"schema":{"type":"string","title":"Checkout Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/checkout/sessions/{checkout_id}/retry":{"post":{"tags":["public_web"],"summary":"Retry Checkout Session","operationId":"retry_checkout_session_api_public_checkout_sessions__checkout_id__retry_post","parameters":[{"name":"checkout_id","in":"path","required":true,"schema":{"type":"string","title":"Checkout Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutRetryBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/checkout/sessions/{checkout_id}/cancel":{"post":{"tags":["public_web"],"summary":"Cancel Checkout Session","operationId":"cancel_checkout_session_api_public_checkout_sessions__checkout_id__cancel_post","parameters":[{"name":"checkout_id","in":"path","required":true,"schema":{"type":"string","title":"Checkout Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutCancelBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/checkout/activations/{activation_receipt_id}":{"get":{"tags":["public_web"],"summary":"Activation Receipt","operationId":"activation_receipt_api_public_checkout_activations__activation_receipt_id__get","parameters":[{"name":"activation_receipt_id","in":"path","required":true,"schema":{"type":"string","title":"Activation Receipt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/relationships/invitations":{"post":{"tags":["public_web"],"summary":"Create Relationship Invitation","operationId":"create_relationship_invitation_api_public_relationships_invitations_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RelationshipInviteCreateBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/relationships/claim":{"post":{"tags":["public_web"],"summary":"Claim Relationship Invitation","operationId":"claim_relationship_invitation_api_public_relationships_claim_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RelationshipClaimBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/relationships":{"get":{"tags":["public_web"],"summary":"List Relationships","operationId":"list_relationships_api_public_relationships_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/relationships/{relationship_id}/revoke":{"post":{"tags":["public_web"],"summary":"Revoke Relationship","operationId":"revoke_relationship_api_public_relationships__relationship_id__revoke_post","parameters":[{"name":"relationship_id","in":"path","required":true,"schema":{"type":"string","title":"Relationship Id"}},{"name":"reason","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/relationships/{relationship_id}/checkout-links":{"post":{"tags":["public_web"],"summary":"Link Relationship Checkout","operationId":"link_relationship_checkout_api_public_relationships__relationship_id__checkout_links_post","parameters":[{"name":"relationship_id","in":"path","required":true,"schema":{"type":"string","title":"Relationship Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutLinkBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/relationships/{relationship_id}/billing":{"get":{"tags":["public_web"],"summary":"Relationship Billing Summary","operationId":"relationship_billing_summary_api_public_relationships__relationship_id__billing_get","parameters":[{"name":"relationship_id","in":"path","required":true,"schema":{"type":"string","title":"Relationship Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/affordability/requests":{"post":{"tags":["public_web"],"summary":"Create Affordability Request","operationId":"create_affordability_request_api_public_affordability_requests_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AffordabilityRequestBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["public_web"],"summary":"List Affordability Requests","operationId":"list_affordability_requests_api_public_affordability_requests_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/affordability/requests/{request_id}/clarifications":{"post":{"tags":["public_web"],"summary":"Issue Affordability Clarification","description":"Issue a bounded public-context clarification from the authorized source lane.","operationId":"issue_affordability_clarification_api_public_affordability_requests__request_id__clarifications_post","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Request Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AffordabilityClarificationIssue"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/affordability/clarifications/{clarification_id}":{"get":{"tags":["public_web"],"summary":"Read Affordability Clarification","description":"Read one exact clarification only for its requester or current linked payer/guardian.","operationId":"read_affordability_clarification_api_public_affordability_clarifications__clarification_id__get","parameters":[{"name":"clarification_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Clarification Id"}},{"name":"request_revision","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Request Revision"}},{"name":"clarification_version","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Clarification Version"}},{"name":"X-Personal-Context","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Personal-Context"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/affordability/clarifications/{clarification_id}/responses":{"post":{"tags":["public_web"],"summary":"Respond To Affordability Clarification","description":"Append one schema-bounded reply receipt; never changes financing outcomes.","operationId":"respond_to_affordability_clarification_api_public_affordability_clarifications__clarification_id__responses_post","parameters":[{"name":"clarification_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Clarification Id"}},{"name":"X-Personal-Context","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Personal-Context"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AffordabilityClarificationResponse"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/support/cases":{"post":{"tags":["public_web"],"summary":"Create Support Case","operationId":"create_support_case_api_public_support_cases_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupportCaseCreateBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["public_web"],"summary":"List Support Cases","operationId":"list_support_cases_api_public_support_cases_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/support/cases/{case_id}":{"get":{"tags":["public_web"],"summary":"Read Support Case","operationId":"read_support_case_api_public_support_cases__case_id__get","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","title":"Case Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/college-alias/resolve":{"get":{"tags":["public_web","open_college_alias_registry"],"summary":"Resolve College Alias","description":"resolve_alias + read_canonical_college_ref + return_canonical_ref.\n\nFree, unmetered, rate-limited by trusted IP. Returns a canonical college\nreference plus alias_source and disposition -- never a prediction, cutoff\nor private learner context, and never a bulk list. Always queries BOTH\nedugraph_college_aliases and edugraph_colleges and takes their UNION\nbefore counting distinct college_ids (review round 2 -- querying the\ncollege table only when the alias table was empty hid real duplicates:\n121 of 1,413 alias-matched keys, 2026-09-27 measurement). Returns\nAMBIGUOUS with named candidates -- never a guess -- when more than one\ndistinct college matches.","operationId":"resolve_college_alias_api_public_college_alias_resolve_get","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":200,"title":"Q"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Resolve College Alias Api Public College Alias Resolve Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/college-alias/report-conflict":{"post":{"tags":["public_web","open_college_alias_registry"],"summary":"Report College Alias Conflict","description":"report_alias_conflict.\n\nQueues a conflict for the alias-review/correction owner (the same\nCollege-data ops lane that triages edugraph_unresolved_college_identity_queue).\nNever merges, edits or deletes an alias row directly -- this is a report,\nnot a public write onto the alias substrate.","operationId":"report_college_alias_conflict_api_public_college_alias_report_conflict_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConflictReportBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Report College Alias Conflict Api Public College Alias Report Conflict Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/financing/surface":{"get":{"tags":["fee-financing"],"summary":"Financing Surface Read","description":"Which parts are switched on. Booleans only; this is how the screen chooses the real page or the shell.","operationId":"financing_surface_read","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/financing/context":{"get":{"tags":["fee-financing"],"summary":"Financing Context Read","operationId":"financing_context_read","parameters":[{"name":"purchase_offer_id","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"title":"Purchase Offer Id"}},{"name":"purchase_offer_version","in":"query","required":true,"schema":{"type":"integer","minimum":1,"title":"Purchase Offer Version"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/financing/availability":{"get":{"tags":["fee-financing"],"summary":"Financing Availability Read","operationId":"financing_availability_read","parameters":[{"name":"purchase_offer_id","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"title":"Purchase Offer Id"}},{"name":"purchase_offer_version","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"title":"Purchase Offer Version"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/financing/offers":{"get":{"tags":["fee-financing"],"summary":"Financing Offer Snapshot List","operationId":"financing_offer_snapshot_list","parameters":[{"name":"purchase_offer_id","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"title":"Purchase Offer Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/financing/disclosures":{"get":{"tags":["fee-financing"],"summary":"Financing Disclosure Read","operationId":"financing_disclosure_read","parameters":[{"name":"snapshot_id","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"title":"Snapshot Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/financing/consent/preview":{"get":{"tags":["fee-financing"],"summary":"Financing Consent Preview","operationId":"financing_consent_preview","parameters":[{"name":"snapshot_id","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"title":"Snapshot Id"}},{"name":"case_ref","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Case Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/financing/history":{"get":{"tags":["fee-financing"],"summary":"Financing History Read","operationId":"financing_history_read","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/financing/payer/invite":{"post":{"tags":["fee-financing"],"summary":"Financing Adult Payer Invite","operationId":"financing_adult_payer_invite","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/financing/consent":{"post":{"tags":["fee-financing"],"summary":"Financing Consent Grant","operationId":"financing_consent_grant","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/financing/consent/{consent_id}":{"delete":{"tags":["fee-financing"],"summary":"Financing Consent Revoke","operationId":"financing_consent_revoke","parameters":[{"name":"consent_id","in":"path","required":true,"schema":{"type":"string","title":"Consent Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/financing/applications/preflight":{"post":{"tags":["fee-financing"],"summary":"Financing Eligibility Preflight","operationId":"financing_eligibility_preflight","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/financing/applications/capacity-reservations":{"post":{"tags":["fee-financing"],"summary":"Financing Capacity Reserve","operationId":"financing_capacity_reserve","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/financing/capacity-reservations/{capacity_receipt_ref}":{"get":{"tags":["fee-financing"],"summary":"Financing Capacity Read","operationId":"financing_capacity_read","parameters":[{"name":"capacity_receipt_ref","in":"path","required":true,"schema":{"type":"string","title":"Capacity Receipt Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/financing/applications":{"post":{"tags":["fee-financing"],"summary":"Financing Application Create","operationId":"financing_application_create","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/financing/applications/{application_id}":{"get":{"tags":["fee-financing"],"summary":"Financing Application Read","operationId":"financing_application_read","parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","title":"Application Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/financing/applications/{application_id}/status":{"get":{"tags":["fee-financing"],"summary":"Financing Application Status Read","operationId":"financing_application_status_read","parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","title":"Application Id"}},{"name":"refresh","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Refresh"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/financing/applications/{application_id}/cancel-request":{"post":{"tags":["fee-financing"],"summary":"Financing Application Cancel Request","operationId":"financing_application_cancel_request","parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","title":"Application Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/financing/applications/{application_id}/reconcile":{"post":{"tags":["fee-financing"],"summary":"Financing Reconciliation Start","description":"Internal principal only. Asks commerce what happened; never grants anything.","operationId":"financing_reconciliation_start","parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","title":"Application Id"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/financing/callbacks/{provider_id}":{"post":{"tags":["fee-financing"],"summary":"Financing Provider Callback","description":"Provider credential only: authenticated by signature, not by a session. Replay-safe.","operationId":"financing_provider_callback","parameters":[{"name":"provider_id","in":"path","required":true,"schema":{"type":"string","title":"Provider Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/financing/support":{"post":{"tags":["fee-financing"],"summary":"Financing Support Open","operationId":"financing_support_open","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/financing/cases/{case_ref}/dispute":{"post":{"tags":["fee-financing"],"summary":"Financing Dispute Open","operationId":"financing_dispute_open","parameters":[{"name":"case_ref","in":"path","required":true,"schema":{"type":"string","title":"Case Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/financing/cases/{case_ref}/export":{"get":{"tags":["fee-financing"],"summary":"Financing Case Export","operationId":"financing_case_export","parameters":[{"name":"case_ref","in":"path","required":true,"schema":{"type":"string","title":"Case Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/financing/cases/{case_ref}/export/{export_id}":{"delete":{"tags":["fee-financing"],"summary":"Financing Case Export Delete","operationId":"financing_case_export_delete","parameters":[{"name":"case_ref","in":"path","required":true,"schema":{"type":"string","title":"Case Ref"}},{"name":"export_id","in":"path","required":true,"schema":{"type":"string","title":"Export Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/financing-summary/{child}":{"get":{"tags":["fee-financing"],"summary":"Financing Parent Summary Read","description":"A linked adult, with consent, sees one sentence and the obligations summary. Never the application.","operationId":"financing_parent_summary_read","parameters":[{"name":"child","in":"path","required":true,"schema":{"type":"string","title":"Child"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/doubt/image/capture-policy":{"get":{"tags":["cl010_image_doubt"],"summary":"Image Capture Policy","description":"What would happen to a photo, answered BEFORE one is taken.\n\nTHIS ROUTE EXISTS BECAUSE ITS ABSENCE WAS BEING FILLED IN BY THE CLIENT.\nThe capture privacy envelope is supposed to show the effective retention\npolicy before the camera opens. There was no way to ask for one — the only\nretention route is `PUT /api/v1/images/{image_id}/retention`, which needs an\nimage that by definition has not been taken yet — so the web app offered a\nhardcoded list of retention options including one year. A policy the server\nnever stated is not a policy; it is a guess wearing a policy's clothes, and\na learner who picks from it has consented to nothing in particular.\n\nEvery field here is derived from what this server actually knows:\n\n- The raw image is transient unless a bucket AND a declared purge worker\n  both exist. That rule already lives in `_retention_policy` and is\n  deliberately fail-closed: we refuse to store what we cannot prove we can\n  delete. Reporting it here means the envelope says \"never stored\" because\n  it IS never stored, not because that reads well.\n\n- The read text and the answer report the choices this deployment accepts,\n  from `_RETENTION_CHOICE_DAYS`, rather than a list the client carries.\n  When those change, the envelope changes with them.\n\n- The provider class is answered yes or no, never omitted. \"Read by someone\n  outside AspireACE\" is the single fact a learner most wants before\n  photographing their own handwriting, and silence there reads as no.","operationId":"image_capture_policy_api_v1_doubt_image_capture_policy_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/doubt/image":{"post":{"tags":["cl010_image_doubt"],"summary":"Image Doubt","description":"Submit one or more images of a question, get an OCR'd transcript +\na JARVIS answer.\n\nBody:\n  image_base64   (required for single-image; SCALE can pass `images`)\n  images         list[str] — SCALE-only multi-page mode\n  subject        str — required: Physics/Chemistry/Maths/Biology\n  mode           'standard' | 'whiteboard' | 'handwritten'\n                 'whiteboard' is a SCALE-only flag that tells OCR to\n                 prioritise lower-resolution capture + skew correction.\n                 'handwritten' just hints to ENG-004 (GPT-4V handles\n                 either way; the flag pre-seeds the prompt).\n\nTier-locked at FREE; quota'd at ACE; unlimited at GROW+.","operationId":"image_doubt_api_v1_doubt_image_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/multimodal/query":{"post":{"tags":["ace_mm_001_multimodal"],"summary":"Multimodal Query","description":"Submit images plus a text query and receive a multi-modal answer.","operationId":"multimodal_query_api_v1_multimodal_query_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/multimodal/quota":{"get":{"tags":["ace_mm_001_multimodal"],"summary":"Multimodal Quota","description":"Return the student's current daily quota state.","operationId":"multimodal_quota_api_v1_multimodal_quota_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/multimodal/health":{"get":{"tags":["ace_mm_001_multimodal"],"summary":"Multimodal Health","description":"Engine health passthrough for admin/debug checks.","operationId":"multimodal_health_api_v1_multimodal_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/sharpen/suggest/{student_id}":{"get":{"tags":["cl140_sharpen"],"summary":"Suggest Sharpen Topics","description":"Return the student's STRONGEST topics (mastery > 0.65, attempts >= 5).\n\nMirrors `/api/v1/drill/suggest/{sid}` but inverted — drill hits weak,\nsharpen hits strong. Same payload shape so the FE can share components.","operationId":"suggest_sharpen_topics_api_v1_sharpen_suggest__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sharpen/start":{"post":{"tags":["cl140_sharpen"],"summary":"Start Sharpen","description":"Start a sharpen session — fast, hard practice on a strong topic.\n\nBody:\n  student_id (required)\n  subject    (optional — auto-resolves from student_mastery if topic given)\n  topic      (optional — auto-picks strongest if missing)\n\nTier shape:\n  FREE/ACE → locked envelope\n  GROW     → 2/month quota; 10Q at difficulty >= 0.5\n  SCALE    → unlimited; same 10Q + 1:1 JARVIS narrative preview","operationId":"start_sharpen_api_v1_sharpen_start_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sharpen/submit":{"post":{"tags":["cl140_sharpen"],"summary":"Submit Sharpen","description":"Forward to /test/submit — same answer-key + +4/-1/0 marking.","operationId":"submit_sharpen_api_v1_sharpen_submit_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sharpen/history/{student_id}":{"get":{"tags":["cl140_sharpen"],"summary":"Sharpen History","description":"Past sharpen sessions — filters mock_sessions to test_type='SHARPEN'.","operationId":"sharpen_history_api_v1_sharpen_history__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sharpen/plan/coverage":{"post":{"tags":["cl140_sharpen"],"summary":"Plan Coverage","description":"PR-520 — pre-flight question-bank coverage check for a set of plan\nblocks. Lets the FE composer warn the user BEFORE saving / running\nwhen a block's (subject, topic, difficulty_min) pool would come up\nshort of its requested n_questions.\n\nBody:\n  blocks: [{subject, topic, n_questions?, difficulty_min?}, ...]\n          (n_questions and difficulty_min default to 8 and 0.5)\n\nReturns:\n  coverage: [\n    {subject, topic, n_questions, difficulty_min, available_q, sufficient}\n    # sufficient = available_q >= n_questions\n  ]","operationId":"plan_coverage_api_v1_sharpen_plan_coverage_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sharpen/plan/save":{"post":{"tags":["cl140_sharpen"],"summary":"Save Sharpen Plan","description":"PR-520 — save a custom sharpen plan. SCALE only.\n\nBody:\n  student_id: str (required)\n  name:       str (required; 1-80 chars)\n  blocks:     [{subject, topic, n_questions, difficulty_min}, ...]  (2-6 blocks)\n  plan_id:    str (optional — when present, updates that plan in place)","operationId":"save_sharpen_plan_api_v1_sharpen_plan_save_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sharpen/plan/list/{student_id}":{"get":{"tags":["cl140_sharpen"],"summary":"List Sharpen Plans","description":"PR-520 — list a student's saved plans (non-archived, newest first).","operationId":"list_sharpen_plans_api_v1_sharpen_plan_list__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sharpen/plan/{plan_id}":{"delete":{"tags":["cl140_sharpen"],"summary":"Delete Sharpen Plan","description":"PR-520 — soft-archive a saved plan. Caller must own it.","operationId":"delete_sharpen_plan_api_v1_sharpen_plan__plan_id__delete","parameters":[{"name":"plan_id","in":"path","required":true,"schema":{"type":"string","title":"Plan Id"}},{"name":"student_id","in":"query","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sharpen/plan/{plan_id}/run":{"post":{"tags":["cl140_sharpen"],"summary":"Run Sharpen Plan","description":"PR-520 — compose questions across all blocks and return a drill\nsession. Re-uses the targeted_drill question fetcher + answer-key\npersistence. Each question carries `target_topic` so the FE can\nrender per-topic accuracy at the end (same shape as PR-540).","operationId":"run_sharpen_plan_api_v1_sharpen_plan__plan_id__run_post","parameters":[{"name":"plan_id","in":"path","required":true,"schema":{"type":"string","title":"Plan Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","default":{},"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/burst-kit/{student_id}":{"get":{"tags":["cl088_pre_exam_burst"],"summary":"Get Burst Kit","description":"Composite endpoint — returns everything the burst-kit screen needs in one call.\n\nTier shape:\n  FREE  → toolkit only (always returned)\n  ACE   → toolkit + 7-day plan + formula sheets index\n  GROW  → + quick-mock recommendations (uses /test/catalog filtered)\n  Every tier → Mental Prep entry (free core, FD-1)","operationId":"get_burst_kit_api_v1_burst_kit__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/burst-kit/{student_id}/toolkit":{"get":{"tags":["cl088_pre_exam_burst"],"summary":"Get Toolkit","description":"PR-298 — test-day toolkit alone. Always available, all tiers, all the time.\nSurfaced inside 48h of exam regardless of tier.","operationId":"get_toolkit_api_v1_burst_kit__student_id__toolkit_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/burst-kit/{student_id}/formula-sheets":{"get":{"tags":["cl088_pre_exam_burst"],"summary":"Get Formula Sheets","description":"PR-290 formula-sheet booklet contract. ACE+.","operationId":"get_formula_sheets_api_v1_burst_kit__student_id__formula_sheets_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/burst-kit/{student_id}/formula-sheets/{subject}":{"get":{"tags":["cl088_pre_exam_burst"],"summary":"Get Formula Sheet Detail","description":"PR-290 — per-subject formula detail (optionally narrowed to a section).\n\nACE+ gated. Returns the actual formula entries from\ncontent/burst_kit/formula_sheets.json so the FE can render the booklet.","operationId":"get_formula_sheet_detail_api_v1_burst_kit__student_id__formula_sheets__subject__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"subject","in":"path","required":true,"schema":{"type":"string","title":"Subject"}},{"name":"section","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Section"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/burst-kit/{student_id}/quick-mocks":{"get":{"tags":["cl088_pre_exam_burst"],"summary":"Get Quick Mocks","description":"PR-295 T-6/T-4/T-2 quick-mock series. GROW+.","operationId":"get_quick_mocks_api_v1_burst_kit__student_id__quick_mocks_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/burst-kit/{student_id}/mental-prep":{"get":{"tags":["cl088_pre_exam_burst"],"summary":"Get Mental Prep Handoff","description":"Mental Prep handoff. Free on every tier (FD-1); the product lives at\n/api/v1/mental-prep and this only tells the caller where to go.","operationId":"get_mental_prep_handoff_api_v1_burst_kit__student_id__mental_prep_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/crash-kit":{"get":{"tags":["crash_kit"],"summary":"Get Kit","operationId":"crash_kit_manifest","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Crash Kit Manifest"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/crash-kit/preview":{"get":{"tags":["crash_kit"],"summary":"Get Preview","description":"What the kit holds, in counts. Opens at any time (it shows no content), so a\nlearner outside the window, or before buying, can see what they would get.","operationId":"crash_kit_preview","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Crash Kit Preview"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/crash-kit/high-yield":{"get":{"tags":["crash_kit"],"summary":"Get High Yield","operationId":"crash_kit_high_yield","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Crash Kit High Yield"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/crash-kit/exam-day-briefing":{"get":{"tags":["crash_kit"],"summary":"Get Exam Day Briefing","operationId":"crash_kit_exam_day_briefing","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Crash Kit Exam Day Briefing"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/crash-kit/compressed-plan":{"get":{"tags":["crash_kit"],"summary":"Get Compressed Plan","operationId":"crash_kit_compressed_plan","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Crash Kit Compressed Plan"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/crash-kit/acknowledge":{"post":{"tags":["crash_kit"],"summary":"Acknowledge","operationId":"crash_kit_acknowledge","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/crash_kit_routes__AcknowledgeBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Crash Kit Acknowledge"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/programmes/dropper":{"get":{"tags":["dropper_programme"],"summary":"Get Preflight","operationId":"dropper_programme_preflight","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Dropper Programme Preflight"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/programmes/dropper/participation":{"post":{"tags":["dropper_programme"],"summary":"Accept Participation","operationId":"dropper_programme_participation","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ParticipationBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Dropper Programme Participation"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/programmes/dropper/components/{component_key}/open":{"post":{"tags":["dropper_programme"],"summary":"Open Component","operationId":"dropper_programme_open_component","parameters":[{"name":"component_key","in":"path","required":true,"schema":{"type":"string","title":"Component Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dropper_programme_routes__OpenBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Dropper Programme Open Component"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/programmes/dropper/corrections/acknowledge":{"post":{"tags":["dropper_programme"],"summary":"Acknowledge Correction","description":"The student has seen that a part of the programme changed; pin the new set.\n\n`body.manifest_digest` is the set the student was shown (the preflight's current\ndigest), so what they confirm is what is pinned. Complete set -> the programme is\nACTIVE on the new pin; any part held -> it is RECONCILING on the new pin (nothing\nopens until the held part is back and this is acknowledged again). A part that could\nnot be read is not a correction and changes nothing. Each part that moved gets a\nreceipt; a repeat of the same acknowledgement returns the first result.","operationId":"dropper_programme_acknowledge_correction","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dropper_programme_routes__AcknowledgeBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Dropper Programme Acknowledge Correction"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/programmes/dropper/progress":{"get":{"tags":["dropper_programme"],"summary":"Get Progress","operationId":"dropper_programme_progress","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Dropper Programme Progress"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/programmes/dropper/withdraw":{"post":{"tags":["dropper_programme"],"summary":"Withdraw","operationId":"dropper_programme_withdraw","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dropper_programme_routes__WithdrawBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Dropper Programme Withdraw"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clinic/availability":{"get":{"tags":["concept_clinic"],"summary":"Read Availability","description":"Is a teacher route live? True only if the TruTutor bridge is configured.","operationId":"read_availability_api_v1_clinic_availability_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Availability Api V1 Clinic Availability Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clinic/misconceptions":{"get":{"tags":["concept_clinic"],"summary":"List Misconceptions","operationId":"list_misconceptions_api_v1_clinic_misconceptions_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Misconceptions Api V1 Clinic Misconceptions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clinic/misconceptions/{code}":{"get":{"tags":["concept_clinic"],"summary":"Read Misconception","operationId":"read_misconception_api_v1_clinic_misconceptions__code__get","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string","title":"Code"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Misconception Api V1 Clinic Misconceptions  Code  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clinic/records":{"get":{"tags":["concept_clinic"],"summary":"Read Records","description":"Approved misconception records only. Never invents one; says what is held back.","operationId":"read_records_api_v1_clinic_records_get","parameters":[{"name":"concept_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Concept Id"}},{"name":"chapter","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Chapter"}},{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Subject"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Records Api V1 Clinic Records Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clinic/requests":{"post":{"tags":["concept_clinic"],"summary":"Create Request","description":"Ask for a teacher on one diagnosed misconception. Needs explicit consent.\n\nAsking twice is the same ask (unique open request per student and code); asking again while\nWAITING retries the send, so a request can move to SENT once the bridge goes live. A request\nis SENT only after the existing bridge returned a receipt. Nothing here books a seat.","operationId":"create_request_api_v1_clinic_requests_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Request Api V1 Clinic Requests Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clinic/requests/{request_id}/cancel":{"post":{"tags":["concept_clinic"],"summary":"Cancel Request","operationId":"cancel_request_api_v1_clinic_requests__request_id__cancel_post","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Cancel Request Api V1 Clinic Requests  Request Id  Cancel Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clinic/teacher-consent":{"get":{"tags":["concept_clinic"],"summary":"Read Status","operationId":"read_status_api_v1_clinic_teacher_consent_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Status Api V1 Clinic Teacher Consent Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clinic/teacher-consent/grant":{"post":{"tags":["concept_clinic"],"summary":"Grant","operationId":"grant_api_v1_clinic_teacher_consent_grant_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Grant Api V1 Clinic Teacher Consent Grant Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clinic/teacher-consent/withdraw":{"post":{"tags":["concept_clinic"],"summary":"Withdraw","description":"Withdraw. Needs no parental check: taking consent back is always allowed.","operationId":"withdraw_api_v1_clinic_teacher_consent_withdraw_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Withdraw Api V1 Clinic Teacher Consent Withdraw Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/explain/prompts":{"get":{"tags":["explain_it_back_prompt_desk"],"summary":"List Prompts","operationId":"list_prompts_api_v1_internal_explain_prompts_get","parameters":[{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"draft, waiting, sent_back, active, retired","title":"State"},"description":"draft, waiting, sent_back, active, retired"},{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Subject"}},{"name":"concept","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"os01 concept id","title":"Concept"},"description":"os01 concept id"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Prompts Api V1 Internal Explain Prompts Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["explain_it_back_prompt_desk"],"summary":"Create Draft","operationId":"create_draft_api_v1_internal_explain_prompts_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromptIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Draft Api V1 Internal Explain Prompts Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/explain/prompts/concepts":{"get":{"tags":["explain_it_back_prompt_desk"],"summary":"Search Concepts","description":"Active OS01 concepts and topics, by label or key. Nothing else can be picked.","operationId":"search_concepts_api_v1_internal_explain_prompts_concepts_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","maxLength":80,"default":"","title":"Q"}},{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Subject"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Search Concepts Api V1 Internal Explain Prompts Concepts Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/explain/prompts/misconceptions":{"get":{"tags":["explain_it_back_prompt_desk"],"summary":"Search Misconceptions","description":"Codes that exist in misconception_ontology. A code cannot be invented here.","operationId":"search_misconceptions_api_v1_internal_explain_prompts_misconceptions_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","maxLength":80,"default":"","title":"Q"}},{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Subject"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Search Misconceptions Api V1 Internal Explain Prompts Misconceptions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/explain/prompts/{prompt_id}":{"get":{"tags":["explain_it_back_prompt_desk"],"summary":"Read Prompt","operationId":"read_prompt_api_v1_internal_explain_prompts__prompt_id__get","parameters":[{"name":"prompt_id","in":"path","required":true,"schema":{"type":"string","title":"Prompt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Prompt Api V1 Internal Explain Prompts  Prompt Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["explain_it_back_prompt_desk"],"summary":"Edit Draft","operationId":"edit_draft_api_v1_internal_explain_prompts__prompt_id__put","parameters":[{"name":"prompt_id","in":"path","required":true,"schema":{"type":"string","title":"Prompt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromptIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Edit Draft Api V1 Internal Explain Prompts  Prompt Id  Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/explain/prompts/{prompt_id}/submit":{"post":{"tags":["explain_it_back_prompt_desk"],"summary":"Submit For Review","operationId":"submit_for_review_api_v1_internal_explain_prompts__prompt_id__submit_post","parameters":[{"name":"prompt_id","in":"path","required":true,"schema":{"type":"string","title":"Prompt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Submit For Review Api V1 Internal Explain Prompts  Prompt Id  Submit Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/explain/prompts/{prompt_id}/review":{"post":{"tags":["explain_it_back_prompt_desk"],"summary":"Review Prompt","operationId":"review_prompt_api_v1_internal_explain_prompts__prompt_id__review_post","parameters":[{"name":"prompt_id","in":"path","required":true,"schema":{"type":"string","title":"Prompt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Review Prompt Api V1 Internal Explain Prompts  Prompt Id  Review Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/explain/prompts/{prompt_id}/retire":{"post":{"tags":["explain_it_back_prompt_desk"],"summary":"Retire Prompt","operationId":"retire_prompt_api_v1_internal_explain_prompts__prompt_id__retire_post","parameters":[{"name":"prompt_id","in":"path","required":true,"schema":{"type":"string","title":"Prompt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RetireIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Retire Prompt Api V1 Internal Explain Prompts  Prompt Id  Retire Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/crash-kit/briefings":{"get":{"tags":["crash-kit-briefing-desk"],"summary":"List Briefings","operationId":"list_briefings_api_v1_internal_crash_kit_briefings_get","parameters":[{"name":"exam","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Exam"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Briefings Api V1 Internal Crash Kit Briefings Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["crash-kit-briefing-desk"],"summary":"Create Draft","operationId":"create_draft_api_v1_internal_crash_kit_briefings_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriefingCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Draft Api V1 Internal Crash Kit Briefings Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/crash-kit/briefings/{exam}/{version}":{"get":{"tags":["crash-kit-briefing-desk"],"summary":"Read Briefing","operationId":"read_briefing_api_v1_internal_crash_kit_briefings__exam___version__get","parameters":[{"name":"exam","in":"path","required":true,"schema":{"type":"string","title":"Exam"}},{"name":"version","in":"path","required":true,"schema":{"type":"string","title":"Version"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Briefing Api V1 Internal Crash Kit Briefings  Exam   Version  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["crash-kit-briefing-desk"],"summary":"Edit Draft","operationId":"edit_draft_api_v1_internal_crash_kit_briefings__exam___version__put","parameters":[{"name":"exam","in":"path","required":true,"schema":{"type":"string","title":"Exam"}},{"name":"version","in":"path","required":true,"schema":{"type":"string","title":"Version"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BriefingEdit"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Edit Draft Api V1 Internal Crash Kit Briefings  Exam   Version  Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/crash-kit/briefings/{exam}/{version}/submit":{"post":{"tags":["crash-kit-briefing-desk"],"summary":"Submit For Review","operationId":"submit_for_review_api_v1_internal_crash_kit_briefings__exam___version__submit_post","parameters":[{"name":"exam","in":"path","required":true,"schema":{"type":"string","title":"Exam"}},{"name":"version","in":"path","required":true,"schema":{"type":"string","title":"Version"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Submit For Review Api V1 Internal Crash Kit Briefings  Exam   Version  Submit Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/crash-kit/briefings/{exam}/{version}/review":{"post":{"tags":["crash-kit-briefing-desk"],"summary":"Review Briefing","operationId":"review_briefing_api_v1_internal_crash_kit_briefings__exam___version__review_post","parameters":[{"name":"exam","in":"path","required":true,"schema":{"type":"string","title":"Exam"}},{"name":"version","in":"path","required":true,"schema":{"type":"string","title":"Version"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/crash_kit_briefing_desk_routes__ReviewBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Review Briefing Api V1 Internal Crash Kit Briefings  Exam   Version  Review Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/crash-kit/briefings/{exam}/{version}/retire":{"post":{"tags":["crash-kit-briefing-desk"],"summary":"Retire Briefing","operationId":"retire_briefing_api_v1_internal_crash_kit_briefings__exam___version__retire_post","parameters":[{"name":"exam","in":"path","required":true,"schema":{"type":"string","title":"Exam"}},{"name":"version","in":"path","required":true,"schema":{"type":"string","title":"Version"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RetireBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Retire Briefing Api V1 Internal Crash Kit Briefings  Exam   Version  Retire Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/subject-slices/terms":{"get":{"tags":["subject-slice-operator"],"summary":"List Terms","operationId":"list_terms_api_v1_internal_subject_slices_terms_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Terms Api V1 Internal Subject Slices Terms Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/subject-slices/terms/{term_key}/gaps":{"get":{"tags":["subject-slice-operator"],"summary":"Term Gaps","description":"Where supply is missing: per chapter and strand, how many topics are not yet qualified.","operationId":"term_gaps_api_v1_internal_subject_slices_terms__term_key__gaps_get","parameters":[{"name":"term_key","in":"path","required":true,"schema":{"type":"string","title":"Term Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Term Gaps Api V1 Internal Subject Slices Terms  Term Key  Gaps Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/subject-slices/terms/{term_key}/recompile":{"post":{"tags":["subject-slice-operator"],"summary":"Recompile","operationId":"recompile_api_v1_internal_subject_slices_terms__term_key__recompile_post","parameters":[{"name":"term_key","in":"path","required":true,"schema":{"type":"string","title":"Term Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/subject_slice_operator_routes__ReasonBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Recompile Api V1 Internal Subject Slices Terms  Term Key  Recompile Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/subject-slices/terms/{term_key}/withdraw":{"post":{"tags":["subject-slice-operator"],"summary":"Withdraw","description":"Take a term off offer. Students keep what they earned; new launches close at once.","operationId":"withdraw_api_v1_internal_subject_slices_terms__term_key__withdraw_post","parameters":[{"name":"term_key","in":"path","required":true,"schema":{"type":"string","title":"Term Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/subject_slice_operator_routes__WithdrawBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Withdraw Api V1 Internal Subject Slices Terms  Term Key  Withdraw Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/subject-slices/audit":{"get":{"tags":["subject-slice-operator"],"summary":"Recent Audit","operationId":"recent_audit_api_v1_internal_subject_slices_audit_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Recent Audit Api V1 Internal Subject Slices Audit Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/misconceptions/review":{"get":{"tags":["misconception-review-desk"],"summary":"List Notes","operationId":"list_notes_api_v1_internal_misconceptions_review_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"type":"string","default":"pending","title":"Status"}},{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Subject"}},{"name":"chapter","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Chapter"}},{"name":"concept","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Concept"}},{"name":"ai","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"AI suggestion filter: approve, needs_change, reject, any, none","title":"Ai"},"description":"AI suggestion filter: approve, needs_change, reject, any, none"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":25,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Notes Api V1 Internal Misconceptions Review Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/misconceptions/review/filters":{"get":{"tags":["misconception-review-desk"],"summary":"List Filters","operationId":"list_filters_api_v1_internal_misconceptions_review_filters_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Filters Api V1 Internal Misconceptions Review Filters Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/misconceptions/review/decide":{"post":{"tags":["misconception-review-desk"],"summary":"Decide","operationId":"decide_api_v1_internal_misconceptions_review_decide_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/misconception_review_desk_routes__DecisionBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Decide Api V1 Internal Misconceptions Review Decide Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/misconceptions/review/accept-revision":{"post":{"tags":["misconception-review-desk"],"summary":"Accept Revision Route","operationId":"accept_revision_route_api_v1_internal_misconceptions_review_accept_revision_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcceptRevisionBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Accept Revision Route Api V1 Internal Misconceptions Review Accept Revision Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/misconceptions/review/bulk-approve":{"post":{"tags":["misconception-review-desk"],"summary":"Bulk Approve","operationId":"bulk_approve_api_v1_internal_misconceptions_review_bulk_approve_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkApproveBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Bulk Approve Api V1 Internal Misconceptions Review Bulk Approve Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/misconceptions/links":{"get":{"tags":["misconception-link-desk"],"summary":"List Option Links","operationId":"list_option_links_api_v1_internal_misconceptions_links_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"type":"string","default":"proposed","title":"Status"}},{"name":"confidence","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Confidence"}},{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Subject"}},{"name":"chapter","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Chapter"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":10,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Option Links Api V1 Internal Misconceptions Links Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/misconceptions/links/filters":{"get":{"tags":["misconception-link-desk"],"summary":"Option Link Filters","operationId":"option_link_filters_api_v1_internal_misconceptions_links_filters_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Option Link Filters Api V1 Internal Misconceptions Links Filters Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/misconceptions/links/decide":{"post":{"tags":["misconception-link-desk"],"summary":"Decide Option Link","operationId":"decide_option_link_api_v1_internal_misconceptions_links_decide_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkDecisionBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Decide Option Link Api V1 Internal Misconceptions Links Decide Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/misconceptions/links/bulk-approve":{"post":{"tags":["misconception-link-desk"],"summary":"Bulk Approve Option Links","operationId":"bulk_approve_option_links_api_v1_internal_misconceptions_links_bulk_approve_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkBulkBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Bulk Approve Option Links Api V1 Internal Misconceptions Links Bulk Approve Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/grader/rubrics/generic":{"get":{"tags":["grader-rubric-desk"],"summary":"List Generic Rubrics","operationId":"list_generic_rubrics_api_v1_internal_grader_rubrics_generic_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Generic Rubrics Api V1 Internal Grader Rubrics Generic Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["grader-rubric-desk"],"summary":"Approve Generic Rubric","operationId":"approve_generic_rubric_api_v1_internal_grader_rubrics_generic_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Approve Generic Rubric Api V1 Internal Grader Rubrics Generic Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/grader/rubrics/{rubric_version_id}/withdraw":{"post":{"tags":["grader-rubric-desk"],"summary":"Withdraw Generic Rubric","operationId":"withdraw_generic_rubric_api_v1_internal_grader_rubrics__rubric_version_id__withdraw_post","parameters":[{"name":"rubric_version_id","in":"path","required":true,"schema":{"type":"string","title":"Rubric Version Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Withdraw Generic Rubric Api V1 Internal Grader Rubrics  Rubric Version Id  Withdraw Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/grader/institution-scopes":{"post":{"tags":["grader-institution-scope-desk"],"summary":"Create Scope","description":"Create the institution's scope for one candidate, or return the one it already has.","operationId":"create_scope_api_v1_internal_grader_institution_scopes_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScopeCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["grader-institution-scope-desk"],"summary":"List Scopes","description":"The owner's read of scopes, newest first. Never returns the scope contract.","operationId":"list_scopes_api_v1_internal_grader_institution_scopes_get","parameters":[{"name":"institution_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Institution Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/grader/institution-scopes/{scope_id}/bindings":{"post":{"tags":["grader-institution-scope-desk"],"summary":"Attach Bindings","description":"Attach the five commercial bindings and mark the commercial scope RECONCILED.\n\nThe scope stays operationally held until it is activated. A live scope's bindings cannot be swapped\nunder it: hold it first.","operationId":"attach_bindings_api_v1_internal_grader_institution_scopes__scope_id__bindings_post","parameters":[{"name":"scope_id","in":"path","required":true,"schema":{"type":"string","title":"Scope Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Bindings"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/grader/institution-scopes/{scope_id}/activate":{"post":{"tags":["grader-institution-scope-desk"],"summary":"Activate","operationId":"activate_api_v1_internal_grader_institution_scopes__scope_id__activate_post","parameters":[{"name":"scope_id","in":"path","required":true,"schema":{"type":"string","title":"Scope Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/grader/institution-scopes/{scope_id}/withhold":{"post":{"tags":["grader-institution-scope-desk"],"summary":"Withhold","description":"Stop a scope without ending it: new work is refused until the owner activates it again.","operationId":"withhold_api_v1_internal_grader_institution_scopes__scope_id__withhold_post","parameters":[{"name":"scope_id","in":"path","required":true,"schema":{"type":"string","title":"Scope Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/grader_institution_scope_desk__Reason"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/grader/institution-scopes/{scope_id}/revoke":{"post":{"tags":["grader-institution-scope-desk"],"summary":"Revoke","description":"End a scope for good. A later scope for the same institution is a new version.","operationId":"revoke_api_v1_internal_grader_institution_scopes__scope_id__revoke_post","parameters":[{"name":"scope_id","in":"path","required":true,"schema":{"type":"string","title":"Scope Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/grader_institution_scope_desk__Reason"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/grader/review-ops/queue":{"get":{"tags":["grader-review-ops"],"summary":"Read Queue","description":"The review queue for staff, oldest first. Reads only.","operationId":"read_queue_api_v1_internal_grader_review_ops_queue_get","parameters":[{"name":"state","in":"query","required":false,"schema":{"type":"string","default":"open","title":"State"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/notifications/templates":{"get":{"tags":["notification-templates"],"summary":"List Templates","description":"Every template the code sends by SMS, with its variables and whether a DLT registration is on file.","operationId":"list_templates_api_v1_internal_notifications_templates_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/notifications/templates/{template_id}/preview":{"get":{"tags":["notification-templates"],"summary":"Preview Template","description":"The template rendered with its sample values, with length, message count and anything missing.","operationId":"preview_template_api_v1_internal_notifications_templates__template_id__preview_get","parameters":[{"name":"template_id","in":"path","required":true,"schema":{"type":"string","title":"Template Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/owner/sign-in":{"post":{"tags":["owner-door"],"summary":"Owner Sign In","description":"Step 1 of the owner sign-in: the password. A remembered browser is signed in now; any other browser is sent a\nsix-digit code by email and gets {\"code_required\": true}; the code step is POST /api/v1/console/auth/code/verify.","operationId":"owner_sign_in_api_v1_owner_sign_in_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OwnerSignInRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/owner/forgot-password":{"post":{"tags":["owner-door"],"summary":"Owner Forgot Password","description":"Email the owner a fresh link. Answers the same for every address. Also re-sends a first-time link that expired.","operationId":"owner_forgot_password_api_v1_owner_forgot_password_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OwnerForgotRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/owner/me":{"get":{"tags":["owner-door"],"summary":"Owner Me","operationId":"owner_me_api_v1_owner_me_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/owner/ask-disclosure-phrases":{"get":{"tags":["owner-door"],"summary":"Owner Ask Disclosure Phrases","description":"The list of phrases that makes Ask show the helpline card and alert the owner, with its reviewer.\n\nFounder decision, 26 Oct 2026: he is the reviewer until a counsellor-reviewed list replaces it. Also says which\nalert channels work right now and what is missing, without showing the owner's own address or number.","operationId":"owner_ask_disclosure_phrases_api_v1_owner_ask_disclosure_phrases_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/invites/check":{"get":{"tags":["owner-door"],"summary":"Check Invite","operationId":"check_invite_api_v1_invites_check_get","parameters":[{"name":"token","in":"query","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/v1/invites/accept":{"post":{"tags":["owner-door"],"summary":"Accept Invite","operationId":"accept_invite_api_v1_invites_accept_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcceptInviteRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/owner/people":{"get":{"tags":["owner-people"],"summary":"List People","operationId":"list_people_api_v1_owner_people_get","parameters":[{"name":"role","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":200,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["owner-people"],"summary":"Create Person","operationId":"create_person_api_v1_owner_people_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePersonRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/owner/people/{user_id}/suspend":{"post":{"tags":["owner-people"],"summary":"Suspend Person","operationId":"suspend_person_api_v1_owner_people__user_id__suspend_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/owner/people/{user_id}/reinstate":{"post":{"tags":["owner-people"],"summary":"Reinstate Person","operationId":"reinstate_person_api_v1_owner_people__user_id__reinstate_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/owner/people/{user_id}/resend-invite":{"post":{"tags":["owner-people"],"summary":"Resend Invite","operationId":"resend_invite_api_v1_owner_people__user_id__resend_invite_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/auth/code/send":{"post":{"tags":["console-auth"],"summary":"Code Send","operationId":"code_send_api_v1_console_auth_code_send_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodeSendRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/auth/code/verify":{"post":{"tags":["console-auth"],"summary":"Code Verify","operationId":"code_verify_api_v1_console_auth_code_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodeVerifyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/me":{"get":{"tags":["console-auth"],"summary":"Me","operationId":"me_api_v1_console_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/me/security":{"get":{"tags":["console-auth"],"summary":"Me Security","operationId":"me_security_api_v1_console_me_security_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/me/devices/{device_id}/forget":{"post":{"tags":["console-auth"],"summary":"Device Forget","operationId":"device_forget_api_v1_console_me_devices__device_id__forget_post","parameters":[{"name":"device_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Device Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/me/devices/{device_id}/remember":{"post":{"tags":["console-auth"],"summary":"Device Remember","operationId":"device_remember_api_v1_console_me_devices__device_id__remember_post","parameters":[{"name":"device_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Device Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/me/sessions/end-others":{"post":{"tags":["console-auth"],"summary":"Sessions End Others","operationId":"sessions_end_others_api_v1_console_me_sessions_end_others_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/me/sessions/{session_id}/end":{"post":{"tags":["console-auth"],"summary":"Session End","operationId":"session_end_api_v1_console_me_sessions__session_id__end_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/me/signout":{"post":{"tags":["console-auth"],"summary":"Signout","operationId":"signout_api_v1_console_me_signout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/me/password":{"post":{"tags":["console-auth"],"summary":"Change Password","operationId":"change_password_api_v1_console_me_password_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordChange"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/me/code/test":{"post":{"tags":["console-auth"],"summary":"Code Test","operationId":"code_test_api_v1_console_me_code_test_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/company/sessions":{"get":{"tags":["console-auth"],"summary":"Sessions List","operationId":"sessions_list_api_v1_console_company_sessions_get","parameters":[{"name":"platform","in":"query","required":false,"schema":{"type":"string","pattern":"^(aspireace|trututor)$","default":"aspireace","title":"Platform"}},{"name":"state","in":"query","required":false,"schema":{"type":"string","pattern":"^(active|all)$","default":"active","title":"State"}},{"name":"q","in":"query","required":false,"schema":{"type":"string","maxLength":80,"default":"","title":"Q"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/sessions/{platform}/{kind}/{sid}/end":{"post":{"tags":["console-auth"],"summary":"Session End Any","operationId":"session_end_any_api_v1_console_company_sessions__platform___kind___sid__end_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"kind","in":"path","required":true,"schema":{"type":"string","title":"Kind"}},{"name":"sid","in":"path","required":true,"schema":{"type":"string","title":"Sid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EndBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/people/{person_id}/sign-out-everywhere":{"post":{"tags":["console-auth"],"summary":"Sign Out Everywhere","operationId":"sign_out_everywhere_api_v1_console_company_people__person_id__sign_out_everywhere_post","parameters":[{"name":"person_id","in":"path","required":true,"schema":{"type":"string","title":"Person Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EverywhereBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/tokens/trututor/{credential_id}/revoke":{"post":{"tags":["console-auth"],"summary":"Tt Credential Revoke","operationId":"tt_credential_revoke_api_v1_console_company_tokens_trututor__credential_id__revoke_post","parameters":[{"name":"credential_id","in":"path","required":true,"schema":{"type":"string","title":"Credential Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EndBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/gate/status":{"get":{"tags":["console-gate"],"summary":"Gate Status","operationId":"gate_status_api_v1_console_gate_status_get","parameters":[{"name":"repo","in":"query","required":false,"schema":{"type":"string","default":"aspireace","title":"Repo"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/gate/rulings-hash":{"get":{"tags":["console-gate"],"summary":"Gate Rulings Hash","operationId":"gate_rulings_hash_api_v1_console_gate_rulings_hash_get","parameters":[{"name":"repo","in":"query","required":false,"schema":{"type":"string","default":"aspireace","title":"Repo"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/gate/leases/check":{"get":{"tags":["console-gate"],"summary":"Gate Leases Check","description":"For each file (and board row) in a push: who else holds it. Soft holders warn; a hard holder refuses unless the owner gave this pusher a one-time pass.","operationId":"gate_leases_check_api_v1_console_gate_leases_check_get","parameters":[{"name":"path","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[],"title":"Path"}},{"name":"row","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[],"title":"Row"}},{"name":"repo","in":"query","required":false,"schema":{"type":"string","default":"aspireace","title":"Repo"}},{"name":"pusher","in":"query","required":false,"schema":{"type":"string","default":"","title":"Pusher"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/gate/job-check":{"get":{"tags":["console-gate"],"summary":"Gate Job Check","operationId":"gate_job_check_api_v1_console_gate_job_check_get","parameters":[{"name":"title","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":400,"title":"Title"}},{"name":"row","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[],"title":"Row"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/gate/pr-waivers":{"get":{"tags":["console-gate"],"summary":"Gate Pr Waivers","description":"Waivers that still count: only those made on the commit the pull request is at now. A new push needs a new waiver.","operationId":"gate_pr_waivers_api_v1_console_gate_pr_waivers_get","parameters":[{"name":"repo","in":"query","required":false,"schema":{"type":"string","default":"aspireace","title":"Repo"}},{"name":"pr","in":"query","required":false,"schema":{"type":"integer","maximum":10000000,"minimum":0,"default":0,"title":"Pr"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/alerts":{"get":{"tags":["console-home"],"summary":"Alerts List","operationId":"alerts_list_api_v1_console_alerts_get","parameters":[{"name":"show","in":"query","required":false,"schema":{"type":"string","default":"open","title":"Show"}},{"name":"severity","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Severity"}},{"name":"platform","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Platform"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/alerts/count":{"get":{"tags":["console-home"],"summary":"Alerts Count","operationId":"alerts_count_api_v1_console_alerts_count_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/alerts/{alert_id}/seen":{"post":{"tags":["console-home"],"summary":"Alert Seen","operationId":"alert_seen_api_v1_console_alerts__alert_id__seen_post","parameters":[{"name":"alert_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Alert Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/alerts/{alert_id}/ack":{"post":{"tags":["console-home"],"summary":"Alert Ack","operationId":"alert_ack_api_v1_console_alerts__alert_id__ack_post","parameters":[{"name":"alert_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Alert Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/alerts/{alert_id}/snooze":{"post":{"tags":["console-home"],"summary":"Alert Snooze","operationId":"alert_snooze_api_v1_console_alerts__alert_id__snooze_post","parameters":[{"name":"alert_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Alert Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SnoozeBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/alerts/{alert_id}/resolve":{"post":{"tags":["console-home"],"summary":"Alert Resolve","operationId":"alert_resolve_api_v1_console_alerts__alert_id__resolve_post","parameters":[{"name":"alert_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Alert Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_home_routes__ResolveBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/alerts/{alert_id}/reopen":{"post":{"tags":["console-home"],"summary":"Alert Reopen","operationId":"alert_reopen_api_v1_console_alerts__alert_id__reopen_post","parameters":[{"name":"alert_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Alert Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/home":{"get":{"tags":["console-home"],"summary":"Home","operationId":"home_api_v1_console_home_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/waiting":{"get":{"tags":["console-home"],"summary":"Waiting","operationId":"waiting_api_v1_console_waiting_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/search":{"post":{"tags":["console-home"],"summary":"Search","description":"Read-style POST (no Idempotency-Key): the text is not written anywhere; only a count is audited.","operationId":"search_api_v1_console_search_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/status":{"get":{"tags":["console-home"],"summary":"Status","operationId":"status_api_v1_console__platform__status_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/build":{"get":{"tags":["console-products"],"summary":"Build Board","operationId":"build_board_api_v1_console__platform__build_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"scope","in":"query","required":false,"schema":{"type":"string","default":"platform","title":"Scope"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/products":{"get":{"tags":["console-products"],"summary":"Products List","operationId":"products_list_api_v1_console__platform__products_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"focus","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Focus"}},{"name":"built","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Built"}},{"name":"now","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Now"}},{"name":"plan","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Plan"}},{"name":"team","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Team"}},{"name":"scope","in":"query","required":false,"schema":{"type":"string","default":"platform","title":"Scope"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/products/{n}":{"get":{"tags":["console-products"],"summary":"Product Detail","operationId":"product_detail_api_v1_console__platform__products__n__get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"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/v1/console/{platform}/products/{n}/update":{"post":{"tags":["console-products"],"summary":"Product Update","description":"Ask for a board line change. It is an action on the AT COM spine (products.request_board_edit): the command record and the audit row\nare written with the request, and the reporter files it through docs/the_229_board/build.py. The console never edits the board.","operationId":"product_update_api_v1_console__platform__products__n__update_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"n","in":"path","required":true,"schema":{"type":"integer","title":"N"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoardUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/deploys":{"get":{"tags":["console-products"],"summary":"Deploys","operationId":"deploys_api_v1_console__platform__deploys_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/tokens":{"get":{"tags":["console-tokens"],"summary":"Tokens List","operationId":"tokens_list_api_v1_console_tokens_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["console-tokens"],"summary":"Token Create","operationId":"token_create_api_v1_console_tokens_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewToken"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/tokens/{token_id}/revoke":{"post":{"tags":["console-tokens"],"summary":"Token Revoke","operationId":"token_revoke_api_v1_console_tokens__token_id__revoke_post","parameters":[{"name":"token_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Token Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/tokens/machine/{key_id}/revoke":{"post":{"tags":["console-tokens"],"summary":"Machine Key Revoke","operationId":"machine_key_revoke_api_v1_console_company_tokens_machine__key_id__revoke_post","parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Key Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WhyBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/tokens":{"get":{"tags":["console-tokens"],"summary":"Tokens All","description":"Every token and key on one list: chat tokens, the push-gate key, and the machine keys (reporter, lease, gate read). Never a value.\n\"Use\": chat tokens count every call (and list them); machine keys show when they were last used, because that is what is kept.","operationId":"tokens_all_api_v1_console_company_tokens_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/tokens/{token_id}/uses":{"get":{"tags":["console-tokens"],"summary":"Token Uses","operationId":"token_uses_api_v1_console_tokens__token_id__uses_get","parameters":[{"name":"token_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Token Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/decisions":{"get":{"tags":["console-decisions"],"summary":"Decisions List","operationId":"decisions_list_api_v1_console__platform__decisions_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"state","in":"query","required":false,"schema":{"type":"string","default":"open","title":"State"}},{"name":"scope","in":"query","required":false,"schema":{"type":"string","default":"platform","title":"Scope"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["console-decisions"],"summary":"Decision Create","operationId":"decision_create_api_v1_console__platform__decisions_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewDecision"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/decisions/log":{"get":{"tags":["console-decisions"],"summary":"Decisions Log","operationId":"decisions_log_api_v1_console__platform__decisions_log_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/decisions/answers":{"get":{"tags":["console-decisions"],"summary":"Decisions Answers","description":"For chats (Authorization: Bearer <chat token with decisions:read>) and, as before, for the owner's own session.\nReturns answers changed since the time, including ones taken back (superseded) after this token was given them, and marks\neach one delivered to this token. The audit row names the token and carries its id only, never the value.","operationId":"decisions_answers_api_v1_console_decisions_answers_get","parameters":[{"name":"since","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Since"}},{"name":"platform","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Platform"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/decisions/questions":{"post":{"tags":["console-decisions"],"summary":"Decisions Ask","description":"For chats (scope decisions:ask, 30 a minute per token). The same question twice (same hash) gives the same decision back.","operationId":"decisions_ask_api_v1_console_decisions_questions_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatQuestion"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/reporter/decisions/queue":{"get":{"tags":["console-decisions"],"summary":"Reporter Queue State","description":"What the console already holds for one repo's file, so a dry run can say 'would create' and 'would close' truthfully.","operationId":"reporter_queue_state_api_v1_console_reporter_decisions_queue_get","parameters":[{"name":"repo","in":"query","required":true,"schema":{"type":"string","title":"Repo"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["console-decisions"],"summary":"Reporter Queue Post","description":"The reporter's post of one repo's file. Idempotent: the same file twice creates nothing the second time. Names, dates and the row's own words only.","operationId":"reporter_queue_post_api_v1_console_reporter_decisions_queue_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueuePost"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/reporter/decision-answers":{"get":{"tags":["console-decisions"],"summary":"Reporter Decision Answers","description":"Answers to founder-queue decisions that are not yet written into the file. By default only settled ones: the hour in which the founder can still undo is over.","operationId":"reporter_decision_answers_api_v1_console_reporter_decision_answers_get","parameters":[{"name":"repo","in":"query","required":true,"schema":{"type":"string","title":"Repo"}},{"name":"since","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Since"}},{"name":"include_undoable","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Undoable"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/reporter/decisions/filed":{"post":{"tags":["console-decisions"],"summary":"Reporter Decisions Filed","description":"The reporter says it wrote these answers into the file. Only answered, unfiled founder-queue decisions are marked; anything else is ignored and counted.","operationId":"reporter_decisions_filed_api_v1_console_reporter_decisions_filed_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FiledPost"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/decisions/{decision_id}":{"get":{"tags":["console-decisions"],"summary":"Decision Detail","operationId":"decision_detail_api_v1_console__platform__decisions__decision_id__get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"decision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Decision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/decisions/{decision_id}/answer":{"post":{"tags":["console-decisions"],"summary":"Decision Answer","operationId":"decision_answer_api_v1_console__platform__decisions__decision_id__answer_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"decision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Decision Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_decisions_routes__AnswerBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/decisions/{decision_id}/undo":{"post":{"tags":["console-decisions"],"summary":"Decision Undo","operationId":"decision_undo_api_v1_console__platform__decisions__decision_id__undo_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"decision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Decision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/access/people":{"get":{"tags":["console-access"],"summary":"Access People","operationId":"access_people_api_v1_console_access_people_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/access/bundles":{"get":{"tags":["console-access"],"summary":"Access Bundles","operationId":"access_bundles_api_v1_console_access_bundles_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/access/{user_id}":{"get":{"tags":["console-access"],"summary":"Access Person","operationId":"access_person_api_v1_console_access__user_id__get","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/access/{user_id}/invite":{"post":{"tags":["console-access"],"summary":"Access Invite","operationId":"access_invite_api_v1_console_access__user_id__invite_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BundleBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/access/{user_id}/invite/revoke":{"post":{"tags":["console-access"],"summary":"Access Invite Revoke","operationId":"access_invite_revoke_api_v1_console_access__user_id__invite_revoke_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/access/{user_id}/powers/preview":{"post":{"tags":["console-access"],"summary":"Access Preview","operationId":"access_preview_api_v1_console_access__user_id__powers_preview_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BundleBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/access/{user_id}/powers":{"put":{"tags":["console-access"],"summary":"Access Apply Bundle","operationId":"access_apply_bundle_api_v1_console_access__user_id__powers_put","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BundleBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/access/{user_id}/powers/{platform}/{section}":{"put":{"tags":["console-access"],"summary":"Access Set Power","operationId":"access_set_power_api_v1_console_access__user_id__powers__platform___section__put","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}},{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"section","in":"path","required":true,"schema":{"type":"string","title":"Section"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PowerBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/access/{user_id}/powers/undo":{"post":{"tags":["console-access"],"summary":"Access Undo","operationId":"access_undo_api_v1_console_access__user_id__powers_undo_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/access/{user_id}/suspend":{"post":{"tags":["console-access"],"summary":"Access Suspend","operationId":"access_suspend_api_v1_console_access__user_id__suspend_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/access/{user_id}/reinstate":{"post":{"tags":["console-access"],"summary":"Access Reinstate","operationId":"access_reinstate_api_v1_console_access__user_id__reinstate_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/access/{user_id}/revoke":{"post":{"tags":["console-access"],"summary":"Access Revoke","operationId":"access_revoke_api_v1_console_access__user_id__revoke_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/settings":{"get":{"tags":["console-access"],"summary":"Settings Get","operationId":"settings_get_api_v1_console_settings_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/settings/delegation_enabled":{"put":{"tags":["console-access"],"summary":"Delegation Set","operationId":"delegation_set_api_v1_console_settings_delegation_enabled_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DelegationBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/audit":{"get":{"tags":["console-audit"],"summary":"Audit List","operationId":"audit_list_api_v1_console_audit_get","parameters":[{"name":"person","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Person"}},{"name":"platform","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Platform"}},{"name":"section","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Section"}},{"name":"event","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"days","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Days"}},{"name":"date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date From"}},{"name":"date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date To"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/audit/summary":{"get":{"tags":["console-audit"],"summary":"Audit Summary","operationId":"audit_summary_api_v1_console_audit_summary_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Days"}},{"name":"date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date From"}},{"name":"date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date To"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/audit/filters":{"get":{"tags":["console-audit"],"summary":"Audit Filters","operationId":"audit_filters_api_v1_console_audit_filters_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/audit/{audit_id}":{"get":{"tags":["console-audit"],"summary":"Audit Detail","operationId":"audit_detail_api_v1_console_audit__audit_id__get","parameters":[{"name":"audit_id","in":"path","required":true,"schema":{"type":"integer","title":"Audit Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/audit/recent":{"get":{"tags":["console-audit"],"summary":"Audit Recent","description":"The shell's \"Who did what here\" drawer: the latest rows for one page's section on one platform.","operationId":"audit_recent_api_v1_console__platform__audit_recent_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"section","in":"query","required":true,"schema":{"type":"string","title":"Section"}},{"name":"target_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":15,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/audit/export":{"post":{"tags":["console-audit"],"summary":"Audit Export","operationId":"audit_export_api_v1_console_audit_export_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_audit_routes__ExportBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/exports":{"get":{"tags":["console-audit"],"summary":"Exports List","operationId":"exports_list_api_v1_console_exports_get","parameters":[{"name":"resource","in":"query","required":false,"schema":{"type":"string","default":"audit","title":"Resource"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/exports/{export_id}/download":{"get":{"tags":["console-audit"],"summary":"Export Download","operationId":"export_download_api_v1_console_exports__export_id__download_get","parameters":[{"name":"export_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Export Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/switches":{"get":{"tags":["console-switches"],"summary":"Switches List","operationId":"switches_list_api_v1_console__platform__switches_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/limits":{"get":{"tags":["console-switches"],"summary":"Limits","operationId":"limits_api_v1_console__platform__limits_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/switches/{key}":{"get":{"tags":["console-switches"],"summary":"Switch Detail","operationId":"switch_detail_api_v1_console__platform__switches__key__get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"key","in":"path","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/v1/console/{platform}/switches/{key}/flip":{"post":{"tags":["console-switches"],"summary":"Switch Flip","operationId":"switch_flip_api_v1_console__platform__switches__key__flip_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlipBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/switches/{key}/undo":{"post":{"tags":["console-switches"],"summary":"Switch Undo","operationId":"switch_undo_api_v1_console__platform__switches__key__undo_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"key","in":"path","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/v1/console/{platform}/switches/{key}/applied":{"post":{"tags":["console-switches"],"summary":"Switch Applied","operationId":"switch_applied_api_v1_console__platform__switches__key__applied_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppliedBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/switches/reporter-applied":{"post":{"tags":["console-switches"],"summary":"Switch Reporter Applied","description":"The reporter machine (or a deploy step holding a reporter key) says it put a wish into effect. Signed with the machine key exactly like\na report; it can only mark a wish that exists, with the value the owner asked for. Recorded as a machine action.","operationId":"switch_reporter_applied_api_v1_console_switches_reporter_applied_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/{platform}/money":{"get":{"tags":["console-money"],"summary":"Money","operationId":"money_api_v1_console__platform__money_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/money/plans":{"get":{"tags":["console-money"],"summary":"Money Plans","operationId":"money_plans_api_v1_console__platform__money_plans_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"family","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Family"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/money/orders":{"get":{"tags":["console-money"],"summary":"Money Orders","operationId":"money_orders_api_v1_console__platform__money_orders_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/money/spend":{"get":{"tags":["console-money"],"summary":"Money Spend","operationId":"money_spend_api_v1_console__platform__money_spend_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["console-money"],"summary":"Money Spend Add","operationId":"money_spend_add_api_v1_console__platform__money_spend_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpendBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/money/spend/{entry_id}/void":{"post":{"tags":["console-money"],"summary":"Money Spend Void","operationId":"money_spend_void_api_v1_console__platform__money_spend__entry_id__void_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"entry_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entry Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/money/desk/overview":{"get":{"tags":["console-money-desk"],"summary":"Overview","operationId":"overview_api_v1_console__platform__money_desk_overview_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/money/desk/orders":{"get":{"tags":["console-money-desk"],"summary":"Orders","operationId":"orders_api_v1_console__platform__money_desk_orders_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"mode","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mode"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/money/desk/payments":{"get":{"tags":["console-money-desk"],"summary":"Payments","operationId":"payments_api_v1_console__platform__money_desk_payments_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/money/desk/subscriptions":{"get":{"tags":["console-money-desk"],"summary":"Subscriptions","operationId":"subscriptions_api_v1_console__platform__money_desk_subscriptions_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/money/desk/pauses":{"get":{"tags":["console-money-desk"],"summary":"Pauses","operationId":"pauses_api_v1_console__platform__money_desk_pauses_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["console-money-desk"],"summary":"Pause Start","operationId":"pause_start_api_v1_console__platform__money_desk_pauses_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_money_desk_routes__PauseBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/money/desk/gifts":{"get":{"tags":["console-money-desk"],"summary":"Gifts","operationId":"gifts_api_v1_console__platform__money_desk_gifts_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/money/desk/coupons":{"get":{"tags":["console-money-desk"],"summary":"Coupons","operationId":"coupons_api_v1_console__platform__money_desk_coupons_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["console-money-desk"],"summary":"Coupon Create","operationId":"coupon_create_api_v1_console__platform__money_desk_coupons_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CouponBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/money/desk/held":{"get":{"tags":["console-money-desk"],"summary":"Held","operationId":"held_api_v1_console__platform__money_desk_held_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"include_resolved","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Resolved"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/money/desk/refunds":{"get":{"tags":["console-money-desk"],"summary":"Refunds","operationId":"refunds_api_v1_console__platform__money_desk_refunds_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["console-money-desk"],"summary":"Refund Request","operationId":"refund_request_api_v1_console__platform__money_desk_refunds_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_money_desk_routes__RefundBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/money/desk/disputes":{"get":{"tags":["console-money-desk"],"summary":"Disputes","operationId":"disputes_api_v1_console__platform__money_desk_disputes_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/money/desk/invoices":{"get":{"tags":["console-money-desk"],"summary":"Invoices","operationId":"invoices_api_v1_console__platform__money_desk_invoices_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/money/desk/retention":{"get":{"tags":["console-money-desk"],"summary":"Retention","operationId":"retention_api_v1_console__platform__money_desk_retention_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/money/desk/offers":{"get":{"tags":["console-money-desk"],"summary":"Offers","operationId":"offers_api_v1_console__platform__money_desk_offers_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":300,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/money/desk/offers/changes":{"get":{"tags":["console-money-desk"],"summary":"Price Changes","operationId":"price_changes_api_v1_console__platform__money_desk_offers_changes_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"sku_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sku Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/money/desk/offers/changes/{change_id}":{"get":{"tags":["console-money-desk"],"summary":"Price Change","operationId":"price_change_api_v1_console__platform__money_desk_offers_changes__change_id__get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"change_id","in":"path","required":true,"schema":{"type":"string","title":"Change Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/money/desk/finance":{"get":{"tags":["console-money-desk"],"summary":"Finance","operationId":"finance_api_v1_console__platform__money_desk_finance_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/money/desk/gate":{"get":{"tags":["console-money-desk"],"summary":"Gate","operationId":"gate_api_v1_console__platform__money_desk_gate_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/money/desk/actions":{"get":{"tags":["console-money-desk"],"summary":"Actions","operationId":"actions_api_v1_console__platform__money_desk_actions_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/money/desk/refunds/{payment_id}/cancel":{"post":{"tags":["console-money-desk"],"summary":"Refund Cancel","operationId":"refund_cancel_api_v1_console__platform__money_desk_refunds__payment_id__cancel_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"payment_id","in":"path","required":true,"schema":{"type":"string","title":"Payment Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_money_desk_routes__ReasonBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/money/desk/held/{exception_id}/refund":{"post":{"tags":["console-money-desk"],"summary":"Held Refund","operationId":"held_refund_api_v1_console__platform__money_desk_held__exception_id__refund_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"exception_id","in":"path","required":true,"schema":{"type":"integer","title":"Exception Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_money_desk_routes__ReasonBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/money/desk/pauses/{subscription_id}/resume":{"post":{"tags":["console-money-desk"],"summary":"Pause Resume","operationId":"pause_resume_api_v1_console__platform__money_desk_pauses__subscription_id__resume_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"subscription_id","in":"path","required":true,"schema":{"type":"string","title":"Subscription Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_money_desk_routes__ReasonBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/money/desk/coupons/{coupon_id}/expire":{"post":{"tags":["console-money-desk"],"summary":"Coupon Expire","operationId":"coupon_expire_api_v1_console__platform__money_desk_coupons__coupon_id__expire_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"coupon_id","in":"path","required":true,"schema":{"type":"string","title":"Coupon Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_money_desk_routes__ReasonBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/money/desk/offers/propose":{"post":{"tags":["console-money-desk"],"summary":"Offer Propose","operationId":"offer_propose_api_v1_console__platform__money_desk_offers_propose_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProposeBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/money/desk/offers/changes/{change_id}/publish":{"post":{"tags":["console-money-desk"],"summary":"Offer Publish","operationId":"offer_publish_api_v1_console__platform__money_desk_offers_changes__change_id__publish_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"change_id","in":"path","required":true,"schema":{"type":"string","title":"Change Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_money_desk_routes__ReasonBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/money/desk/offers/changes/{change_id}/withdraw":{"post":{"tags":["console-money-desk"],"summary":"Offer Withdraw","operationId":"offer_withdraw_api_v1_console__platform__money_desk_offers_changes__change_id__withdraw_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"change_id","in":"path","required":true,"schema":{"type":"string","title":"Change Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_money_desk_routes__ReasonBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/money/desk/disputes/{dispute_row_id}/decide":{"post":{"tags":["console-money-desk"],"summary":"Dispute Decide","operationId":"dispute_decide_api_v1_console__platform__money_desk_disputes__dispute_row_id__decide_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"dispute_row_id","in":"path","required":true,"schema":{"type":"integer","title":"Dispute Row Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_money_desk_routes__DecideBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/money/desk/goodwill":{"post":{"tags":["console-money-desk"],"summary":"Goodwill Grant","operationId":"goodwill_grant_api_v1_console__platform__money_desk_goodwill_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoodwillBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/money/desk/goodwill/{entitlement_id}/revoke":{"post":{"tags":["console-money-desk"],"summary":"Goodwill Revoke","operationId":"goodwill_revoke_api_v1_console__platform__money_desk_goodwill__entitlement_id__revoke_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"entitlement_id","in":"path","required":true,"schema":{"type":"string","title":"Entitlement Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_money_desk_routes__ReasonBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/money/desk/refund-cap":{"put":{"tags":["console-money-desk"],"summary":"Refund Cap Set","operationId":"refund_cap_set_api_v1_console__platform__money_desk_refund_cap_put","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_money_desk_routes__CapBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/money/desk/gate/sign-off":{"post":{"tags":["console-money-desk"],"summary":"Gate Sign Off","operationId":"gate_sign_off_api_v1_console__platform__money_desk_gate_sign_off_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_money_desk_routes__ReasonBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/content":{"get":{"tags":["console-content"],"summary":"Content","operationId":"content_api_v1_console__platform__content_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/content/queues":{"get":{"tags":["console-content"],"summary":"Content Queues","operationId":"content_queues_api_v1_console__platform__content_queues_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/messages":{"get":{"tags":["console-messages"],"summary":"Messages List","operationId":"messages_list_api_v1_console__platform__messages_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"state","in":"query","required":false,"schema":{"type":"string","default":"new","title":"State"}},{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kind"}},{"name":"channel","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Channel"}},{"name":"owner","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Owner"}},{"name":"age","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Age"}},{"name":"clock","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Clock"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"held","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Held"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/messages/channels":{"get":{"tags":["console-messages"],"summary":"Channels List","operationId":"channels_list_api_v1_console__platform__messages_channels_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/messages/channels/{key}":{"put":{"tags":["console-messages"],"summary":"Channel Update","operationId":"channel_update_api_v1_console__platform__messages_channels__key__put","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChannelBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/messages/channels/{key}/test":{"post":{"tags":["console-messages"],"summary":"Channel Test","operationId":"channel_test_api_v1_console__platform__messages_channels__key__test_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_messages_routes__TestBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/messages/clocks/{kind}":{"put":{"tags":["console-messages"],"summary":"Clock Set","operationId":"clock_set_api_v1_console__platform__messages_clocks__kind__put","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"kind","in":"path","required":true,"schema":{"type":"string","title":"Kind"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClockBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/messages/templates":{"get":{"tags":["console-messages"],"summary":"Templates List","operationId":"templates_list_api_v1_console__platform__messages_templates_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["console-messages"],"summary":"Template New Version","operationId":"template_new_version_api_v1_console__platform__messages_templates_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/messages/blocklist":{"get":{"tags":["console-messages"],"summary":"Blocklist Get","operationId":"blocklist_get_api_v1_console__platform__messages_blocklist_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["console-messages"],"summary":"Blocklist Put","operationId":"blocklist_put_api_v1_console__platform__messages_blocklist_put","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlockBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/messages/export":{"post":{"tags":["console-messages"],"summary":"Messages Export","operationId":"messages_export_api_v1_console__platform__messages_export_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_messages_routes__ExportBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/messages/chat/{sha}/read":{"post":{"tags":["console-messages"],"summary":"Chat Mark Read","operationId":"chat_mark_read_api_v1_console__platform__messages_chat__sha__read_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"sha","in":"path","required":true,"schema":{"type":"string","title":"Sha"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/messages/{item_id}":{"get":{"tags":["console-messages"],"summary":"Message Detail","operationId":"message_detail_api_v1_console__platform__messages__item_id__get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/messages/{item_id}/reveal":{"post":{"tags":["console-messages"],"summary":"Message Reveal","operationId":"message_reveal_api_v1_console__platform__messages__item_id__reveal_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/messages/{item_id}/reply":{"post":{"tags":["console-messages"],"summary":"Message Reply","operationId":"message_reply_api_v1_console__platform__messages__item_id__reply_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReplyBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/messages/{item_id}/assign":{"post":{"tags":["console-messages"],"summary":"Message Assign","operationId":"message_assign_api_v1_console__platform__messages__item_id__assign_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssignBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/messages/{item_id}/escalate":{"post":{"tags":["console-messages"],"summary":"Message Escalate","description":"Hand a message up: to the safeguarding lead's queue (a case that points back at this message), or to the owner's alerts. AT COM L7.","operationId":"message_escalate_api_v1_console__platform__messages__item_id__escalate_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EscalateBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/messages/{item_id}/state":{"post":{"tags":["console-messages"],"summary":"Message State","operationId":"message_state_api_v1_console__platform__messages__item_id__state_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_messages_routes__StateBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/messages/{item_id}/notes":{"post":{"tags":["console-messages"],"summary":"Note Add","operationId":"note_add_api_v1_console__platform__messages__item_id__notes_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_messages_routes__NoteBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/messages/{item_id}/notes/{note_id}/withdraw":{"post":{"tags":["console-messages"],"summary":"Note Withdraw","operationId":"note_withdraw_api_v1_console__platform__messages__item_id__notes__note_id__withdraw_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}},{"name":"note_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Note Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/messages/{item_id}/hold":{"post":{"tags":["console-messages"],"summary":"Message Hold","operationId":"message_hold_api_v1_console__platform__messages__item_id__hold_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/messages/{item_id}/release":{"post":{"tags":["console-messages"],"summary":"Message Release","operationId":"message_release_api_v1_console__platform__messages__item_id__release_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/messages/{item_id}/scrub":{"post":{"tags":["console-messages"],"summary":"Message Scrub","operationId":"message_scrub_api_v1_console__platform__messages__item_id__scrub_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/inbound/unmatched":{"get":{"tags":["console-messages"],"summary":"Inbound Unmatched","operationId":"inbound_unmatched_api_v1_console_inbound_unmatched_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/inbound/email/{inbound_id}/route":{"post":{"tags":["console-messages"],"summary":"Inbound Route","operationId":"inbound_route_api_v1_console_inbound_email__inbound_id__route_post","parameters":[{"name":"inbound_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Inbound Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RouteBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/contact/form":{"get":{"tags":["console-intake"],"summary":"Contact Form","operationId":"contact_form_api_v1_contact_form_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/contact/messages":{"post":{"tags":["console-intake"],"summary":"Contact Message","operationId":"contact_message_api_v1_contact_messages_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_messages_intake__ContactBody"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/legal/grievances":{"post":{"tags":["console-intake"],"summary":"Grievance","operationId":"grievance_api_v1_legal_grievances_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GrievanceBody"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/providers/resend/inbound":{"post":{"tags":["console-intake"],"summary":"Resend Inbound","operationId":"resend_inbound_api_v1_providers_resend_inbound_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/providers/resend/events":{"post":{"tags":["console-intake"],"summary":"Resend Events","operationId":"resend_events_api_v1_providers_resend_events_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/saved-views":{"get":{"tags":["console-saved-views"],"summary":"Views List","operationId":"views_list_api_v1_console_saved_views_get","parameters":[{"name":"page","in":"query","required":true,"schema":{"type":"string","title":"Page"}},{"name":"platform","in":"query","required":false,"schema":{"type":"string","default":"aspireace","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["console-saved-views"],"summary":"View Save","operationId":"view_save_api_v1_console_saved_views_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/console_saved_views_routes__ViewBody"},{"$ref":"#/components/schemas/SavedViewBody"}],"discriminator":{"propertyName":"page","mapping":{"messages":"#/components/schemas/console_saved_views_routes__ViewBody","atcom-explorer":"#/components/schemas/SavedViewBody"}},"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/saved-views/{view_id}":{"delete":{"tags":["console-saved-views"],"summary":"View Delete","operationId":"view_delete_api_v1_console_saved_views__view_id__delete","parameters":[{"name":"view_id","in":"path","required":true,"schema":{"type":"string","title":"View Id"}},{"name":"expected_version","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expected Version"}},{"name":"page","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Page"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["console-saved-views"],"summary":"Atcom View Open","operationId":"atcom_view_open_api_v1_console_saved_views__view_id__get","parameters":[{"name":"view_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"View Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/support":{"get":{"tags":["console-support"],"summary":"Support Overview","operationId":"support_overview_api_v1_console__platform__support_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/support/capacity":{"get":{"tags":["console-support"],"summary":"Support Capacity Config Get","description":"Read current D13 inputs from the existing versioned console settings store.","operationId":"support_capacity_config_get_api_v1_console__platform__support_capacity_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["console-support"],"summary":"Support Capacity Config Put","description":"Store a typed D13 source binding; does not assign work or reserve capacity.","operationId":"support_capacity_config_put_api_v1_console__platform__support_capacity_put","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapacityConfigWrite"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/support/operator-lifecycle":{"get":{"tags":["console-support"],"summary":"Operator Lifecycle Get","operationId":"operator_lifecycle_get_api_v1_console__platform__support_operator_lifecycle_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["console-support"],"summary":"Operator Lifecycle Record","description":"Append a scoped joiner/mover/leaver evidence packet; native owners retain all actions.","operationId":"operator_lifecycle_record_api_v1_console__platform__support_operator_lifecycle_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperatorLifecycleWrite"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/support/probes/run":{"post":{"tags":["console-support"],"summary":"Probes Run","description":"Check the API's own parts (database, board file, email setup, TruTutor reachability) and keep the results. Read-style: no key.","operationId":"probes_run_api_v1_console__platform__support_probes_run_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/support/incidents":{"get":{"tags":["console-support"],"summary":"Incidents List","operationId":"incidents_list_api_v1_console__platform__support_incidents_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["console-support"],"summary":"Incident Open","operationId":"incident_open_api_v1_console__platform__support_incidents_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IncidentNew"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/support/incidents/{incident_id}":{"get":{"tags":["console-support"],"summary":"Incident One","operationId":"incident_one_api_v1_console__platform__support_incidents__incident_id__get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"incident_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Incident Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["console-support"],"summary":"Incident Patch","operationId":"incident_patch_api_v1_console__platform__support_incidents__incident_id__patch","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"incident_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Incident Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IncidentPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/support/faults":{"get":{"tags":["console-support"],"summary":"Faults List","operationId":"faults_list_api_v1_console__platform__support_faults_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"name":"severity","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Severity"}},{"name":"row","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row"}},{"name":"source","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"show","in":"query","required":false,"schema":{"type":"string","default":"open","title":"Show"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["console-support"],"summary":"Fault Create","operationId":"fault_create_api_v1_console__platform__support_faults_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FaultNew"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/support/faults/{fault_id}":{"get":{"tags":["console-support"],"summary":"Fault Detail","operationId":"fault_detail_api_v1_console__platform__support_faults__fault_id__get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"fault_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Fault Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["console-support"],"summary":"Fault Patch","operationId":"fault_patch_api_v1_console__platform__support_faults__fault_id__patch","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"fault_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Fault Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FaultPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/support/incidents/{incident_id}/notes":{"post":{"tags":["console-support"],"summary":"Incident Note","operationId":"incident_note_api_v1_console__platform__support_incidents__incident_id__notes_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"incident_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Incident Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IncidentNote"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/support/incidents/{incident_id}/timeline":{"post":{"tags":["console-support"],"summary":"Incident Timeline","operationId":"incident_timeline_api_v1_console__platform__support_incidents__incident_id__timeline_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"incident_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Incident Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimelineNew"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/support/incidents/{incident_id}/public-status":{"put":{"tags":["console-support"],"summary":"Incident Public Status","operationId":"incident_public_status_api_v1_console__platform__support_incidents__incident_id__public_status_put","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"incident_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Incident Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicStatusBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/public/status/incidents":{"get":{"tags":["console-support"],"summary":"Public Status Incidents","description":"No sign-in. Only text the owner published, under a fixed heading (\"Service notice\": the incident title is internal), with its times; no ids, no internal notes, no severity.","operationId":"public_status_incidents_api_v1_console_public_status_incidents_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/{platform}/support/incidents/{incident_id}/followups":{"post":{"tags":["console-support"],"summary":"Incident Followup Add","operationId":"incident_followup_add_api_v1_console__platform__support_incidents__incident_id__followups_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"incident_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Incident Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FollowupNew"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/support/incidents/{incident_id}/followups/{followup_id}":{"patch":{"tags":["console-support"],"summary":"Incident Followup Patch","operationId":"incident_followup_patch_api_v1_console__platform__support_incidents__incident_id__followups__followup_id__patch","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"incident_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Incident Id"}},{"name":"followup_id","in":"path","required":true,"schema":{"type":"integer","title":"Followup Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FollowupPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/outbound":{"get":{"tags":["console-outbound"],"summary":"Outbound List","operationId":"outbound_list_api_v1_console__platform__outbound_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["console-outbound"],"summary":"Draft Create","operationId":"draft_create_api_v1_console__platform__outbound_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DraftBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/outbound/settings":{"get":{"tags":["console-outbound"],"summary":"Settings Get","operationId":"settings_get_api_v1_console__platform__outbound_settings_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["console-outbound"],"summary":"Settings Put","operationId":"settings_put_api_v1_console__platform__outbound_settings_put","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_outbound_routes__SettingsBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/outbound/cohorts":{"get":{"tags":["console-outbound"],"summary":"Cohorts List","operationId":"cohorts_list_api_v1_console__platform__outbound_cohorts_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"include_archived","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Archived"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["console-outbound"],"summary":"Cohort Create","operationId":"cohort_create_api_v1_console__platform__outbound_cohorts_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CohortNew"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/outbound/cohorts/{cohort_id}":{"get":{"tags":["console-outbound"],"summary":"Cohort Detail","operationId":"cohort_detail_api_v1_console__platform__outbound_cohorts__cohort_id__get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"cohort_id","in":"path","required":true,"schema":{"type":"string","title":"Cohort Id"}},{"name":"channel","in":"query","required":false,"schema":{"type":"string","default":"email","title":"Channel"}},{"name":"purpose","in":"query","required":false,"schema":{"type":"string","default":"service","title":"Purpose"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/outbound/cohorts/{cohort_id}/archive":{"post":{"tags":["console-outbound"],"summary":"Cohort Archive","operationId":"cohort_archive_api_v1_console__platform__outbound_cohorts__cohort_id__archive_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"cohort_id","in":"path","required":true,"schema":{"type":"string","title":"Cohort Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/outbound/{message_id}":{"put":{"tags":["console-outbound"],"summary":"Draft Edit","operationId":"draft_edit_api_v1_console__platform__outbound__message_id__put","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"message_id","in":"path","required":true,"schema":{"type":"string","title":"Message Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EditBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["console-outbound"],"summary":"Outbound Detail","operationId":"outbound_detail_api_v1_console__platform__outbound__message_id__get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"message_id","in":"path","required":true,"schema":{"type":"string","title":"Message Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/outbound/{message_id}/recipients":{"get":{"tags":["console-outbound"],"summary":"Recipients","operationId":"recipients_api_v1_console__platform__outbound__message_id__recipients_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"message_id","in":"path","required":true,"schema":{"type":"string","title":"Message Id"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/outbound/{message_id}/dry-run":{"post":{"tags":["console-outbound"],"summary":"Dry Run","operationId":"dry_run_api_v1_console__platform__outbound__message_id__dry_run_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"message_id","in":"path","required":true,"schema":{"type":"string","title":"Message Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/outbound/{message_id}/send":{"post":{"tags":["console-outbound"],"summary":"Send","operationId":"send_api_v1_console__platform__outbound__message_id__send_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"message_id","in":"path","required":true,"schema":{"type":"string","title":"Message Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/outbound/{message_id}/withdraw":{"post":{"tags":["console-outbound"],"summary":"Withdraw","operationId":"withdraw_api_v1_console__platform__outbound__message_id__withdraw_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"message_id","in":"path","required":true,"schema":{"type":"string","title":"Message Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/outbound/{message_id}/resume":{"post":{"tags":["console-outbound"],"summary":"Resume","operationId":"resume_api_v1_console__platform__outbound__message_id__resume_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"message_id","in":"path","required":true,"schema":{"type":"string","title":"Message Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/safeguarding/cases":{"post":{"tags":["console-safeguarding"],"summary":"Case Report","operationId":"case_report_api_v1_console__platform__safeguarding_cases_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseNew"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["console-safeguarding"],"summary":"Case List","operationId":"case_list_api_v1_console__platform__safeguarding_cases_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"state","in":"query","required":false,"schema":{"type":"string","default":"open","title":"State"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/safeguarding/cases/{ref}":{"get":{"tags":["console-safeguarding"],"summary":"Case Detail","operationId":"case_detail_api_v1_console__platform__safeguarding_cases__ref__get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"ref","in":"path","required":true,"schema":{"type":"string","title":"Ref"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/safeguarding/cases/{ref}/act":{"post":{"tags":["console-safeguarding"],"summary":"Case Act","operationId":"case_act_api_v1_console__platform__safeguarding_cases__ref__act_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"ref","in":"path","required":true,"schema":{"type":"string","title":"Ref"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseAct"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/safeguarding/leads":{"get":{"tags":["console-safeguarding"],"summary":"Leads List","operationId":"leads_list_api_v1_console__platform__safeguarding_leads_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["console-safeguarding"],"summary":"Lead Add","operationId":"lead_add_api_v1_console__platform__safeguarding_leads_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeadNew"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/safeguarding/leads/{person_id}":{"delete":{"tags":["console-safeguarding"],"summary":"Lead Remove","operationId":"lead_remove_api_v1_console__platform__safeguarding_leads__person_id__delete","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"person_id","in":"path","required":true,"schema":{"type":"string","title":"Person Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/moderation":{"get":{"tags":["console-moderation"],"summary":"Queue","operationId":"queue_api_v1_console__platform__moderation_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"state","in":"query","required":false,"schema":{"type":"string","default":"open","title":"State"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["console-moderation"],"summary":"Flag","operationId":"flag_api_v1_console__platform__moderation_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlagBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/moderation/{item_id}/decide":{"post":{"tags":["console-moderation"],"summary":"Decide","operationId":"decide_api_v1_console__platform__moderation__item_id__decide_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_moderation_routes__DecideBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/alert-rules":{"get":{"tags":["console-alert-rules"],"summary":"Rules List","operationId":"rules_list_api_v1_console_alert_rules_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["console-alert-rules"],"summary":"Rule Create","operationId":"rule_create_api_v1_console_alert_rules_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuleBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/alert-rules/{rule_id}":{"put":{"tags":["console-alert-rules"],"summary":"Rule Update","operationId":"rule_update_api_v1_console_alert_rules__rule_id__put","parameters":[{"name":"rule_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Rule Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuleBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/alert-rules/{rule_id}/revert":{"post":{"tags":["console-alert-rules"],"summary":"Rule Revert","operationId":"rule_revert_api_v1_console_alert_rules__rule_id__revert_post","parameters":[{"name":"rule_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Rule Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/digest":{"get":{"tags":["console-alert-rules"],"summary":"Digest Get","operationId":"digest_get_api_v1_console_digest_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"put":{"tags":["console-alert-rules"],"summary":"Digest Set","operationId":"digest_set_api_v1_console_digest_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DigestBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/digest/preview":{"get":{"tags":["console-alert-rules"],"summary":"Digest Preview","operationId":"digest_preview_api_v1_console_digest_preview_get","parameters":[{"name":"fixture","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Fixture"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/digest/send-now":{"post":{"tags":["console-alert-rules"],"summary":"Digest Send Now","operationId":"digest_send_now_api_v1_console_digest_send_now_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/alerts/health-report":{"post":{"tags":["console-alert-rules"],"summary":"Health Report","operationId":"health_report_api_v1_console_alerts_health_report_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/alerts/health":{"get":{"tags":["console-alert-rules"],"summary":"Health Get","operationId":"health_get_api_v1_console_alerts_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/company/facts":{"get":{"tags":["console-company"],"summary":"Facts List","operationId":"facts_list_api_v1_console_company_facts_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/company/weekly-review":{"get":{"tags":["console-company"],"summary":"Weekly Review","description":"Owner-only, read-only aggregate over the existing native domain readers.","operationId":"weekly_review_api_v1_console_company_weekly_review_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/company/facts/{key}":{"put":{"tags":["console-company"],"summary":"Fact Update","operationId":"fact_update_api_v1_console_company_facts__key__put","parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FactBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/facts/{key}/history":{"get":{"tags":["console-company"],"summary":"Fact History","operationId":"fact_history_api_v1_console_company_facts__key__history_get","parameters":[{"name":"key","in":"path","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/v1/console/company/facts/{key}/reveal":{"post":{"tags":["console-company"],"summary":"Fact Reveal","operationId":"fact_reveal_api_v1_console_company_facts__key__reveal_post","parameters":[{"name":"key","in":"path","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/v1/console/company/facts/export":{"post":{"tags":["console-company"],"summary":"Facts Export","operationId":"facts_export_api_v1_console_company_facts_export_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_company_routes__ExportBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/domains":{"post":{"tags":["console-company"],"summary":"Domain Create","operationId":"domain_create_api_v1_console_company_domains_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainNew"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/domains/{domain_id}":{"patch":{"tags":["console-company"],"summary":"Domain Update","operationId":"domain_update_api_v1_console_company_domains__domain_id__patch","parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/domains/{domain_id}/archive":{"post":{"tags":["console-company"],"summary":"Domain Archive","operationId":"domain_archive_api_v1_console_company_domains__domain_id__archive_post","parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Domain Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/domains/{domain_id}/restore":{"post":{"tags":["console-company"],"summary":"Domain Restore","operationId":"domain_restore_api_v1_console_company_domains__domain_id__restore_post","parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Domain Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/accounts":{"get":{"tags":["console-company"],"summary":"Accounts List","operationId":"accounts_list_api_v1_console_company_accounts_get","parameters":[{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"name":"funded","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Funded"}},{"name":"renews_within","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Renews Within"}},{"name":"missing_only","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Missing Only"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"archived","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Archived"}},{"name":"platform","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Platform"}},{"name":"needs_attention","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Needs Attention"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["console-company"],"summary":"Account Create","operationId":"account_create_api_v1_console_company_accounts_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountNew"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/accounts/{account_id}":{"patch":{"tags":["console-company"],"summary":"Account Update","operationId":"account_update_api_v1_console_company_accounts__account_id__patch","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/accounts/{account_id}/state":{"post":{"tags":["console-company"],"summary":"Account State","operationId":"account_state_api_v1_console_company_accounts__account_id__state_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_company_routes__StateBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/accounts/{account_id}/archive":{"post":{"tags":["console-company"],"summary":"Account Archive","operationId":"account_archive_api_v1_console_company_accounts__account_id__archive_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/accounts/{account_id}/restore":{"post":{"tags":["console-company"],"summary":"Account Restore","operationId":"account_restore_api_v1_console_company_accounts__account_id__restore_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/accounts/{account_id}/checks":{"post":{"tags":["console-company"],"summary":"Account Check","operationId":"account_check_api_v1_console_company_accounts__account_id__checks_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_company_routes__CheckBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/presence-check":{"post":{"tags":["console-company"],"summary":"Presence Check","operationId":"presence_check_api_v1_console_company_presence_check_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PresenceBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/presence":{"get":{"tags":["console-company"],"summary":"Presence List","operationId":"presence_list_api_v1_console_company_presence_get","parameters":[{"name":"account","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/costs":{"get":{"tags":["console-costs"],"summary":"Costs Get","operationId":"costs_get_api_v1_console_company_costs_get","parameters":[{"name":"month","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Month"}},{"name":"platform","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/costs/entries":{"post":{"tags":["console-costs"],"summary":"Entry Create","operationId":"entry_create_api_v1_console_company_costs_entries_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntryNew"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/costs/entries/{entry_id}":{"patch":{"tags":["console-costs"],"summary":"Entry Update","operationId":"entry_update_api_v1_console_company_costs_entries__entry_id__patch","parameters":[{"name":"entry_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entry Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntryPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/costs/fx":{"post":{"tags":["console-costs"],"summary":"Fx Set","operationId":"fx_set_api_v1_console_company_costs_fx_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FxBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/costs/budgets":{"post":{"tags":["console-costs"],"summary":"Budget Set","operationId":"budget_set_api_v1_console_company_costs_budgets_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/costs/pull":{"post":{"tags":["console-costs"],"summary":"Cost Pull","operationId":"cost_pull_api_v1_console_company_costs_pull_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PullBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/costs/export":{"post":{"tags":["console-costs"],"summary":"Costs Export","operationId":"costs_export_api_v1_console_company_costs_export_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_costs_routes__ExportBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/ai-spend":{"get":{"tags":["console-ai-spend"],"summary":"Ai Spend Get","operationId":"ai_spend_get_api_v1_console_company_ai_spend_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/company/ai-spend/cap":{"post":{"tags":["console-ai-spend"],"summary":"Ai Spend Set Cap","operationId":"ai_spend_set_cap_api_v1_console_company_ai_spend_cap_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_ai_spend_routes__CapBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/ai-spend/attempts/{attempt_ref}/reconcile":{"post":{"tags":["console-ai-spend"],"summary":"Reconcile Ask Attempt","description":"Owner confirms one previously unknown charge from provider billing evidence.","operationId":"reconcile_ask_attempt_api_v1_console_company_ai_spend_attempts__attempt_ref__reconcile_post","parameters":[{"name":"attempt_ref","in":"path","required":true,"schema":{"type":"string","title":"Attempt Ref"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReconcileAskAttemptBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/calendar":{"get":{"tags":["console-calendar"],"summary":"Calendar Get","operationId":"calendar_get_api_v1_console_company_calendar_get","parameters":[{"name":"from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"From"}},{"name":"to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"To"}},{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kind"}},{"name":"platform","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Platform"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"source_missing","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Source Missing"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/calendar/events":{"post":{"tags":["console-calendar"],"summary":"Event Create","operationId":"event_create_api_v1_console_company_calendar_events_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventNew"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/calendar/events/{event_id}":{"patch":{"tags":["console-calendar"],"summary":"Event Update","operationId":"event_update_api_v1_console_company_calendar_events__event_id__patch","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/calendar/events/{event_id}/done":{"post":{"tags":["console-calendar"],"summary":"Event Done","operationId":"event_done_api_v1_console_company_calendar_events__event_id__done_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/calendar/events/{event_id}/cancel":{"post":{"tags":["console-calendar"],"summary":"Event Cancel","operationId":"event_cancel_api_v1_console_company_calendar_events__event_id__cancel_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/calendar/events/{event_id}/restore":{"post":{"tags":["console-calendar"],"summary":"Event Restore","operationId":"event_restore_api_v1_console_company_calendar_events__event_id__restore_post","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/calendar/events/{event_id}/triggers":{"put":{"tags":["console-calendar"],"summary":"Event Triggers","operationId":"event_triggers_api_v1_console_company_calendar_events__event_id__triggers_put","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggersBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/calendar/export":{"post":{"tags":["console-calendar"],"summary":"Calendar Export","operationId":"calendar_export_api_v1_console_company_calendar_export_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_calendar_routes__ExportBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/regulator/rulings":{"get":{"tags":["console-regulator"],"summary":"Rulings List","operationId":"rulings_list_api_v1_console_regulator_rulings_get","parameters":[{"name":"type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"active","title":"State"}},{"name":"platform","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Platform"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"not_filed","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Not Filed"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["console-regulator"],"summary":"Ruling Create","operationId":"ruling_create_api_v1_console_regulator_rulings_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RulingNew"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/regulator/rulings/sync":{"get":{"tags":["console-regulator"],"summary":"Rulings Sync","operationId":"rulings_sync_api_v1_console_regulator_rulings_sync_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/regulator/rulings/paused-rows":{"get":{"tags":["console-regulator"],"summary":"Paused Rows","description":"The founder's pauses on the board that no hold covers yet, so a pause can become a hold the push gate enforces.","operationId":"paused_rows_api_v1_console_regulator_rulings_paused_rows_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/regulator/rulings/decision-options":{"get":{"tags":["console-regulator"],"summary":"Decision Options","operationId":"decision_options_api_v1_console_regulator_rulings_decision_options_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/regulator/rulings/{ruling_id}":{"get":{"tags":["console-regulator"],"summary":"Ruling Detail","operationId":"ruling_detail_api_v1_console_regulator_rulings__ruling_id__get","parameters":[{"name":"ruling_id","in":"path","required":true,"schema":{"type":"string","title":"Ruling Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/regulator/rulings/{ruling_id}/release":{"post":{"tags":["console-regulator"],"summary":"Ruling Release","operationId":"ruling_release_api_v1_console_regulator_rulings__ruling_id__release_post","parameters":[{"name":"ruling_id","in":"path","required":true,"schema":{"type":"string","title":"Ruling Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_regulator_routes__ReasonBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/regulator/rulings/{ruling_id}/reactivate":{"post":{"tags":["console-regulator"],"summary":"Ruling Reactivate","operationId":"ruling_reactivate_api_v1_console_regulator_rulings__ruling_id__reactivate_post","parameters":[{"name":"ruling_id","in":"path","required":true,"schema":{"type":"string","title":"Ruling Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/regulator/rulings/{ruling_id}/supersede":{"post":{"tags":["console-regulator"],"summary":"Ruling Supersede","operationId":"ruling_supersede_api_v1_console_regulator_rulings__ruling_id__supersede_post","parameters":[{"name":"ruling_id","in":"path","required":true,"schema":{"type":"string","title":"Ruling Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_regulator_routes__SupersedeBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/regulator/rulings/{ruling_id}/link":{"put":{"tags":["console-regulator"],"summary":"Ruling Link","operationId":"ruling_link_api_v1_console_regulator_rulings__ruling_id__link_put","parameters":[{"name":"ruling_id","in":"path","required":true,"schema":{"type":"string","title":"Ruling Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_regulator_routes__LinkBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/regulator/rulings/{ruling_id}/unlink":{"post":{"tags":["console-regulator"],"summary":"Ruling Unlink","operationId":"ruling_unlink_api_v1_console_regulator_rulings__ruling_id__unlink_post","parameters":[{"name":"ruling_id","in":"path","required":true,"schema":{"type":"string","title":"Ruling Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/regulator/rulings/sync/{target}/retry":{"post":{"tags":["console-regulator"],"summary":"Sync Retry","operationId":"sync_retry_api_v1_console_regulator_rulings_sync__target__retry_post","parameters":[{"name":"target","in":"path","required":true,"schema":{"type":"string","title":"Target"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/regulator/leases":{"get":{"tags":["console-leases"],"summary":"Leases List","operationId":"leases_list_api_v1_console_regulator_leases_get","parameters":[{"name":"holder","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Holder"}},{"name":"scope_kind","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scope Kind"}},{"name":"strength","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Strength"}},{"name":"platform","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Platform"}},{"name":"state","in":"query","required":false,"schema":{"type":"string","default":"active","title":"State"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["console-leases"],"summary":"Lease Take","operationId":"lease_take_api_v1_console_regulator_leases_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeaseNew"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/regulator/leases/conflicts":{"get":{"tags":["console-leases"],"summary":"Lease Conflicts","operationId":"lease_conflicts_api_v1_console_regulator_leases_conflicts_get","parameters":[{"name":"scope_kind","in":"query","required":true,"schema":{"type":"string","title":"Scope Kind"}},{"name":"scope_value","in":"query","required":true,"schema":{"type":"string","title":"Scope Value"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/regulator/leases/{lease_id}/renew":{"post":{"tags":["console-leases"],"summary":"Lease Renew","operationId":"lease_renew_api_v1_console_regulator_leases__lease_id__renew_post","parameters":[{"name":"lease_id","in":"path","required":true,"schema":{"type":"string","title":"Lease Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/regulator/leases/{lease_id}/release":{"post":{"tags":["console-leases"],"summary":"Lease Release","operationId":"lease_release_api_v1_console_regulator_leases__lease_id__release_post","parameters":[{"name":"lease_id","in":"path","required":true,"schema":{"type":"string","title":"Lease Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/regulator/leases/{lease_id}/handover":{"post":{"tags":["console-leases"],"summary":"Lease Handover","operationId":"lease_handover_api_v1_console_regulator_leases__lease_id__handover_post","parameters":[{"name":"lease_id","in":"path","required":true,"schema":{"type":"string","title":"Lease Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_leases_routes__HandoverBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/regulator/leases/{lease_id}/override":{"post":{"tags":["console-leases"],"summary":"Lease Override","operationId":"lease_override_api_v1_console_regulator_leases__lease_id__override_post","parameters":[{"name":"lease_id","in":"path","required":true,"schema":{"type":"string","title":"Lease Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OverrideBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/regulator/leases/{lease_id}/strength":{"put":{"tags":["console-leases"],"summary":"Lease Strength","operationId":"lease_strength_api_v1_console_regulator_leases__lease_id__strength_put","parameters":[{"name":"lease_id","in":"path","required":true,"schema":{"type":"string","title":"Lease Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StrengthBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/regulator/leases/{lease_id}/pin":{"put":{"tags":["console-leases"],"summary":"Lease Pin","operationId":"lease_pin_api_v1_console_regulator_leases__lease_id__pin_put","parameters":[{"name":"lease_id","in":"path","required":true,"schema":{"type":"string","title":"Lease Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PinBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/regulator/ownership/sync":{"post":{"tags":["console-leases"],"summary":"Ownership Sync","operationId":"ownership_sync_api_v1_console_regulator_ownership_sync_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/regulator/machine-keys":{"get":{"tags":["console-leases"],"summary":"Keys List","operationId":"keys_list_api_v1_console_regulator_machine_keys_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["console-leases"],"summary":"Key Create","operationId":"key_create_api_v1_console_regulator_machine_keys_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeyNew"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/regulator/machine-keys/{key_id}/revoke":{"post":{"tags":["console-leases"],"summary":"Key Revoke","operationId":"key_revoke_api_v1_console_regulator_machine_keys__key_id__revoke_post","parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"string","title":"Key Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/reporter/lease":{"post":{"tags":["console-leases"],"summary":"Reporter Lease","operationId":"reporter_lease_api_v1_console_reporter_lease_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReporterLease"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/build/migrations":{"get":{"tags":["console-build"],"summary":"Migrations","operationId":"migrations_api_v1_console__platform__build_migrations_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/build/migrations/note":{"post":{"tags":["console-build"],"summary":"Migration Note","operationId":"migration_note_api_v1_console__platform__build_migrations_note_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_build_release_routes__NoteBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/build/releases":{"get":{"tags":["console-build"],"summary":"Releases","operationId":"releases_api_v1_console__platform__build_releases_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/build/releases/check":{"post":{"tags":["console-build"],"summary":"Release Check","operationId":"release_check_api_v1_console__platform__build_releases_check_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_build_release_routes__CheckBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/build/releases/note":{"post":{"tags":["console-build"],"summary":"Release Note","operationId":"release_note_api_v1_console__platform__build_releases_note_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReleaseNoteBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/approvals/rubrics":{"get":{"tags":["console-approvals"],"summary":"Rubrics Get","operationId":"rubrics_get_api_v1_console__platform__approvals_rubrics_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["console-approvals"],"summary":"Rubric Approve","operationId":"rubric_approve_api_v1_console__platform__approvals_rubrics_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricApprove"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/approvals/rubrics/{rubric_version_id}/withdraw":{"post":{"tags":["console-approvals"],"summary":"Rubric Withdraw","operationId":"rubric_withdraw_api_v1_console__platform__approvals_rubrics__rubric_version_id__withdraw_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"rubric_version_id","in":"path","required":true,"schema":{"type":"string","title":"Rubric Version Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricWithdraw"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/approvals/teachers":{"get":{"tags":["console-approvals"],"summary":"Teachers List","operationId":"teachers_list_api_v1_console__platform__approvals_teachers_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"state","in":"query","required":false,"schema":{"type":"string","default":"waiting","title":"State"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/approvals/teachers/{teacher_id}":{"get":{"tags":["console-approvals"],"summary":"Teacher Detail","operationId":"teacher_detail_api_v1_console__platform__approvals_teachers__teacher_id__get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"teacher_id","in":"path","required":true,"schema":{"type":"string","title":"Teacher Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/approvals/teachers/{teacher_id}/approve":{"post":{"tags":["console-approvals"],"summary":"Teacher Approve","operationId":"teacher_approve_api_v1_console__platform__approvals_teachers__teacher_id__approve_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"teacher_id","in":"path","required":true,"schema":{"type":"string","title":"Teacher Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeacherNote"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/approvals/teachers/{teacher_id}/reject":{"post":{"tags":["console-approvals"],"summary":"Teacher Reject","operationId":"teacher_reject_api_v1_console__platform__approvals_teachers__teacher_id__reject_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"teacher_id","in":"path","required":true,"schema":{"type":"string","title":"Teacher Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeacherNote"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/approvals/teachers/{teacher_id}/request-changes":{"post":{"tags":["console-approvals"],"summary":"Teacher Request Changes","operationId":"teacher_request_changes_api_v1_console__platform__approvals_teachers__teacher_id__request_changes_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"teacher_id","in":"path","required":true,"schema":{"type":"string","title":"Teacher Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeacherNote"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/approvals/teachers/{teacher_id}/suspend":{"post":{"tags":["console-approvals"],"summary":"Teacher Suspend","operationId":"teacher_suspend_api_v1_console__platform__approvals_teachers__teacher_id__suspend_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"teacher_id","in":"path","required":true,"schema":{"type":"string","title":"Teacher Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeacherNote"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/approvals/teachers/{teacher_id}/reinstate":{"post":{"tags":["console-approvals"],"summary":"Teacher Reinstate","operationId":"teacher_reinstate_api_v1_console__platform__approvals_teachers__teacher_id__reinstate_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"teacher_id","in":"path","required":true,"schema":{"type":"string","title":"Teacher Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeacherNote"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/approvals/teachers/{teacher_id}/check":{"post":{"tags":["console-approvals"],"summary":"Teacher Check","operationId":"teacher_check_api_v1_console__platform__approvals_teachers__teacher_id__check_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"teacher_id","in":"path","required":true,"schema":{"type":"string","title":"Teacher Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeacherCheck"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/approvals/rights":{"get":{"tags":["console-approvals"],"summary":"Rights Get","operationId":"rights_get_api_v1_console__platform__approvals_rights_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/approvals/rights/{item_key}/decision":{"post":{"tags":["console-approvals"],"summary":"Rights Decide","operationId":"rights_decide_api_v1_console__platform__approvals_rights__item_key__decision_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"item_key","in":"path","required":true,"schema":{"type":"string","title":"Item Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RightsDecision"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/approvals/rights/{item_key}/expiry":{"put":{"tags":["console-approvals"],"summary":"Rights Expiry","operationId":"rights_expiry_api_v1_console__platform__approvals_rights__item_key__expiry_put","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"item_key","in":"path","required":true,"schema":{"type":"string","title":"Item Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RightsExpiry"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/approvals/rights/{item_key}/evidence":{"put":{"tags":["console-approvals"],"summary":"Rights Evidence","operationId":"rights_evidence_api_v1_console__platform__approvals_rights__item_key__evidence_put","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"item_key","in":"path","required":true,"schema":{"type":"string","title":"Item Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RightsEvidence"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/approvals/rights/evidence-receipts":{"post":{"tags":["console-approvals"],"summary":"Issue Rights Evidence Receipt","description":"Record a packet-bound OS10 rights decision by the authenticated owner.\n\nThe founder-review and approval references are evidence fields, never actor\ncredentials. The actual console session supplies the actor identity.","operationId":"issue_rights_evidence_receipt_api_v1_console__platform__approvals_rights_evidence_receipts_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RightsEvidenceIssuance"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/approvals/pack-policies":{"get":{"tags":["console-approvals"],"summary":"Packs Get","operationId":"packs_get_api_v1_console__platform__approvals_pack_policies_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/approvals/pack-policies/proposals":{"post":{"tags":["console-approvals"],"summary":"Pack Propose","operationId":"pack_propose_api_v1_console__platform__approvals_pack_policies_proposals_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PackPropose"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/approvals/pack-policies/proposals/{proposal_id}/approve":{"post":{"tags":["console-approvals"],"summary":"Pack Approve","operationId":"pack_approve_api_v1_console__platform__approvals_pack_policies_proposals__proposal_id__approve_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"proposal_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Proposal Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PackDecision"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/approvals/pack-policies/proposals/{proposal_id}/reject":{"post":{"tags":["console-approvals"],"summary":"Pack Reject","operationId":"pack_reject_api_v1_console__platform__approvals_pack_policies_proposals__proposal_id__reject_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"proposal_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Proposal Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PackDecision"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/approvals/pack-policies/proposals/{proposal_id}/withdraw":{"post":{"tags":["console-approvals"],"summary":"Pack Withdraw","operationId":"pack_withdraw_api_v1_console__platform__approvals_pack_policies_proposals__proposal_id__withdraw_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"proposal_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Proposal Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PackDecision"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/approvals/pack-policies/impact":{"get":{"tags":["console-approvals"],"summary":"Pack Impact","operationId":"pack_impact_api_v1_console__platform__approvals_pack_policies_impact_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"scope_key","in":"query","required":true,"schema":{"type":"string","title":"Scope Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/approvals/example-profiles":{"get":{"tags":["console-approvals"],"summary":"Examples Get","operationId":"examples_get_api_v1_console__platform__approvals_example_profiles_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/approvals/example-profiles/remove":{"post":{"tags":["console-approvals"],"summary":"Examples Remove","operationId":"examples_remove_api_v1_console__platform__approvals_example_profiles_remove_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExampleRemove"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/approvals/example-profiles/restore":{"post":{"tags":["console-approvals"],"summary":"Examples Restore","operationId":"examples_restore_api_v1_console__platform__approvals_example_profiles_restore_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExampleRestore"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/approvals/summary":{"get":{"tags":["console-approvals"],"summary":"Approvals Summary","operationId":"approvals_summary_api_v1_console__platform__approvals_summary_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/approvals/waiting":{"get":{"tags":["console-approvals"],"summary":"Approvals Waiting","operationId":"approvals_waiting_api_v1_console__platform__approvals_waiting_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/approvals/decided":{"get":{"tags":["console-approvals"],"summary":"Approvals Decided","operationId":"approvals_decided_api_v1_console__platform__approvals_decided_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/publication/queue":{"get":{"tags":["console-publication"],"summary":"Queue","operationId":"queue_api_v1_console__platform__publication_queue_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"view","in":"query","required":false,"schema":{"type":"string","default":"waiting","title":"View"}},{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kind"}},{"name":"q","in":"query","required":false,"schema":{"type":"string","default":"","title":"Q"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/publication/items/{kind}/{oid}":{"get":{"tags":["console-publication"],"summary":"Item","operationId":"item_api_v1_console__platform__publication_items__kind___oid__get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"kind","in":"path","required":true,"schema":{"type":"string","title":"Kind"}},{"name":"oid","in":"path","required":true,"schema":{"type":"string","title":"Oid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/publication/items/source/{oid}/purge-receipt":{"post":{"tags":["console-publication"],"summary":"Purge Receipt","operationId":"purge_receipt_api_v1_console__platform__publication_items_source__oid__purge_receipt_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"oid","in":"path","required":true,"schema":{"type":"string","title":"Oid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReceiptBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/publication/items/{kind}/{oid}/{verb}":{"post":{"tags":["console-publication"],"summary":"Do Verb","operationId":"do_verb_api_v1_console__platform__publication_items__kind___oid___verb__post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"kind","in":"path","required":true,"schema":{"type":"string","title":"Kind"}},{"name":"oid","in":"path","required":true,"schema":{"type":"string","title":"Oid"}},{"name":"verb","in":"path","required":true,"schema":{"type":"string","title":"Verb"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_publication_routes__Reason"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/publication/recalls":{"get":{"tags":["console-publication"],"summary":"Recalls","operationId":"recalls_api_v1_console__platform__publication_recalls_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"state","in":"query","required":false,"schema":{"type":"string","default":"open","title":"State"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/publication/recalls/{nid}/resolve":{"post":{"tags":["console-publication"],"summary":"Resolve","operationId":"resolve_api_v1_console__platform__publication_recalls__nid__resolve_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"nid","in":"path","required":true,"schema":{"type":"integer","title":"Nid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_publication_routes__Reason"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/products/{n}/controls":{"get":{"tags":["console-publication"],"summary":"Product Controls","operationId":"product_controls_api_v1_console__platform__products__n__controls_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"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/v1/console/{platform}/products/{n}/controls/enabled":{"post":{"tags":["console-publication"],"summary":"Set Enabled","operationId":"set_enabled_api_v1_console__platform__products__n__controls_enabled_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"n","in":"path","required":true,"schema":{"type":"integer","title":"N"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnabledBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/products/{n}/controls/public-page":{"post":{"tags":["console-publication"],"summary":"Set Page","operationId":"set_page_api_v1_console__platform__products__n__controls_public_page_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"n","in":"path","required":true,"schema":{"type":"integer","title":"N"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/products/{n}/controls/plan-terms":{"post":{"tags":["console-publication"],"summary":"Set Terms","operationId":"set_terms_api_v1_console__platform__products__n__controls_plan_terms_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"n","in":"path","required":true,"schema":{"type":"integer","title":"N"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_publication_routes__TermsBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/products/{n}/controls/board-edit":{"post":{"tags":["console-publication"],"summary":"Board Edit","operationId":"board_edit_api_v1_console__platform__products__n__controls_board_edit_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"n","in":"path","required":true,"schema":{"type":"integer","title":"N"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoardEditBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/public-pages":{"get":{"tags":["console-publication"],"summary":"Public Pages","operationId":"public_pages_api_v1_console__platform__public_pages_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/public-pages/{key}/{what}":{"post":{"tags":["console-publication"],"summary":"Public Page Set","operationId":"public_page_set_api_v1_console__platform__public_pages__key___what__post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}},{"name":"what","in":"path","required":true,"schema":{"type":"string","title":"What"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_publication_routes__Reason"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/signing-keys":{"get":{"tags":["console-publication"],"summary":"Signing Keys","operationId":"signing_keys_api_v1_console_company_signing_keys_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/company/signing-keys/{key_id}/event":{"post":{"tags":["console-publication"],"summary":"Key Event","operationId":"key_event_api_v1_console_company_signing_keys__key_id__event_post","parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"string","title":"Key Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeyEventBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/signing-keys/{key_id}/plan":{"post":{"tags":["console-publication"],"summary":"Key Plan","operationId":"key_plan_api_v1_console_company_signing_keys__key_id__plan_post","parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"string","title":"Key Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeyPlanBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/page-controls":{"get":{"tags":["public-page-controls"],"summary":"Page Controls","description":"Which public pages and product rows the website must hide. Keys and numbers only; a database that cannot be read\nanswers with the empty feed and `ok: false`, so the website shows everything exactly as it was built.","operationId":"page_controls_api_public_page_controls_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/aspireace/mock-integrity/incidents":{"get":{"tags":["console-mock-integrity"],"summary":"Incidents","operationId":"incidents_api_v1_console_aspireace_mock_integrity_incidents_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"sitting_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sitting Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/aspireace/mock-integrity/sittings/{sitting_id}/open":{"post":{"tags":["console-mock-integrity"],"summary":"Open Incident","operationId":"open_incident_api_v1_console_aspireace_mock_integrity_sittings__sitting_id__open_post","parameters":[{"name":"sitting_id","in":"path","required":true,"schema":{"type":"string","title":"Sitting Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_mock_integrity_routes__OpenBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/aspireace/mock-integrity/incidents/{incident_id}/clear":{"post":{"tags":["console-mock-integrity"],"summary":"Clear Incident","operationId":"clear_incident_api_v1_console_aspireace_mock_integrity_incidents__incident_id__clear_post","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"string","title":"Incident Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_mock_integrity_routes__Reason"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/aspireace/mock-integrity/incidents/{incident_id}/uphold":{"post":{"tags":["console-mock-integrity"],"summary":"Uphold Incident","operationId":"uphold_incident_api_v1_console_aspireace_mock_integrity_incidents__incident_id__uphold_post","parameters":[{"name":"incident_id","in":"path","required":true,"schema":{"type":"string","title":"Incident Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_mock_integrity_routes__Reason"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/build/pipelines":{"get":{"tags":["console-build"],"summary":"Pipelines","operationId":"pipelines_api_v1_console__platform__build_pipelines_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/build/backups":{"get":{"tags":["console-build"],"summary":"Backups","operationId":"backups_api_v1_console__platform__build_backups_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/build/backups/test":{"post":{"tags":["console-build"],"summary":"Backup Test","operationId":"backup_test_api_v1_console__platform__build_backups_test_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_build_ops_routes__TestBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/build/backups/owner":{"post":{"tags":["console-build"],"summary":"Backup Owner","operationId":"backup_owner_api_v1_console__platform__build_backups_owner_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OwnerBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/build/backups/note":{"post":{"tags":["console-build"],"summary":"Backup Note","operationId":"backup_note_api_v1_console__platform__build_backups_note_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_build_ops_routes__NoteBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/build/limits":{"get":{"tags":["console-build"],"summary":"Limits","operationId":"limits_api_v1_console__platform__build_limits_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/build/limits/items":{"get":{"tags":["console-build"],"summary":"Limits Items","operationId":"limits_items_api_v1_console__platform__build_limits_items_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/build/limits/manual":{"post":{"tags":["console-build"],"summary":"Limit Manual","operationId":"limit_manual_api_v1_console__platform__build_limits_manual_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LimitBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/build/limits/report":{"post":{"tags":["console-build"],"summary":"Limits Report","operationId":"limits_report_api_v1_console__platform__build_limits_report_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/build/backups/report":{"post":{"tags":["console-build"],"summary":"Backups Report","operationId":"backups_report_api_v1_console__platform__build_backups_report_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/build/ncert-pdfs":{"get":{"tags":["console-build"],"summary":"Desk","operationId":"desk_api_v1_console__platform__build_ncert_pdfs_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/build/ncert-pdfs/load":{"post":{"tags":["console-build"],"summary":"Load","operationId":"load_api_v1_console__platform__build_ncert_pdfs_load_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/build/ncert-pdfs/runs/{run_id}":{"get":{"tags":["console-build"],"summary":"Run Progress","operationId":"run_progress_api_v1_console__platform__build_ncert_pdfs_runs__run_id__get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/build/ncert-pdfs/runs/{run_id}/receipt":{"get":{"tags":["console-build"],"summary":"Run Receipt","operationId":"run_receipt_api_v1_console__platform__build_ncert_pdfs_runs__run_id__receipt_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/reporter/snapshots":{"post":{"tags":["console-build"],"summary":"Reporter Snapshot","description":"One snapshot from the reporter. The same content twice is confirmed (last_confirmed_at moves), not stored again.","operationId":"reporter_snapshot_api_v1_console_reporter_snapshots_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SnapshotBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/build/prs":{"get":{"tags":["console-build"],"summary":"Prs","operationId":"prs_api_v1_console__platform__build_prs_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/build/plan":{"get":{"tags":["console-build"],"summary":"Plan","operationId":"plan_api_v1_console__platform__build_plan_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"scope","in":"query","required":false,"schema":{"type":"string","default":"platform","title":"Scope"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/build/trackers":{"get":{"tags":["console-build"],"summary":"Trackers","operationId":"trackers_api_v1_console__platform__build_trackers_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/build/handovers":{"get":{"tags":["console-build"],"summary":"Handovers","operationId":"handovers_api_v1_console__platform__build_handovers_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/build/handovers/read":{"post":{"tags":["console-build"],"summary":"Handover Read","operationId":"handover_read_api_v1_console__platform__build_handovers_read_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReadBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/build/worktrees":{"get":{"tags":["console-build"],"summary":"Worktrees","operationId":"worktrees_api_v1_console__platform__build_worktrees_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/build/gates":{"get":{"tags":["console-build"],"summary":"Gates","operationId":"gates_api_v1_console__platform__build_gates_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/build/stacks":{"get":{"tags":["console-build"],"summary":"Stacks","operationId":"stacks_api_v1_console__platform__build_stacks_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/regulator/maps":{"get":{"tags":["console-maps"],"summary":"Maps List","operationId":"maps_list_api_v1_console_regulator_maps_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/regulator/maps/{map_key}":{"get":{"tags":["console-maps"],"summary":"Map Get","operationId":"map_get_api_v1_console_regulator_maps__map_key__get","parameters":[{"name":"map_key","in":"path","required":true,"schema":{"type":"string","title":"Map Key"}},{"name":"platform","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Platform"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"group","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Group"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":300,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/regulator/maps/export":{"post":{"tags":["console-maps"],"summary":"Map Export","operationId":"map_export_api_v1_console_regulator_maps_export_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_maps_routes__ExportBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/regulator/atcom-explorer/snapshot":{"get":{"tags":["atcom-explorer"],"summary":"Snapshot","operationId":"snapshot_api_v1_console_regulator_atcom_explorer_snapshot_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Snapshot Api V1 Console Regulator Atcom Explorer Snapshot Get"}}}}}}},"/api/v1/console/regulator/atcom-explorer/records":{"get":{"tags":["atcom-explorer"],"summary":"Records","operationId":"records_api_v1_console_regulator_atcom_explorer_records_get","parameters":[{"name":"platform","in":"query","required":false,"schema":{"type":"string","default":"all","title":"Platform"}},{"name":"q","in":"query","required":false,"schema":{"type":"string","default":"","title":"Q"}},{"name":"kind","in":"query","required":false,"schema":{"type":"string","default":"all","title":"Kind"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Records Api V1 Console Regulator Atcom Explorer Records Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/regulator/atcom-explorer/records/{oid}":{"get":{"tags":["atcom-explorer"],"summary":"Record","operationId":"record_api_v1_console_regulator_atcom_explorer_records__oid__get","parameters":[{"name":"oid","in":"path","required":true,"schema":{"type":"string","title":"Oid"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Record Api V1 Console Regulator Atcom Explorer Records  Oid  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/regulator/atcom-explorer/workspace":{"get":{"tags":["atcom-workspace"],"summary":"Workspace","operationId":"workspace_api_v1_console_regulator_atcom_explorer_workspace_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/regulator/atcom-explorer/contributions":{"get":{"tags":["atcom-workspace"],"summary":"Contributions","operationId":"contributions_api_v1_console_regulator_atcom_explorer_contributions_get","parameters":[{"name":"object_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}],"title":"Object Id"}},{"name":"object_kind","in":"query","required":false,"schema":{"anyOf":[{"enum":["node","edge"],"type":"string"},{"type":"null"}],"title":"Object Kind"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":30,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["atcom-workspace"],"summary":"Contribution Create","operationId":"contribution_create_api_v1_console_regulator_atcom_explorer_contributions_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContributionBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/regulator/atcom-explorer/contributions/{cid}":{"patch":{"tags":["atcom-workspace"],"summary":"Contribution Edit","operationId":"contribution_edit_api_v1_console_regulator_atcom_explorer_contributions__cid__patch","parameters":[{"name":"cid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Cid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContributionEdit"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/regulator/atcom-explorer/contributions/{cid}/withdraw":{"post":{"tags":["atcom-workspace"],"summary":"Contribution Withdraw","operationId":"contribution_withdraw_api_v1_console_regulator_atcom_explorer_contributions__cid__withdraw_post","parameters":[{"name":"cid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Cid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/regulator/atcom-explorer/contributions/{cid}/history":{"get":{"tags":["atcom-workspace"],"summary":"Contribution History","operationId":"contribution_history_api_v1_console_regulator_atcom_explorer_contributions__cid__history_get","parameters":[{"name":"cid","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Cid"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":30,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/atcom/registry/status":{"get":{"tags":["atcom-registry"],"summary":"Status","operationId":"status_api_v1_console_atcom_registry_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Status Api V1 Console Atcom Registry Status Get"}}}}}}},"/api/v1/console/atcom/registry/search":{"get":{"tags":["atcom-registry"],"summary":"Search","description":"One search for everything: a row (AA-86), OBJ-, CAP:, TT-CAP-, ENG-, a route, a table, JOB-, a name.","operationId":"search_api_v1_console_atcom_registry_search_get","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":200,"title":"Q"}},{"name":"repo","in":"query","required":false,"schema":{"enum":["all","aspireace","trututor"],"type":"string","default":"all","title":"Repo"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":30,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Search Api V1 Console Atcom Registry Search Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/atcom/registry/objects/{oid}":{"get":{"tags":["atcom-registry"],"summary":"Object Detail","operationId":"object_detail_api_v1_console_atcom_registry_objects__oid__get","parameters":[{"name":"oid","in":"path","required":true,"schema":{"type":"string","title":"Oid"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":200,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Object Detail Api V1 Console Atcom Registry Objects  Oid  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/atcom/registry/work":{"get":{"tags":["atcom-registry"],"summary":"Work","description":"Every PR with its head, the review verdict and the sha it was given on, holder and links.","operationId":"work_api_v1_console_atcom_registry_work_get","parameters":[{"name":"state","in":"query","required":false,"schema":{"enum":["open","draft","merged","closed","in_flight","all"],"type":"string","default":"in_flight","title":"State"}},{"name":"repo","in":"query","required":false,"schema":{"enum":["all","aspireace","trututor"],"type":"string","default":"all","title":"Repo"}},{"name":"product","in":"query","required":false,"schema":{"type":"string","default":"","title":"Product"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":200,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Work Api V1 Console Atcom Registry Work Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/atcom/registry/intake":{"get":{"tags":["atcom-registry"],"summary":"Intake","description":"Open PRs the linker could not place, each with why: the \"unresolved intake\" list.","operationId":"intake_api_v1_console_atcom_registry_intake_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Intake Api V1 Console Atcom Registry Intake Get"}}}}}}},"/api/v1/console/atcom/decisions/trails":{"get":{"tags":["atcom-decisions"],"summary":"Trails","operationId":"trails_api_v1_console_atcom_decisions_trails_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":365,"minimum":1,"default":30,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Trails Api V1 Console Atcom Decisions Trails Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/atcom/decisions/{decision_id}/trail":{"get":{"tags":["atcom-decisions"],"summary":"Trail","operationId":"trail_api_v1_console_atcom_decisions__decision_id__trail_get","parameters":[{"name":"decision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Decision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Trail Api V1 Console Atcom Decisions  Decision Id  Trail Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/atcom/decisions/{decision_id}/bind":{"post":{"tags":["atcom-decisions"],"summary":"Bind","operationId":"bind_api_v1_console_atcom_decisions__decision_id__bind_post","parameters":[{"name":"decision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Decision Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BindBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Bind Api V1 Console Atcom Decisions  Decision Id  Bind Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/atcom/decisions/{decision_id}/file":{"post":{"tags":["atcom-decisions"],"summary":"File Now","operationId":"file_now_api_v1_console_atcom_decisions__decision_id__file_post","parameters":[{"name":"decision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Decision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response File Now Api V1 Console Atcom Decisions  Decision Id  File Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/atcom/whats-new":{"get":{"tags":["atcom-decisions"],"summary":"Whats New","description":"Everything an agent must know at session start: decisions answered since a time, with their objects.","operationId":"whats_new_api_v1_console_atcom_whats_new_get","parameters":[{"name":"since","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Since"}},{"name":"repo","in":"query","required":false,"schema":{"enum":["aspireace","trututor"],"type":"string","default":"aspireace","title":"Repo"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Whats New Api V1 Console Atcom Whats New Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/atcom/pickups":{"post":{"tags":["atcom-decisions"],"summary":"Pickup","description":"Record that an agent saw these decisions (plan 6a, \"picked up by\").\n\nScope: the read-only chat token (decisions:read) may post this receipt, by design. A receipt only records\nwhich decision ids that agent was shown and when; it cannot answer, change or file a decision, and it\nwrites no other data. Unknown decision ids are stored in the receipt but make no trail row.","operationId":"pickup_api_v1_console_atcom_pickups_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PickupBody"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Pickup Api V1 Console Atcom Pickups Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/regulator/standards/job-check":{"get":{"tags":["console-standards"],"summary":"Job Check","operationId":"job_check_api_v1_console_regulator_standards_job_check_get","parameters":[{"name":"text","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":400,"title":"Text"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/regulator/standards":{"get":{"tags":["console-standards"],"summary":"Standards Get","operationId":"standards_get_api_v1_console_regulator_standards_get","parameters":[{"name":"repo","in":"query","required":false,"schema":{"type":"string","default":"aspireace","title":"Repo"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/regulator/standards/prs":{"get":{"tags":["console-standards"],"summary":"Standards Prs","operationId":"standards_prs_api_v1_console_regulator_standards_prs_get","parameters":[{"name":"repo","in":"query","required":false,"schema":{"type":"string","default":"aspireace","title":"Repo"}},{"name":"result","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"state","in":"query","required":false,"schema":{"type":"string","default":"open","title":"State"}},{"name":"failing_first","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Failing First"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/regulator/standards/{repo}/checks/{check_key}":{"put":{"tags":["console-standards"],"summary":"Standards Update","operationId":"standards_update_api_v1_console_regulator_standards__repo__checks__check_key__put","parameters":[{"name":"repo","in":"path","required":true,"schema":{"type":"string","title":"Repo"}},{"name":"check_key","in":"path","required":true,"schema":{"type":"string","title":"Check Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/regulator/standards/{repo}/prs/{pr_number}/waivers":{"post":{"tags":["console-standards"],"summary":"Waiver Create","operationId":"waiver_create_api_v1_console_regulator_standards__repo__prs__pr_number__waivers_post","parameters":[{"name":"repo","in":"path","required":true,"schema":{"type":"string","title":"Repo"}},{"name":"pr_number","in":"path","required":true,"schema":{"type":"integer","maximum":10000000,"minimum":1,"title":"Pr Number"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WaiverBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/regulator/standards/waivers/{waiver_id}/remove":{"post":{"tags":["console-standards"],"summary":"Waiver Remove","operationId":"waiver_remove_api_v1_console_regulator_standards_waivers__waiver_id__remove_post","parameters":[{"name":"waiver_id","in":"path","required":true,"schema":{"type":"string","title":"Waiver Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/regulator/standards/export":{"post":{"tags":["console-standards"],"summary":"Standards Export","operationId":"standards_export_api_v1_console_regulator_standards_export_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_standards_routes__ExportBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/reporter/pr-checks":{"post":{"tags":["console-standards"],"summary":"Reporter Pr Checks","description":"The reporter posts what GitHub shows. Names and states only: no file content, no diff, no token.","operationId":"reporter_pr_checks_api_v1_console_reporter_pr_checks_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/regulator/standards/gate-runs":{"post":{"tags":["console-gate-runs"],"summary":"Reporter Gate Runs","description":"The reporter posts hook receipts. Idempotent on (repo, receipt id): a repeat changes nothing. Names, counts and timings only.","operationId":"reporter_gate_runs_api_v1_console_regulator_standards_gate_runs_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GateRunsBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["console-gate-runs"],"summary":"Standards Gate Runs","operationId":"standards_gate_runs_api_v1_console_regulator_standards_gate_runs_get","parameters":[{"name":"repo","in":"query","required":false,"schema":{"type":"string","default":"aspireace","title":"Repo"}},{"name":"pr","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":10000000,"minimum":1},{"type":"null"}],"title":"Pr"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/reporter/chat-files":{"post":{"tags":["console-chats"],"summary":"Reporter Chat Files","description":"The scanner's post. A machine endpoint refuses fields it does not know (422 unknown_field) and a request over 1.5 MB (413).","operationId":"reporter_chat_files_api_v1_console_reporter_chat_files_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/regulator/inbox":{"get":{"tags":["console-chats"],"summary":"Inbox List","operationId":"inbox_list_api_v1_console_regulator_inbox_get","parameters":[{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kind"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"chat","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chat"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":200,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/regulator/inbox/{file_id}/withdraw":{"post":{"tags":["console-chats"],"summary":"Inbox Withdraw","operationId":"inbox_withdraw_api_v1_console_regulator_inbox__file_id__withdraw_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/console_chats_routes__WithdrawBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/regulator/inbox/{file_id}/reopen":{"post":{"tags":["console-chats"],"summary":"Inbox Reopen","operationId":"inbox_reopen_api_v1_console_regulator_inbox__file_id__reopen_post","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/v1/console/regulator/inbox/export":{"post":{"tags":["console-chats"],"summary":"Inbox Export","operationId":"inbox_export_api_v1_console_regulator_inbox_export_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_chats_routes__ExportBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/regulator/chats":{"get":{"tags":["console-chats"],"summary":"Chats List","operationId":"chats_list_api_v1_console_regulator_chats_get","parameters":[{"name":"platform","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Platform"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"hidden","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Hidden"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/regulator/chats/{chat_name}/hide":{"post":{"tags":["console-chats"],"summary":"Chat Hide","operationId":"chat_hide_api_v1_console_regulator_chats__chat_name__hide_post","parameters":[{"name":"chat_name","in":"path","required":true,"schema":{"type":"string","title":"Chat Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/regulator/chats/{chat_name}/show":{"post":{"tags":["console-chats"],"summary":"Chat Show","operationId":"chat_show_api_v1_console_regulator_chats__chat_name__show_post","parameters":[{"name":"chat_name","in":"path","required":true,"schema":{"type":"string","title":"Chat Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/regulator/chats/export":{"post":{"tags":["console-chats"],"summary":"Chats Export","operationId":"chats_export_api_v1_console_regulator_chats_export_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_chats_routes__ExportBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/reporter/heartbeat":{"post":{"tags":["console-reporter"],"summary":"Reporter Heartbeat","operationId":"reporter_heartbeat_api_v1_console_reporter_heartbeat_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/{platform}/build/worktrees/refresh":{"post":{"tags":["console-reporter"],"summary":"Worktrees Refresh","operationId":"worktrees_refresh_api_v1_console__platform__build_worktrees_refresh_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_reporter_routes__RefreshBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/regulator/chats/{chat_name}/instruct":{"post":{"tags":["console-instruct"],"summary":"Chat Instruct","operationId":"chat_instruct_api_v1_console_regulator_chats__chat_name__instruct_post","parameters":[{"name":"chat_name","in":"path","required":true,"schema":{"type":"string","title":"Chat Name"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InstructBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/regulator/chats/{chat_name}/instructions/{instruction_id}/withdraw":{"post":{"tags":["console-instruct"],"summary":"Chat Instruction Withdraw","operationId":"chat_instruction_withdraw_api_v1_console_regulator_chats__chat_name__instructions__instruction_id__withdraw_post","parameters":[{"name":"chat_name","in":"path","required":true,"schema":{"type":"string","title":"Chat Name"}},{"name":"instruction_id","in":"path","required":true,"schema":{"type":"integer","title":"Instruction Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/regulator/chats/{chat_name}/instructions":{"get":{"tags":["console-instruct"],"summary":"Chat Instructions","operationId":"chat_instructions_api_v1_console_regulator_chats__chat_name__instructions_get","parameters":[{"name":"chat_name","in":"path","required":true,"schema":{"type":"string","title":"Chat Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/oversight/agents":{"get":{"tags":["console-oversight"],"summary":"Agents","operationId":"agents_api_v1_console_oversight_agents_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/oversight/agents/{chat_name}/lists":{"get":{"tags":["console-oversight"],"summary":"Agent Lists","operationId":"agent_lists_api_v1_console_oversight_agents__chat_name__lists_get","parameters":[{"name":"chat_name","in":"path","required":true,"schema":{"type":"string","title":"Chat Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/oversight/agents/{chat_name}/run-requests":{"post":{"tags":["console-oversight"],"summary":"Run Request Create","operationId":"run_request_create_api_v1_console_oversight_agents__chat_name__run_requests_post","parameters":[{"name":"chat_name","in":"path","required":true,"schema":{"type":"string","title":"Chat Name"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunRequestBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/oversight/run-requests":{"get":{"tags":["console-oversight"],"summary":"Run Requests","operationId":"run_requests_api_v1_console_oversight_run_requests_get","parameters":[{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/oversight/run-requests/{request_id}/cancel":{"post":{"tags":["console-oversight"],"summary":"Run Request Cancel","operationId":"run_request_cancel_api_v1_console_oversight_run_requests__request_id__cancel_post","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"integer","title":"Request Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/oversight/company":{"get":{"tags":["console-oversight"],"summary":"Company","operationId":"company_api_v1_console_oversight_company_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/oversight/company/{entity}":{"post":{"tags":["console-oversight"],"summary":"Entity Create","operationId":"entity_create_api_v1_console_oversight_company__entity__post","parameters":[{"name":"entity","in":"path","required":true,"schema":{"type":"string","title":"Entity"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/oversight/company/{entity}/{item_id}":{"patch":{"tags":["console-oversight"],"summary":"Entity Change","operationId":"entity_change_api_v1_console_oversight_company__entity___item_id__patch","parameters":[{"name":"entity","in":"path","required":true,"schema":{"type":"string","title":"Entity"}},{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/oversight/metrics":{"get":{"tags":["console-oversight"],"summary":"Metrics","operationId":"metrics_api_v1_console_oversight_metrics_get","parameters":[{"name":"platform","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/oversight/programme":{"get":{"tags":["console-oversight"],"summary":"Programme","operationId":"programme_api_v1_console_oversight_programme_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/oversight/usage":{"get":{"tags":["console-oversight"],"summary":"Usage","operationId":"usage_api_v1_console_oversight_usage_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/oversight/alerts/{alert_id}/false":{"post":{"tags":["console-oversight"],"summary":"Alert Mark False","operationId":"alert_mark_false_api_v1_console_oversight_alerts__alert_id__false_post","parameters":[{"name":"alert_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Alert Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalseBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/regulator/drive/files":{"get":{"tags":["console-drive"],"summary":"Drive Files","operationId":"drive_files_api_v1_console_regulator_drive_files_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/regulator/drive/files/{name}/preview":{"get":{"tags":["console-drive"],"summary":"Drive Preview","operationId":"drive_preview_api_v1_console_regulator_drive_files__name__preview_get","parameters":[{"name":"name","in":"path","required":true,"schema":{"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/v1/console/regulator/drive/queue":{"get":{"tags":["console-drive"],"summary":"Drive Queue","operationId":"drive_queue_api_v1_console_regulator_drive_queue_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/regulator/drive/files/{name}/write":{"post":{"tags":["console-drive"],"summary":"Drive Write","operationId":"drive_write_api_v1_console_regulator_drive_files__name__write_post","parameters":[{"name":"name","in":"path","required":true,"schema":{"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/v1/console/regulator/drive/files/write-all":{"post":{"tags":["console-drive"],"summary":"Drive Write All","operationId":"drive_write_all_api_v1_console_regulator_drive_files_write_all_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/regulator/drive/queue/retry":{"post":{"tags":["console-drive"],"summary":"Drive Retry","operationId":"drive_retry_api_v1_console_regulator_drive_queue_retry_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/regulator/drive/queue/{item_id}/drop":{"post":{"tags":["console-drive"],"summary":"Drive Drop","operationId":"drive_drop_api_v1_console_regulator_drive_queue__item_id__drop_post","parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Item Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DropBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/regulator/drive/queue/{item_id}/requeue":{"post":{"tags":["console-drive"],"summary":"Drive Requeue","operationId":"drive_requeue_api_v1_console_regulator_drive_queue__item_id__requeue_post","parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Item Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/legal/overview":{"get":{"tags":["console-legal"],"summary":"Overview","operationId":"overview_api_v1_console__platform__legal_overview_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/legal/requests":{"get":{"tags":["console-legal"],"summary":"Requests List","operationId":"requests_list_api_v1_console__platform__legal_requests_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["console-legal"],"summary":"Request Log","operationId":"request_log_api_v1_console__platform__legal_requests_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RequestNew"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/legal/requests/{reference}":{"get":{"tags":["console-legal"],"summary":"Request One","operationId":"request_one_api_v1_console__platform__legal_requests__reference__get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"reference","in":"path","required":true,"schema":{"type":"string","title":"Reference"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/legal/requests/act":{"post":{"tags":["console-legal"],"summary":"Request Act","operationId":"request_act_api_v1_console__platform__legal_requests_act_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_legal_routes__ActBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/legal/deletions":{"get":{"tags":["console-legal"],"summary":"Deletions","operationId":"deletions_api_v1_console__platform__legal_deletions_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/legal/grievances":{"get":{"tags":["console-legal"],"summary":"Grievances","operationId":"grievances_api_v1_console__platform__legal_grievances_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/legal/grievances/{reference}":{"get":{"tags":["console-legal"],"summary":"Grievance One","operationId":"grievance_one_api_v1_console__platform__legal_grievances__reference__get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"reference","in":"path","required":true,"schema":{"type":"string","title":"Reference"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/legal/grievances/act":{"post":{"tags":["console-legal"],"summary":"Grievance Act","operationId":"grievance_act_api_v1_console__platform__legal_grievances_act_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GrievanceAct"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/legal/policies":{"get":{"tags":["console-legal"],"summary":"Policies","operationId":"policies_api_v1_console__platform__legal_policies_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/legal/policies/act":{"post":{"tags":["console-legal"],"summary":"Policy Act","operationId":"policy_act_api_v1_console__platform__legal_policies_act_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyAct"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/analytics/experiment-decision-binding":{"post":{"tags":["console-analytics"],"summary":"Experiment Decision Binding Set","description":"Attach exact source references; configuration does not grant IAM or approve scale.","operationId":"experiment_decision_binding_set_api_v1_console__platform__analytics_experiment_decision_binding_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["console-analytics"],"summary":"Experiment Decision Binding Get","operationId":"experiment_decision_binding_get_api_v1_console__platform__analytics_experiment_decision_binding_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/analytics/outcomes/protocol":{"get":{"tags":["console-analytics"],"summary":"Outcome Protocol Binding Get","operationId":"outcome_protocol_binding_get_api_v1_console__platform__analytics_outcomes_protocol_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["console-analytics"],"summary":"Outcome Protocol Binding Set","operationId":"outcome_protocol_binding_set_api_v1_console__platform__analytics_outcomes_protocol_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/analytics/outcomes/cuts":{"get":{"tags":["console-analytics"],"summary":"Outcome Cuts List","operationId":"outcome_cuts_list_api_v1_console__platform__analytics_outcomes_cuts_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["console-analytics"],"summary":"Outcome Cut Record","operationId":"outcome_cut_record_api_v1_console__platform__analytics_outcomes_cuts_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/analytics/summary":{"get":{"tags":["console-analytics"],"summary":"Summary","operationId":"summary_api_v1_console__platform__analytics_summary_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/analytics/funnel":{"get":{"tags":["console-analytics"],"summary":"Funnel","operationId":"funnel_api_v1_console__platform__analytics_funnel_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/analytics/retention":{"get":{"tags":["console-analytics"],"summary":"Retention","operationId":"retention_api_v1_console__platform__analytics_retention_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/analytics/nobody-came":{"get":{"tags":["console-analytics"],"summary":"Nobody Came","operationId":"nobody_came_api_v1_console__platform__analytics_nobody_came_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/analytics/nobody-came/keep":{"post":{"tags":["console-analytics"],"summary":"Keep","operationId":"keep_api_v1_console__platform__analytics_nobody_came_keep_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeepBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/analytics/nobody-came/clear":{"post":{"tags":["console-analytics"],"summary":"Clear","operationId":"clear_api_v1_console__platform__analytics_nobody_came_clear_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClearBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/analytics/nobody-came/threshold":{"post":{"tags":["console-analytics"],"summary":"Threshold","operationId":"threshold_api_v1_console__platform__analytics_nobody_came_threshold_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThresholdBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/analytics/real-use-daily":{"get":{"tags":["console-real-use"],"summary":"Real Use Daily","operationId":"real_use_daily_api_v1_console__platform__analytics_real_use_daily_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/trututor/legal/deletions/erase":{"post":{"tags":["console-trututor-writes"],"summary":"Erase","operationId":"erase_api_v1_console_trututor_legal_deletions_erase_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EraseBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/trututor/legal/policies/act":{"post":{"tags":["console-trututor-writes"],"summary":"Policy","operationId":"policy_api_v1_console_trututor_legal_policies_act_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_tt_writes_routes__PolicyBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/trututor/legal/grievances/act":{"post":{"tags":["console-trututor-writes"],"summary":"Grievance","operationId":"grievance_api_v1_console_trututor_legal_grievances_act_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_tt_writes_routes__CaseBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/secrets-health/report":{"post":{"tags":["console-secrets-health"],"summary":"Secrets Report","operationId":"secrets_report_api_v1_console_company_secrets_health_report_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/company/secrets-health":{"get":{"tags":["console-secrets-health"],"summary":"Secrets Get","operationId":"secrets_get_api_v1_console_company_secrets_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/{platform}/build/ladder/report":{"post":{"tags":["console-build"],"summary":"Ladder Report","description":"The reporter posts the merged pull requests of one repository. Names, numbers, commit ids and dates only.","operationId":"ladder_report_api_v1_console__platform__build_ladder_report_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LadderReport"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/build/ladder":{"get":{"tags":["console-build"],"summary":"Ladder","operationId":"ladder_api_v1_console__platform__build_ladder_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"stuck_at","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Stuck At"}},{"name":"job","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Job"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":60,"minimum":1,"default":30,"title":"Days"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":200,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","maximum":100000,"minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/build360/products":{"get":{"tags":["console-build360"],"summary":"Products","operationId":"products_api_v1_console__platform__build360_products_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/build360/product/{row}":{"get":{"tags":["console-build360"],"summary":"Product","operationId":"product_api_v1_console__platform__build360_product__row__get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"row","in":"path","required":true,"schema":{"type":"integer","title":"Row"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/build360/pr/{number}":{"get":{"tags":["console-build360"],"summary":"Pull Request","operationId":"pull_request_api_v1_console__platform__build360_pr__number__get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"number","in":"path","required":true,"schema":{"type":"integer","title":"Number"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/build360/desks":{"get":{"tags":["console-build360"],"summary":"Desks","operationId":"desks_api_v1_console__platform__build360_desks_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/build360/desks/{desk_id}":{"get":{"tags":["console-build360"],"summary":"Desk","operationId":"desk_api_v1_console__platform__build360_desks__desk_id__get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"desk_id","in":"path","required":true,"schema":{"type":"string","title":"Desk Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/build360/matrices":{"get":{"tags":["console-build360"],"summary":"Matrices","operationId":"matrices_api_v1_console__platform__build360_matrices_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/build360/matrices/{matrix_id}":{"get":{"tags":["console-build360"],"summary":"Matrix","operationId":"matrix_api_v1_console__platform__build360_matrices__matrix_id__get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"matrix_id","in":"path","required":true,"schema":{"type":"string","title":"Matrix Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/build360/metrics":{"get":{"tags":["console-build360"],"summary":"Metrics","operationId":"metrics_api_v1_console__platform__build360_metrics_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/build360/acceptance/candidate":{"get":{"tags":["console-build360"],"summary":"Acceptance Candidate","operationId":"acceptance_candidate_api_v1_console__platform__build360_acceptance_candidate_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"kind","in":"query","required":true,"schema":{"type":"string","title":"Kind"}},{"name":"id","in":"query","required":true,"schema":{"type":"integer","title":"Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/build360/acceptance":{"post":{"tags":["console-build360"],"summary":"Accept","description":"The owner writes his acceptance of one exact candidate in his own words. Owner only; a candidate that moved is refused with the current one.","operationId":"accept_api_v1_console__platform__build360_acceptance_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_atcom_build360_routes__AcceptBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/actions/commands":{"get":{"tags":["console-actions"],"summary":"Commands","operationId":"commands_api_v1_console_company_actions_commands_get","parameters":[{"name":"actor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actor"}},{"name":"object_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Object Type"}},{"name":"object_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Object Id"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"name":"platform","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Platform"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/actions/commands/{command_id}":{"get":{"tags":["console-actions"],"summary":"Command One","operationId":"command_one_api_v1_console_company_actions_commands__command_id__get","parameters":[{"name":"command_id","in":"path","required":true,"schema":{"type":"string","title":"Command Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/actions/commands/{command_id}/reconcile":{"post":{"tags":["console-actions"],"summary":"Command Reconcile","operationId":"command_reconcile_api_v1_console_company_actions_commands__command_id__reconcile_post","parameters":[{"name":"command_id","in":"path","required":true,"schema":{"type":"string","title":"Command Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_actions_routes__ReconcileBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/actions/approvals":{"get":{"tags":["console-actions"],"summary":"Approvals","operationId":"approvals_api_v1_console_company_actions_approvals_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"type":"string","default":"pending","title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/actions/approvals/{approval_id}/approve":{"post":{"tags":["console-actions"],"summary":"Approval Approve","operationId":"approval_approve_api_v1_console_company_actions_approvals__approval_id__approve_post","parameters":[{"name":"approval_id","in":"path","required":true,"schema":{"type":"integer","title":"Approval Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_actions_routes__NoteBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/actions/approvals/{approval_id}/reject":{"post":{"tags":["console-actions"],"summary":"Approval Reject","operationId":"approval_reject_api_v1_console_company_actions_approvals__approval_id__reject_post","parameters":[{"name":"approval_id","in":"path","required":true,"schema":{"type":"integer","title":"Approval Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_actions_routes__NoteBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/actions/approvals/{approval_id}/withdraw":{"post":{"tags":["console-actions"],"summary":"Approval Withdraw","operationId":"approval_withdraw_api_v1_console_company_actions_approvals__approval_id__withdraw_post","parameters":[{"name":"approval_id","in":"path","required":true,"schema":{"type":"integer","title":"Approval Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/actions/registry/actions":{"get":{"tags":["console-actions"],"summary":"Registry Actions","operationId":"registry_actions_api_v1_console_company_actions_registry_actions_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/company/actions/registry/objects":{"get":{"tags":["console-actions"],"summary":"Registry Objects","operationId":"registry_objects_api_v1_console_company_actions_registry_objects_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/company/actions/policy":{"get":{"tags":["console-actions"],"summary":"Policy","operationId":"policy_api_v1_console_company_actions_policy_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/company/actions/policy/{cls}":{"put":{"tags":["console-actions"],"summary":"Policy Put","operationId":"policy_put_api_v1_console_company_actions_policy__cls__put","parameters":[{"name":"cls","in":"path","required":true,"schema":{"type":"string","title":"Cls"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_actions_routes__PolicyBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/build-controls":{"get":{"tags":["console-build-controls"],"summary":"Page","operationId":"page_api_v1_console_company_build_controls_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/company/build-controls/holds":{"get":{"tags":["console-build-controls"],"summary":"Holds","operationId":"holds_api_v1_console_company_build_controls_holds_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/company/build-controls/console-build":{"get":{"tags":["console-build-controls"],"summary":"Console Build","operationId":"console_build_api_v1_console_company_build_controls_console_build_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/company/build-controls/resources/{resource}/reserve":{"post":{"tags":["console-build-controls"],"summary":"Reserve","operationId":"reserve_api_v1_console_company_build_controls_resources__resource__reserve_post","parameters":[{"name":"resource","in":"path","required":true,"schema":{"type":"string","title":"Resource"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/build-controls/resources/{resource}/release":{"post":{"tags":["console-build-controls"],"summary":"Release","operationId":"release_api_v1_console_company_build_controls_resources__resource__release_post","parameters":[{"name":"resource","in":"path","required":true,"schema":{"type":"string","title":"Resource"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/build-controls/requests/{command}":{"post":{"tags":["console-build-controls"],"summary":"Build Request","operationId":"build_request_api_v1_console_company_build_controls_requests__command__post","parameters":[{"name":"command","in":"path","required":true,"schema":{"type":"string","title":"Command"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/build-controls/requests/{command}/{request_id}/close":{"post":{"tags":["console-build-controls"],"summary":"Close Request","operationId":"close_request_api_v1_console_company_build_controls_requests__command___request_id__close_post","parameters":[{"name":"command","in":"path","required":true,"schema":{"type":"string","title":"Command"}},{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/build-controls/requests/{command}/{request_id}/claim":{"post":{"tags":["console-build-controls"],"summary":"Claim Request","operationId":"claim_request_api_v1_console_company_build_controls_requests__command___request_id__claim_post","parameters":[{"name":"command","in":"path","required":true,"schema":{"type":"string","title":"Command"}},{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/build-controls/requests/{command}/{request_id}/unclaim":{"post":{"tags":["console-build-controls"],"summary":"Unclaim Request","operationId":"unclaim_request_api_v1_console_company_build_controls_requests__command___request_id__unclaim_post","parameters":[{"name":"command","in":"path","required":true,"schema":{"type":"string","title":"Command"}},{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/build-controls/requests/{command}/{request_id}/complete":{"post":{"tags":["console-build-controls"],"summary":"Complete Request","operationId":"complete_request_api_v1_console_company_build_controls_requests__command___request_id__complete_post","parameters":[{"name":"command","in":"path","required":true,"schema":{"type":"string","title":"Command"}},{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/build-controls/console-build/{requirement}/track":{"post":{"tags":["console-build-controls"],"summary":"Track Requirement","operationId":"track_requirement_api_v1_console_company_build_controls_console_build__requirement__track_post","parameters":[{"name":"requirement","in":"path","required":true,"schema":{"type":"string","title":"Requirement"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/build-controls/artifacts/{group}/seal":{"post":{"tags":["console-build-controls"],"summary":"Seal Artifacts","operationId":"seal_artifacts_api_v1_console_company_build_controls_artifacts__group__seal_post","parameters":[{"name":"group","in":"path","required":true,"schema":{"type":"string","title":"Group"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/build-controls/controls/prepare":{"post":{"tags":["console-build-controls"],"summary":"Prepare","operationId":"prepare_api_v1_console_company_build_controls_controls_prepare_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/company/build-controls/controls/discard":{"post":{"tags":["console-build-controls"],"summary":"Discard","operationId":"discard_api_v1_console_company_build_controls_controls_discard_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/company/build-controls/controls/record-applied":{"post":{"tags":["console-build-controls"],"summary":"Record Applied","operationId":"record_applied_api_v1_console_company_build_controls_controls_record_applied_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/company/build-controls/uncertain/{command_id}/resolve":{"post":{"tags":["console-build-controls"],"summary":"Resolve","operationId":"resolve_api_v1_console_company_build_controls_uncertain__command_id__resolve_post","parameters":[{"name":"command_id","in":"path","required":true,"schema":{"type":"string","title":"Command Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/build-controls/compensate":{"post":{"tags":["console-build-controls"],"summary":"Compensate","operationId":"compensate_api_v1_console_company_build_controls_compensate_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/trututor/ops/actions":{"get":{"tags":["console-trututor-ops"],"summary":"Actions","operationId":"actions_api_v1_console_trututor_ops_actions_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/trututor/ops/capabilities":{"get":{"tags":["console-trututor-ops"],"summary":"Capabilities","operationId":"capabilities_api_v1_console_trututor_ops_capabilities_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/trututor/ops/supply/teachers":{"get":{"tags":["console-trututor-ops"],"summary":"Teachers","operationId":"teachers_api_v1_console_trututor_ops_supply_teachers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/trututor/ops/supply/teachers/{teacher_id}":{"get":{"tags":["console-trututor-ops"],"summary":"Teacher","operationId":"teacher_api_v1_console_trututor_ops_supply_teachers__teacher_id__get","parameters":[{"name":"teacher_id","in":"path","required":true,"schema":{"type":"string","title":"Teacher Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/trututor/ops/supply/no-safe-supply":{"get":{"tags":["console-trututor-ops"],"summary":"No Safe Supply","operationId":"no_safe_supply_api_v1_console_trututor_ops_supply_no_safe_supply_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/trututor/ops/bookings":{"get":{"tags":["console-trututor-ops"],"summary":"Bookings","operationId":"bookings_api_v1_console_trututor_ops_bookings_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/trututor/ops/bookings/{booking_id}":{"get":{"tags":["console-trututor-ops"],"summary":"Booking","operationId":"booking_api_v1_console_trututor_ops_bookings__booking_id__get","parameters":[{"name":"booking_id","in":"path","required":true,"schema":{"type":"string","title":"Booking Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/trututor/ops/refunds":{"get":{"tags":["console-trututor-ops"],"summary":"Refunds","operationId":"refunds_api_v1_console_trututor_ops_refunds_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/trututor/ops/disputes":{"get":{"tags":["console-trututor-ops"],"summary":"Disputes","operationId":"disputes_api_v1_console_trututor_ops_disputes_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/trututor/ops/payouts":{"get":{"tags":["console-trututor-ops"],"summary":"Payouts","operationId":"payouts_api_v1_console_trututor_ops_payouts_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/trututor/ops/payouts/provider":{"get":{"tags":["console-trututor-ops"],"summary":"Payouts Provider","operationId":"payouts_provider_api_v1_console_trututor_ops_payouts_provider_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/trututor/ops/services":{"get":{"tags":["console-trututor-ops"],"summary":"Services","operationId":"services_api_v1_console_trututor_ops_services_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/trututor/ops/services/{service}/queue":{"get":{"tags":["console-trututor-ops"],"summary":"Service Queue","operationId":"service_queue_api_v1_console_trututor_ops_services__service__queue_get","parameters":[{"name":"service","in":"path","required":true,"schema":{"type":"string","title":"Service"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/trututor/ops/safeguarding/reports":{"get":{"tags":["console-trututor-ops"],"summary":"Safety Reports","operationId":"safety_reports_api_v1_console_trututor_ops_safeguarding_reports_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/trututor/ops/safeguarding/holds":{"get":{"tags":["console-trututor-ops"],"summary":"Safety Holds","operationId":"safety_holds_api_v1_console_trututor_ops_safeguarding_holds_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/trututor/ops/actions/{key}":{"post":{"tags":["console-trututor-ops"],"summary":"Act","operationId":"act_api_v1_console_trututor_ops_actions__key__post","parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_tt_ops_routes__ActBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/markers/overview":{"get":{"tags":["console-markers"],"summary":"Overview","operationId":"overview_api_v1_console_markers_overview_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/markers/applications":{"get":{"tags":["console-markers"],"summary":"Applications","operationId":"applications_api_v1_console_markers_applications_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/markers/roster":{"get":{"tags":["console-markers"],"summary":"Roster","operationId":"roster_api_v1_console_markers_roster_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/markers/payouts":{"get":{"tags":["console-markers"],"summary":"Payouts","operationId":"payouts_api_v1_console_markers_payouts_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/markers/orders":{"get":{"tags":["console-markers"],"summary":"Orders","operationId":"orders_api_v1_console_markers_orders_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/markers/settings":{"get":{"tags":["console-markers"],"summary":"Settings","operationId":"settings_api_v1_console_markers_settings_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/markers/actions/{key}":{"post":{"tags":["console-markers"],"summary":"Act","operationId":"act_api_v1_console_markers_actions__key__post","parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_markers_routes__ActBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/people-desk/search":{"get":{"tags":["console-people-desk"],"summary":"Desk Search","operationId":"desk_search_api_v1_console_people_desk_search_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","maxLength":120,"default":"","title":"Q"}},{"name":"type","in":"query","required":false,"schema":{"type":"string","maxLength":20,"default":"","title":"Type"}},{"name":"state","in":"query","required":false,"schema":{"type":"string","maxLength":20,"default":"","title":"State"}},{"name":"platform","in":"query","required":false,"schema":{"type":"string","maxLength":12,"default":"","title":"Platform"}},{"name":"test","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":5},{"type":"null"}],"title":"Test"}},{"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":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/people-desk/create-options":{"get":{"tags":["console-people-desk"],"summary":"Create Options","operationId":"create_options_api_v1_console_people_desk_create_options_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/{platform}/people-desk/person/{ref}":{"get":{"tags":["console-people-desk"],"summary":"Desk Person","operationId":"desk_person_api_v1_console__platform__people_desk_person__ref__get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"ref","in":"path","required":true,"schema":{"type":"string","title":"Ref"}},{"name":"purpose","in":"query","required":false,"schema":{"type":"string","maxLength":40,"default":"","title":"Purpose"}},{"name":"purpose_note","in":"query","required":false,"schema":{"type":"string","maxLength":300,"default":"","title":"Purpose Note"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/people-desk/person/{ref}/records":{"get":{"tags":["console-people-desk"],"summary":"Desk Records","operationId":"desk_records_api_v1_console__platform__people_desk_person__ref__records_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"ref","in":"path","required":true,"schema":{"type":"string","title":"Ref"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/people-desk/person/{ref}/history":{"get":{"tags":["console-people-desk"],"summary":"Desk History","operationId":"desk_history_api_v1_console__platform__people_desk_person__ref__history_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"ref","in":"path","required":true,"schema":{"type":"string","title":"Ref"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":300,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/people-desk/person/{ref}/export":{"get":{"tags":["console-people-desk"],"summary":"Desk Export","operationId":"desk_export_api_v1_console__platform__people_desk_person__ref__export_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"ref","in":"path","required":true,"schema":{"type":"string","title":"Ref"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/people-desk/person/{ref}/act/{verb}":{"post":{"tags":["console-people-desk"],"summary":"Desk Act","operationId":"desk_act_api_v1_console__platform__people_desk_person__ref__act__verb__post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"ref","in":"path","required":true,"schema":{"type":"string","title":"Ref"}},{"name":"verb","in":"path","required":true,"schema":{"type":"string","title":"Verb"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_people_routes__ActBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/people-desk/create":{"post":{"tags":["console-people-desk"],"summary":"Desk Create","operationId":"desk_create_api_v1_console__platform__people_desk_create_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_people_routes__CreateBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/aspireace/people-desk/person/{ref}/dob-corrections":{"get":{"tags":["console-people-desk"],"summary":"List Corrections","operationId":"list_corrections_api_v1_console_aspireace_people_desk_person__ref__dob_corrections_get","parameters":[{"name":"ref","in":"path","required":true,"schema":{"type":"string","title":"Ref"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["console-people-desk"],"summary":"Ask Correction","operationId":"ask_correction_api_v1_console_aspireace_people_desk_person__ref__dob_corrections_post","parameters":[{"name":"ref","in":"path","required":true,"schema":{"type":"string","title":"Ref"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_dob_correction_routes__CorrectionBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/aspireace/people-desk/dob-corrections/{request_id}/approve":{"post":{"tags":["console-people-desk"],"summary":"Approve Correction","operationId":"approve_correction_api_v1_console_aspireace_people_desk_dob_corrections__request_id__approve_post","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_dob_correction_routes__DecisionBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/aspireace/people-desk/dob-corrections/{request_id}/reject":{"post":{"tags":["console-people-desk"],"summary":"Reject Correction","operationId":"reject_correction_api_v1_console_aspireace_people_desk_dob_corrections__request_id__reject_post","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_dob_correction_routes__DecisionBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/infra/requests/claim":{"post":{"tags":["console-infra"],"summary":"Claim","description":"The reporter asks what is waiting. A queued request becomes claimed by this machine; one this machine already claimed is handed back (so a lost answer loses nothing).","operationId":"claim_api_v1_console_company_infra_requests_claim_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/company/infra/requests/{ref}/progress":{"post":{"tags":["console-infra"],"summary":"Progress","operationId":"progress_api_v1_console_company_infra_requests__ref__progress_post","parameters":[{"name":"ref","in":"path","required":true,"schema":{"type":"string","title":"Ref"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/infra/requests":{"post":{"tags":["console-infra"],"summary":"Create Request","operationId":"create_request_api_v1_console__platform__infra_requests_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RequestBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["console-infra"],"summary":"List Requests","operationId":"list_requests_api_v1_console__platform__infra_requests_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/infra/requests/{ref}/withdraw":{"post":{"tags":["console-infra"],"summary":"Withdraw","operationId":"withdraw_api_v1_console__platform__infra_requests__ref__withdraw_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"ref","in":"path","required":true,"schema":{"type":"string","title":"Ref"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/infra/requests/{ref}/reconcile":{"post":{"tags":["console-infra"],"summary":"Reconcile","operationId":"reconcile_api_v1_console__platform__infra_requests__ref__reconcile_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"ref","in":"path","required":true,"schema":{"type":"string","title":"Ref"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/console_deploy_actions__ReconcileBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/infra/rotation-receipts/report":{"post":{"tags":["console-infra"],"summary":"Rotation Report","operationId":"rotation_report_api_v1_console_company_infra_rotation_receipts_report_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/company/infra/actions-state/report":{"post":{"tags":["console-infra"],"summary":"Actions Report","operationId":"actions_report_api_v1_console_company_infra_actions_state_report_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/company/infra/actions-state":{"get":{"tags":["console-infra"],"summary":"Actions State","operationId":"actions_state_api_v1_console_company_infra_actions_state_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/{platform}/infra/summary":{"get":{"tags":["console-infra"],"summary":"Summary","operationId":"summary_api_v1_console__platform__infra_summary_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/company/infra/recovery":{"get":{"tags":["console-infra"],"summary":"Recovery","operationId":"recovery_api_v1_console_company_infra_recovery_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/console/{platform}/build/boards":{"get":{"tags":["console-build"],"summary":"Boards","operationId":"boards_api_v1_console__platform__build_boards_get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/console/{platform}/build/boards/file/{name}":{"get":{"tags":["console-build"],"summary":"Board File","operationId":"board_file_api_v1_console__platform__build_boards_file__name__get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"name","in":"path","required":true,"schema":{"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/v1/console/{platform}/build/boards/report":{"post":{"tags":["console-build"],"summary":"Boards Report","description":"The receipt of the edition the founder's machine last built. The same content twice is confirmed (last_confirmed_at moves), not stored again.","operationId":"boards_report_api_v1_console__platform__build_boards_report_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/owner/board":{"get":{"tags":["owner-home"],"summary":"Owner Full Board","description":"The full board page (THE_229_BOARD.html), to the owner only.","operationId":"owner_full_board_api_v1_owner_board_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/owner/home":{"get":{"tags":["owner-home"],"summary":"Owner Home","operationId":"owner_home_api_v1_owner_home_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/visualisers/models/{model_id}/exploration-tasks":{"post":{"tags":["visualisers"],"summary":"Accept Exploration","operationId":"visualisers_accept_exploration","parameters":[{"name":"model_id","in":"path","required":true,"schema":{"type":"string","title":"Model Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcceptExploration"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/visualisers/models/{model_id}/exploration":{"get":{"tags":["visualisers"],"summary":"Read Exploration","operationId":"visualisers_read_exploration","parameters":[{"name":"model_id","in":"path","required":true,"schema":{"type":"string","title":"Model Id"}},{"name":"personal_action_id","in":"query","required":true,"schema":{"type":"string","title":"Personal Action Id"}},{"name":"personal_action_revision","in":"query","required":true,"schema":{"type":"integer","title":"Personal Action Revision"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/visualisers/exploration-tasks/{task_id}/finish":{"post":{"tags":["visualisers"],"summary":"Finish Exploration","operationId":"visualisers_finish_exploration","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExplorationCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/visualisers/exploration-tasks/{task_id}/withdraw":{"post":{"tags":["visualisers"],"summary":"Withdraw Exploration","operationId":"visualisers_withdraw_exploration","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExplorationCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/visualisers/library":{"get":{"tags":["visualisers"],"summary":"Visualiser Library","description":"Atlas: only simulators that really run. Never consumes a launch.","operationId":"visualiser_library_api_v1_visualisers_library_get","parameters":[{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/visualisers/simulators/{model_id}":{"get":{"tags":["visualisers"],"summary":"Visualiser Open","description":"Open one simulator: definition, controls, passport and a first run at defaults.\n\nThis is the metered act: one launch. Passing the `launch_id` from an earlier\nopen of the same model re-opens it without a second charge.","operationId":"visualiser_open_api_v1_visualisers_simulators__model_id__get","parameters":[{"name":"model_id","in":"path","required":true,"schema":{"type":"string","title":"Model Id"}},{"name":"launch_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Launch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/visualisers/simulators/{model_id}/run":{"post":{"tags":["visualisers"],"summary":"Visualiser Run","description":"Compute for the given parameters. Out-of-range input is refused, never clamped.\n\nNever consumes a launch. A `launch_id` in the body is only checked and echoed.","operationId":"visualiser_run_api_v1_visualisers_simulators__model_id__run_post","parameters":[{"name":"model_id","in":"path","required":true,"schema":{"type":"string","title":"Model Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/visualisers/concepts/{ref_id}":{"get":{"tags":["visualisers"],"summary":"Visualiser For Concept","description":"The checked simulator linked to a concept or NCERT topic id, or an honest 404. A lookup: never consumes.","operationId":"visualiser_for_concept_api_v1_visualisers_concepts__ref_id__get","parameters":[{"name":"ref_id","in":"path","required":true,"schema":{"type":"string","title":"Ref Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/visualisers/views":{"post":{"tags":["visualisers"],"summary":"Save View","description":"Save one view. A hundred at most, then a plain 409 saying so.","operationId":"save_view_api_v1_visualisers_views_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Save View Api V1 Visualisers Views Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["visualisers"],"summary":"List Views","description":"Her saved views, newest first. A failed read is not \"you saved nothing\".","operationId":"list_views_api_v1_visualisers_views_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Views Api V1 Visualisers Views Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/visualisers/views/{view_id}":{"patch":{"tags":["visualisers"],"summary":"Update Note","description":"Change the note on one of her views.","operationId":"update_note_api_v1_visualisers_views__view_id__patch","parameters":[{"name":"view_id","in":"path","required":true,"schema":{"type":"string","title":"View Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Update Note Api V1 Visualisers Views  View Id  Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["visualisers"],"summary":"Delete View","description":"Delete one of her views. The row is removed, not hidden.","operationId":"delete_view_api_v1_visualisers_views__view_id__delete","parameters":[{"name":"view_id","in":"path","required":true,"schema":{"type":"string","title":"View Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Delete View Api V1 Visualisers Views  View Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/visualisers/models":{"get":{"tags":["visualisers-release"],"summary":"Visualiser Published Catalogue Read","description":"Return only latest per-model OS10 releases with current learner rights.","operationId":"visualisers_list_published_models","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/visualisers/models/{model_id}":{"get":{"tags":["visualisers-release"],"summary":"Visualiser Model Read","description":"Read one model only from its current approved OS10 release.","operationId":"visualisers_get_model","parameters":[{"name":"model_id","in":"path","required":true,"schema":{"type":"string","title":"Model Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/visualisers/models/{model_id}/launch":{"post":{"tags":["visualisers-release"],"summary":"Visualiser Model Launch","description":"Create an unserved, source-bound asset ticket; bytes and meter follow later.","operationId":"visualisers_launch","parameters":[{"name":"model_id","in":"path","required":true,"schema":{"type":"string","title":"Model Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VisualiserLaunchCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/visualisers/internal/asset-bindings":{"post":{"tags":["visualisers-asset-delivery"],"summary":"Bind Asset Storage","description":"Bind one exact active OS10 asset digest to configured object storage.","operationId":"visualisers_bind_asset_storage","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetBindingCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/visualisers/assets/{asset_ref}":{"get":{"tags":["visualisers-asset-delivery"],"summary":"Consume Asset","description":"Materialize one authorized asset, then atomically record serve and meter.","operationId":"visualisers_consume_asset","parameters":[{"name":"asset_ref","in":"path","required":true,"schema":{"type":"string","title":"Asset Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/subject-slices/catalogue":{"get":{"tags":["subject_slice_library"],"summary":"Read Catalogue","description":"Every published term, with coverage per strand and why a door is or is not open.","operationId":"read_catalogue_api_v1_subject_slices_catalogue_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Catalogue Api V1 Subject Slices Catalogue Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/subject-slices/atlas/{subject}/{term}":{"get":{"tags":["subject_slice_library"],"summary":"Read Atlas","description":"The Living Term Atlas for one term, with the Now Lens for this student.","operationId":"read_atlas_api_v1_subject_slices_atlas__subject___term__get","parameters":[{"name":"subject","in":"path","required":true,"schema":{"type":"string","title":"Subject"}},{"name":"term","in":"path","required":true,"schema":{"type":"string","title":"Term"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Atlas Api V1 Subject Slices Atlas  Subject   Term  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/subject-slices/source/current":{"get":{"tags":["subject_slice_library"],"summary":"Read Current Activations","operationId":"getSubjectSliceSourceCurrentActivations","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Getsubjectslicesourcecurrentactivations"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/subject-slices/source/activations":{"post":{"tags":["subject_slice_library"],"summary":"Create Activation","operationId":"createSubjectSliceSourceActivation","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":200,"title":"Idempotency-Key"}},{"name":"X-Correlation-Id","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":120,"title":"X-Correlation-Id"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActivationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Createsubjectslicesourceactivation"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/subject-slices/source/activations/{activation_id}":{"get":{"tags":["subject_slice_library"],"summary":"Read Activation","operationId":"getSubjectSliceSourceActivation","parameters":[{"name":"activation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Activation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Getsubjectslicesourceactivation"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/subject-slices/source/activations/{activation_id}/evidence/drill":{"get":{"tags":["subject_slice_library"],"summary":"Read Activation Drill Returns","description":"Join exact current Chapter Drill returns to this active term's waypoints.\n\nThis is an Evidence consumer read. It does not create an Action, launch a\nDrill, record a cursor, or copy Practice result contents into Slice state.","operationId":"getSubjectSliceChapterDrillReturns","parameters":[{"name":"activation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Activation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Getsubjectslicechapterdrillreturns"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/subject-slices/source/activations/{activation_id}/evidence/content":{"get":{"tags":["subject_slice_library"],"summary":"Read Activation Content Authority","description":"Read exact OS10 state only through the package's admitted bindings.","operationId":"getSubjectSliceContentRecallState","parameters":[{"name":"activation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Activation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Getsubjectslicecontentrecallstate"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/subject-slices/source/activations/{activation_id}/resume":{"post":{"tags":["subject_slice_library"],"summary":"Resume Activation","operationId":"resumeSubjectSliceSourceActivation","parameters":[{"name":"activation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Activation Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":200,"title":"Idempotency-Key"}},{"name":"X-Correlation-Id","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":120,"title":"X-Correlation-Id"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResumeRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Resumesubjectslicesourceactivation"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/subject-slices/source/activations/{activation_id}/items/{item_id}/launch":{"post":{"tags":["subject_slice_library"],"summary":"Launch Package Item","description":"Ask an admitted item owner to launch its exact published package item.","operationId":"launchSubjectSliceOwnerItem","parameters":[{"name":"activation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Activation Id"}},{"name":"item_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Item Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ItemLaunchRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Launchsubjectsliceowneritem"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/subject-slices/source/activations/{activation_id}/items/{item_id}/returns/resolve":{"post":{"tags":["subject_slice_library"],"summary":"Resolve Package Item Return","description":"Verify an exact owner return; no client claim changes Practice state.","operationId":"resolveSubjectSliceOwnerReturn","parameters":[{"name":"activation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Activation Id"}},{"name":"item_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Item Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ItemReturnRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Resolvesubjectsliceownerreturn"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/subject-slices/activations":{"post":{"tags":["subject_slice_library"],"summary":"Start Term","description":"Start a term. Starting twice returns the first start; a plan with no room is a 403.","operationId":"start_term_api_v1_subject_slices_activations_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/subject_slice_routes__StartBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Start Term Api V1 Subject Slices Activations Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/subject-slices/activations/{activation_id}/resume":{"post":{"tags":["subject_slice_library"],"summary":"Resume Term","operationId":"resume_term_api_v1_subject_slices_activations__activation_id__resume_post","parameters":[{"name":"activation_id","in":"path","required":true,"schema":{"type":"string","title":"Activation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Resume Term Api V1 Subject Slices Activations  Activation Id  Resume Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/subject-slices/activations/{activation_id}/end":{"post":{"tags":["subject_slice_library"],"summary":"End Term","operationId":"end_term_api_v1_subject_slices_activations__activation_id__end_post","parameters":[{"name":"activation_id","in":"path","required":true,"schema":{"type":"string","title":"Activation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response End Term Api V1 Subject Slices Activations  Activation Id  End Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/subject-slices/activations/{activation_id}/items/launch":{"post":{"tags":["subject_slice_library"],"summary":"Launch Item","description":"Open one item. The route comes from the server's own atlas, never from the request.","operationId":"launch_item_api_v1_subject_slices_activations__activation_id__items_launch_post","parameters":[{"name":"activation_id","in":"path","required":true,"schema":{"type":"string","title":"Activation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LaunchBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Launch Item Api V1 Subject Slices Activations  Activation Id  Items Launch Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/subject-slices/activations/{activation_id}/returns/resolve":{"post":{"tags":["subject_slice_library"],"summary":"Resolve Return","description":"Come back from an owner. A bead only when the owner's own record moved after the launch.","operationId":"resolve_return_api_v1_subject_slices_activations__activation_id__returns_resolve_post","parameters":[{"name":"activation_id","in":"path","required":true,"schema":{"type":"string","title":"Activation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/subject_slice_routes__ResolveBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Resolve Return Api V1 Subject Slices Activations  Activation Id  Returns Resolve Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/subject-slices/current":{"get":{"tags":["subject_slice_library"],"summary":"Read Current","description":"The terms this student has started, newest first, with the place they left off.","operationId":"read_current_api_v1_subject_slices_current_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Current Api V1 Subject Slices Current Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/focus/settings":{"get":{"tags":["focus_sessions"],"summary":"Focus Settings Read","operationId":"focus_settings_read_api_v1_focus_settings_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["focus_sessions"],"summary":"Focus Settings Update","description":"Never gated by tier. Turning recording off must always work.","operationId":"focus_settings_update_api_v1_focus_settings_put","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/focus_session_routes__SettingsBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/focus/sessions":{"post":{"tags":["focus_sessions"],"summary":"Focus Session Start","operationId":"focus_session_start_api_v1_focus_sessions_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/focus_session_routes__StartBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/focus/sessions/current":{"get":{"tags":["focus_sessions"],"summary":"Focus Session Current","operationId":"focus_session_current_api_v1_focus_sessions_current_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/focus/sessions/{session_id}":{"get":{"tags":["focus_sessions"],"summary":"Focus Session Read","operationId":"focus_session_read_api_v1_focus_sessions__session_id__get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["focus_sessions"],"summary":"Focus Session Discard","description":"Free on every tier, always. The row and its segments are deleted outright.","operationId":"focus_session_discard_api_v1_focus_sessions__session_id__delete","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/focus/sessions/{session_id}/interruptions/{receipt_id}":{"get":{"tags":["focus_sessions"],"summary":"Focus Session Interruption Read","operationId":"focus_session_interruption_read_api_v1_focus_sessions__session_id__interruptions__receipt_id__get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","title":"Receipt Id"}},{"name":"receipt_version","in":"query","required":true,"schema":{"type":"integer","minimum":1,"title":"Receipt Version"}},{"name":"interruption_index","in":"query","required":true,"schema":{"type":"integer","minimum":1,"title":"Interruption Index"}},{"name":"receipt_digest","in":"query","required":true,"schema":{"type":"string","minLength":64,"maxLength":64,"pattern":"^[a-f0-9]{64}$","title":"Receipt Digest"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/focus/sessions/{session_id}/abandoned-report-acks/{task_id}":{"get":{"tags":["focus_sessions"],"summary":"Focus Abandoned Report Ack Current","operationId":"focus_abandoned_report_ack_current_api_v1_focus_sessions__session_id__abandoned_report_acks__task_id__get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}},{"name":"source_version","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":512,"title":"Source Version"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["focus_sessions"],"summary":"Focus Abandoned Report Ack","operationId":"focus_abandoned_report_ack_api_v1_focus_sessions__session_id__abandoned_report_acks__task_id__post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FocusAbandonedReportAckBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/focus/sessions/{session_id}/abandoned-report-ack-receipts/{receipt_id}":{"get":{"tags":["focus_sessions"],"summary":"Focus Abandoned Report Ack Receipt Read","operationId":"focus_abandoned_report_ack_receipt_read_api_v1_focus_sessions__session_id__abandoned_report_ack_receipts__receipt_id__get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","title":"Receipt Id"}},{"name":"source_version","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":512,"title":"Source Version"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/focus/sessions/{session_id}/corrections/current":{"get":{"tags":["focus_sessions"],"summary":"Focus Session Correction Current","operationId":"focus_session_correction_current_api_v1_focus_sessions__session_id__corrections_current_get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/focus/sessions/{session_id}/corrections/{receipt_id}":{"get":{"tags":["focus_sessions"],"summary":"Focus Session Correction Read","operationId":"focus_session_correction_read_api_v1_focus_sessions__session_id__corrections__receipt_id__get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","title":"Receipt Id"}},{"name":"receipt_version","in":"query","required":true,"schema":{"type":"integer","title":"Receipt Version"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/focus/sessions/{session_id}/correct":{"post":{"tags":["focus_sessions"],"summary":"Focus Session Correct","description":"Append a correction to the declared count; observed time remains unchanged.","operationId":"focus_session_correct_api_v1_focus_sessions__session_id__correct_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":80,"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FocusCorrectionBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/focus/sessions/{session_id}/heartbeat":{"post":{"tags":["focus_sessions"],"summary":"Focus Session Heartbeat","description":"No receipt and no event: this is called every 15 seconds.","operationId":"focus_session_heartbeat_api_v1_focus_sessions__session_id__heartbeat_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HeartbeatBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/focus/sessions/{session_id}/pause":{"post":{"tags":["focus_sessions"],"summary":"Focus Session Break","operationId":"focus_session_break_api_v1_focus_sessions__session_id__pause_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/TransitionBody"},{"type":"null"}],"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/focus/sessions/{session_id}/break":{"post":{"tags":["focus_sessions"],"summary":"Focus Session Break","operationId":"focus_session_break_api_v1_focus_sessions__session_id__break_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/TransitionBody"},{"type":"null"}],"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/focus/sessions/{session_id}/resume":{"post":{"tags":["focus_sessions"],"summary":"Focus Session Resume","operationId":"focus_session_resume_api_v1_focus_sessions__session_id__resume_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/TransitionBody"},{"type":"null"}],"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/focus/sessions/{session_id}/end":{"post":{"tags":["focus_sessions"],"summary":"Focus Session End","description":"Reduce, write, then READ BACK before answering: the report is what is stored.","operationId":"focus_session_end_api_v1_focus_sessions__session_id__end_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/focus/history":{"get":{"tags":["focus_sessions"],"summary":"Focus History Read","description":"200 in every case. GROW and above: every day in the range, empty ones too.\nBelow GROW: a locked shelf holding a real 7-day window and the true count held.","operationId":"focus_history_read_api_v1_focus_history_get","parameters":[{"name":"from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"From"}},{"name":"to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"To"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/physical/cards/resolve/{short}":{"get":{"tags":["physical_edition"],"summary":"Resolve Card","description":"What a printed QR opens. Public: a cold scan before sign-in must work. Reveals a topic id, a\ntitle and the app route and nothing else. Unknown, tampered, revoked, expired and recalled codes\nall answer with the same 404 body.","operationId":"resolve_card_api_v1_physical_cards_resolve__short__get","parameters":[{"name":"short","in":"path","required":true,"schema":{"type":"string","title":"Short"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/physical/cards/qr/{short}.svg":{"get":{"tags":["physical_edition"],"summary":"Card Qr Svg","description":"The QR image for a code that passes its check characters. No database read, so it cannot be used to\ntest which codes exist.","operationId":"card_qr_svg_api_v1_physical_cards_qr__short__svg_get","parameters":[{"name":"short","in":"path","required":true,"schema":{"type":"string","title":"Short"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/physical/editions":{"get":{"tags":["physical_edition"],"summary":"List Editions","operationId":"list_editions_api_v1_physical_editions_get","parameters":[{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kind"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/physical/orders":{"get":{"tags":["physical_edition"],"summary":"List Orders","operationId":"list_orders_api_v1_physical_orders_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["physical_edition"],"summary":"Place Order","operationId":"place_order_api_v1_physical_orders_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlaceOrderBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/physical/orders/{order_id}":{"get":{"tags":["physical_edition"],"summary":"Read Order","operationId":"read_order_api_v1_physical_orders__order_id__get","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","title":"Order Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/physical/orders/{order_id}/delivery":{"get":{"tags":["physical_edition"],"summary":"Read Delivery","operationId":"read_delivery_api_v1_physical_orders__order_id__delivery_get","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","title":"Order Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/physical/orders/{order_id}/address-custody":{"put":{"tags":["physical_edition"],"summary":"Put Address Custody","operationId":"put_address_custody_api_v1_physical_orders__order_id__address_custody_put","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","title":"Order Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddressRefBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/physical/orders/{order_id}/cases":{"post":{"tags":["physical_edition"],"summary":"Report Case","operationId":"report_case_api_v1_physical_orders__order_id__cases_post","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","title":"Order Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/physical_edition__routes__CaseBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/physical/editions/{edition_ref}/availability":{"get":{"tags":["physical_edition"],"summary":"Edition Availability","operationId":"edition_availability_api_v1_physical_editions__edition_ref__availability_get","parameters":[{"name":"edition_ref","in":"path","required":true,"schema":{"type":"string","title":"Edition Ref"}},{"name":"version","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"title":"Version"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/physical/editions/{edition_ref}":{"get":{"tags":["physical_edition"],"summary":"Inspect Edition","operationId":"inspect_edition_api_v1_physical_editions__edition_ref__get","parameters":[{"name":"edition_ref","in":"path","required":true,"schema":{"type":"string","title":"Edition Ref"}},{"name":"version","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"title":"Version"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/physical/operator/editions":{"post":{"tags":["physical_edition"],"summary":"Op Create Edition","operationId":"op_create_edition_api_v1_physical_operator_editions_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateEditionBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/physical/operator/editions/{edition_id}":{"get":{"tags":["physical_edition"],"summary":"Op Get Edition","operationId":"op_get_edition_api_v1_physical_operator_editions__edition_id__get","parameters":[{"name":"edition_id","in":"path","required":true,"schema":{"type":"string","title":"Edition Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/physical/operator/editions/{edition_id}/codes":{"get":{"tags":["physical_edition"],"summary":"Op List Codes","operationId":"op_list_codes_api_v1_physical_operator_editions__edition_id__codes_get","parameters":[{"name":"edition_id","in":"path","required":true,"schema":{"type":"string","title":"Edition Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/physical/operator/editions/{edition_id}/print-sheet":{"get":{"tags":["physical_edition"],"summary":"Op Print Sheet","operationId":"op_print_sheet_api_v1_physical_operator_editions__edition_id__print_sheet_get","parameters":[{"name":"edition_id","in":"path","required":true,"schema":{"type":"string","title":"Edition Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/physical/operator/editions/{edition_id}/press-pdf":{"get":{"tags":["physical_edition"],"summary":"Op Press Pdf","description":"The press file for a card deck: ONE PDF, 91 x 61 mm pages (85 x 55 trim + 3 mm bleed), a front page and a\nback page per card. For a quote or a proof only: it never implies the deck is for sale, and it is refused\nfor a superseded or recalled edition. ?proof=1 adds crop marks, trim, bleed and safe-area guides on a\nlarger page (the press file has none). ?order=pairs (front 1, back 1, front 2 ...; default) or\n?order=fronts_first. A DRAFT or under-review edition has no issued codes, so its cards carry SAMPLE codes\nand say so on the card. The QR host must be a printable one (codes.qr_print_host) or nothing is made.","operationId":"op_press_pdf_api_v1_physical_operator_editions__edition_id__press_pdf_get","parameters":[{"name":"edition_id","in":"path","required":true,"schema":{"type":"string","title":"Edition Id"}},{"name":"proof","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Proof"}},{"name":"order","in":"query","required":false,"schema":{"type":"string","default":"pairs","title":"Order"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/physical/operator/editions/{edition_id}/rights-review":{"post":{"tags":["physical_edition"],"summary":"Op Rights Review","operationId":"op_rights_review_api_v1_physical_operator_editions__edition_id__rights_review_post","parameters":[{"name":"edition_id","in":"path","required":true,"schema":{"type":"string","title":"Edition Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RightsReviewBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/physical/operator/editions/{edition_id}/publish":{"post":{"tags":["physical_edition"],"summary":"Op Publish","operationId":"op_publish_api_v1_physical_operator_editions__edition_id__publish_post","parameters":[{"name":"edition_id","in":"path","required":true,"schema":{"type":"string","title":"Edition Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublishBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/physical/operator/editions/{edition_id}/availability":{"put":{"tags":["physical_edition"],"summary":"Op Set Availability","operationId":"op_set_availability_api_v1_physical_operator_editions__edition_id__availability_put","parameters":[{"name":"edition_id","in":"path","required":true,"schema":{"type":"string","title":"Edition Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/physical_edition__routes__AvailabilityBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/physical/operator/editions/{edition_id}/correction":{"post":{"tags":["physical_edition"],"summary":"Op Correction","operationId":"op_correction_api_v1_physical_operator_editions__edition_id__correction_post","parameters":[{"name":"edition_id","in":"path","required":true,"schema":{"type":"string","title":"Edition Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/physical_edition__routes__CorrectionBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/physical/operator/orders/{order_id}/allocate":{"post":{"tags":["physical_edition"],"summary":"Op Allocate","operationId":"op_allocate_api_v1_physical_operator_orders__order_id__allocate_post","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","title":"Order Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/physical/operator/orders/{order_id}/dispatch-request":{"post":{"tags":["physical_edition"],"summary":"Op Dispatch Request","operationId":"op_dispatch_request_api_v1_physical_operator_orders__order_id__dispatch_request_post","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","title":"Order Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/physical/operator/orders/{order_id}/delivered":{"post":{"tags":["physical_edition"],"summary":"Op Delivered","operationId":"op_delivered_api_v1_physical_operator_orders__order_id__delivered_post","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","title":"Order Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/physical/operator/orders/{order_id}/reconcile":{"post":{"tags":["physical_edition"],"summary":"Op Reconcile","operationId":"op_reconcile_api_v1_physical_operator_orders__order_id__reconcile_post","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","title":"Order Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/physical/operator/orders/{order_id}/dispatched":{"post":{"tags":["physical_edition"],"summary":"Op Dispatched","operationId":"op_dispatched_api_v1_physical_operator_orders__order_id__dispatched_post","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","title":"Order Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/physical_edition__routes__ConfirmBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/physical/operator/orders/{order_id}/cancel":{"post":{"tags":["physical_edition"],"summary":"Op Cancel","operationId":"op_cancel_api_v1_physical_operator_orders__order_id__cancel_post","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","title":"Order Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/physical_edition__routes__CancelBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/physical/operator/cases/{case_id}/advance":{"post":{"tags":["physical_edition"],"summary":"Op Advance Case","operationId":"op_advance_case_api_v1_physical_operator_cases__case_id__advance_post","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","title":"Case Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseAdvanceBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/physical/orders/{order_id}/address":{"post":{"tags":["physical_edition"],"summary":"Post Address","description":"The buyer's delivery address. Validated, encrypted and kept by the custodian; the answer is the order view,\nwhich never carries it.","operationId":"post_address_api_v1_physical_orders__order_id__address_post","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","title":"Order Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddressBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/physical/operator/partner":{"get":{"tags":["physical_edition"],"summary":"Op Partner","operationId":"op_partner_api_v1_physical_operator_partner_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/physical/operator/orders":{"get":{"tags":["physical_edition"],"summary":"Op List Orders","operationId":"op_list_orders_api_v1_physical_operator_orders_get","parameters":[{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":24},{"type":"null"}],"title":"State"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/physical/operator/orders/{order_id}":{"get":{"tags":["physical_edition"],"summary":"Op Read Order","operationId":"op_read_order_api_v1_physical_operator_orders__order_id__get","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","title":"Order Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/physical/operator/orders/{order_id}/sync-tracking":{"post":{"tags":["physical_edition"],"summary":"Op Sync Tracking","operationId":"op_sync_tracking_api_v1_physical_operator_orders__order_id__sync_tracking_post","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","title":"Order Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/physical/operator/sync-tracking":{"post":{"tags":["physical_edition"],"summary":"Op Sync Tracking All","description":"The same sweep the scheduled job runs: every in-flight order is synced and spent addresses are cleared.","operationId":"op_sync_tracking_all_api_v1_physical_operator_sync_tracking_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/deck-pdf/products":{"get":{"tags":["deck_pdf"],"summary":"List Products","operationId":"list_products_api_v1_deck_pdf_products_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/deck-pdf/download/{token}":{"get":{"tags":["deck_pdf"],"summary":"Download","description":"Opens a signed link. The link is the authority (a plain browser link carries no sign-in); the order is\nre-checked as still paid, so a refund revokes a link already issued.","operationId":"download_api_v1_deck_pdf_download__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"}}}}}}},"/api/v1/deck-pdf/orders":{"get":{"tags":["deck_pdf"],"summary":"List Orders","operationId":"list_orders_api_v1_deck_pdf_orders_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/deck-pdf/orders/{order_id}":{"get":{"tags":["deck_pdf"],"summary":"Read Order","operationId":"read_order_api_v1_deck_pdf_orders__order_id__get","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","title":"Order Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/deck-pdf/orders/{order_id}/receipt":{"get":{"tags":["deck_pdf"],"summary":"Read Receipt","operationId":"read_receipt_api_v1_deck_pdf_orders__order_id__receipt_get","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","title":"Order Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/deck-pdf/orders/{order_id}/download-link":{"post":{"tags":["deck_pdf"],"summary":"Download Link","operationId":"download_link_api_v1_deck_pdf_orders__order_id__download_link_post","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","title":"Order Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/deck-pdf/products/{product_ref}/orders":{"post":{"tags":["deck_pdf"],"summary":"Create Order","operationId":"create_order_api_v1_deck_pdf_products__product_ref__orders_post","parameters":[{"name":"product_ref","in":"path","required":true,"schema":{"type":"string","title":"Product Ref"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/deck-pdf/products/{product_ref}":{"get":{"tags":["deck_pdf"],"summary":"Read Product","operationId":"read_product_api_v1_deck_pdf_products__product_ref__get","parameters":[{"name":"product_ref","in":"path","required":true,"schema":{"type":"string","title":"Product Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/deck-pdf/operator/readiness":{"get":{"tags":["deck_pdf"],"summary":"Op Readiness","operationId":"op_readiness_api_v1_deck_pdf_operator_readiness_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/deck-pdf/operator/rights-ruling":{"put":{"tags":["deck_pdf"],"summary":"Op Rights Ruling","operationId":"op_rights_ruling_api_v1_deck_pdf_operator_rights_ruling_put","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RulingBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/deck-pdf/operator/seller":{"put":{"tags":["deck_pdf"],"summary":"Op Seller","operationId":"op_seller_api_v1_deck_pdf_operator_seller_put","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SellerBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/deck-pdf/operator/products":{"post":{"tags":["deck_pdf"],"summary":"Op Product","operationId":"op_product_api_v1_deck_pdf_operator_products_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/deck-pdf/operator/orders/{order_id}":{"get":{"tags":["deck_pdf"],"summary":"Op Order","description":"The order with its canonical checkout and payment ids and the canonical refund route (refunds are not made here).","operationId":"op_order_api_v1_deck_pdf_operator_orders__order_id__get","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","title":"Order Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/deck-pdf/operator/reconcile":{"post":{"tags":["deck_pdf"],"summary":"Op Reconcile","description":"Settle every open deck order from the canonical commerce tables now (the same read the scheduled job makes).","operationId":"op_reconcile_api_v1_deck_pdf_operator_reconcile_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mastery/readiness/history/{student_id}":{"get":{"tags":["cl150_chapter_mastery"],"summary":"Readiness History","description":"Read-back: a student's ENG-027 mastery-readiness verdict history (mig 226).\nCloses the elite UI-read-back row — the readiness gate used to compute-and-discard.","operationId":"readiness_history_api_v1_mastery_readiness_history__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mastery/cycle/start":{"post":{"tags":["cl150_chapter_mastery"],"summary":"Start Mastery Cycle","description":"PR-560 — start a chapter mastery cycle.\n\nBody:\n  student_id (required), subject (required), chapter (required)\n\nFREE 1/quarter quota; ACE+ unlimited. Creates a row in mastery_cycles\nin 'diagnostic_pending' state. Next call hits /diagnostic.","operationId":"start_mastery_cycle_api_v1_mastery_cycle_start_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mastery/cycle/{cycle_id}/diagnostic":{"get":{"tags":["cl150_chapter_mastery"],"summary":"Get Diagnostic","description":"PR-565 — produce a 10Q diagnostic for the chapter. Pulls real\nNeon questions filtered to the chapter via subject + topic_LIKE matches\non `chapter` field (best-effort given current schema — sub_topic is\nthe canonical field; chapter may be empty for older question rows).","operationId":"get_diagnostic_api_v1_mastery_cycle__cycle_id__diagnostic_get","parameters":[{"name":"cycle_id","in":"path","required":true,"schema":{"type":"string","title":"Cycle Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mastery/cycle/{cycle_id}/drill":{"post":{"tags":["cl150_chapter_mastery"],"summary":"Drill Cycle","description":"PR-570 — kicks off a focused drill on the chapter's weakest sub-topics\ndetected from the diagnostic. Reuses the targeted_drill_routes pattern\nbut pre-filters to topics within this chapter.","operationId":"drill_cycle_api_v1_mastery_cycle__cycle_id__drill_post","parameters":[{"name":"cycle_id","in":"path","required":true,"schema":{"type":"string","title":"Cycle Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","default":{},"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mastery/cycle/{cycle_id}/mid-mock":{"post":{"tags":["cl150_chapter_mastery"],"summary":"Mid Arc Mock","description":"PR-575 (ACE+) — mid-cycle full mock to gauge mastery before final test.\nTier-gated; FREE gets a locked envelope.","operationId":"mid_arc_mock_api_v1_mastery_cycle__cycle_id__mid_mock_post","parameters":[{"name":"cycle_id","in":"path","required":true,"schema":{"type":"string","title":"Cycle Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mastery/cycle/{cycle_id}/mastery-test":{"post":{"tags":["cl150_chapter_mastery"],"summary":"Mastery Test","description":"PR-580 (ACE+) — final mastery test. On pass, issues a cert.\n\nCert generation returns a BFF HMAC-signed credential. ENG-053 can replace\nthe signer later when that service contract is promoted for CL-150.","operationId":"mastery_test_api_v1_mastery_cycle__cycle_id__mastery_test_post","parameters":[{"name":"cycle_id","in":"path","required":true,"schema":{"type":"string","title":"Cycle Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mastery/cycle/{cycle_id}/diagnostic/submit":{"post":{"tags":["cl150_chapter_mastery"],"summary":"Submit Diagnostic","description":"Persist diagnostic answers and derive the weak-topic handoff.","operationId":"submit_diagnostic_api_v1_mastery_cycle__cycle_id__diagnostic_submit_post","parameters":[{"name":"cycle_id","in":"path","required":true,"schema":{"type":"string","title":"Cycle Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","default":{},"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mastery/cycle/{cycle_id}/mid-mock/result":{"post":{"tags":["cl150_chapter_mastery"],"summary":"Submit Mid Mock Result","description":"Persist mid-mock result and route into final mastery test readiness.","operationId":"submit_mid_mock_result_api_v1_mastery_cycle__cycle_id__mid_mock_result_post","parameters":[{"name":"cycle_id","in":"path","required":true,"schema":{"type":"string","title":"Cycle Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","default":{},"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mastery/cycle/{cycle_id}/mastery-test/submit":{"post":{"tags":["cl150_chapter_mastery"],"summary":"Submit Mastery Test","description":"Persist final test result and issue/share a verifiable certificate.","operationId":"submit_mastery_test_api_v1_mastery_cycle__cycle_id__mastery_test_submit_post","parameters":[{"name":"cycle_id","in":"path","required":true,"schema":{"type":"string","title":"Cycle Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","default":{},"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mastery/certificate/{cert_id}":{"get":{"tags":["cl150_chapter_mastery"],"summary":"Get Certificate","operationId":"get_certificate_api_v1_mastery_certificate__cert_id__get","parameters":[{"name":"cert_id","in":"path","required":true,"schema":{"type":"string","title":"Cert Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mastery/cycle/{cycle_id}":{"get":{"tags":["cl150_chapter_mastery"],"summary":"Get Cycle","description":"Return the full state of a mastery cycle.","operationId":"get_cycle_api_v1_mastery_cycle__cycle_id__get","parameters":[{"name":"cycle_id","in":"path","required":true,"schema":{"type":"string","title":"Cycle Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mastery/cycles/{student_id}":{"get":{"tags":["cl150_chapter_mastery"],"summary":"List Cycles","description":"List all mastery cycles for a student.","operationId":"list_cycles_api_v1_mastery_cycles__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/helper/physics-simulate":{"post":{"tags":["cl155_subject_helpers"],"summary":"Physics Simulate","description":"PR-620 Physics Simulator - parameter-driven physics scenario.","operationId":"physics_simulate_api_v1_helper_physics_simulate_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/helper/biology-diagram":{"get":{"tags":["cl155_subject_helpers"],"summary":"Biology Diagram","description":"PR-625 Biology Diagram - labelled diagram structure for a topic.","operationId":"biology_diagram_api_v1_helper_biology_diagram_get","parameters":[{"name":"topic","in":"query","required":true,"schema":{"type":"string","description":"e.g. human heart / photosynthesis / kidney nephron","title":"Topic"},"description":"e.g. human heart / photosynthesis / kidney nephron"},{"name":"student_id","in":"query","required":false,"schema":{"type":"string","default":"stu_anon","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/helper/formula-derive":{"post":{"tags":["cl155_subject_helpers"],"summary":"Formula Derive","description":"PR-590 Formula Derivation - JARVIS-backed derivation engine.","operationId":"formula_derive_api_v1_helper_formula_derive_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/helper/formula-derive/history/{student_id}":{"get":{"tags":["cl155_subject_helpers"],"summary":"Formula Derive History","description":"PR-590 — recent derivations this student looked up (migration 231).\nOwnership is enforced by the router-level enforce_path_student_ownership dep.","operationId":"formula_derive_history_api_v1_helper_formula_derive_history__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/helper/examples":{"post":{"tags":["cl155_subject_helpers"],"summary":"Examples Generate","description":"PR-630 Worked Examples - CL-155 consumer for ENG-057 Example Generator.","operationId":"examples_generate_api_v1_helper_examples_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/helper/equation-balance":{"post":{"tags":["cl155_subject_helpers"],"summary":"Equation Balance","description":"PR-600 Chemical Equation Balancer - JARVIS reasoning + exact verification.","operationId":"equation_balance_api_v1_helper_equation_balance_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/helper/visual-explain":{"post":{"tags":["cl155_subject_helpers"],"summary":"Visual Explain","description":"PR-635 2D Visual Explainer - CL-155 consumer for ENG-058 Mermaid diagrams.","operationId":"visual_explain_api_v1_helper_visual_explain_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/helper/analogy":{"post":{"tags":["cl155_subject_helpers"],"summary":"Analogy Builder","description":"PR-640 Analogy Builder - CL-155 consumer for ENG-059 structural analogies.","operationId":"analogy_builder_api_v1_helper_analogy_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/helper/equation-solve":{"post":{"tags":["cl155_subject_helpers"],"summary":"Equation Solve","description":"PR-605 Math Equation Solver — calls ENG-062 HNS Solver (D-65 sunset\nof EDU-017 redirected this route 2026-05-26).\n\nPayload:\n  equation    : str            REQUIRED — e.g. \"2x^2 - 5x + 3 = 0\"\n  student_id  : str            defaults to 'stu_anon'\n  subject     : str            'maths' (default) / 'physics' / 'chemistry'\n  topic       : str            optional hint — 'quadratic'/'integration'/etc\n  show_board  : bool           CBSE board-format answer (default true)\n\nResponse: helper-shape `{equation_type, variable, solution, verified,\nverification_note, steps[], total_steps, board_format, method_used,\nengine, solution_id}` (steps[] currently empty post-sunset; LLM step\nannotation is +8h path-b deferred).","operationId":"equation_solve_api_v1_helper_equation_solve_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/helper/theorem-prove":{"post":{"tags":["cl155_subject_helpers"],"summary":"Theorem Prove","description":"PR-615 Theorem Prover — verify a student's proof of a math theorem.\n\nPayload (REQUIRED):\n  theorem_statement  : str  — \"sin²θ + cos²θ = 1\" / \"for all n, n(n+1)/2 = ...\"\n  student_proof      : str  — the proof to verify\n\nOptional:\n  proof_type   : trig_identity (default) / algebraic / induction / calculus / geometry / number_theory\n  theorem_id   : str — anchor to a known theorem (uses engine's KNOWN_THEOREMS lookup)\n  student_id   : str","operationId":"theorem_prove_api_v1_helper_theorem_prove_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/helper/theorem-prove/history/{student_id}":{"get":{"tags":["cl155_subject_helpers"],"summary":"Theorem Prove History","description":"Per-student proof-verification history.","operationId":"theorem_prove_history_api_v1_helper_theorem_prove_history__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/helper/equation-solve/history/{student_id}":{"get":{"tags":["cl155_subject_helpers"],"summary":"Equation Solve History","description":"Per-student history of EDU-017 solves — for the helper-history screen.","operationId":"equation_solve_history_api_v1_helper_equation_solve_history__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/helper/organic-render":{"post":{"tags":["cl155_subject_helpers"],"summary":"Organic Render","description":"PR-610 Organic Structure Renderer - JARVIS metadata + deterministic SVG renderer.","operationId":"organic_render_api_v1_helper_organic_render_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/helper/catalog":{"get":{"tags":["cl155_subject_helpers"],"summary":"Helpers Catalog","description":"Index of all subject-helper tools with availability status.","operationId":"helpers_catalog_api_v1_helper_catalog_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/sync/push":{"post":{"tags":["sync","ace_offline_001"],"summary":"Sync Push","description":"Client uploads its queued offline writes. We:\n  1. Validate & dedupe by idempotency_key\n  2. Apply conflict resolution per doc_type rule\n  3. Record in sync_events (authoritative log)\n  4. Upsert into sync_docs (fast-path read)\n  5. Return server vector clock + any conflicts flagged","operationId":"sync_push_api_v1_sync_push_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PushRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PushResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sync/pull":{"get":{"tags":["sync","ace_offline_001"],"summary":"Sync Pull","description":"Server → client replication. Returns all sync_docs for this student\nupdated since the client's last known counter.\n\nClient sends `since_counter` derived from its local view of the server\nvector clock (max counter it has ACKed). We return events with\ncounter > since_counter, excluding events originally from THIS\nclient_id (don't echo the client's own writes).","operationId":"sync_pull_api_v1_sync_pull_get","parameters":[{"name":"since_counter","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Since Counter"}},{"name":"client_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PullResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sync/ping":{"get":{"tags":["sync","ace_offline_001"],"summary":"Sync Ping","description":"Sub-200ms budget. Used by client's offline detector (spec §7).","operationId":"sync_ping_api_v1_sync_ping_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/sync/manifest":{"get":{"tags":["sync","ace_offline_001"],"summary":"Sync Manifest","description":"Runtime identity for ACE-OFFLINE-001 registry and smoke checks.","operationId":"sync_manifest_api_v1_sync_manifest_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/sync/vector-clock":{"get":{"tags":["sync","ace_offline_001"],"summary":"Sync Vector Clock","operationId":"sync_vector_clock_api_v1_sync_vector_clock_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sync/ensure-schema":{"post":{"tags":["sync","ace_offline_001"],"summary":"Sync Ensure Schema","description":"Dev-only bootstrap — production uses migration 018.","operationId":"sync_ensure_schema_api_v1_sync_ensure_schema_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/hitl/enqueue":{"post":{"tags":["hitl"],"summary":"Hitl Enqueue","description":"Grading service calls this when AI confidence < 0.72.\n\nIdempotent by grading_job_id. Returns the HITL job_id for polling.","operationId":"hitl_enqueue_api_v1_hitl_enqueue_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnqueueRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/hitl/queue":{"get":{"tags":["hitl"],"summary":"Hitl Queue List","description":"Teacher view: unclaimed / expired-claim jobs, ordered by SLA proximity.\nFilter by subject if the teacher is subject-restricted.","operationId":"hitl_queue_list_api_v1_hitl_queue_get","parameters":[{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/hitl/claim/{job_id}":{"post":{"tags":["hitl"],"summary":"Hitl Claim","description":"Teacher claims a job. Atomic — first teacher wins.\nClaim TTL = CLAIM_TTL_MINUTES; if not resolved in that window the\njob reverts to 'claim_expired' and goes back to the queue.","operationId":"hitl_claim_api_v1_hitl_claim__job_id__post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClaimResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/hitl/resolve/{job_id}":{"post":{"tags":["hitl"],"summary":"Hitl Resolve","description":"Teacher submits final grade. Transitions stage → completed.","operationId":"hitl_resolve_api_v1_hitl_resolve__job_id__post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/hitl_queue__ResolveRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/hitl/status/{grading_job_id}":{"get":{"tags":["hitl"],"summary":"Hitl Status","description":"Student polls this while HITLStatusScreen is open. The student can\nonly see their own jobs; teacher-assignment details are anonymised\n(we show \"Dr. P., Physics — ⭐ 4.8\" but NOT the teacher's user_id).","operationId":"hitl_status_api_v1_hitl_status__grading_job_id__get","parameters":[{"name":"grading_job_id","in":"path","required":true,"schema":{"type":"string","title":"Grading Job Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/hitl_queue__StatusResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/hitl/admin/sweep-stale":{"post":{"tags":["hitl"],"summary":"Hitl Sweep Stale","description":"Reverts claims that exceeded CLAIM_TTL_MINUTES back to the queue.\nInvoked by cron every 5 minutes.\n\nInternal job: needs X-Internal-Secret == INTERNAL_SHARED_SECRET, the same\ncheck as the /internal/v1 sidecar routes (401 wrong/missing, 503 when the\nsecret is not configured, so it fails closed). The global admin middleware\nonly covers /api/v1/admin/, which this path is not under.","operationId":"hitl_sweep_stale_api_v1_hitl_admin_sweep_stale_post","parameters":[{"name":"X-Internal-Secret","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Secret"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/spre/7d/signal/extended":{"post":{"tags":["spre-7d"],"summary":"Push Extended Signal","description":"Accept self-reported or inferred signals that don't fit the 004 schema.\nStored in spre_signals_extended (migration 020).","operationId":"push_extended_signal_api_v1_spre_7d_signal_extended_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendedSignalPush"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/spre/7d/compute/{student_id}":{"get":{"tags":["spre-7d"],"summary":"Api Compute","description":"On-demand compute + persist. Returns full 7D + radar payload (tier-gated).","operationId":"api_compute_api_v1_spre_7d_compute__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/spre/7d/read/{student_id}":{"get":{"tags":["spre-7d"],"summary":"Api Read","description":"Fast read — returns the last-persisted row from spre_profiles. If\nno row exists yet or it's >24h stale, falls back to live compute.","operationId":"api_read_api_v1_spre_7d_read__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/spre/7d/refresh-all":{"post":{"tags":["spre-7d"],"summary":"Api Refresh All","description":"Admin-only — refresh all active students' 7D profiles.\nUse via CronJob (recommended: 03:00 IST daily, off-peak).\n\nAuth: requires JWT with role in {admin, owner, devops, sre, ops}.\nDEV_AUTH_BYPASS=true allows un-authenticated calls in development;\nfail-closed in production via require_admin.","operationId":"api_refresh_all_api_v1_spre_7d_refresh_all_post","parameters":[{"name":"batch_size","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Batch Size"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/pii-audit/health":{"get":{"tags":["admin"],"summary":"Pii Audit Health","description":"Liveness + config check.","operationId":"pii_audit_health_api_v1_admin_pii_audit_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/admin/pii-audit/ensure-schema":{"post":{"tags":["admin"],"summary":"Pii Audit Ensure Schema","description":"Dev-only bootstrap — production uses normal migration pipeline.","operationId":"pii_audit_ensure_schema_api_v1_admin_pii_audit_ensure_schema_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/spre/profile/{user_id}":{"get":{"tags":["spre"],"summary":"Get Profile","description":"Full SPRE profile read.\nSLA: < 200ms (cache hit), < 500ms (cache miss).","operationId":"get_profile_v1_spre_profile__user_id__get","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SPREProfileFull"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/spre/profile/{user_id}/theta":{"get":{"tags":["spre"],"summary":"Get Theta","description":"Lightweight theta vector read. Used by pipeline executor mid-pipeline.\nSLA: < 50ms (Redis cache hit).","operationId":"get_theta_v1_spre_profile__user_id__theta_get","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SPREThetaResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/spre/profile/{user_id}/create":{"post":{"tags":["spre"],"summary":"Create Profile","description":"Initialize a new SPRE profile for a student.\nCalled during onboarding (P19 pipeline).","operationId":"create_profile_v1_spre_profile__user_id__create_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SPREProfileCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/spre/event":{"post":{"tags":["spre"],"summary":"Ingest Event","description":"Ingest a single SPRE update event.\nUsed by: grading service, DPP service, drill service, session tracker.\n\nFlow: validate → compute delta → CAS update → emit event → invalidate cache.","operationId":"ingest_event_v1_spre_event_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SPREEventIngest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/spre/event/batch":{"post":{"tags":["spre"],"summary":"Ingest Batch","description":"Batch ingest SPRE events. Used by offline sync and nightly reconciliation.\nIdempotent if idempotency_key provided.","operationId":"ingest_batch_v1_spre_event_batch_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SPREBatchIngest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/spre/reconcile/{user_id}":{"post":{"tags":["spre"],"summary":"Trigger Reconciliation","description":"Trigger SPRE reconciliation for a student.\nRebuilds profile from event log (source of truth).\nUsed by: reconciliation worker, admin debug.","operationId":"trigger_reconciliation_v1_spre_reconcile__user_id__post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/spre/bulk/weak-topics":{"post":{"tags":["spre"],"summary":"Bulk Weak Topics","description":"Bulk fetch weak topics for multiple students.\nUsed by nightly DPP generation batch job.\nSLA: < 2000ms for 100 students.","operationId":"bulk_weak_topics_v1_spre_bulk_weak_topics_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkWeakTopicsRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/spre/health":{"get":{"tags":["spre"],"summary":"Spre Health","description":"SPRE subsystem health check.","operationId":"spre_health_v1_spre_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/erk/engines":{"get":{"tags":["erk"],"summary":"List Engines","description":"List all ERK-loaded engines with their current state.","operationId":"list_engines_api_v1_erk_engines_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/erk/engines/{engine_id}":{"get":{"tags":["erk"],"summary":"Engine Health","description":"Health + state of a single ERK engine.","operationId":"engine_health_api_v1_erk_engines__engine_id__get","parameters":[{"name":"engine_id","in":"path","required":true,"schema":{"type":"string","title":"Engine Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/erk/engines/{engine_id}/execute":{"post":{"tags":["erk"],"summary":"Execute Engine","description":"Dispatch a request to an ERK engine via the kernel runtime.\n\ns26 audit fix #17: pre-fix this was anonymous + tier-spoofable —\nbody.user_id and body.tier flowed straight into EngineRequest. Now:\n  - Bearer JWT required (Depends above 401s anonymous callers)\n  - user_id forced from JWT subject (body.user_id ignored)\n  - tier forced from JWT tier claim (body.tier ignored)\n  - Internal engine-to-engine calls (where the BFF dispatches without\n    a user JWT) can pass `X-Internal-Erk-Key` matching INTERNAL_ERK_KEY\n    env to bypass — keeps the existing pipeline orchestrators working.","operationId":"execute_engine_api_v1_erk_engines__engine_id__execute_post","parameters":[{"name":"engine_id","in":"path","required":true,"schema":{"type":"string","title":"Engine Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecuteRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pipelines":{"get":{"tags":["pipelines"],"summary":"List Pipelines","operationId":"list_pipelines_api_v1_pipelines_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pipelines/{pipeline_id}":{"get":{"tags":["pipelines"],"summary":"Get Pipeline","operationId":"get_pipeline_api_v1_pipelines__pipeline_id__get","parameters":[{"name":"pipeline_id","in":"path","required":true,"schema":{"type":"string","title":"Pipeline Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pipelines/{pipeline_id}/execute":{"post":{"tags":["pipelines"],"summary":"Execute Pipeline","operationId":"execute_pipeline_api_v1_pipelines__pipeline_id__execute_post","parameters":[{"name":"pipeline_id","in":"path","required":true,"schema":{"type":"string","title":"Pipeline Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/flags":{"get":{"tags":["admin","feature-flags"],"summary":"List Flags","operationId":"list_flags_api_v1_admin_flags_get","parameters":[{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/flags/{flag_key}":{"get":{"tags":["admin","feature-flags"],"summary":"Get Flag","operationId":"get_flag_api_v1_admin_flags__flag_key__get","parameters":[{"name":"flag_key","in":"path","required":true,"schema":{"type":"string","title":"Flag Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["admin","feature-flags"],"summary":"Update Flag","operationId":"update_flag_api_v1_admin_flags__flag_key__put","parameters":[{"name":"flag_key","in":"path","required":true,"schema":{"type":"string","title":"Flag Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlagPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/flags/{flag_key}/kill":{"post":{"tags":["admin","feature-flags"],"summary":"Kill Flag","operationId":"kill_flag_api_v1_admin_flags__flag_key__kill_post","parameters":[{"name":"flag_key","in":"path","required":true,"schema":{"type":"string","title":"Flag Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/flags/{flag_key}/restore":{"post":{"tags":["admin","feature-flags"],"summary":"Restore Flag","operationId":"restore_flag_api_v1_admin_flags__flag_key__restore_post","parameters":[{"name":"flag_key","in":"path","required":true,"schema":{"type":"string","title":"Flag Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/flags/{flag_key}/check":{"get":{"tags":["admin","feature-flags"],"summary":"Check Flag","description":"Dry-run: evaluate this flag for a given context.","operationId":"check_flag_api_v1_admin_flags__flag_key__check_get","parameters":[{"name":"flag_key","in":"path","required":true,"schema":{"type":"string","title":"Flag Key"}},{"name":"user_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"}},{"name":"tier","in":"query","required":false,"schema":{"type":"string","default":"FREE","title":"Tier"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/jarvis-router/health":{"get":{"tags":["jarvis-router"],"summary":"Health","operationId":"health_api_v1_jarvis_router_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/jarvis-router/route":{"post":{"tags":["jarvis-router"],"summary":"Route Request","operationId":"route_request_api_v1_jarvis_router_route_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/jarvis_router_service__RouteRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/jarvis-router/cb/{provider}/reset":{"post":{"tags":["jarvis-router"],"summary":"Reset Cb","operationId":"reset_cb_api_v1_jarvis_router_cb__provider__reset_post","parameters":[{"name":"provider","in":"path","required":true,"schema":{"type":"string","title":"Provider"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/events/track":{"post":{"tags":["events_track"],"summary":"Track Event","operationId":"track_event_api_v1_events_track_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","default":{},"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/events/funnel":{"post":{"tags":["events_track"],"summary":"Track Funnel Event","operationId":"track_funnel_event_api_v1_events_funnel_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/events/jarvis-feedback":{"post":{"tags":["events_track"],"summary":"Jarvis Feedback","operationId":"jarvis_feedback_api_v1_events_jarvis_feedback_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","default":{},"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/events/tricks-feedback":{"post":{"tags":["events_track"],"summary":"Tricks Feedback","operationId":"tricks_feedback_api_v1_events_tricks_feedback_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","default":{},"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/events/quality-flags":{"post":{"tags":["events_track"],"summary":"Quality Flags","operationId":"quality_flags_api_v1_events_quality_flags_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","default":{},"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/events/grade-dispute":{"post":{"tags":["events_track"],"summary":"Grade Dispute","operationId":"grade_dispute_api_v1_events_grade_dispute_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","default":{},"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/events/receipts":{"get":{"tags":["events_track"],"summary":"Feedback Receipts","operationId":"feedback_receipts_api_v1_events_receipts_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/events/live-route-capture":{"get":{"tags":["events_track"],"summary":"Live Route Capture","operationId":"live_route_capture_api_v1_events_live_route_capture_get","parameters":[{"name":"X-Dev-Auth","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Dev-Auth"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/events/catalogue":{"get":{"tags":["events_track"],"summary":"Event Catalogue","operationId":"event_catalogue_api_v1_events_catalogue_get","parameters":[{"name":"surface","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Surface"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":250,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/events/catalogue/{event_name}":{"get":{"tags":["events_track"],"summary":"Event Catalogue Lookup","operationId":"event_catalogue_lookup_api_v1_events_catalogue__event_name__get","parameters":[{"name":"event_name","in":"path","required":true,"schema":{"type":"string","title":"Event Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/events/recent":{"get":{"tags":["events_track"],"summary":"Recent Events","description":"Recent events, scoped to the caller.\n\n2026-08-19. This took `student_id` as a query parameter with NO authentication at\nall, so anyone could read any student's event stream by naming them in the URL - a\nbehavioural record of what they practised and when.\n\nThe filter now defaults to the caller and refuses anyone else's, except for the\noperator roles that legitimately read across students to answer a support ticket.","operationId":"recent_events_api_v1_events_recent_get","parameters":[{"name":"name","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},{"name":"student_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Student Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/surface-events":{"post":{"tags":["app-wide-os-v3"],"summary":"Create Surface Event","operationId":"create_surface_event_api_v1_surface_events_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurfaceEventCreate"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Surface Event Api V1 Surface Events Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/surface-events/readback":{"get":{"tags":["app-wide-os-v3"],"summary":"Get Surface Event Readback","operationId":"get_surface_event_readback_api_v1_surface_events_readback_get","parameters":[{"name":"product_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Id"}},{"name":"route","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Route"}},{"name":"source_event_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Event Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":25,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Surface Event Readback Api V1 Surface Events Readback Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/app-wide-os/grade-result/{job_id}/readback":{"get":{"tags":["app-wide-os-v3"],"summary":"Get Grade Result Os Readback","operationId":"get_grade_result_os_readback_api_v1_app_wide_os_grade_result__job_id__readback_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Grade Result Os Readback Api V1 App Wide Os Grade Result  Job Id  Readback Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/preferences":{"post":{"tags":["decision-universe-spine"],"summary":"Create Preference Passport","operationId":"create_preference_passport","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePreferencePassportRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MutationEnvelope"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/preferences/{passport_id}/versions":{"post":{"tags":["decision-universe-spine"],"summary":"Append Preference Version","operationId":"create_preference_passport_version","parameters":[{"name":"passport_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Passport Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppendPreferenceVersionRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MutationEnvelope"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/preferences/{passport_id}":{"get":{"tags":["decision-universe-spine"],"summary":"Read Preference Passport","operationId":"read_preference_passport","parameters":[{"name":"passport_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Passport Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreferencePassportProjection"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/preferences/{passport_id}/projection":{"get":{"tags":["decision-universe-spine"],"summary":"Read Preference Projection","operationId":"read_purpose_bound_preference_projection","parameters":[{"name":"passport_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Passport Id"}},{"name":"purpose","in":"query","required":true,"schema":{"type":"string","pattern":"^(ADMISSION|PATHWAY|COMBINED)$","title":"Purpose"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurposeBoundPreferenceProjection"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/threads":{"post":{"tags":["decision-universe-spine"],"summary":"Create Decision Thread","operationId":"create_decision_thread","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDecisionThreadRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MutationEnvelope"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/threads/{thread_id}/refs":{"post":{"tags":["decision-universe-spine"],"summary":"Attach Thread Reference","operationId":"attach_decision_thread_ref","parameters":[{"name":"thread_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Thread Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttachThreadReferenceRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MutationEnvelope"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/threads/{thread_id}/link-references":{"post":{"tags":["decision-universe-spine"],"summary":"Link Decision Thread References","description":"Link what this chain already holds into Where I Stand.\n\nFor a chain attached before attach began linking. Writes nothing the family has not already\nattached, changes none of it, and answers the same on a repeat. A thread that is not theirs is a 404.","operationId":"link_decision_thread_references","parameters":[{"name":"thread_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Thread Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Link Decision Thread References"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/threads/{thread_id}":{"get":{"tags":["decision-universe-spine"],"summary":"Read Decision Thread","operationId":"read_decision_thread","parameters":[{"name":"thread_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Thread Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Decision Thread"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/telemetry/views":{"post":{"tags":["decision-universe-spine"],"summary":"Record Decision View Event","description":"A signed-in Decision OS screen was seen. Never fails the screen.","operationId":"record_decision_view_event","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecisionViewEvent"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Record Decision View Event"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/threads/{thread_id}/records":{"post":{"tags":["decision-universe-records"],"summary":"Record Family Decision","description":"Record what this family chose, over what, and why.\n\nThe idempotency key is required rather than optional: a family pressing the\nbutton twice on a flaky connection must produce one decision, not two, and\nthe second call returns the first receipt.","operationId":"record_family_decision","parameters":[{"name":"thread_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Thread Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDecisionRecordRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Record Family Decision"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["decision-universe-records"],"summary":"Read Decision Record Chain","description":"The chain, newest first, with the superseded rows kept.\n\nReading is not gated by the write flag. All nine flags are off, so gating\nthe read as well would stop a family seeing decisions they had already made.","operationId":"read_decision_record_chain","parameters":[{"name":"thread_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Thread Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecisionRecordChain"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/threads/{thread_id}/corrections/{correction_id}/impact":{"get":{"tags":["decision-universe-records"],"summary":"Read Correction Impact On Decisions","description":"A source under this family moved. Which of their decisions does it reach?\n\nSays what is affected and never what to do about it. Re-deciding is theirs.","operationId":"read_correction_impact_on_decisions","parameters":[{"name":"thread_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Thread Id"}},{"name":"correction_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Correction Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CorrectionImpact"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/decisions/{decision_record_id}":{"get":{"tags":["decision-universe-decision-memory"],"summary":"Read Saved Decision Memory","description":"One saved decision, the sources it cited as they were, and separately what has moved since.","operationId":"read_saved_decision_memory","parameters":[{"name":"decision_record_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Decision Record Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecisionMemoryView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/decisions/{decision_record_id}/citations":{"get":{"tags":["decision-universe-decision-memory"],"summary":"Read Decision Citations","operationId":"read_decision_citations","parameters":[{"name":"decision_record_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Decision Record Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CitationView"},"title":"Response Read Decision Citations"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/watches":{"get":{"tags":["decision-universe-decision-memory"],"summary":"Read Change Watch Coverage","description":"What is watched, what stopped, and what could never be watched. Three lists, never merged.","operationId":"read_change_watch_coverage","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CoverageView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/changes":{"get":{"tags":["decision-universe-decision-memory"],"summary":"List Detected Changes","operationId":"list_detected_changes","parameters":[{"name":"before","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Before"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangeList"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["decision-universe-decision-memory"],"summary":"Write Detected Change","description":"Write a detected change. Impacts are computed here from stored citations, never accepted.","operationId":"write_detected_change","parameters":[{"name":"X-Decision-Memory-Service-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Decision-Memory-Service-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WriteChangeRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Write Detected Change"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/changes/{change_event_id}":{"get":{"tags":["decision-universe-decision-memory"],"summary":"Read Detected Change","operationId":"read_detected_change","parameters":[{"name":"change_event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Change Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangeDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/changes/{change_event_id}/impacts":{"get":{"tags":["decision-universe-decision-memory"],"summary":"Read Change Impacts","description":"The affected saved decisions, supported and unsupported as two lists. No total.","operationId":"read_change_impacts","parameters":[{"name":"change_event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Change Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImpactLists"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/journey/timeline":{"get":{"tags":["decision-universe-decision-memory"],"summary":"Read My Journey Timeline","description":"Everything across the student's threads: decisions, changes, coverage gaps, dates that moved.","operationId":"read_my_journey_timeline","parameters":[{"name":"before","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Before"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyTimeline"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/journeys/{thread_id}/timeline":{"get":{"tags":["decision-universe-decision-memory"],"summary":"Read Thread Journey Timeline","operationId":"read_thread_journey_timeline","parameters":[{"name":"thread_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Thread Id"}},{"name":"before","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Before"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyTimeline"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/journey/export":{"get":{"tags":["decision-universe-decision-memory"],"summary":"Read Journey Export Status","description":"Export is the paid line and AspireACE takes no payments during the build: say so honestly.","operationId":"read_journey_export_status","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportStatus"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/citations":{"post":{"tags":["decision-universe-decision-memory"],"summary":"Bind Decision Citations","description":"Called by the deciding product at the moment it answers. Never by a screen.","operationId":"bind_decision_citations","parameters":[{"name":"X-Decision-Memory-Service-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Decision-Memory-Service-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BindCitationsRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Bind Decision Citations"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/watches/{watch_id}/checks":{"post":{"tags":["decision-universe-decision-memory"],"summary":"Record Change Watch Check","description":"Record a check, whether or not anything moved.","operationId":"record_change_watch_check","parameters":[{"name":"watch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Watch Id"}},{"name":"X-Decision-Memory-Service-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Decision-Memory-Service-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordWatchCheckRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Record Change Watch Check"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/watches/run-checks":{"post":{"tags":["decision-universe-decision-memory"],"summary":"Run Due Change Watch Checks","description":"Check every due watch with its approved adapter. Also run hourly by the scheduler.\n\nOn ingest: after a new source version is approved, call with source_authority and\nforce=true so every watch on that kind of source is checked straight away.","operationId":"run_due_change_watch_checks","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":200,"title":"Limit"}},{"name":"source_authority","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Source Authority"}},{"name":"force","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Force"}},{"name":"X-Decision-Memory-Service-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Decision-Memory-Service-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Run Due Change Watch Checks"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/threads/{thread_id}/calendar":{"get":{"tags":["decision-universe-calendar"],"summary":"Read Decision Calendar","description":"Every published counselling date this family is working to, and every\nwindow where two authorities want something at once.\n\nThe conflicts are reported and never resolved. Which one to meet is the\nfamily's decision.","operationId":"read_decision_calendar","parameters":[{"name":"thread_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Thread Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalendarView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/threads/{thread_id}/changes":{"get":{"tags":["decision-universe-calendar"],"summary":"Read Decision Change Watch","description":"What moved since this family last looked, or that they have not looked before.","operationId":"read_decision_change_watch","parameters":[{"name":"thread_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Thread Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangeSince"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/threads/{thread_id}/changes/seen":{"post":{"tags":["decision-universe-calendar"],"summary":"Mark Decision Changes Seen","operationId":"mark_decision_changes_seen","parameters":[{"name":"thread_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Thread Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/documents":{"get":{"tags":["decision-universe-documents"],"summary":"Read Document Vault","description":"What this family holds, and whether it will get them through.\n\nNever returns a document's content or the pointer to it.","operationId":"read_document_vault","parameters":[{"name":"authority","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"},"maxItems":6,"default":[],"title":"Authority"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VaultView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["decision-universe-documents"],"summary":"Add Document Listing","description":"Add one certificate to the family's list. Metadata only.","operationId":"add_document_listing","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListingRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/documents/{document_id}":{"put":{"tags":["decision-universe-documents"],"summary":"Replace Document Listing","description":"Correct an entry. The old entry is marked replaced, never edited in place.","operationId":"replace_document_listing","parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Document Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListingRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["decision-universe-documents"],"summary":"Remove Document Listing","description":"Take an entry off the list. A foreign or unknown id is the same 404.","operationId":"remove_document_listing","parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Document Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/rank-bands/{exam}/{year}/{band}":{"get":{"tags":["acespredict-rank-bands"],"summary":"Read Public Rank Band Page","description":"What closed inside this rank band, on one rank list, in this exam, in this year.\n\nWithout `rank_list` the page shows the exam's main list; the page names the other lists it has. Without\n`offset` the page starts at the first seat; a page cut short at MAX_SEATS says so\n(`BAND_HAS_MORE_SEATS_THAN_THIS_PAGE_SHOWS`) and carries `next_seat_offset` for the caller to continue from.\nHistory, not a forecast, and the page says so in its own payload.","operationId":"read_public_rank_band_page","parameters":[{"name":"exam","in":"path","required":true,"schema":{"type":"string","minLength":2,"maxLength":40,"title":"Exam"}},{"name":"year","in":"path","required":true,"schema":{"type":"integer","maximum":2100,"minimum":2000,"title":"Year"}},{"name":"band","in":"path","required":true,"schema":{"type":"string","pattern":"^\\d{1,7}-\\d{1,7}$","title":"Band"}},{"name":"rank_list","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":250},{"type":"null"}],"title":"Rank List"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","maximum":100000,"minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BandPage"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/rank-walk/{exam}/options":{"get":{"tags":["acespredict-rank-walk"],"summary":"Rank Walk Options","description":"Years, quotas and categories the published lines for this exam hold.","operationId":"read_rank_walk_options","parameters":[{"name":"exam","in":"path","required":true,"schema":{"type":"string","pattern":"^(NEET_PG|CLAT)$","title":"Exam"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Rank Walk Options"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/rank-walk/{exam}/near-rank":{"post":{"tags":["acespredict-rank-walk"],"summary":"Rank Walk Near Rank","description":"Per round, the published lines that closed at the rank or later, and the ones just before it.","operationId":"read_rank_walk_near_rank","parameters":[{"name":"exam","in":"path","required":true,"schema":{"type":"string","pattern":"^(NEET_PG|CLAT)$","title":"Exam"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RankWalkRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Rank Walk Near Rank"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/rank-walk/{exam}/choices":{"get":{"tags":["acespredict-rank-walk"],"summary":"Rank Walk Choices","description":"Institution and programme names to pick as choices, from the lines the cycle actually published.","operationId":"read_rank_walk_choices","parameters":[{"name":"exam","in":"path","required":true,"schema":{"type":"string","pattern":"^(NEET_PG|CLAT)$","title":"Exam"}},{"name":"year","in":"query","required":true,"schema":{"type":"integer","maximum":2100,"minimum":2000,"title":"Year"}},{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":2,"maxLength":80,"title":"Q"}},{"name":"quota","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Quota"}},{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Category"}},{"name":"rank_universe","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Rank Universe"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Rank Walk Choices"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/rank-walk/{exam}/simulate":{"post":{"tags":["acespredict-rank-walk"],"summary":"Rank Walk Simulate","description":"Replay one past cycle for the candidate's category, seat pool, rank and ordered choices (advisory, not kept).","operationId":"read_rank_walk_simulate","parameters":[{"name":"exam","in":"path","required":true,"schema":{"type":"string","pattern":"^(NEET_PG|CLAT)$","title":"Exam"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimulationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Rank Walk Simulate"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/objects/{definition_ref}/preflight":{"post":{"tags":["decision-universe-child-objects"],"summary":"Decision Spine Child Preflight","description":"Would a create work? Reserves nothing and promises nothing.","operationId":"decision_spine_child_preflight","parameters":[{"name":"definition_ref","in":"path","required":true,"schema":{"type":"string","title":"Definition Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChildObjectBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObjectPreflightResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/objects/{definition_ref}":{"post":{"tags":["decision-universe-child-objects"],"summary":"Decision Spine Child Create Or Read","description":"Ask the owner, once, and keep what it said.\n\nThe kept envelope holds no rows. The response adds ``result_data``: the rows\nrebuilt from the same sources, included only while those sources are still\nthe ones the saved answer rested on. Pressing twice returns the same saved\nenvelope and the same rows.\n\nThe idempotency key is required rather than optional. A family on a train\npressing a button twice must produce one instance and the same receipt, and\nfor the definitions that will eventually reserve capacity, asking an\nauthority twice is the harm itself rather than a tidiness problem.","operationId":"decision_spine_child_create_or_read","parameters":[{"name":"definition_ref","in":"path","required":true,"schema":{"type":"string","title":"Definition Ref"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChildObjectBody"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObjectResultWithData"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/objects/{definition_ref}/{instance_ref}":{"get":{"tags":["decision-universe-child-objects"],"summary":"Decision Spine Child Read","description":"Read back exactly what is stored — not a friendlier version of it.","operationId":"decision_spine_child_read","parameters":[{"name":"definition_ref","in":"path","required":true,"schema":{"type":"string","title":"Definition Ref"}},{"name":"instance_ref","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Instance Ref"}},{"name":"audience","in":"query","required":false,"schema":{"type":"string","default":"LEARNER","title":"Audience"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObjectResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["decision-universe-child-objects"],"summary":"Decision Spine Child Delete","description":"Erasure is redaction in place. The lineage seal survives it.\n\nA family may have their content removed. They may not remove the fact that\na decision was taken, because the receipt is also the counsellor's and the\nauthority's record.","operationId":"decision_spine_child_delete","parameters":[{"name":"definition_ref","in":"path","required":true,"schema":{"type":"string","title":"Definition Ref"}},{"name":"instance_ref","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Instance Ref"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteReceipt"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/objects/{definition_ref}/{instance_ref}/rerun":{"post":{"tags":["decision-universe-child-objects"],"summary":"Decision Spine Child Rerun","description":"Ask again, and keep both answers.\n\nThe earlier instance is not edited. It goes stale, names its successor and\nstays readable, because \"what were we told at the time we decided?\" is the\nquestion a family is asked when somebody later disputes the decision.","operationId":"decision_spine_child_rerun","parameters":[{"name":"definition_ref","in":"path","required":true,"schema":{"type":"string","title":"Definition Ref"}},{"name":"instance_ref","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Instance Ref"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChildObjectBody"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObjectResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/objects/{definition_ref}/{instance_ref}/export":{"post":{"tags":["decision-universe-child-objects"],"summary":"Decision Spine Child Export","description":"Render a permitted view, and say plainly that the copy cannot be recalled.","operationId":"decision_spine_child_export","parameters":[{"name":"definition_ref","in":"path","required":true,"schema":{"type":"string","title":"Definition Ref"}},{"name":"instance_ref","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Instance Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChildObjectBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportReceipt"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/counselling-service/preflight":{"post":{"tags":["decision-universe-counselling-service"],"summary":"Counselling Service Preflight","description":"Could an hour be booked? Holds nothing, books nothing, charges nothing.","operationId":"counselling_service_preflight","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReservationBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Counselling Service Preflight"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/counselling-service/reservations":{"post":{"tags":["decision-universe-counselling-service"],"summary":"Counselling Service Reserve","description":"Ask a provider to hold an hour.\n\n202, never 201. Nothing is created by this call — a request goes out and the\nanswer comes back from somewhere else. The status code says so before the\nbody does.","operationId":"counselling_service_reserve","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReservationBody"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Counselling Service Reserve"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/counselling-service/reservations/{reservation_ref}":{"get":{"tags":["decision-universe-counselling-service"],"summary":"Counselling Service Status Read","description":"Ask what actually happened.\n\nThis is the retry path for everything. A reservation whose answer was lost\nis resolved by asking what the owner did, never by asking again for it to be\ndone.","operationId":"counselling_service_status_read","parameters":[{"name":"reservation_ref","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Reservation Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Counselling Service Status Read"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/counselling-service/reservations/{reservation_ref}/accept":{"post":{"tags":["decision-universe-counselling-service"],"summary":"Counselling Service Accept","description":"Record a provider's signed acceptance.\n\nOnly ever *records* one. There is no path through this handler that produces\nan acceptance without the provider having sent it, which is why the route\ntakes no body a caller could put an acceptance in.","operationId":"counselling_service_accept","parameters":[{"name":"reservation_ref","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Reservation Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Counselling Service Accept"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/counselling-service/reservations/{reservation_ref}/cancel":{"post":{"tags":["decision-universe-counselling-service"],"summary":"Counselling Service Cancel","description":"Ask the provider to release the hour. Says nothing about money.\n\nWhether anything comes back is the commerce owner's answer to a separate\nquestion, and this route never guesses it.","operationId":"counselling_service_cancel","parameters":[{"name":"reservation_ref","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Reservation Ref"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/decision_universe__routes_counselling_service__CancelBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Counselling Service Cancel"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/counselling-service/reservations/{reservation_ref}/safeguarding":{"post":{"tags":["decision-universe-counselling-service"],"summary":"Counselling Service Safeguarding Report","description":"Forward a safeguarding report to the service owner.\n\nThe category and severity are the reporter's. Nothing here reads what\nsomebody wrote and forms a view about them.\n\nThis is the one route whose unbound answer has to be unusually careful: a\nperson reporting something serious must not be left thinking it went\nnowhere, so the response says plainly that no owner received it and points\nat support.","operationId":"counselling_service_safeguarding_report","parameters":[{"name":"reservation_ref","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Reservation Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SafeguardingBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Counselling Service Safeguarding Report"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/counselling-service/reservations/{reservation_ref}/remedy":{"post":{"tags":["decision-universe-counselling-service"],"summary":"Counselling Service Remedy Request","description":"Open a remedy with the service owner. Rebooks nothing and refunds nothing.","operationId":"counselling_service_remedy_request","parameters":[{"name":"reservation_ref","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Reservation Ref"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RemedyBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Counselling Service Remedy Request"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/counselling-service/reservations/{reservation_ref}/receipt":{"get":{"tags":["decision-universe-counselling-service"],"summary":"Counselling Service Receipt Read","description":"Read back both receipts: what we asked, and what the owner said.","operationId":"counselling_service_receipt_read","parameters":[{"name":"reservation_ref","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Reservation Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Counselling Service Receipt Read"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/outcomes":{"post":{"tags":["decision-universe-outcomes"],"summary":"Create Outcome Record","operationId":"record_decision_outcome","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateOutcomeRecordRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OutcomeMutationEnvelope"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/outcomes/datasets/{outcome_family}/manifest":{"get":{"tags":["decision-universe-outcomes"],"summary":"Read Dataset Manifest","operationId":"read_outcome_dataset_manifest","parameters":[{"name":"outcome_family","in":"path","required":true,"schema":{"type":"string","title":"Outcome Family"}},{"name":"verification_policy_version","in":"query","required":true,"schema":{"type":"string","minLength":3,"maxLength":80,"title":"Verification Policy Version"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OutcomeDatasetManifest"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/outcomes/{outcome_id}":{"get":{"tags":["decision-universe-outcomes"],"summary":"Read Outcome Record","operationId":"read_decision_outcome","parameters":[{"name":"outcome_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Outcome Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OutcomeProjection"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/outcomes/{outcome_id}/verify":{"post":{"tags":["decision-universe-outcomes"],"summary":"Verify Outcome Record","operationId":"verify_decision_outcome","parameters":[{"name":"outcome_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Outcome Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyOutcomeRecordRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OutcomeMutationEnvelope"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/outcomes/{outcome_id}/revoke":{"post":{"tags":["decision-universe-outcomes"],"summary":"Revoke Outcome Record","operationId":"revoke_decision_outcome","parameters":[{"name":"outcome_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Outcome Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RevokeOutcomeRecordRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OutcomeMutationEnvelope"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/reviews":{"post":{"tags":["decision-universe-review"],"summary":"Open Review","operationId":"open_review_case","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenReviewCaseRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewMutationEnvelope"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/reviews/{case_id}/claim":{"post":{"tags":["decision-universe-review"],"summary":"Claim Review","operationId":"claim_review_case","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Case Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClaimReviewCaseRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewMutationEnvelope"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/reviews/{case_id}/decisions":{"post":{"tags":["decision-universe-review"],"summary":"Decide Review","operationId":"record_review_decision","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Case Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmitReviewDecisionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewMutationEnvelope"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/reviews/{case_id}/appeals":{"post":{"tags":["decision-universe-review"],"summary":"Appeal Review","operationId":"appeal_review_case","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Case Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppealReviewCaseRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewMutationEnvelope"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/projection-grants":{"post":{"tags":["decision-universe-review"],"summary":"Create Projection Grant","operationId":"create_projection_grant","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateProjectionGrantRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewMutationEnvelope"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/reviews/{case_id}":{"get":{"tags":["decision-universe-review"],"summary":"Get Review","operationId":"read_review_case","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Case Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/parent/threads/{thread_id}":{"get":{"tags":["decision-universe-review"],"summary":"Get Parent Thread","operationId":"read_parent_thread_projection","parameters":[{"name":"thread_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Thread Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ParentThreadProjection"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/reviews/{case_id}/counsellor-projection":{"get":{"tags":["decision-universe-review"],"summary":"Get Counsellor Case","operationId":"read_counsellor_case_projection","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Case Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CounsellorCaseProjection"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/standing":{"get":{"tags":["decision-universe-convergence"],"summary":"Read Standing","description":"Where this family stands. No thread id, no pointer, no client state.\n\nDeclared before /journeys/{thread_id} is irrelevant here -- the paths do not\ncollide -- but the ordering in this file follows the reading order of the\nproduct: standing first, then the journey behind it.","operationId":"read_decision_standing","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandingSnapshot"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/journeys/{thread_id}":{"get":{"tags":["decision-universe-convergence"],"summary":"Reconstruct Journey","operationId":"read_decision_journey","parameters":[{"name":"thread_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Thread Id"}},{"name":"candidate_commit","in":"query","required":true,"schema":{"type":"string","minLength":7,"maxLength":64,"title":"Candidate Commit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneySnapshot"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/journeys/{thread_id}/snapshots":{"post":{"tags":["decision-universe-convergence"],"summary":"Persist Journey Snapshot","operationId":"create_decision_journey_snapshot","parameters":[{"name":"thread_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Thread Id"}},{"name":"candidate_commit","in":"query","required":true,"schema":{"type":"string","minLength":7,"maxLength":64,"title":"Candidate Commit"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConvergenceMutationEnvelope"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/corrections/fanout":{"post":{"tags":["decision-universe-convergence"],"summary":"Open Correction Fanout","operationId":"fan_out_source_correction","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenCrossProductCorrectionRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConvergenceMutationEnvelope"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/corrections/{correction_id}/consumers/{consumer_id}/ack":{"post":{"tags":["decision-universe-convergence"],"summary":"Acknowledge Correction Consumer","operationId":"acknowledge_correction_for_consumer","parameters":[{"name":"correction_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Correction Id"}},{"name":"consumer_id","in":"path","required":true,"schema":{"type":"string","title":"Consumer Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcknowledgeCorrectionConsumerRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConvergenceMutationEnvelope"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/journeys/projections":{"post":{"tags":["decision-universe-convergence"],"summary":"Build Journey Projection","operationId":"create_decision_journey_projection","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Decision Journey Projection"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/threads/{thread_id}/corrections":{"get":{"tags":["decision-universe-standing-view"],"summary":"Read Thread Corrections","description":"Source corrections that reached this chain, newest first, with the replacement each names.\n\nThe owner comes from the session. A thread that is not this family's is a 404.","operationId":"read_thread_corrections","parameters":[{"name":"thread_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Thread Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CorrectionOverlay"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/my-preferences":{"get":{"tags":["decision-universe-standing-view"],"summary":"Read My Preference Passport","description":"The family's own passport, found from the session rather than a browser pointer.\n\nThe passport id is fixed per family (preference_service derives it from the\ntenant and the actor), so a family who saved preferences on one device, or\nwhose pointer was never stored, can still find them. 404 when none exists.","operationId":"read_my_preference_passport","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/decision-spine/terminal-acceptance/{candidate_commit}":{"get":{"tags":["decision-universe-terminal-acceptance"],"summary":"Compile Terminal Receipt","operationId":"compile_terminal_receipt_api_v1_admin_decision_spine_terminal_acceptance__candidate_commit__get","parameters":[{"name":"candidate_commit","in":"path","required":true,"schema":{"type":"string","title":"Candidate Commit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TerminalAcceptanceReceipt"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/decision-spine/terminal-acceptance/{candidate_commit}/receipts":{"post":{"tags":["decision-universe-terminal-acceptance"],"summary":"Persist Terminal Receipt","operationId":"persist_terminal_receipt_api_v1_admin_decision_spine_terminal_acceptance__candidate_commit__receipts_post","parameters":[{"name":"candidate_commit","in":"path","required":true,"schema":{"type":"string","title":"Candidate Commit"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TerminalMutationEnvelope"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/rank-decisions/{rank_decision_id}/stability":{"get":{"tags":["predict-next-rank"],"summary":"Read Rank Stability","operationId":"read_rank_stability_api_v1_predict_rank_decisions__rank_decision_id__stability_get","parameters":[{"name":"rank_decision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Rank Decision Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RankStabilityProjection"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/rank-decisions/{rank_decision_id}/movement":{"get":{"tags":["predict-next-rank"],"summary":"Read Rank Movement","operationId":"read_rank_movement_api_v1_predict_rank_decisions__rank_decision_id__movement_get","parameters":[{"name":"rank_decision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Rank Decision Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RankMovementProjection"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/expansion/ecosystems":{"get":{"tags":["acespredict-exam-expansion"],"summary":"List Expansion Ecosystems","operationId":"list_expansion_ecosystems_api_v1_predict_expansion_ecosystems_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Expansion Ecosystems Api V1 Predict Expansion Ecosystems Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/expansion/candidate-projections":{"post":{"tags":["acespredict-exam-expansion"],"summary":"Create Candidate Projection","operationId":"create_candidate_projection_api_v1_predict_expansion_candidate_projections_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExpansionCandidateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExpansionCandidateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/choice-sets":{"post":{"tags":["predict-next-choice"],"summary":"Create Choice Set","operationId":"create_choice_set_api_v1_predict_choice_sets_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateChoiceSetRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PredictMutationEnvelope"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/pareto-decisions":{"post":{"tags":["predict-next-choice"],"summary":"Create Pareto Decision","operationId":"create_pareto_decision_api_v1_predict_pareto_decisions_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateParetoDecisionRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PredictMutationEnvelope"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/choice-list-decisions/{choice_list_id}":{"get":{"tags":["predict-next-choice-list"],"summary":"Read Choice List Decision","description":"Reopen a saved choice list.\n\nThe one route this product was missing. Everything here could be written,\naudited and superseded, and nothing could be read back, so the screen at\n/predict/choice-list/{id} rendered an empty instrument every time and part\n005 (\"saved as a version that can be re-opened\") was half a feature.\n\nNo Idempotency-Key and no If-Match: this changes nothing. It is not behind\nthe write flag either - see ChoiceListService.read_choice_list. The\nrepository scopes by owner_id, so another family's list is 404, not 403:\na stranger learns nothing about whether the id exists.","operationId":"read_choice_list_decision","parameters":[{"name":"choice_list_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Choice List Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChoiceListRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/choice-list-decisions":{"post":{"tags":["predict-next-choice-list"],"summary":"Create Choice List Decision","operationId":"create_choice_list_decision_api_v1_predict_choice_list_decisions_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateChoiceListDecisionRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChoiceListMutationEnvelope"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["predict-next-choice-list-reads"],"summary":"List Choice List Decisions","description":"The same answer at the address the spec's section 7 names (the collection).","operationId":"list_choice_list_decisions","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavedLists"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/choice-list-decisions/{choice_list_id}/audits":{"post":{"tags":["predict-next-choice-list"],"summary":"Create Choice List Audit","operationId":"create_choice_list_audit_api_v1_predict_choice_list_decisions__choice_list_id__audits_post","parameters":[{"name":"choice_list_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Choice List Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuditChoiceListRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChoiceListMutationEnvelope"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["predict-next-choice-list"],"summary":"Read Choice List Audits","description":"Every audit of one choice list, newest first (PRD R05).\n\nThis is part 005's stated reason made reachable: a later change to the\nlist compared against what an earlier audit flagged. Read-only, same\nreasoning as read_choice_audit above - not behind\nPREDNEXT_PR03_WRITES_ENABLED. The list id is owner-scoped first, so a list\nbelonging to another learner is 404, not a silently empty list.","operationId":"read_choice_list_audits","parameters":[{"name":"choice_list_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Choice List Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ChoiceAuditProjection"},"title":"Response Read Choice List Audits"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/choice-audits/{choice_audit_id}":{"get":{"tags":["predict-next-choice-list"],"summary":"Read Choice Audit","description":"Reopen one saved audit.\n\nThe declared audit address (`/predict/choice-audit/:choice_audit_id`,\nPRD R03) could not load itself: there was no GET on an audit at all, so a\nsaved audit could be written and never seen again. This is that read.\n\nGenuinely read-only - the audit table is append-only (migration 706's\npnx_pr03_guard trigger) and this route writes nothing - so, like\nChoiceListService.read_choice_list, it is deliberately NOT behind\nPREDNEXT_PR03_WRITES_ENABLED. That flag guards creating a new audit\n(ChoiceListService.audit_choice_list's self._require()), not reading one a\nlearner already owns. Scoped by owner_id in the repository, so another\nlearner's audit id comes back 404, not 403: a stranger learns nothing\nabout whether the id exists.","operationId":"read_choice_audit","parameters":[{"name":"choice_audit_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Choice Audit Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChoiceAuditProjection"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/choice-audits/{choice_audit_id}/acknowledgements":{"get":{"tags":["predict-next-choice-list"],"summary":"List Choice Audit Acknowledgements","description":"What the family has already said about each finding on one audit.\n\nThe acknowledgement POST below stored a decision (\"I read this and I am\nkeeping my order\" or \"... I will change it\") that nothing ever read back,\nso the screen could not show which flags were already considered. This is\nthat read. Read-only and not behind PREDNEXT_PR03_WRITES_ENABLED, like the\nother audit reads. A stranger's audit id answers 404.","operationId":"list_choice_audit_acknowledgements","parameters":[{"name":"choice_audit_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Choice Audit Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ChoiceAuditAcknowledgementProjection"},"title":"Response List Choice Audit Acknowledgements"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/choice-audits/{choice_audit_id}/view":{"get":{"tags":["predict-next-choice-list"],"summary":"Read Choice Audit View","description":"One saved audit as a family reads it: a row per position, a sentence,\nconsequence, rule and read date per finding, and the positions that could\nnot be checked. `outcome` is CLEAN only when nothing was found and nothing\nwent unexamined. Read-only, owner-scoped (a stranger's id is 404), and not\nbehind the write flag.","operationId":"read_choice_audit_view","parameters":[{"name":"choice_audit_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Choice Audit Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChoiceAuditView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/choice-list-decisions/{choice_list_id}/audit-view":{"get":{"tags":["predict-next-choice-list"],"summary":"Read Choice List Audit View","description":"The newest audit of one list in the same shape, or null when the list\nhas not been checked yet. Read-only and owner-scoped.","operationId":"read_choice_list_audit_view","parameters":[{"name":"choice_list_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Choice List Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/ChoiceAuditView"},{"type":"null"}],"title":"Response Read Choice List Audit View"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/choice-list-decisions/{choice_list_id}/successors":{"post":{"tags":["predict-next-choice-list"],"summary":"Create Choice List Successor","operationId":"create_choice_list_successor_api_v1_predict_choice_list_decisions__choice_list_id__successors_post","parameters":[{"name":"choice_list_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Choice List Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateChoiceSuccessorRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChoiceListMutationEnvelope"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/choice-audits/{choice_audit_id}/coverage":{"get":{"tags":["predict-next-choice-list"],"summary":"Read Choice Audit Coverage","description":"What this audit checked, and what it could not (PRD R04, part 006).\n\nThe honest half of the product. Four of the ten declared checks cannot run\nat all today, for want of a reachability band, a stored priority profile and\nthe learner's category. So an audit that genuinely found nothing wrong and\nan audit of a list almost nothing could be examined on are the same bytes on\nthe wire: an empty findings array. This read is what separates them, and R04\nexists so that separation cannot be collapsed by a later layout change.\n\nTwo sources, in order of preference:\n\n1. This audit's own decision_universe.predict_choice_audit_coverage rows\n   (JOB-1096 §4.3 item 1) -- one per position, written alongside the audit\n   itself, and precise: a check can be `implemented` audit-wide and still\n   be unchecked for one specific position (no calibrated reachability\n   band for that one option, say). When these rows exist, every count\n   below is read from them, never re-derived from CHECK_INVENTORY.\n2. The declared inventory in algorithms_choice_list, exactly as before --\n   used only for an audit written before this store existed, so an old\n   audit keeps reading the same coarse, but still honest, answer it\n   always did. This path never re-derives from the findings either, for\n   the identical reason: a list with no findings and a list nothing could\n   be checked on both serialise as an empty findings array, and counting\n   findings would report perfect coverage for the second, which is the\n   exact failure R04 exists to prevent.\n\nRead-only and owner-scoped, same as the two reads above, and not behind\nPREDNEXT_PR03_WRITES_ENABLED.","operationId":"read_choice_audit_coverage","parameters":[{"name":"choice_audit_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Choice Audit Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChoiceAuditCoverageProjection"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/choice-audit/eligibility":{"get":{"tags":["predict-next-choice-list"],"summary":"Read Choice Audit Eligibility","description":"Can this learner run an audit now (PRD section 7, part 001).\n\nRead-only -- like the three GET routes above, deliberately NOT behind\nPREDNEXT_PR03_WRITES_ENABLED, so the Locked-Useful state (section 9) can\nalways render the real scope even while writes are off. Entitlement facts\ncome from OS09 at request time (`ChoiceListService._read_choice_audit_commerce_access`\n/ `_read_choice_audit_quota`); nothing here is a hardcoded tier, cap or\nprice. `choice_list_id` is optional: when omitted, `near_final_list_state`\nreports `NOT_CHECKED` rather than a guess.","operationId":"read_choice_audit_eligibility","parameters":[{"name":"choice_list_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Choice List Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChoiceAuditEligibilityProjection"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/choice-audits/{choice_audit_id}/findings/{finding_id}/acknowledge":{"post":{"tags":["predict-next-choice-list"],"summary":"Acknowledge Choice Audit Finding","description":"Part 007's acceptance half (PRD section 7): record that the family\nread a finding and either accepted it or consciously kept the position.\n\nA write, so it follows the same three conventions as the existing audit\nPOST route: an `Idempotency-Key`, the service layer\n(`ChoiceListService.acknowledge_choice_audit_finding`), and\n`PREDNEXT_PR03_WRITES_ENABLED` (`ChoiceListService._require()`).\n`finding_id` is the finding's position in the audit's own immutable\n`findings` array -- the audit is append-only and never reordered, so that\nposition is a stable identity without needing a new column on\n`ChoiceAuditFinding` in the already-shipped `predict_choice_audits` table.","operationId":"acknowledge_choice_audit_finding","parameters":[{"name":"choice_audit_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Choice Audit Id"}},{"name":"finding_id","in":"path","required":true,"schema":{"type":"integer","minimum":0,"title":"Finding Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcknowledgeChoiceAuditFindingRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChoiceListMutationEnvelope"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/choice-list/saved":{"get":{"tags":["predict-next-choice-list-reads"],"summary":"List Saved Choice Lists","description":"The caller's saved lists, one row per list with its newest version first and the\nearlier ones behind it. Both stores, one answer. Free to read at any tier.","operationId":"list_saved_choice_lists","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavedLists"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/choice-list/{choice_list_id}":{"get":{"tags":["predict-next-choice-list-reads"],"summary":"Read Choice List Either Store","description":"One saved list from whichever store holds it: {lane, choice_list}. Declared AFTER /choice-list/saved.","operationId":"read_choice_list_either_store","parameters":[{"name":"choice_list_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Choice List Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Choice List Either Store"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/choice-list-decisions/{choice_list_id}/sources":{"get":{"tags":["predict-next-choice-list-reads"],"summary":"Read Choice List Sources","description":"Which source stands behind each position: name, version, the day it was read and whether it\nis still current. A position with no source on record says UNKNOWN and why.","operationId":"read_choice_list_sources","parameters":[{"name":"choice_list_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Choice List Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChoiceListSources"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/choice-list-decisions/{choice_list_id}/eligibility":{"get":{"tags":["predict-next-choice-list-reads"],"summary":"Read Choice List Eligibility","description":"The Check One Option result already stored for each position. Never computed here.","operationId":"read_choice_list_eligibility","parameters":[{"name":"choice_list_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Choice List Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChoiceListEligibility"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/choice-list-decisions/{choice_list_id}/handoff":{"get":{"tags":["predict-next-choice-list-reads"],"summary":"Read Choice List Handoff","description":"The order as Your Seat Path reads it: college_decision_id plus the option ids in order (the\nbody its what-if takes), with the digests. A reference and an order, never copied rows.","operationId":"read_choice_list_handoff","parameters":[{"name":"choice_list_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Choice List Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HandoffOrder"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/choice-list-decisions/{choice_list_id}/exports":{"get":{"tags":["predict-next-choice-list-reads"],"summary":"List Choice List Exports","operationId":"list_choice_list_exports","parameters":[{"name":"choice_list_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Choice List Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChoiceListExports"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/choice-list-decisions/{choice_list_id}/export":{"post":{"tags":["predict-next-choice-list-reads"],"summary":"Export Choice List","description":"Hand the newest version to Your Seat Path or add it to a decision thread. Owner-triggered,\nbehind PREDNEXT_PR03_WRITES_ENABLED, and idempotent: pressing twice leaves one live hand-off.","operationId":"export_choice_list","parameters":[{"name":"choice_list_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Choice List Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportChoiceListRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChoiceListMutationEnvelope"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/choice-list-decisions/{choice_list_id}/export/{export_id}":{"delete":{"tags":["predict-next-choice-list-reads"],"summary":"Withdraw Choice List Export","description":"Withdraw a hand-off. The record stays, marked withdrawn; a reference already added to a\ndecision chain stays in that chain's history.","operationId":"withdraw_choice_list_export","parameters":[{"name":"choice_list_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Choice List Id"}},{"name":"export_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Export Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChoiceListMutationEnvelope"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/choice-list-decisions/{choice_list_id}/address":{"get":{"tags":["predict-next-choice-list-reads"],"summary":"Resolve Choice List Address","description":"Where a saved list opens for this way of arriving. ``return_to`` and any tenant or\nbeneficiary a link tries to carry are refused; the server uses the signed-in person's own.","operationId":"resolve_choice_list_address","parameters":[{"name":"choice_list_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Choice List Id"}},{"name":"entry_mode","in":"query","required":false,"schema":{"type":"string","default":"direct","title":"Entry Mode"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Resolve Choice List Address"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/parent/children/{child_id}/choice-lists":{"get":{"tags":["choice-list-parent"],"summary":"Choice List Parent List","description":"A linked child's saved lists, newest first, each already cut to one sentence and one count.","operationId":"choice_list_parent_list","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ParentChoiceLists"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/parent/choice-lists/{choice_list_id}":{"get":{"tags":["choice-list-parent"],"summary":"Choice List Parent View","description":"One list as a linked parent may read it.","operationId":"choice_list_parent_view","parameters":[{"name":"choice_list_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Choice List Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ParentChoiceListView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/counselling-coordination-decisions":{"post":{"tags":["predict-next-counselling"],"summary":"Coordinate","operationId":"coordinate_api_v1_predict_counselling_coordination_decisions_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCoordinationDecisionRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CounsellingMutationEnvelope"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/round-action-decisions":{"post":{"tags":["predict-next-counselling"],"summary":"Round Action","operationId":"round_action_api_v1_predict_round_action_decisions_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateRoundActionDecisionRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CounsellingMutationEnvelope"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/round-actions/current":{"get":{"tags":["predict-next-counselling"],"summary":"Read Current Round Action","description":"Part 001/002/006: the current open round for this family, its\nallotment reference, list and choice-list lineage, priorities\n(risk_tolerance is not persisted per-decision beyond its effect on which\naction was advised, so it is not restated here), and the deadline -- or\nthe honest `has_open_round=False` when nothing on file has a future\ndeadline. Owner-scoped by construction: the repository query is always\nfiltered to the caller's own owner_id, so this can never return another\nfamily's round.","operationId":"read_current_round_action","parameters":[{"name":"authority","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":2,"maxLength":120},{"type":"null"}],"title":"Authority"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoundActionCurrentProjection"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/round-actions/{round_action_decision_id}":{"get":{"tags":["predict-next-counselling"],"summary":"Read Round Action Decision","description":"Part 005/007: one advice record, with its rule version, reasons,\nassumptions and receipt -- the read PRD section 13.3 calls out as\nentirely missing (\"there is no read route at all, so the receipt written\nin part 005 cannot be opened by the family it was written for\"). Owner\nscoped: a stranger's id is 404, not 403, so existence is never leaked.","operationId":"read_round_action_decision","parameters":[{"name":"round_action_decision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Round Action Decision Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoundActionDecisionRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/round-actions":{"get":{"tags":["predict-next-counselling"],"summary":"Read Round Action History","description":"Part 005: the season's advice history for this family, newest first.\n`season` has no column of its own in migration 710; the repository\nfilters it against the calendar year of each round's own deadline_at,\nwhich is the nearest real, stored fact -- see\nPostgresCounsellingRepository.round_actions_for_owner.","operationId":"read_round_action_history","parameters":[{"name":"authority","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":2,"maxLength":120},{"type":"null"}],"title":"Authority"}},{"name":"season","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":4,"maxLength":9},{"type":"null"}],"title":"Season"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoundActionHistoryProjection"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/round-actions/{round_action_decision_id}/actions":{"get":{"tags":["predict-next-counselling"],"summary":"Read Round Action Consequence Table","description":"Part 003/004: the modelled consequence table, calling\nalgorithms_counselling.derive_round_action_consequences (the JOB-1100\nconsequence engine) rather than reimplementing its keeps/gives-up logic.\n\nThat function's primary entry point expects the full request body\n(`body.options`, one full RoundActionOption per permitted action). No\ntable in this schema persists that body -- migration 710 keeps only the\nadvised option's three booleans, and shared_command_receipts stores a\nrequest_digest, never the request itself. So this route calls the\nlower-level `derive_round_action_consequences` directly and passes\n`rule_release_covered_action_codes={advised_code}` when the decision is\nREADY: that marks the one option this product actually has stored detail\nfor as covered, and every alternative -- reconstructed from its bare\naction code only -- naturally falls out the other side as\n`consequence_state='NOT_KNOWN'`, never a fabricated keeps/gives-up pair.\nWhen the decision is not READY (HELD or EXPIRED), nothing was ever\nscored, so `rule_state` is passed as not-PUBLISHED and every row comes\nback NOT_KNOWN with AUTHORITY_RULE_NOT_CURRENT, matching the fail-closed\ngate in advise_round_action.\n\nJOB-1101: this route ALSO now resolves the authority's Permitted Action\nResolver release for the decision's own authority+round, at read time.\nIf a release currently resolves, every alternative whose action is\npermitted AND fully stated (all three consequence booleans not None) is\nrebuilt from the release's own real values instead of the placeholder\n`False`s above -- alternatives stop being blanket NOT_KNOWN once a\nrelease is encoded, which is the actual payoff of this job. An action\nthat is only partially stated, or not permitted at all under the\nresolved release, keeps today's placeholder/NOT_KNOWN treatment -- it is\nnever marked covered on a guess. If no release resolves (any refusal\ncode, including simply none ever encoded), behaviour is byte-for-byte\nwhat it was before this job: `covered={advised_code}` when READY, so\nnothing regresses before any rules are encoded.\n\nThe resolve call above now also passes `allotment_is_first_choice` --\nread from this decision's own stored `allotted_option_id` (None means\n\"we do not know\", never \"not the first choice\") compared against\n`first_choice_option_id` for its choice list, only when both are known\n-- and `seat_system=None`, honestly, because a stored decision carries no\ncolumn for which seat system governs it. Passing these means an action\nwhose encoded `availability_condition` needs either fact resolves the\nsame three ways here as it does on the resolver's own read/write paths:\npermitted, not permitted, or -- when the fact is not known for this\ndecision -- absent from `permitted_actions` and therefore excluded from\n`fully_stated_codes`/`covered` here too, so it degrades to this route's\nexisting NOT_KNOWN treatment rather than ever being marked covered on an\nunconfirmed condition. `financial_exposure_minor` is carried through\nfrom the resolved release's own published figure whenever an action is\ncovered this way -- never invented, and never coerced to 0 when the\nrelease states none.","operationId":"read_round_action_consequence_table","parameters":[{"name":"round_action_decision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Round Action Decision Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoundActionConsequenceTableProjection"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/round-actions/{round_action_decision_id}/rule":{"get":{"tags":["predict-next-counselling"],"summary":"Read Round Action Rule Release","description":"Part 007: the exact rule release behind the advice -- authority,\nround, version, publisher, published date, source ref. Publisher and\npublished date are read from decision_universe.source_snapshots when a\nmatching row can still be found; source_lookup='NOT_FOUND' says plainly\nwhen it cannot, rather than leaving those fields silently null with no\nexplanation. The lookup is intentionally not restricted to APPROVED,\nnon-recalled snapshots (unlike the write path's approved_source_reference)\nso a rule recalled after this decision was written shows as recalled now,\nnever as if nothing had changed.","operationId":"read_round_action_rule_release","parameters":[{"name":"round_action_decision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Round Action Decision Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoundActionRuleProjection"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/round-actions/{round_action_decision_id}/parent-projection":{"get":{"tags":["predict-next-counselling"],"summary":"Read Round Action Parent Projection","description":"The dangerous one. A purpose-scoped, server-filtered digest for a\nlinked parent -- see RoundActionParentProjection's own docstring in\nmodels_counselling.py for the exact field-by-field cut and why. The\ncaller must hold the 'parent' role, and must hold a live ACTIVE\nprojection_grants row (audience_type='PARENT') on the Decision Thread\nthis round-action decision was attached to (ref_type='ROUND_ACTION_DECISION',\nfrom decision_thread_refs). No grant, no thread attachment, or no such\ndecision all resolve to 404 -- a caller who does not already know this\nfamily cannot learn anything, including whether the id exists. A grant\nthat once existed and lapsed resolves to 403 with the exact reason,\nmatching PostgresReviewRepository.active_grant's own split.","operationId":"read_round_action_parent_projection","parameters":[{"name":"round_action_decision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Round Action Decision Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoundActionParentProjection"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/round-rules/{authority}/{round_id}":{"get":{"tags":["predict-next-round-rules"],"summary":"Resolve Round Rule","description":"The full resolved rule -- release identity, digest, version, and the\ncomplete permitted-actions set -- or a 409 refusal (see module\ndocstring). `allow_synthetic` defaults to False for every caller,\nincluding operators; a caller must ask for synthetic content by name,\nsame as `resolve_published_rule`'s own default (law 6).","operationId":"resolve_round_rule","parameters":[{"name":"authority","in":"path","required":true,"schema":{"type":"string","title":"Authority"}},{"name":"round_id","in":"path","required":true,"schema":{"type":"string","title":"Round Id"}},{"name":"allow_synthetic","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Allow Synthetic"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublishedRoundRule"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/round-rules/{authority}/{round_id}/actions":{"get":{"tags":["predict-next-round-rules"],"summary":"Resolve Round Rule Actions","description":"The permitted set only -- `PublishedRoundRule.permitted_actions`,\nnever a bare list on its own. Kept as a genuinely separate route (not a\nclient-side `.permitted_actions` projection of the route above) because\na caller who only wants the action list should not be required to also\nparse `resolver_digest` / `resolved_at` / `rule_release_digest`, but must\nstill go through the identical `resolve()` call and the identical 409\nrefusal path above -- there is no second, narrower resolution here that\ncould disagree with the full-rule route.","operationId":"resolve_round_rule_permitted_actions","parameters":[{"name":"authority","in":"path","required":true,"schema":{"type":"string","title":"Authority"}},{"name":"round_id","in":"path","required":true,"schema":{"type":"string","title":"Round Id"}},{"name":"allow_synthetic","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Allow Synthetic"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object"},"title":"Response Resolve Round Rule Permitted Actions"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/round-rules/releases":{"post":{"tags":["predict-next-round-rules"],"summary":"Encode Release","description":"Starts a release as HELD (law 7: publishing is a separate, reviewed\nstep). `body.is_synthetic=True` additionally requires\n`PREDNEXT_PR04_ALLOW_SYNTHETIC_ENCODING` -- see\n`RoundRuleService.encode_release`.","operationId":"encode_round_rule_release","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EncodeReleaseRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoundRuleMutationEnvelope"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/round-rules/releases/{rule_release_id}/actions":{"post":{"tags":["predict-next-round-rules"],"summary":"Encode Action","description":"`body` also carries the JOB-1101 `availability_condition` /\n`seat_system_scope` / `financial_exposure_minor` / `financial_exposure_currency`\nfields (defaulting to unconditional/unscoped/no-cost, matching the\ndatabase column defaults). `EncodeActionRequest`'s own validator rejects\nan amount supplied without a currency, or a currency without an amount,\nwith a 422 here at the door -- the database's identical paired CHECK\nconstraint is the backstop, not the first place this is caught.","operationId":"encode_round_rule_action","parameters":[{"name":"rule_release_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Rule Release Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EncodeActionRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoundRuleMutationEnvelope"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/round-rules/releases/{rule_release_id}/publish":{"post":{"tags":["predict-next-round-rules"],"summary":"Publish Release","description":"`body.reviewed_by` is required (min_length=1) -- a caller cannot even\nconstruct a request that tries to publish without naming a reviewer; the\ndatabase's own `CHECK (state<>'PUBLISHED' OR reviewed_by IS NOT NULL)`\nis the real backstop (law 7), this is the door-side half of it.","operationId":"publish_round_rule_release","parameters":[{"name":"rule_release_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Rule Release Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublishReleaseRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoundRuleMutationEnvelope"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/round-rules/releases/{rule_release_id}/recall":{"post":{"tags":["predict-next-round-rules"],"summary":"Recall Release","operationId":"recall_round_rule_release","parameters":[{"name":"rule_release_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Rule Release Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoundRuleMutationEnvelope"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/admission-cost-decisions":{"post":{"tags":["prednext-admission-cost-corrections"],"summary":"Create Cost","operationId":"create_cost_api_v1_predict_admission_cost_decisions_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAdmissionCostDecisionRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/counselling/cost":{"get":{"tags":["prednext-admission-cost-corrections"],"summary":"Cost Read","operationId":"cost_read_api_v1_predict_counselling_cost_get","parameters":[{"name":"context_id","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Context Id"}},{"name":"admission_cycle","in":"query","required":true,"schema":{"type":"string","minLength":2,"maxLength":100,"title":"Admission Cycle"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/counselling/cost/decisions":{"get":{"tags":["prednext-admission-cost-corrections"],"summary":"Cost Decisions","description":"The signed-in family's own saved cost decisions, newest first, so a tool can ask the family which one it is about. Read-only; not behind the write flag; no amounts.","operationId":"list_admission_cost_decisions","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/counselling/cost/decisions/{decision_id}":{"get":{"tags":["prednext-admission-cost-corrections"],"summary":"Cost Decision By Id","description":"One exact saved cost decision of the signed-in family, current or replaced (the Personal Evidence door). Read-only;\nnot behind the write flag. A replaced version comes back as stored, state SUPERSEDED. Another family's id is a 404.","operationId":"read_admission_cost_decision_by_id","parameters":[{"name":"decision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Decision Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/counselling/cost/sources":{"get":{"tags":["prednext-admission-cost-corrections"],"summary":"Fee Sources","description":"Which fee documents are loaded and which are missing, plus any amount already stored on a published counselling rule with its clause. Read-only; not behind the write flag.","operationId":"read_admission_cost_fee_sources","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/counselling/cost/fee-schedule":{"get":{"tags":["prednext-admission-cost-corrections"],"summary":"Fee Schedule","description":"The approved fee components of one institute that apply to this programme and category, each with its clause and the date we read it. Read-only; not behind the write flag. Nothing approved means nothing shown, said plainly.","operationId":"read_admission_cost_fee_schedule","parameters":[{"name":"institute_key","in":"query","required":true,"schema":{"type":"string","minLength":2,"maxLength":120,"pattern":"^[a-z0-9][a-z0-9._-]*$","title":"Institute Key"}},{"name":"programme","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":120},{"type":"null"}],"title":"Programme"}},{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":40},{"type":"null"}],"title":"Category"}},{"name":"income_band","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":2,"maxLength":40,"pattern":"^[A-Za-z0-9_]+$"},{"type":"null"}],"title":"Income Band"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/counselling/cost/order":{"get":{"tags":["prednext-admission-cost-corrections"],"summary":"Cost Order","description":"Part 013. The family's own saved list, its placed options only, in order of one published fee line, each with its\ndocument, clause, page and the date we read it. A second view: it writes nothing and the family's order is unchanged.\nRead-only; not behind the write flag. The list is read as the signed-in family's own; anyone else's is a 404.","operationId":"read_admission_cost_order","parameters":[{"name":"choice_list_id","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Choice List Id"}},{"name":"basis","in":"query","required":false,"schema":{"type":"string","minLength":3,"maxLength":60,"default":"TUITION.PER_SEMESTER","title":"Basis"}},{"name":"income_band","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":3,"maxLength":40},{"type":"null"}],"title":"Income Band"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CostOrderView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/counselling/cost/exposure-chips":{"get":{"tags":["prednext-admission-cost-corrections"],"summary":"Cost Exposure Chips","description":"Part 005. One deposit-exposure chip for each placed option of the family's own saved list: the deposit and seat-acceptance\nmoney the institute's own fee notice prints for that seat, its refund rule and last refund day if printed, with document, clause,\npage and read date; or, in plain words, that we hold no notice yet. Read in one batch. Writes nothing and changes no order.\nFree to read; not behind the write flag. The list is read as the signed-in family's own; anyone else's is a 404.","operationId":"read_admission_cost_exposure_chips","parameters":[{"name":"choice_list_id","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Choice List Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExposureChipsView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decision-spine/corrections/{correction_id}/ack":{"post":{"tags":["prednext-admission-cost-corrections"],"summary":"Acknowledge","operationId":"acknowledge_admission_cost_correction","parameters":[{"name":"correction_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Correction Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/decision_universe__models_admission_cost__AcknowledgeCorrectionRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/decision-universe/source-impacts":{"post":{"tags":["prednext-source-sentinel"],"summary":"Impact","operationId":"impact_api_v1_admin_decision_universe_source_impacts_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSourceImpactRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/outcomes/review":{"get":{"tags":["prednext-terminal"],"summary":"Outcome Review","operationId":"outcome_review_api_v1_predict_outcomes_review_get","parameters":[{"name":"asOfDate","in":"query","required":true,"schema":{"type":"string","format":"date","title":"Asofdate"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/product-receipt":{"get":{"tags":["prednext-terminal"],"summary":"Product Receipt","operationId":"product_receipt_api_v1_predict_product_receipt_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/institution/predict/decision-cases":{"get":{"tags":["institution-predict-terminal"],"summary":"Institution Cases","operationId":"institution_cases_api_v1_institution_predict_decision_cases_get","parameters":[{"name":"institutionId","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Institutionid"}},{"name":"purpose","in":"query","required":true,"schema":{"type":"string","pattern":"^(CASE_COORDINATION|OUTCOME_OPERATIONS|COUNSELLING_SUPPORT)$","title":"Purpose"}},{"name":"relationshipGrantRef","in":"query","required":true,"schema":{"type":"string","minLength":4,"maxLength":300,"title":"Relationshipgrantref"}},{"name":"consentGrantRef","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":4,"maxLength":300},{"type":"null"}],"title":"Consentgrantref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/predict/calibrations":{"post":{"tags":["prednext-terminal-admin"],"summary":"Create Calibration","operationId":"create_calibration_api_v1_admin_predict_calibrations_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAdmissionCalibrationRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/graph/releases/current":{"get":{"tags":["pathways"],"summary":"Read Current Graph Release","operationId":"read_current_graph_release_api_v1_pathways_graph_releases_current_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GraphReleaseProjection"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/entities/{entity_id}":{"get":{"tags":["pathways"],"summary":"Read Pathway Entity","operationId":"read_pathway_entity_api_v1_pathways_entities__entity_id__get","parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityProjection"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/atlas/degrees":{"get":{"tags":["pathway-rules"],"summary":"Degree Atlas","operationId":"degree_atlas_api_v1_pathways_atlas_degrees_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Q"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":30,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AtlasPage"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/atlas/occupations":{"get":{"tags":["pathway-rules"],"summary":"Occupation Atlas","operationId":"occupation_atlas_api_v1_pathways_atlas_occupations_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Q"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":30,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AtlasPage"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/contexts":{"post":{"tags":["pathway-rules"],"summary":"Create Context","operationId":"create_context_api_v1_pathways_contexts_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PathwayContextRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PathwayMutationEnvelope"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/eligibility-decisions":{"post":{"tags":["pathway-rules"],"summary":"Create Eligibility","operationId":"create_eligibility_api_v1_pathways_eligibility_decisions_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EligibilityDecisionRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PathwayMutationEnvelope"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/forward-decisions":{"post":{"tags":["pathways-traversal"],"summary":"Create Forward Decision","operationId":"create_forward_decision_api_v1_pathways_forward_decisions_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TraversalDecisionRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PathwayTraversalMutationEnvelope"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/reverse-decisions":{"post":{"tags":["pathways-traversal"],"summary":"Create Reverse Decision","operationId":"create_reverse_decision_api_v1_pathways_reverse_decisions_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TraversalDecisionRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PathwayTraversalMutationEnvelope"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/routes/{route_id}":{"get":{"tags":["pathways-traversal"],"summary":"Read Route","operationId":"read_route_api_v1_pathways_routes__route_id__get","parameters":[{"name":"route_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Route Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RouteItineraryProjection"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/forward/plans":{"post":{"tags":["pathways-planner-plans"],"summary":"Save Plan","operationId":"save_forward_plan","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavePlannerPlanRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Save Forward Plan"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["pathways-planner-plans"],"summary":"List Plans","operationId":"list_forward_plans","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response List Forward Plans"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/forward/plans/{plan_id}":{"get":{"tags":["pathways-planner-plans"],"summary":"Read Plan","operationId":"read_forward_plan","parameters":[{"name":"plan_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Plan Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Read Forward Plan"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/forward/plans/{plan_id}/rerun":{"post":{"tags":["pathways-planner-plans"],"summary":"Rerun Plan","operationId":"rerun_forward_plan","parameters":[{"name":"plan_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Plan Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Rerun Forward Plan"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/forward/plans/{plan_id}/milestones/{milestone_id}/complete":{"post":{"tags":["pathways-planner-plans"],"summary":"Complete Step","operationId":"complete_forward_milestone","parameters":[{"name":"plan_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Plan Id"}},{"name":"milestone_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Milestone Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/decision_universe__routes_planner_plans__CompletePlanStepRequest"},{"type":"null"}],"title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Complete Forward Milestone"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/reverse/plans":{"post":{"tags":["pathways-planner-plans"],"summary":"Save Plan","operationId":"save_reverse_plan","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavePlannerPlanRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Save Reverse Plan"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["pathways-planner-plans"],"summary":"List Plans","operationId":"list_reverse_plans","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response List Reverse Plans"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/reverse/plans/{plan_id}":{"get":{"tags":["pathways-planner-plans"],"summary":"Read Plan","operationId":"read_reverse_plan","parameters":[{"name":"plan_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Plan Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Read Reverse Plan"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/reverse/plans/{plan_id}/rerun":{"post":{"tags":["pathways-planner-plans"],"summary":"Rerun Plan","operationId":"rerun_reverse_plan","parameters":[{"name":"plan_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Plan Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Rerun Reverse Plan"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/reverse/plans/{plan_id}/requirements/{requirement_id}/complete":{"post":{"tags":["pathways-planner-plans"],"summary":"Complete Step","operationId":"complete_reverse_requirement","parameters":[{"name":"plan_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Plan Id"}},{"name":"requirement_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Requirement Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/decision_universe__routes_planner_plans__CompletePlanStepRequest"},{"type":"null"}],"title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Complete Reverse Requirement"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/forward/destinations":{"get":{"tags":["pathways-planner-plans"],"summary":"Search Destinations","description":"Read only. Nothing about the signed-in learner is read or returned; the session only has to be a signed-in one.","operationId":"search_forward_destinations","parameters":[{"name":"query","in":"query","required":false,"schema":{"type":"string","maxLength":80,"default":"","title":"Query"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":25,"minimum":1,"default":15,"title":"Limit"}},{"name":"kind","in":"query","required":false,"schema":{"enum":["ALL","CAREER","STUDY"],"type":"string","default":"ALL","title":"Kind"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Search Forward Destinations"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/forward/decisions/{pathway_decision_id}/blocked-statement":{"get":{"tags":["pathways-forward-blocked"],"summary":"Read Blocked Statement","operationId":"read_forward_blocked_statement","parameters":[{"name":"pathway_decision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pathway Decision Id"}},{"name":"destination_entity_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Destination Entity Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Read Forward Blocked Statement"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/forward-decisions/{decision_id}/constraint-requests":{"post":{"tags":["pathways-forward-constraints"],"summary":"Issue Constraint Requests","operationId":"issue_constraint_requests_api_v1_pathways_forward_decisions__decision_id__constraint_requests_post","parameters":[{"name":"decision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Decision Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IssueForwardConstraintRequests"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForwardConstraintRequestsEnvelope"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["pathways-forward-constraints"],"summary":"Read Constraint Requests","operationId":"read_constraint_requests_api_v1_pathways_forward_decisions__decision_id__constraint_requests_get","parameters":[{"name":"decision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Decision Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForwardConstraintRequestsEnvelope"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/forward-decisions/constraint-requests/{request_id}":{"get":{"tags":["pathways-forward-constraints"],"summary":"Read Constraint Request","operationId":"read_constraint_request_api_v1_pathways_forward_decisions_constraint_requests__request_id__get","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Request Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/forward-decisions/constraint-requests/{request_id}/responses":{"post":{"tags":["pathways-forward-constraints"],"summary":"Respond To Constraint Request","operationId":"respond_to_constraint_request_api_v1_pathways_forward_decisions_constraint_requests__request_id__responses_post","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Request Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmitForwardConstraintResponse"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForwardConstraintResponseEnvelope"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/forward/plans-allowance":{"get":{"tags":["pathways-planner-plans"],"summary":"Plans Allowance","operationId":"read_forward_plans_allowance","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Read Forward Plans Allowance"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/reverse/plans-allowance":{"get":{"tags":["pathways-planner-plans"],"summary":"Plans Allowance","operationId":"read_reverse_plans_allowance","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Read Reverse Plans Allowance"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/forward-digest/{child_id}":{"get":{"tags":["planner-parent"],"summary":"Planner Parent Forward Digest","description":"P10: one sentence and one date from the child's newest forward plan.","operationId":"planner_parent_forward_digest","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/reverse-digest/{child_id}":{"get":{"tags":["planner-parent"],"summary":"Planner Parent Reverse Digest","description":"P11: one sentence from the child's newest backward plan.","operationId":"planner_parent_reverse_digest","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/recovery-decisions":{"post":{"tags":["pathways-recovery-transition"],"summary":"Recovery","operationId":"recovery_api_v1_pathways_recovery_decisions_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateRecoveryDecisionRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PathwayRecoveryMutationEnvelope"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["pathways-recovery-transition"],"summary":"Recovery List","operationId":"recovery_list_api_v1_pathways_recovery_decisions_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":20,"minimum":1,"default":5,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/transition-decisions":{"post":{"tags":["pathways-recovery-transition"],"summary":"Transition","operationId":"transition_api_v1_pathways_transition_decisions_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTransitionDecisionRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PathwayRecoveryMutationEnvelope"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/recovery-decisions/keep-route":{"post":{"tags":["pathways-recovery-transition"],"summary":"Keep Recovery Route","operationId":"keep_recovery_route","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeepRecoveryRouteRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PathwayRecoveryMutationEnvelope"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/transition-decisions/accept-step":{"post":{"tags":["pathways-recovery-transition"],"summary":"Accept Transition Step","operationId":"accept_recovery_transition_step","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContinueRecoveryStepRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PathwayRecoveryMutationEnvelope"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/recovery/handoffs/{intent_id}/accept":{"post":{"tags":["pathways-recovery-transition"],"summary":"Accept Recovery Handoff","operationId":"accept_recovery_handoff","parameters":[{"name":"intent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Intent Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/AcceptRecoveryHandoffRequest"},{"type":"null"}],"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PathwayRecoveryMutationEnvelope"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/recovery-decisions/{recovery_decision_id}":{"get":{"tags":["pathways-recovery-transition"],"summary":"Recovery Read","operationId":"recovery_read_api_v1_pathways_recovery_decisions__recovery_decision_id__get","parameters":[{"name":"recovery_decision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Recovery Decision Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/recovery-decisions/{recovery_decision_id}/route-options":{"get":{"tags":["pathways-recovery-transition"],"summary":"Recovery Route Options","operationId":"list_recovery_route_options","parameters":[{"name":"recovery_decision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Recovery Decision Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/recovery-route-acceptances/{acceptance_id}":{"get":{"tags":["pathways-recovery-transition"],"summary":"Recovery Route Acceptance","operationId":"read_recovery_route_acceptance","parameters":[{"name":"acceptance_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Acceptance Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/recovery-decisions/{recovery_decision_id}/closures":{"get":{"tags":["pathways-recovery-transition"],"summary":"Recovery Closures","operationId":"recovery_closures_api_v1_pathways_recovery_decisions__recovery_decision_id__closures_get","parameters":[{"name":"recovery_decision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Recovery Decision Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/transition-decisions/{transition_decision_id}":{"get":{"tags":["pathways-recovery-transition"],"summary":"Transition Read","operationId":"transition_read_api_v1_pathways_transition_decisions__transition_decision_id__get","parameters":[{"name":"transition_decision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Transition Decision Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/recovery/allowance":{"get":{"tags":["pathways-recovery-transition"],"summary":"Recovery Allowance","operationId":"recovery_allowance_api_v1_pathways_recovery_allowance_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/recovery/autopsy/{year_ref}":{"get":{"tags":["pathways-recovery-transition"],"summary":"Repeat Year Autopsy","operationId":"repeat_year_autopsy_api_v1_pathways_recovery_autopsy__year_ref__get","parameters":[{"name":"year_ref","in":"path","required":true,"schema":{"type":"string","title":"Year Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/recovery/starting-points":{"get":{"tags":["pathways-planner-inputs"],"summary":"Recovery Starting Points","operationId":"recovery_starting_points_api_v1_pathways_recovery_starting_points_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartingPointList"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/entity-labels":{"get":{"tags":["pathways-planner-inputs"],"summary":"Entity Labels","operationId":"entity_labels_api_v1_pathways_entity_labels_get","parameters":[{"name":"ids","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":4000,"title":"Ids"}},{"name":"graph_release_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Graph Release Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityLabelList"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/atlas/professions":{"get":{"tags":["pathways-planner-inputs"],"summary":"Profession Atlas","operationId":"profession_atlas_api_v1_pathways_atlas_professions_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Q"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":30,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AtlasPage"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/atlas/credentials":{"get":{"tags":["pathways-planner-inputs"],"summary":"Credential Atlas","operationId":"credential_atlas_api_v1_pathways_atlas_credentials_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Q"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":30,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AtlasPage"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/atlas/programmes":{"get":{"tags":["pathways-planner-inputs"],"summary":"Programme Atlas","operationId":"programme_atlas_api_v1_pathways_atlas_programmes_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Q"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":30,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AtlasPage"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/atlas/school-streams":{"get":{"tags":["pathways-planner-inputs"],"summary":"School Stream Atlas","operationId":"school_stream_atlas_api_v1_pathways_atlas_school_streams_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Q"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":30,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AtlasPage"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/frontier-decisions":{"post":{"tags":["pathways-envelopes-fit-frontier"],"summary":"Create Frontier Decision","operationId":"create_frontier_decision_api_v1_pathways_frontier_decisions_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePathwayFrontierDecisionRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PathwayFrontierMutationEnvelope"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/decisions/{decision_id}/envelopes":{"get":{"tags":["pathways-envelopes-fit-frontier"],"summary":"Get Decision Envelopes","operationId":"get_decision_envelopes_api_v1_pathways_decisions__decision_id__envelopes_get","parameters":[{"name":"decision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Decision Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PathwayDecisionEnvelopeRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/labour-signals/{occupation_id}":{"get":{"tags":["pathways-labour-plan"],"summary":"Labour Signal","operationId":"labour_signal_api_v1_pathways_labour_signals__occupation_id__get","parameters":[{"name":"occupation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Occupation Id"}},{"name":"graph_release_id","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Graph Release Id"}},{"name":"geography_code","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Z0-9][A-Z0-9._:-]{1,79}$","default":"NATIONAL","title":"Geography Code"}},{"name":"as_of","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"As Of"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LabourSignalProjection"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/plans":{"post":{"tags":["pathways-labour-plan"],"summary":"Create Plan","operationId":"create_plan_api_v1_pathways_plans_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePathwayPlanRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PathwayPlanMutationEnvelope"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["pathways-labour-plan"],"summary":"List Plans","operationId":"list_plans_api_v1_pathways_plans_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/plans/{plan_id}":{"get":{"tags":["pathways-labour-plan"],"summary":"Get Plan","operationId":"get_plan_api_v1_pathways_plans__plan_id__get","parameters":[{"name":"plan_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Plan Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PathwayPlanProjection"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/plans/{plan_id}/steps/{step_id}/complete":{"post":{"tags":["pathways-labour-plan"],"summary":"Complete Step","operationId":"complete_step_api_v1_pathways_plans__plan_id__steps__step_id__complete_post","parameters":[{"name":"plan_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Plan Id"}},{"name":"step_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Step Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/decision_universe__models_pathway_plans__CompletePlanStepRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanStepCompletionEnvelope"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/pathways/labour-signal-versions":{"post":{"tags":["pathways-labour-admin"],"summary":"Publish","operationId":"publish_api_v1_admin_pathways_labour_signal_versions_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublishLabourSignalVersionRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LabourSignalMutationEnvelope"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/replans":{"post":{"tags":["pathways-replan-event-log"],"summary":"Write Replan Event","operationId":"write_replan_event_api_v1_pathways_replans_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WriteReplanEventRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["pathways-replan-event-log"],"summary":"List Replan Events","operationId":"list_replan_events_api_v1_pathways_replans_get","parameters":[{"name":"plan_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Plan Id"}},{"name":"from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"From"}},{"name":"to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"To"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":20,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/replans/open":{"get":{"tags":["pathways-replan-event-log"],"summary":"List Open Replan Events","description":"The caller's own saved plans that are out of date because a rule or source they cite has changed.","operationId":"list_open_replan_events_api_v1_pathways_replans_open_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":20,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/replans/{replan_event_id}":{"get":{"tags":["pathways-replan-event-log"],"summary":"Read Replan Event","operationId":"read_replan_event_api_v1_pathways_replans__replan_event_id__get","parameters":[{"name":"replan_event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Replan Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/replans/{replan_event_id}/scope":{"get":{"tags":["pathways-replan-event-log"],"summary":"Read Replan Scope","operationId":"read_replan_scope_api_v1_pathways_replans__replan_event_id__scope_get","parameters":[{"name":"replan_event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Replan Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/replans/{replan_event_id}/versions":{"get":{"tags":["pathways-replan-event-log"],"summary":"Read Replan Versions","operationId":"read_replan_versions_api_v1_pathways_replans__replan_event_id__versions_get","parameters":[{"name":"replan_event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Replan Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/replans/{replan_event_id}/cause":{"get":{"tags":["pathways-replan-event-log"],"summary":"Read Replan Cause","operationId":"read_replan_cause_api_v1_pathways_replans__replan_event_id__cause_get","parameters":[{"name":"replan_event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Replan Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/plans/{plan_id}/replans":{"get":{"tags":["pathways-replan-event-log"],"summary":"Read Plan Replans","operationId":"read_plan_replans_api_v1_pathways_plans__plan_id__replans_get","parameters":[{"name":"plan_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Plan Id"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":20,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/replans/{replan_event_id}/correction":{"post":{"tags":["pathways-replan-event-log"],"summary":"Correct Replan Event","operationId":"correct_replan_event_api_v1_pathways_replans__replan_event_id__correction_post","parameters":[{"name":"replan_event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Replan Event Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CorrectReplanEventRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/trust/decisions/{decision_id}":{"get":{"tags":["pathways-terminal"],"summary":"Trust Decision","operationId":"trust_decision_api_v1_pathways_trust_decisions__decision_id__get","parameters":[{"name":"decision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Decision Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/model-cards/{model_card_id}":{"get":{"tags":["pathways-terminal"],"summary":"Model Card","operationId":"model_card_api_v1_pathways_model_cards__model_card_id__get","parameters":[{"name":"model_card_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Model Card Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/product-receipt":{"get":{"tags":["pathways-terminal"],"summary":"Product Receipt","operationId":"product_receipt_api_v1_pathways_product_receipt_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/institution/pathways/cases":{"get":{"tags":["institution-pathways"],"summary":"Institution Cases","operationId":"institution_cases_api_v1_institution_pathways_cases_get","parameters":[{"name":"institutionId","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Institutionid"}},{"name":"purpose","in":"query","required":true,"schema":{"type":"string","pattern":"^(CASE_COORDINATION|OUTCOME_OPERATIONS|PATHWAY_SUPPORT)$","title":"Purpose"}},{"name":"relationshipGrantRef","in":"query","required":true,"schema":{"type":"string","minLength":4,"maxLength":300,"title":"Relationshipgrantref"}},{"name":"consentGrantRef","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":4,"maxLength":300},{"type":"null"}],"title":"Consentgrantref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/pathways/calibrations":{"post":{"tags":["pathways-terminal-admin"],"summary":"Calibrate","operationId":"calibrate_api_v1_admin_pathways_calibrations_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCalibrationRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/pathways/corrections":{"post":{"tags":["pathways-terminal-admin"],"summary":"Correction","operationId":"correction_api_v1_admin_pathways_corrections_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FanoutCorrectionRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/pathways/institutional-projections":{"post":{"tags":["pathways-terminal-admin"],"summary":"Institution Projection","operationId":"institution_projection_api_v1_admin_pathways_institutional_projections_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompileInstitutionProjectionRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/pathways/product-receipts":{"post":{"tags":["pathways-terminal-admin"],"summary":"Compile Receipt","operationId":"compile_receipt_api_v1_admin_pathways_product_receipts_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductReceiptRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/pathways/rules":{"post":{"tags":["pathway-rules-admin"],"summary":"Publish Rule","operationId":"publish_rule_api_v1_admin_pathways_rules_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublishRuleVersionRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/pathways/rules/{rule_id}/saved-plan-impact":{"get":{"tags":["pathway-rules-admin"],"summary":"Rule Saved Plan Impact","description":"RULE_CHANGED at publication: which current saved Forward / Reverse plans cite a version of this rule that is no longer current, and how many are untouched.","operationId":"rule_saved_plan_impact_api_v1_admin_pathways_rules__rule_id__saved_plan_impact_get","parameters":[{"name":"rule_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Rule Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/pathways/corrections/{correction_id}/saved-plan-impact":{"get":{"tags":["pathway-rules-admin"],"summary":"Correction Saved Plan Impact","description":"SOURCE_CORRECTED at publication: which current saved plans on the corrected map cite the corrected source, and how many are untouched.","operationId":"correction_saved_plan_impact_api_v1_admin_pathways_corrections__correction_id__saved_plan_impact_get","parameters":[{"name":"correction_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Correction Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/pathways/source-snapshots":{"post":{"tags":["pathways-admin"],"summary":"Ingest Source Snapshot","operationId":"ingest_source_snapshot_api_v1_admin_pathways_source_snapshots_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceSnapshotRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/pathways/source-records":{"post":{"tags":["pathways-admin"],"summary":"Ingest Source Record","operationId":"ingest_source_record_api_v1_admin_pathways_source_records_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceRecordRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/pathways/entities":{"post":{"tags":["pathways-admin"],"summary":"Publish Entity Version","operationId":"publish_entity_version_api_v1_admin_pathways_entities_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"title":"Idempotency-Key"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityVersionRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/pathways/edges":{"post":{"tags":["pathways-admin"],"summary":"Publish Edge Version","operationId":"publish_edge_version_api_v1_admin_pathways_edges_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"title":"Idempotency-Key"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EdgeVersionRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/pathways/graph-releases":{"post":{"tags":["pathways-admin"],"summary":"Compile Graph Release","operationId":"compile_graph_release_api_v1_admin_pathways_graph_releases_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"title":"Idempotency-Key"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GraphReleaseRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/pathways/graph-releases/{graph_release_id}/recall":{"post":{"tags":["pathways-admin"],"summary":"Recall Graph Release","operationId":"recall_graph_release_api_v1_admin_pathways_graph_releases__graph_release_id__recall_post","parameters":[{"name":"graph_release_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Graph Release Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecallGraphReleaseRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/degree-cost/route-set":{"post":{"tags":["pathdegree-total-cost-of-degree"],"summary":"Resolve Cost Route Set","operationId":"resolve_cost_route_set","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CostRouteSetRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/degree-cost/reports":{"post":{"tags":["pathdegree-total-cost-of-degree"],"summary":"Generate Degree Cost Report","description":"Compose a report on the server from stored, approved fees. The caller names the degree,\nstart year and (optionally) college / ownership type; it never supplies official fee figures.","operationId":"generate_degree_cost_report","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComposeDegreeCostReportRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["pathdegree-total-cost-of-degree"],"summary":"List Degree Cost Reports","description":"The signed-in learner's current (not replaced, not deleted) reports, newest first.\n\nThis is the read Affordability's cost picker calls: each row carries the degree and\ncollege names, the start year and the official total range, or null when it is not published.","operationId":"list_degree_cost_reports","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/degree-cost/start":{"get":{"tags":["pathdegree-total-cost-of-degree"],"summary":"Read Degree Cost Start Choices","description":"Institutes with an approved fee list and the degree they are for: the way into a priced report.","operationId":"read_degree_cost_start_choices","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/degree-cost/status":{"get":{"tags":["pathdegree-total-cost-of-degree"],"summary":"Read Degree Cost Status","operationId":"read_degree_cost_status","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/degree-cost/degrees/{degree_entity_id}/reports/current":{"get":{"tags":["pathdegree-total-cost-of-degree"],"summary":"Read Current Degree Cost Report","description":"The newest current report for this owner + degree, or 404. Includes the year-by-year\nbasis in the same payload so the number and its sources cannot diverge.","operationId":"read_current_degree_cost_report","parameters":[{"name":"degree_entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Degree Entity Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/degree-cost/degrees/{degree_entity_id}/fee-offerings":{"get":{"tags":["pathdegree-total-cost-of-degree"],"summary":"List Degree Fee Offerings","operationId":"list_degree_fee_offerings","parameters":[{"name":"degree_entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Degree Entity Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/degree-cost/reports/{report_id}":{"get":{"tags":["pathdegree-total-cost-of-degree"],"summary":"Read Degree Cost Report","description":"Read one report by id. (A degree id is also accepted and means \"my newest report for this degree\"\n-- the first, degree-keyed form of this endpoint.)","operationId":"read_degree_cost_report","parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Report Id"}},{"name":"version","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"title":"Version"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["pathdegree-total-cost-of-degree"],"summary":"Delete Degree Cost Report","operationId":"delete_degree_cost_report","parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Report Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/degree-cost/reports/{report_id}/sources":{"get":{"tags":["pathdegree-total-cost-of-degree"],"summary":"Read Degree Cost Sources","operationId":"read_degree_cost_sources","parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Report Id"}},{"name":"version","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"title":"Version"}},{"name":"source_snapshot_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Source Snapshot Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/degree-cost/reports/{report_id}/exports":{"post":{"tags":["pathdegree-total-cost-of-degree"],"summary":"Export Degree Cost Report","operationId":"export_degree_cost_report","parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Report Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportReportRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/degree-cost/reports/{report_id}/corrections":{"post":{"tags":["pathdegree-total-cost-of-degree"],"summary":"Correct Degree Cost Report","operationId":"correct_degree_cost_report","parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Report Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CorrectReportRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/affordability/budget":{"get":{"tags":["acespathways-affordability-envelope"],"summary":"Read Affordability Budget","description":"The learner's live budget (no figures) and their current range, for the screen to open on.","operationId":"read_affordability_budget","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["acespathways-affordability-envelope"],"summary":"Resolve Family Budget Context","operationId":"resolve_family_budget_context","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResolveFamilyBudgetContextRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/affordability/budget/{budget_id}":{"delete":{"tags":["acespathways-affordability-envelope"],"summary":"Delete Family Budget Context","operationId":"delete_family_budget_context","parameters":[{"name":"budget_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Budget Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/affordability/cost-options":{"get":{"tags":["acespathways-affordability-envelope"],"summary":"List Affordability Cost Options","description":"The routes the family can put in a range, each with where its cost came from.","operationId":"list_affordability_cost_options","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/affordability/route-costs":{"post":{"tags":["acespathways-affordability-envelope"],"summary":"Add Affordability Route Cost","operationId":"add_affordability_route_cost","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddRouteCostRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/affordability/route-costs/{route_id}":{"delete":{"tags":["acespathways-affordability-envelope"],"summary":"Delete Affordability Route Cost","operationId":"delete_affordability_route_cost","parameters":[{"name":"route_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Route Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/affordability/preflight":{"post":{"tags":["acespathways-affordability-envelope"],"summary":"Preflight Affordability","operationId":"preflight_affordability","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreflightEnvelopeRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/affordability/route-fit":{"get":{"tags":["acespathways-affordability-envelope"],"summary":"Read Affordability Route Fit","description":"Read-only: which of these routes fit the learner's current range. Other AcesPathways products\ncall this to annotate their own routes. Carries no budget figure and no headroom.","operationId":"read_affordability_route_fit","parameters":[{"name":"route_id","in":"query","required":true,"schema":{"type":"array","items":{"type":"string","format":"uuid"},"minItems":1,"maxItems":50,"title":"Route Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/affordability/envelopes/{envelope_id}":{"get":{"tags":["acespathways-affordability-envelope"],"summary":"Read Affordability Envelope","operationId":"read_affordability_envelope","parameters":[{"name":"envelope_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Envelope Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/affordability/envelopes/{envelope_id}/corrections":{"post":{"tags":["acespathways-affordability-envelope"],"summary":"Correct Affordability Envelope","operationId":"correct_affordability_envelope","parameters":[{"name":"envelope_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Envelope Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CorrectAffordabilityEnvelopeRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/affordability/envelopes/{envelope_id}/exports":{"post":{"tags":["acespathways-affordability-envelope"],"summary":"Export Affordability Envelope","operationId":"export_affordability_envelope","parameters":[{"name":"envelope_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Envelope Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportAffordabilityEnvelopeRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/affordability/handoffs":{"post":{"tags":["acespathways-affordability-envelope"],"summary":"Handoff Affordability","operationId":"handoff_affordability","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HandoffRouteFilterRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/affordability/corrections/{correction_id}/ack":{"post":{"tags":["acespathways-affordability-envelope"],"summary":"Acknowledge Affordability Correction","operationId":"acknowledge_affordability_correction","parameters":[{"name":"correction_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Correction Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcknowledgeAffordabilityCorrectionRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/scholarships/scope":{"get":{"tags":["acespathways-scholarship-finder"],"summary":"Read Scholarship Scope","description":"The learner's own saved answers (or an empty projection), so the form opens pre-filled.","operationId":"read_scholarship_scope","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["acespathways-scholarship-finder"],"summary":"Resolve Scholarship Scope","operationId":"resolve_scholarship_scope","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResolveLearnerScopeRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/scholarships/search":{"post":{"tags":["acespathways-scholarship-finder"],"summary":"Search Scholarships","operationId":"search_scholarships","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchQualifiedOpportunitiesRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/scholarships/opportunities/{opportunity_id}/deadline-basis":{"get":{"tags":["acespathways-scholarship-finder"],"summary":"Read Scholarship Deadline Basis","operationId":"read_scholarship_deadline_basis","parameters":[{"name":"opportunity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Opportunity Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/scholarships/interests":{"post":{"tags":["acespathways-scholarship-finder"],"summary":"Save Scholarship Interest","operationId":"save_scholarship_interest","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveInterestRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["acespathways-scholarship-finder"],"summary":"List Scholarship Interests","operationId":"list_scholarship_interests","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/scholarships/interests/{interest_id}":{"delete":{"tags":["acespathways-scholarship-finder"],"summary":"Remove Scholarship Interest","operationId":"remove_scholarship_interest","parameters":[{"name":"interest_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Interest Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/scholarships/opportunities/{opportunity_id}/corrections":{"post":{"tags":["acespathways-scholarship-finder"],"summary":"Acknowledge Scholarship Source Change","operationId":"acknowledge_scholarship_source_change","parameters":[{"name":"opportunity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Opportunity Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcknowledgeSourceChangeRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/scholarships/vocabulary":{"get":{"tags":["acespathways-scholarship-finder"],"summary":"Read Scholarship Vocabulary","description":"The fixed answers the screen offers as selects. Static; carries no learner data.","operationId":"read_scholarship_vocabulary","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/scholarships/opportunities/{opportunity_id}":{"get":{"tags":["acespathways-scholarship-finder"],"summary":"Read Scholarship Opportunity","operationId":"read_scholarship_opportunity","parameters":[{"name":"opportunity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Opportunity Id"}},{"name":"scope_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Scope Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/scholarships/exports":{"post":{"tags":["acespathways-scholarship-finder"],"summary":"Export Scholarship Results","operationId":"export_scholarship_results","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportScholarshipResultsRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/scholarships/scope/{scope_id}":{"delete":{"tags":["acespathways-scholarship-finder"],"summary":"Delete Scholarship Scope","operationId":"delete_scholarship_scope","parameters":[{"name":"scope_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scope Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/aptitude/instrument":{"get":{"tags":["acespathways-aptitude-stream-discussion"],"summary":"Get Instrument Definition","description":"What the taking-the-instrument screen renders. No auth needed to see\nthe questions themselves; answering them requires a signed-in learner.","operationId":"get_aptitude_instrument","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Aptitude Instrument"}}}}}}},"/api/v1/pathways/objects/aptitude/instrument/responses":{"post":{"tags":["acespathways-aptitude-stream-discussion"],"summary":"Submit Instrument Responses","operationId":"submit_aptitude_instrument_responses","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmitInstrumentResponsesRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/aptitude/evidence":{"post":{"tags":["acespathways-aptitude-stream-discussion"],"summary":"Resolve Aptitude Evidence","operationId":"resolve_aptitude_evidence","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResolveAptitudeEvidenceRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/aptitude/reports":{"get":{"tags":["acespathways-aptitude-stream-discussion"],"summary":"List Aptitude Reports","operationId":"list_aptitude_reports","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":20,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["acespathways-aptitude-stream-discussion"],"summary":"Create Aptitude Report","operationId":"create_aptitude_report","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAptitudeReportRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/aptitude/share-recipients":{"get":{"tags":["acespathways-aptitude-stream-discussion"],"summary":"List Aptitude Share Recipients","operationId":"list_aptitude_share_recipients","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/aptitude/reports/{report_id}":{"get":{"tags":["acespathways-aptitude-stream-discussion"],"summary":"Read Aptitude Report","operationId":"read_aptitude_report","parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Report Id"}},{"name":"expected_version","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expected Version"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["acespathways-aptitude-stream-discussion"],"summary":"Delete Aptitude Report","operationId":"delete_aptitude_report","parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Report Id"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/aptitude/reports/{report_id}/shares":{"post":{"tags":["acespathways-aptitude-stream-discussion"],"summary":"Share Aptitude Report","operationId":"share_aptitude_report","parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Report Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShareAptitudeReportRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["acespathways-aptitude-stream-discussion"],"summary":"List Aptitude Report Shares","operationId":"list_aptitude_report_shares","parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Report Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/aptitude/reports/{report_id}/shares/{share_id}":{"delete":{"tags":["acespathways-aptitude-stream-discussion"],"summary":"Revoke Aptitude Report Share","operationId":"revoke_aptitude_report_share","parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Report Id"}},{"name":"share_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Share Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/aptitude/reports/{report_id}/exports":{"post":{"tags":["acespathways-aptitude-stream-discussion"],"summary":"Export Aptitude Report","operationId":"export_aptitude_report","parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Report Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportAptitudeReportRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/aptitude/reports/{report_id}/corrections":{"post":{"tags":["acespathways-aptitude-stream-discussion"],"summary":"Correct Aptitude Report","operationId":"correct_aptitude_report","parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Report Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CorrectAptitudeReportRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/aptitude/responses":{"delete":{"tags":["acespathways-aptitude-stream-discussion"],"summary":"Delete Aptitude Responses","description":"Delete the signed-in learner's saved answers and practice summaries. Reports\nalready made are not touched; each has its own delete.","operationId":"delete_aptitude_responses","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/aptitude/shared-with-me":{"get":{"tags":["acespathways-aptitude-stream-discussion"],"summary":"List Aptitude Reports Shared With Me","description":"Sheets a learner has shared with the signed-in parent or guardian (active link, active share).","operationId":"list_aptitude_reports_shared_with_me","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/pathways/objects/aptitude/shared-with-me/{report_id}":{"get":{"tags":["acespathways-aptitude-stream-discussion"],"summary":"Read Aptitude Report Shared With Me","description":"One shared sheet. 404 when it was never shared with this account, the share stopped\nor ended, or the guardian link is no longer active. Never carries answers.","operationId":"read_aptitude_report_shared_with_me","parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Report Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/drop-continue/my-decisions":{"get":{"tags":["acespathways-drop-or-continue"],"summary":"List My Drop Continue Decisions","description":"JOB-1095. Backs the Drop Or Continue picker: the learner's own decisions\nto reopen, so nobody types a source decision id or context id by hand.","operationId":"list_my_drop_continue_decisions","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OwnedPathwayDecisionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/drop-continue/context":{"post":{"tags":["acespathways-drop-or-continue"],"summary":"Resolve Repeat Year Context","operationId":"resolve_repeat_year_context","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResolveRepeatYearContextRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/drop-continue/recovery-projection/{instance_ref}":{"get":{"tags":["acespathways-drop-or-continue"],"summary":"Read Recovery Projection","operationId":"read_recovery_projection","parameters":[{"name":"instance_ref","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Instance Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/drop-continue/options/presentation":{"post":{"tags":["acespathways-drop-or-continue"],"summary":"Present Recovery Options","operationId":"present_recovery_options","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PresentRecoveryOptionsRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/drop-continue/handoffs":{"post":{"tags":["acespathways-drop-or-continue"],"summary":"Handoff Recovery Option","operationId":"handoff_recovery_option","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HandoffRecoveryOptionRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/drop-continue/context/{instance_ref}/corrections":{"post":{"tags":["acespathways-drop-or-continue"],"summary":"Correct Repeat Year Context","operationId":"correct_repeat_year_context","parameters":[{"name":"instance_ref","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Instance Ref"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CorrectRepeatYearContextRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/drop-continue/context/{instance_ref}":{"delete":{"tags":["acespathways-drop-or-continue"],"summary":"Delete Repeat Year Context","operationId":"delete_repeat_year_context","parameters":[{"name":"instance_ref","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Instance Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/option-compare/my-decisions":{"get":{"tags":["acespathways-option-compare"],"summary":"List My Compare Decisions","description":"JOB-1095. Backs the Option Compare picker: the learner's own routes,\ngrouped by the decision that produced them, so nobody types a route id,\ndecision id or route digest by hand.","operationId":"list_my_compare_decisions","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OwnedPathwayDecisionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/option-compare/selections":{"post":{"tags":["acespathways-option-compare"],"summary":"Select Compare Routes","operationId":"select_compare_routes","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SelectCompareRoutesRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/option-compare/selections/{selection_id}/validate":{"post":{"tags":["acespathways-option-compare"],"summary":"Validate Compare Scope","operationId":"validate_compare_scope","parameters":[{"name":"selection_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Selection Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidateCompareScopeRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/option-compare/delegations":{"post":{"tags":["acespathways-option-compare"],"summary":"Delegate Route Compare","operationId":"delegate_route_compare","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DelegateRouteCompareRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/option-compare/comparisons/{comparison_id}":{"get":{"tags":["acespathways-option-compare"],"summary":"Read Route Comparison","operationId":"read_route_comparison","parameters":[{"name":"comparison_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Comparison Id"}},{"name":"version","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"title":"Version"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/option-compare/handoffs":{"post":{"tags":["acespathways-option-compare"],"summary":"Handoff Selected Route","operationId":"handoff_selected_route","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HandoffSelectedRouteRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/option-compare/source-changes":{"post":{"tags":["acespathways-option-compare"],"summary":"Acknowledge Compare Source Change","operationId":"acknowledge_compare_source_change","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcknowledgeCompareSourceChangeRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/option-compare/selections/{selection_id}":{"delete":{"tags":["acespathways-option-compare"],"summary":"Delete Compare Selection","operationId":"delete_compare_selection","parameters":[{"name":"selection_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Selection Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/sponsor-seat/preflight":{"post":{"tags":["acespathways-sponsor-a-seat"],"summary":"Preflight Sponsorship","operationId":"preflight_sponsorship","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreflightSponsorshipRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/sponsor-seat/targets":{"post":{"tags":["acespathways-sponsor-a-seat"],"summary":"Select Exact Eligible Target","operationId":"select_exact_eligible_target","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SelectExactEligibleTargetRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/sponsor-seat/holds":{"post":{"tags":["acespathways-sponsor-a-seat"],"summary":"Atomically Hold Seat","operationId":"atomically_hold_seat","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AtomicallyHoldSeatRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/sponsor-seat/consents":{"post":{"tags":["acespathways-sponsor-a-seat"],"summary":"Bind Sponsor Seat Consent","operationId":"bind_sponsor_seat_consent","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsentBindingRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/sponsor-seat/payment-orders":{"post":{"tags":["acespathways-sponsor-a-seat"],"summary":"Create Sponsor Seat Payment Order","operationId":"create_sponsor_seat_payment_order","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePaymentOrderRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/sponsor-seat/webhooks/razorpay":{"post":{"tags":["acespathways-sponsor-a-seat"],"summary":"Handle Sponsor Seat Payment Webhook","description":"Provider callback — deliberately not behind `get_current_student`.\nSignature verification against the configured webhook secret IS the\nauthentication for this route.","operationId":"handle_sponsor_seat_payment_webhook","parameters":[{"name":"X-Razorpay-Signature","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Razorpay-Signature"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/sponsor-seat/confirm":{"post":{"tags":["acespathways-sponsor-a-seat"],"summary":"Confirm Sponsor And Beneficiary","operationId":"confirm_sponsor_and_beneficiary","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfirmSponsorAndBeneficiaryRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/sponsor-seat/activate":{"post":{"tags":["acespathways-sponsor-a-seat"],"summary":"Activate Scoped Right","operationId":"activate_scoped_right","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActivateScopedRightRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/sponsor-seat/cancel":{"post":{"tags":["acespathways-sponsor-a-seat"],"summary":"Cancel Sponsor Seat","operationId":"cancel_sponsor_seat","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CancelSponsorshipRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/sponsor-seat/remedy":{"post":{"tags":["acespathways-sponsor-a-seat"],"summary":"Remedy Sponsor Seat","operationId":"remedy_sponsor_seat","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RemedySponsorshipRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/sponsor-seat/sponsorships/{sponsorship_id}":{"get":{"tags":["acespathways-sponsor-a-seat"],"summary":"Read Sponsor Seat Status","operationId":"read_sponsor_seat_status","parameters":[{"name":"sponsorship_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Sponsorship Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/institution/pathways/stream-choice/preflight":{"post":{"tags":["acespathways-whole-cohort-stream-choice"],"summary":"Preflight Programme","operationId":"preflight_programme","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreflightProgrammeRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/institution/pathways/stream-choice/programmes/{programme_ref}/roster":{"post":{"tags":["acespathways-whole-cohort-stream-choice"],"summary":"Validate Roster And Consent","operationId":"validate_roster_and_consent","parameters":[{"name":"programme_ref","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Programme Ref"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidateRosterRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/institution/pathways/stream-choice/programmes/{programme_ref}/allocations":{"post":{"tags":["acespathways-whole-cohort-stream-choice"],"summary":"Allocate Places","operationId":"atomically_allocate_places","parameters":[{"name":"programme_ref","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Programme Ref"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AllocateCapacityRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/institution/pathways/stream-choice/programmes/{programme_ref}/assignments":{"post":{"tags":["acespathways-whole-cohort-stream-choice"],"summary":"Assign Stream Choice Activity","operationId":"assign_stream_choice_activity","parameters":[{"name":"programme_ref","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Programme Ref"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssignCohortInstancesRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/institution/pathways/stream-choice/programmes/{programme_ref}/learners/{instance_ref}":{"get":{"tags":["acespathways-whole-cohort-stream-choice"],"summary":"Read Cohort Subject","operationId":"read_cohort_subject","parameters":[{"name":"programme_ref","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Programme Ref"}},{"name":"instance_ref","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Instance Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/institution/pathways/stream-choice/programmes/{programme_ref}/learners/{instance_ref}/grants":{"post":{"tags":["acespathways-whole-cohort-stream-choice"],"summary":"Grant Subject Access","operationId":"grant_subject_access","parameters":[{"name":"programme_ref","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Programme Ref"}},{"name":"instance_ref","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Instance Ref"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GrantSubjectAccessRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/institution/pathways/stream-choice/programmes/{programme_ref}/aggregate":{"get":{"tags":["acespathways-whole-cohort-stream-choice"],"summary":"Read Cohort Aggregate","operationId":"read_cohort_aggregate","parameters":[{"name":"programme_ref","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Programme Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/institution/pathways/stream-choice/delivery":{"post":{"tags":["acespathways-whole-cohort-stream-choice"],"summary":"Schedule Cohort Delivery","operationId":"schedule_cohort_delivery","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleDeliveryRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/institution/pathways/stream-choice/delivery/outcome":{"post":{"tags":["acespathways-whole-cohort-stream-choice"],"summary":"Record Delivery Outcome","operationId":"record_delivery_outcome","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeliveryOutcomeRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/institution/pathways/stream-choice/reschedule":{"post":{"tags":["acespathways-whole-cohort-stream-choice"],"summary":"Reschedule Cohort Delivery","operationId":"reschedule_cohort_delivery","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RescheduleDeliveryRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/institution/pathways/stream-choice/close":{"post":{"tags":["acespathways-whole-cohort-stream-choice"],"summary":"Close Cohort Programme","operationId":"close_cohort_programme","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloseProgrammeRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/objects/route-deltas":{"post":{"tags":["pathways-route-delta"],"summary":"Compare Routes","operationId":"compare_routes_api_v1_pathways_objects_route_deltas_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RouteDeltaRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RouteDeltaProjection"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/reverse/entry-rule-check":{"post":{"tags":["pathways-reverse-target-check"],"summary":"Entry Rule Check","operationId":"entry_rule_check_api_v1_pathways_reverse_entry_rule_check_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntryRuleCheckRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntryRuleCheckEnvelope"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/reverse/targets":{"get":{"tags":["pathways-reverse-targets"],"summary":"Ready Targets","operationId":"reverse_ready_targets","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Reverse Ready Targets"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/reverse/target-readiness":{"get":{"tags":["pathways-reverse-targets"],"summary":"Target Readiness","operationId":"reverse_target_readiness","parameters":[{"name":"entity_ids","in":"query","required":true,"schema":{"type":"string","maxLength":2400,"title":"Entity Ids"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Reverse Target Readiness"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/reverse/colleges":{"get":{"tags":["pathways-reverse-targets"],"summary":"College Search","operationId":"reverse_college_search","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","maxLength":80,"title":"Q"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Reverse College Search"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/reverse/refusals":{"get":{"tags":["pathways-reverse-targets"],"summary":"Refusal History","operationId":"reverse_refusal_history","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Reverse Refusal History"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/allotment-movement/colleges":{"get":{"tags":["allotment-movement"],"summary":"Colleges","operationId":"allotment_movement_colleges","parameters":[{"name":"exam_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Exam Type"}},{"name":"body_key","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body Key"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Allotment Movement Colleges"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/allotment-movement/lines":{"get":{"tags":["allotment-movement"],"summary":"Lines","operationId":"allotment_movement_lines","parameters":[{"name":"exam_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Exam Type"}},{"name":"body_key","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body Key"}},{"name":"college_key","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"College Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Allotment Movement Lines"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/allotment-movement/strip":{"get":{"tags":["allotment-movement"],"summary":"Strip","operationId":"allotment_movement_strip","parameters":[{"name":"exam_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Exam Type"}},{"name":"body_key","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body Key"}},{"name":"college_key","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"College Key"}},{"name":"branch","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Branch"}},{"name":"quota","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Quota"}},{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"}},{"name":"gender","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gender"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Allotment Movement Strip"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/allotment-movement/attach":{"post":{"tags":["allotment-movement"],"summary":"Attach","description":"Save one seat line to come back to. Saving again refreshes it; it never saves a second copy.","operationId":"allotment_movement_attach","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttachBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Allotment Movement Attach"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/allotment-movement/attached":{"get":{"tags":["allotment-movement"],"summary":"Attached","operationId":"allotment_movement_attachments_list","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Allotment Movement Attachments List"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/allotment-movement/detach":{"post":{"tags":["allotment-movement"],"summary":"Detach","operationId":"allotment_movement_detach","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttachBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Allotment Movement Detach"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/csab-read/status":{"get":{"tags":["csab-read"],"summary":"Status","description":"What this desk is today. Static on purpose: no rule or date is stated here.","operationId":"csab_read_status","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Csab Read Status"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/csab-read/contrast":{"post":{"tags":["csab-read"],"summary":"Contrast","description":"Read-only despite the POST: a short list is awkward in a query string. Writes nothing.","operationId":"csab_read_contrast","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CsabContrastIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Csab Read Contrast"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/check-one-option/options":{"get":{"tags":["feasibility-start"],"summary":"Options","operationId":"check_one_option_options","parameters":[{"name":"exam_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Exam Type"}},{"name":"authority","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authority"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Check One Option Options"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/check-one-option/choices":{"get":{"tags":["feasibility-start"],"summary":"Choices","operationId":"check_one_option_choices","parameters":[{"name":"exam_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Exam Type"}},{"name":"authority","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authority"}},{"name":"institution_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Institution Id"}},{"name":"programme_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Programme Id"}},{"name":"counselling_year","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Counselling Year"}},{"name":"round_label","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Round Label"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Check One Option Choices"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/receipts/mint-rules":{"get":{"tags":["route-decision-receipts"],"summary":"Mint Rules","description":"Which kinds of route event keep a receipt. Reading this needs no switch.","operationId":"route_receipt_mint_rules","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Route Receipt Mint Rules"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/receipts/from-comparison":{"post":{"tags":["route-decision-receipts"],"summary":"From Comparison","description":"Keep a record of the route chosen from a saved comparison. The routes come from the stored comparison, not from the caller.","operationId":"route_receipt_from_comparison","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FromComparisonRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Route Receipt From Comparison"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/receipts/{receipt_id}/compared":{"get":{"tags":["route-decision-receipts"],"summary":"Compared","description":"The routes as frozen, in the order seen, with a read-only link to the comparison they came from.","operationId":"route_receipt_compared","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Receipt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Route Receipt Compared"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/receipts/{receipt_id}/route-sources":{"get":{"tags":["route-decision-receipts"],"summary":"Route Sources","description":"What the route receipt was made from, frozen; and apart from it, whether any of it has since moved.","operationId":"route_receipt_route_sources","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Receipt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Route Receipt Route Sources"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/receipts/{receipt_id}/route-verify":{"get":{"tags":["route-decision-receipts"],"summary":"Route Verify","description":"Work the fingerprints out again: the receipt, its route details, the frozen routes, the comparison and the plan.","operationId":"route_receipt_route_verify","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Receipt Id"}},{"name":"digest","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"description":"A fingerprint from a printout, to compare with the record","title":"Digest"},"description":"A fingerprint from a printout, to compare with the record"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Route Receipt Route Verify"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/receipts/{receipt_id}/plan":{"get":{"tags":["route-decision-receipts"],"summary":"Plan Of","description":"The plan this choice produced, pinned at that version. No plan is a normal answer (404 NO_PLAN_FROM_THIS_CHOICE).","operationId":"route_receipt_plan","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Receipt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Route Receipt Plan"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/receipts/{receipt_id}/plan-link":{"post":{"tags":["route-decision-receipts"],"summary":"Link Plan","description":"Pin the plan this choice produced. Writes one row beside the receipt. The plan is never changed.","operationId":"route_receipt_plan_link","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Receipt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkPlanRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Route Receipt Plan Link"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/plans/{plan_id}/receipt":{"get":{"tags":["route-decision-receipts"],"summary":"Receipt Of Plan","description":"The reference a plan screen reads to find the choice behind a plan (RouteReceiptRef/v1).","operationId":"route_receipt_by_plan","parameters":[{"name":"plan_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Plan Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Route Receipt By Plan"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/receipts/{receipt_id}/parent-projection":{"get":{"tags":["route-receipt-parent"],"summary":"Route Receipt Parent Projection","description":"One route receipt as a linked parent may read it, cut down on the server.","operationId":"route_receipt_parent_projection","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Receipt Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Route Receipt Parent Projection"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/parent/children/{child_id}/receipts":{"get":{"tags":["route-receipt-parent"],"summary":"Route Receipt Parent List","description":"A linked child's route receipts, newest first, each already cut to one sentence and one count.","operationId":"route_receipt_parent_list","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Route Receipt Parent List"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decisions/receipts":{"post":{"tags":["decision-receipts"],"summary":"Record","description":"Record a decision the family has made. Append-only; the reason is theirs or empty.","operationId":"decision_receipt_record","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateReceiptRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Decision Receipt Record"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["decision-receipts"],"summary":"List Mine","description":"The caller's own receipts, newest first. After-the-fact and corrected rows are never hidden.","operationId":"decision_receipt_list","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":20,"title":"Limit"}},{"name":"before","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Before"}},{"name":"receipt_domain","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Receipt Domain"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Decision Receipt List"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decisions/receipts/kinds":{"get":{"tags":["decision-receipts"],"summary":"Kinds","description":"The kinds of decision the writer understands and what each must carry. Reading this needs no switch.","operationId":"decision_receipt_kinds","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Decision Receipt Kinds"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decisions/receipts/after-the-fact":{"post":{"tags":["decision-receipts"],"summary":"After The Fact","description":"Record a decision made earlier. Marked as typed in afterwards for good; it cannot read as written at the time.","operationId":"decision_receipt_after_the_fact","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordAfterTheFactRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Decision Receipt After The Fact"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decisions/receipts/resolve-address":{"post":{"tags":["decision-receipts"],"summary":"Resolve Address Route","description":"Where a way in (home, menu, search, link, full screen, embed, API) lands. A return_to is refused.","operationId":"decision_receipt_resolve_address","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResolveAddressRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Decision Receipt Resolve Address"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decisions/receipts/{receipt_id}":{"get":{"tags":["decision-receipts"],"summary":"Read One","description":"One receipt, from its own frozen fields. Foreign or unknown ids both answer 404.","operationId":"decision_receipt_read","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Receipt Id"}},{"name":"If-None-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-None-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Decision Receipt Read"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decisions/receipts/{receipt_id}/compared":{"get":{"tags":["decision-receipts"],"summary":"Read Compared","description":"The frozen option or route set in the exact order shown at the time.","operationId":"decision_receipt_compared","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Receipt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Decision Receipt Compared"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decisions/receipts/{receipt_id}/correction":{"post":{"tags":["decision-receipts"],"summary":"Correct","description":"Correct by successor. The original stays readable; there is no edit.","operationId":"decision_receipt_correct","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Receipt Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CorrectReceiptRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Decision Receipt Correct"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decisions/receipts/{receipt_id}/export":{"post":{"tags":["decision-receipts"],"summary":"Export","description":"A print-friendly rendering of exactly what the receipt holds, and a record that the family made it.","operationId":"decision_receipt_export","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Receipt Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Decision Receipt Export"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decisions/receipts/{receipt_id}/export/{export_id}":{"get":{"tags":["decision-receipts"],"summary":"Export Read","description":"The online copy of a printout while it is live. After it is withdrawn or has lapsed: 410 and no document.","operationId":"decision_receipt_export_read","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Receipt Id"}},{"name":"export_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Export Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Decision Receipt Export Read"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["decision-receipts"],"summary":"Export Revoke","description":"Withdraw an export. Idempotent. Never touches the receipt, and is not behind the writes switch.","operationId":"decision_receipt_export_revoke","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Receipt Id"}},{"name":"export_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Export Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Decision Receipt Export Revoke"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decisions/receipts/{receipt_id}/sources":{"get":{"tags":["decision-receipts"],"summary":"Sources","description":"What the receipt was made from, frozen; and, separately, whether any of it has since been withdrawn.","operationId":"decision_receipt_sources","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Receipt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Decision Receipt Sources"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decisions/receipts/{receipt_id}/verify":{"get":{"tags":["decision-receipts"],"summary":"Verify","description":"Work the record's fingerprint out again and compare it with the one stored when it was written.","operationId":"decision_receipt_verify","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Receipt Id"}},{"name":"digest","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"description":"A fingerprint from a printout, to compare with the record","title":"Digest"},"description":"A fingerprint from a printout, to compare with the record"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Decision Receipt Verify"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/receipts":{"post":{"tags":["route-decision-receipts"],"summary":"Record","description":"Record a decision the family has made. Append-only; the reason is theirs or empty.","operationId":"route_decision_receipt_record","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateReceiptRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Route Decision Receipt Record"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["route-decision-receipts"],"summary":"List Mine","description":"The caller's own receipts, newest first. After-the-fact and corrected rows are never hidden.","operationId":"route_decision_receipt_list","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":20,"title":"Limit"}},{"name":"before","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Before"}},{"name":"receipt_domain","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Receipt Domain"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Route Decision Receipt List"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/receipts/kinds":{"get":{"tags":["route-decision-receipts"],"summary":"Kinds","description":"The kinds of decision the writer understands and what each must carry. Reading this needs no switch.","operationId":"route_decision_receipt_kinds","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Route Decision Receipt Kinds"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/receipts/after-the-fact":{"post":{"tags":["route-decision-receipts"],"summary":"After The Fact","description":"Record a decision made earlier. Marked as typed in afterwards for good; it cannot read as written at the time.","operationId":"route_decision_receipt_after_the_fact","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordAfterTheFactRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Route Decision Receipt After The Fact"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/receipts/resolve-address":{"post":{"tags":["route-decision-receipts"],"summary":"Resolve Address Route","description":"Where a way in (home, menu, search, link, full screen, embed, API) lands. A return_to is refused.","operationId":"route_decision_receipt_resolve_address","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResolveAddressRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Route Decision Receipt Resolve Address"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/receipts/{receipt_id}":{"get":{"tags":["route-decision-receipts"],"summary":"Read One","description":"One receipt, from its own frozen fields. Foreign or unknown ids both answer 404.","operationId":"route_decision_receipt_read","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Receipt Id"}},{"name":"If-None-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-None-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Route Decision Receipt Read"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/receipts/{receipt_id}/correction":{"post":{"tags":["route-decision-receipts"],"summary":"Correct","description":"Correct by successor. The original stays readable; there is no edit.","operationId":"route_decision_receipt_correct","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Receipt Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CorrectReceiptRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Route Decision Receipt Correct"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/receipts/{receipt_id}/export":{"post":{"tags":["route-decision-receipts"],"summary":"Export","description":"A print-friendly rendering of exactly what the receipt holds, and a record that the family made it.","operationId":"route_decision_receipt_export","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Receipt Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Route Decision Receipt Export"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/receipts/{receipt_id}/export/{export_id}":{"get":{"tags":["route-decision-receipts"],"summary":"Export Read","description":"The online copy of a printout while it is live. After it is withdrawn or has lapsed: 410 and no document.","operationId":"route_decision_receipt_export_read","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Receipt Id"}},{"name":"export_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Export Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Route Decision Receipt Export Read"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["route-decision-receipts"],"summary":"Export Revoke","description":"Withdraw an export. Idempotent. Never touches the receipt, and is not behind the writes switch.","operationId":"route_decision_receipt_export_revoke","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Receipt Id"}},{"name":"export_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Export Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Route Decision Receipt Export Revoke"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/receipts/{receipt_id}/sources":{"get":{"tags":["route-decision-receipts"],"summary":"Sources","description":"What the receipt was made from, frozen; and, separately, whether any of it has since been withdrawn.","operationId":"route_decision_receipt_sources","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Receipt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Route Decision Receipt Sources"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/receipts/{receipt_id}/verify":{"get":{"tags":["route-decision-receipts"],"summary":"Verify","description":"Work the record's fingerprint out again and compare it with the one stored when it was written.","operationId":"route_decision_receipt_verify","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Receipt Id"}},{"name":"digest","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"description":"A fingerprint from a printout, to compare with the record","title":"Digest"},"description":"A fingerprint from a printout, to compare with the record"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Route Decision Receipt Verify"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/support-bodies":{"get":{"tags":["counselling-support"],"summary":"Read Support Bodies","description":"The counselling bodies we have a checklist for (JoSAA, CSAB special rounds), each with\nits own cycle state and its own source health.","operationId":"read_counselling_support_bodies","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/application-walkthrough":{"get":{"tags":["counselling-support"],"summary":"Read Application Walkthrough","description":"The application and choice-filling window as a plain step list, each step with the\nclause and page of the official rules it came from. Reads the last published rules\nand says plainly that the cycle is over.","operationId":"read_counselling_application_walkthrough","parameters":[{"name":"body","in":"query","required":false,"schema":{"type":"string","pattern":"^(josaa|csab)$","description":"Which counselling body: josaa (default) or csab.","default":"josaa","title":"Body"},"description":"Which counselling body: josaa (default) or csab."},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/document-checklist":{"get":{"tags":["counselling-support"],"summary":"Read Document Checklist","description":"The documents the rules name for the chosen categories (repeat `category`), merged\nwith this student's own ticks. An unknown category answers 422.","operationId":"read_counselling_document_checklist","parameters":[{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"},"maxItems":16},{"type":"null"}],"title":"Category"}},{"name":"body","in":"query","required":false,"schema":{"type":"string","pattern":"^(josaa|csab)$","description":"Which counselling body: josaa (default) or csab.","default":"josaa","title":"Body"},"description":"Which counselling body: josaa (default) or csab."},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/document-checklist/ticks":{"get":{"tags":["counselling-support"],"summary":"Read Document Ticks","description":"Only the caller's own ticks. Another student's ticks are unreachable by construction.","operationId":"read_counselling_document_ticks","parameters":[{"name":"body","in":"query","required":false,"schema":{"type":"string","pattern":"^(josaa|csab)$","description":"Which counselling body: josaa (default) or csab.","default":"josaa","title":"Body"},"description":"Which counselling body: josaa (default) or csab."},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["counselling-support"],"summary":"Set Document Tick","description":"Record \"I have this ready\" (or take it back) for one checklist item. This is the\nstudent's own claim; no one verifies it and nothing is submitted anywhere.","operationId":"set_counselling_document_tick","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetTickRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/route-compare/availability":{"get":{"tags":["pathways-route-compare"],"summary":"Route Compare Availability","description":"Can routes be compared right now? Says plainly when they cannot.","operationId":"route_compare_availability","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvailabilityView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/route-compare/routes":{"get":{"tags":["pathways-route-compare"],"summary":"Route Compare List My Routes","description":"The routes this student already has on file, named, so nobody types an id.","operationId":"route_compare_list_my_routes","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OwnedRoutesView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/route-compare/comparisons":{"post":{"tags":["pathways-route-compare"],"summary":"Route Compare Create","description":"Set two or more of your routes side by side. Keeping a new version is\nidempotent: the same facts return the same version, changed facts add the\nnext one. Needs PATHIMP_PR05_WRITES_ENABLED to keep; without it the\ncomparison is still returned, marked as not kept.","operationId":"route_compare_create","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompareRoutesRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["pathways-route-compare"],"summary":"Route Compare List Saved","operationId":"route_compare_list_saved","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":25,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavedComparisonList"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/route-compare/comparisons/{comparison_id}":{"get":{"tags":["pathways-route-compare"],"summary":"Route Compare Read","operationId":"route_compare_read","parameters":[{"name":"comparison_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Comparison Id"}},{"name":"version","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"title":"Version"}},{"name":"priority","in":"query","required":false,"schema":{"type":"array","items":{"enum":["duration","cost","gates","opens","closes"],"type":"string"},"default":[],"title":"Priority"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["pathways-route-compare"],"summary":"Route Compare Delete","description":"Delete every version of one kept comparison, with its copies. Refused (423) while the account is under a\nlegal hold and (409) while a decision receipt of yours points at it.","operationId":"route_compare_delete","parameters":[{"name":"comparison_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Comparison Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonDeletedView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/route-compare/comparisons/{comparison_id}/sources":{"get":{"tags":["pathways-route-compare"],"summary":"Route Compare Sources","description":"Every source behind one kept comparison, dimension by dimension: name, version, the date it was read, the\nstate it had then and now, and which routes and lines it fed. Free to read, like the comparison itself.","operationId":"route_compare_sources","parameters":[{"name":"comparison_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Comparison Id"}},{"name":"version","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"title":"Version"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourcesView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/route-compare/comparisons/{comparison_id}/corrections/acknowledge":{"post":{"tags":["pathways-route-compare"],"summary":"Route Compare Acknowledge Correction","description":"Say you have seen one correction notice on one version. Changes nothing about the comparison; saying it twice\nreturns the first time. Needs PATHIMP_PR05_WRITES_ENABLED.","operationId":"route_compare_acknowledge_correction","parameters":[{"name":"comparison_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Comparison Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/decision_universe__models_route_compare__AcknowledgeCorrectionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcknowledgementView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/route-compare/comparisons/{comparison_id}/recompare":{"post":{"tags":["pathways-route-compare"],"summary":"Route Compare Recompare","description":"Compare the same routes again against today's sources. Changed facts add the next version of this\ncomparison; the old version stays as it was. Needs PATHIMP_PR05_WRITES_ENABLED to keep the result.","operationId":"route_compare_recompare","parameters":[{"name":"comparison_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Comparison Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecompareRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecompareView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/route-compare/comparisons/{comparison_id}/exports":{"post":{"tags":["pathways-route-compare"],"summary":"Route Compare Export","description":"A JSON copy of one kept version, for its owner only. It expires after seven days and can be deleted sooner.","operationId":"route_compare_export","parameters":[{"name":"comparison_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Comparison Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/decision_universe__models_route_compare__ExportRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/route-compare/exports/{export_id}":{"get":{"tags":["pathways-route-compare"],"summary":"Route Compare Read Export","operationId":"route_compare_read_export","parameters":[{"name":"export_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Export Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["pathways-route-compare"],"summary":"Route Compare Delete Export","operationId":"route_compare_delete_export","parameters":[{"name":"export_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Export Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportDeletedView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/seasons":{"post":{"tags":["counselling-season"],"summary":"Counselling Season Create","operationId":"counselling_season_create","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SeasonCreateRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["counselling-season"],"summary":"Counselling Season List","operationId":"counselling_season_list","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/body-catalog":{"get":{"tags":["counselling-season"],"summary":"Counselling Body Catalog","description":"The bodies a family usually follows. A suggestion, not a limit: the family can name any body.","operationId":"counselling_body_catalog","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/seasons/{season_id}":{"get":{"tags":["counselling-season"],"summary":"Counselling Season Get","description":"P01: the season home. ``next_due`` is null, never a guess, when nothing has a confirmed date.","operationId":"counselling_season_get","parameters":[{"name":"season_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Season Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/seasons/{season_id}/obligations":{"get":{"tags":["counselling-season"],"summary":"Counselling Obligations List","description":"P02: due, at risk, done, closed, and unconfirmed as its own group.","operationId":"counselling_obligations_list","parameters":[{"name":"season_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Season Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/seasons/{season_id}/rounds":{"get":{"tags":["counselling-season"],"summary":"Counselling Season Rounds","description":"R06: the season round by round. Nothing is dropped; closed rounds are kept, dated, and openable.","operationId":"counselling_season_rounds","parameters":[{"name":"season_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Season Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/seasons/{season_id}/bodies":{"post":{"tags":["counselling-season"],"summary":"Counselling Body Add","operationId":"counselling_body_add","parameters":[{"name":"season_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Season Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SeasonBodyAddRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["counselling-season"],"summary":"Counselling Body List","operationId":"counselling_body_list","parameters":[{"name":"season_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Season Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/bodies/{season_body_id}/state":{"post":{"tags":["counselling-season"],"summary":"Counselling Body State Set","description":"Where the family says it stands with a body. UNKNOWN is a legal answer and stays visible.","operationId":"counselling_body_state_set","parameters":[{"name":"season_body_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Season Body Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SeasonBodyStateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/seasons/{season_id}/published/refresh":{"post":{"tags":["counselling-season"],"summary":"Counselling Published Refresh","description":"Re-read the published round windows for the bodies in this season. Safe to repeat.","operationId":"counselling_published_refresh","parameters":[{"name":"season_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Season Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/bodies/{season_body_id}/obligations":{"post":{"tags":["counselling-season"],"summary":"Counselling Obligation Add","description":"The family adds a step it has to take. It has no date until one is published or reported.","operationId":"counselling_obligation_add","parameters":[{"name":"season_body_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Season Body Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SeasonObligationAddRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/obligations/{obligation_id}/complete":{"post":{"tags":["counselling-season"],"summary":"Counselling Obligation Complete","description":"Record that the family says it did this. A claim with a receipt, never a submission.","operationId":"counselling_obligation_complete","parameters":[{"name":"obligation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Obligation Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SeasonObligationCompleteRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/obligations/{obligation_id}/dates":{"post":{"tags":["counselling-season"],"summary":"Counselling Obligation Date Report","description":"A date the family heard about. Always stored as unconfirmed; nothing in the request can change that.","operationId":"counselling_obligation_date_report","parameters":[{"name":"obligation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Obligation Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SeasonDateReportRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/seasons/{season_id}/receipts":{"get":{"tags":["counselling-season"],"summary":"Counselling Receipts List","operationId":"counselling_receipts_list","parameters":[{"name":"season_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Season Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/receipts/{receipt_id}":{"get":{"tags":["counselling-season"],"summary":"Counselling Receipt Get","operationId":"counselling_receipt_get","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Receipt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/seasons/{season_id}/coordination":{"get":{"tags":["counselling-season"],"summary":"Counselling Coordination Get","description":"P06: the latest stored coordination decision, as stored, with the sources it rested on.\n\nThis is the read the existing coordination write never had. ``decision`` is null\nwhen the family has not run one; that is an answer, not an error.","operationId":"counselling_coordination_get","parameters":[{"name":"season_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Season Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/seasons/{season_id}/conflicts":{"get":{"tags":["counselling-season"],"summary":"Counselling Conflicts List","description":"Conflicts from the latest coordination decision and from overlapping published dates, as equals.","operationId":"counselling_conflicts_list","parameters":[{"name":"season_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Season Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/conflicts/{conflict_id}/acknowledge":{"post":{"tags":["counselling-season"],"summary":"Counselling Conflict Acknowledge","description":"Record that the family saw this conflict and what it chose, in its own words.","operationId":"counselling_conflict_acknowledge","parameters":[{"name":"conflict_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Conflict Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConflictAcknowledgeRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/seasons/{season_id}/export":{"get":{"tags":["counselling-season"],"summary":"Counselling Season Export","description":"P10: the season as a calendar (.ics) or a sheet (.csv). Every row carries its confidence.\n\nRows that are not published say \"Unconfirmed\" in their own title. Nothing private\nleaves: no note, no document, no receipt reference, no name.","operationId":"counselling_season_export","parameters":[{"name":"season_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Season Id"}},{"name":"format","in":"query","required":false,"schema":{"type":"string","pattern":"^(ics|csv)$","default":"ics","title":"Format"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/seasons/{season_id}/documents":{"get":{"tags":["counselling-season"],"summary":"Counselling Season Documents","description":"P08: the document checklist of every body in this season, with the family's own ticks.\n\nReads the existing per-body checklist and the caller's own \"I have this ready\" ticks. It stores\nnothing, returns no file, file name or digest, and never says a document was verified: a tick is\nthe family's own claim. A body we hold no document list for says so rather than showing nothing.\n``category`` (repeat) picks the extra document groups; a group a body does not have is ignored\nfor that body and listed in ``categories_ignored``.","operationId":"counselling_season_documents","parameters":[{"name":"season_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Season Id"}},{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"},"maxItems":16},{"type":"null"}],"title":"Category"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/seasons/{season_id}/changes":{"get":{"tags":["counselling-season"],"summary":"Counselling Season Changes List","description":"Dates newly published, changed or withdrawn, steps marked done, and new clashes since ``since``.","operationId":"counselling_season_changes_list","parameters":[{"name":"season_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Season Id"}},{"name":"since","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"When the family last looked (ISO time). Omit for the last 7 days.","title":"Since"},"description":"When the family last looked (ISO time). Omit for the last 7 days."},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/obligations/{obligation_id}/unconfirmed-date":{"get":{"tags":["counselling-season"],"summary":"Counselling Unconfirmed Date Get","description":"The family's own report of a date for one step, and whether any authority has published one.","operationId":"counselling_unconfirmed_date_get","parameters":[{"name":"obligation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Obligation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/desks/staff/queue":{"get":{"tags":["counselling-desks"],"summary":"Staff Queue","operationId":"counselling_desk_staff_queue","parameters":[{"name":"desk","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Desk"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"State"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/desks/staff/cases/{case_id}":{"get":{"tags":["counselling-desks"],"summary":"Staff Case","operationId":"counselling_desk_staff_case","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","title":"Case Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/desks/staff/cases/{case_id}/accept":{"post":{"tags":["counselling-desks"],"summary":"Counselling Desk Staff Accept","operationId":"counselling_desk_staff_accept","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","title":"Case Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/decision_universe__models_counselling_desk__AcceptBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/desks/staff/cases/{case_id}/start-review":{"post":{"tags":["counselling-desks"],"summary":"Counselling Desk Staff Start Review","operationId":"counselling_desk_staff_start_review","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","title":"Case Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RevisionBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/desks/staff/cases/{case_id}/deliver":{"post":{"tags":["counselling-desks"],"summary":"Counselling Desk Staff Deliver","operationId":"counselling_desk_staff_deliver","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","title":"Case Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeliverBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/desks/staff/cases/{case_id}/correct":{"post":{"tags":["counselling-desks"],"summary":"Counselling Desk Staff Correct","operationId":"counselling_desk_staff_correct","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","title":"Case Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeliverBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/desks/staff/cases/{case_id}/reconcile":{"post":{"tags":["counselling-desks"],"summary":"Counselling Desk Staff Reconcile","operationId":"counselling_desk_staff_reconcile","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","title":"Case Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/decision_universe__models_counselling_desk__ReasonBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/desks/staff/cases/{case_id}/settle":{"post":{"tags":["counselling-desks"],"summary":"Counselling Desk Staff Settle","operationId":"counselling_desk_staff_settle","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","title":"Case Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettleBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/desks/staff/cases/{case_id}/revoke":{"post":{"tags":["counselling-desks"],"summary":"Counselling Desk Staff Revoke","operationId":"counselling_desk_staff_revoke","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","title":"Case Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/decision_universe__models_counselling_desk__ReasonBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/desks/staff/capacity-owners":{"get":{"tags":["counselling-desks"],"summary":"Staff Capacity Owners","operationId":"counselling_desk_staff_capacity_owners","parameters":[{"name":"desk","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Desk"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["counselling-desks"],"summary":"Staff Add Capacity Owner","operationId":"counselling_desk_staff_add_capacity_owner","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapacityOwnerBody"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/desks/staff/capacity-owners/{capacity_owner_id}/revoke":{"post":{"tags":["counselling-desks"],"summary":"Staff Revoke Capacity Owner","operationId":"counselling_desk_staff_revoke_capacity_owner","parameters":[{"name":"capacity_owner_id","in":"path","required":true,"schema":{"type":"string","title":"Capacity Owner Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/desks/staff/approved-offers":{"get":{"tags":["counselling-desks"],"summary":"Staff Approved Offers","operationId":"counselling_desk_staff_approved_offers","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["counselling-desks"],"summary":"Staff Add Approved Offer","operationId":"counselling_desk_staff_add_approved_offer","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApprovedOfferBody"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/desks/staff/approved-offers/{offer_id}/withdraw":{"post":{"tags":["counselling-desks"],"summary":"Staff Withdraw Approved Offer","operationId":"counselling_desk_staff_withdraw_approved_offer","parameters":[{"name":"offer_id","in":"path","required":true,"schema":{"type":"string","title":"Offer Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/desks/cases":{"get":{"tags":["counselling-desks"],"summary":"My Cases","operationId":"counselling_desk_my_cases","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/desks/cases/{case_id}":{"get":{"tags":["counselling-desks"],"summary":"My Case","operationId":"counselling_desk_my_case","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","title":"Case Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/desks/cases/{case_id}/cancel":{"post":{"tags":["counselling-desks"],"summary":"Cancel Case","operationId":"counselling_desk_cancel_case","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","title":"Case Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RevisionBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/desks/cases/{case_id}/acknowledge":{"post":{"tags":["counselling-desks"],"summary":"Acknowledge Answer","operationId":"counselling_desk_acknowledge_answer","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","title":"Case Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RevisionBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/desks/{desk_slug}/preflight":{"get":{"tags":["counselling-desks"],"summary":"Preflight","operationId":"counselling_desk_preflight","parameters":[{"name":"desk_slug","in":"path","required":true,"schema":{"type":"string","title":"Desk Slug"}},{"name":"season_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Season Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/desks/{desk_slug}/cases":{"post":{"tags":["counselling-desks"],"summary":"Request Case","operationId":"counselling_desk_request_case","parameters":[{"name":"desk_slug","in":"path","required":true,"schema":{"type":"string","title":"Desk Slug"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/funded-seat-offers":{"get":{"tags":["counselling-desks"],"summary":"Funded Seat Offers","operationId":"counselling_funded_seat_offers","parameters":[{"name":"institute_key","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80,"pattern":"^[a-z0-9_\\-]+$"},{"type":"null"}],"title":"Institute Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/service/staff/providers":{"get":{"tags":["counselling-service"],"summary":"Staff Providers","operationId":"counselling_service_staff_providers","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["counselling-service"],"summary":"Staff Add Provider","operationId":"counselling_service_staff_add_provider","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderBody"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/service/staff/providers/{provider_id}/revoke":{"post":{"tags":["counselling-service"],"summary":"Staff Revoke Provider","operationId":"counselling_service_staff_revoke_provider","parameters":[{"name":"provider_id","in":"path","required":true,"schema":{"type":"string","title":"Provider Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/service/staff/providers/{provider_id}/approve-terms":{"post":{"tags":["counselling-service"],"summary":"Staff Approve Terms","operationId":"counselling_service_staff_approve_terms","parameters":[{"name":"provider_id","in":"path","required":true,"schema":{"type":"string","title":"Provider Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/decision_universe__models_counselling_service_intake__TermsBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/service/staff/providers/{provider_id}/slots":{"post":{"tags":["counselling-service"],"summary":"Staff Add Slot","operationId":"counselling_service_staff_add_slot","parameters":[{"name":"provider_id","in":"path","required":true,"schema":{"type":"string","title":"Provider Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SlotBody"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/service/staff/slots":{"get":{"tags":["counselling-service"],"summary":"Staff Slots","operationId":"counselling_service_staff_slots","parameters":[{"name":"provider_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Provider Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/service/staff/slots/{slot_id}/withdraw":{"post":{"tags":["counselling-service"],"summary":"Staff Withdraw Slot","operationId":"counselling_service_staff_withdraw_slot","parameters":[{"name":"slot_id","in":"path","required":true,"schema":{"type":"string","title":"Slot Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/service/staff/queue":{"get":{"tags":["counselling-service"],"summary":"Staff Queue","operationId":"counselling_service_staff_queue","parameters":[{"name":"mine","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Mine"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/service/staff/price":{"get":{"tags":["counselling-service"],"summary":"Staff Price","operationId":"counselling_service_staff_price","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["counselling-service"],"summary":"Staff Set Price","description":"A new price version. The founder's decision alone; an ON price still never books without payment.","operationId":"counselling_service_staff_set_price","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PriceBody"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/service/staff/escalation-chain":{"get":{"tags":["counselling-service"],"summary":"Staff Chain","operationId":"counselling_service_staff_chain","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["counselling-service"],"summary":"Staff Publish Chain","description":"A new version of the safeguarding chain, from the founder. Who and when are recorded.","operationId":"counselling_service_staff_publish_chain","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChainBody"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/service/staff/safety-reports":{"get":{"tags":["counselling-service"],"summary":"Staff Safety Reports","operationId":"counselling_service_staff_safety_reports","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/service/staff/safety-reports/{report_id}/acknowledge":{"post":{"tags":["counselling-service"],"summary":"Counselling Service Staff Safety Acknowledge","operationId":"counselling_service_staff_safety_acknowledge","parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"string","title":"Report Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SafetyActionBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/service/staff/safety-reports/{report_id}/escalate":{"post":{"tags":["counselling-service"],"summary":"Counselling Service Staff Safety Escalate","operationId":"counselling_service_staff_safety_escalate","parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"string","title":"Report Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SafetyActionBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/service/staff/safety-reports/{report_id}/close":{"post":{"tags":["counselling-service"],"summary":"Counselling Service Staff Safety Close","operationId":"counselling_service_staff_safety_close","parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"string","title":"Report Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SafetyActionBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/service/staff/providers/{provider_id}/alert-contact":{"post":{"tags":["counselling-service"],"summary":"Staff Counsellor Alert Contact","description":"Where safety alerts reach this AspireACE counsellor. Founder or admin; the change is recorded, not the values.\n\nAny staff role could change this until 24 Oct 2026, which let one operator silently redirect\na counsellor's safeguarding alerts. Redirecting alerts is now as guarded as acting on a report.","operationId":"counselling_service_staff_counsellor_alert_contact","parameters":[{"name":"provider_id","in":"path","required":true,"schema":{"type":"string","title":"Provider Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/decision_universe__models_counselling_service_intake__ContactBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/service/staff/safeguarding-contacts/{owner_ref}":{"put":{"tags":["counselling-service"],"summary":"Staff Named Alert Contact","description":"Where safety alerts reach a named chain owner, such as the safeguarding lead. Founder only.","operationId":"counselling_service_staff_named_alert_contact","parameters":[{"name":"owner_ref","in":"path","required":true,"schema":{"type":"string","title":"Owner Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/decision_universe__models_counselling_service_intake__ContactBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/service/staff/safeguarding-contacts/{owner_ref}/test-alert":{"post":{"tags":["counselling-service"],"summary":"Staff Named Test Alert","description":"Send one labelled TEST alert to a named chain owner's saved contact and report what each provider did. Founder only.","operationId":"counselling_service_staff_named_test_alert","parameters":[{"name":"owner_ref","in":"path","required":true,"schema":{"type":"string","title":"Owner Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/service/staff/alert-readiness":{"get":{"tags":["counselling-service"],"summary":"Staff Alert Readiness","operationId":"counselling_service_staff_alert_readiness","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/service/staff/safety-sweep":{"post":{"tags":["counselling-service"],"summary":"Staff Safety Sweep","description":"Run the once-a-minute sweep now (escalate overdue reports, send due alerts). Founder only.","operationId":"counselling_service_staff_safety_sweep","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/service/staff/intakes/{intake_id}/accept":{"post":{"tags":["counselling-service"],"summary":"Staff Accept","operationId":"counselling_service_staff_accept","parameters":[{"name":"intake_id","in":"path","required":true,"schema":{"type":"string","title":"Intake Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/decision_universe__models_counselling_service_intake__AcceptBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/service/staff/intakes/{intake_id}/decline":{"post":{"tags":["counselling-service"],"summary":"Staff Decline","operationId":"counselling_service_staff_decline","parameters":[{"name":"intake_id","in":"path","required":true,"schema":{"type":"string","title":"Intake Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/decision_universe__models_counselling_service_intake__DeclineBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/service/options":{"get":{"tags":["counselling-service"],"summary":"Options","operationId":"counselling_service_options","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/service/intakes":{"post":{"tags":["counselling-service"],"summary":"Submit Intake","operationId":"counselling_service_submit_intake","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntakeBody"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["counselling-service"],"summary":"My Intakes","operationId":"counselling_service_my_intakes","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/service/intakes/{intake_id}":{"get":{"tags":["counselling-service"],"summary":"My Intake","operationId":"counselling_service_my_intake","parameters":[{"name":"intake_id","in":"path","required":true,"schema":{"type":"string","title":"Intake Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/service/intakes/{intake_id}/check":{"post":{"tags":["counselling-service"],"summary":"Check Intake","description":"Read back what the provider did. Safe to repeat; never sends the request again.","operationId":"counselling_service_check","parameters":[{"name":"intake_id","in":"path","required":true,"schema":{"type":"string","title":"Intake Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/service/intakes/{intake_id}/safety-report":{"post":{"tags":["counselling-service"],"summary":"File Safety Report","description":"Report a problem or an emergency. Goes first to the assigned counsellor, then along the chain.","operationId":"counselling_service_safety_report","parameters":[{"name":"intake_id","in":"path","required":true,"schema":{"type":"string","title":"Intake Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SafetyReportBody"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/service/intakes/{intake_id}/request":{"post":{"tags":["counselling-service"],"summary":"Counselling Service Request Provider","operationId":"counselling_service_request_provider","parameters":[{"name":"intake_id","in":"path","required":true,"schema":{"type":"string","title":"Intake Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RevisionBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/service/intakes/{intake_id}/rematch":{"post":{"tags":["counselling-service"],"summary":"Counselling Service Rematch","operationId":"counselling_service_rematch","parameters":[{"name":"intake_id","in":"path","required":true,"schema":{"type":"string","title":"Intake Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RevisionBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/service/intakes/{intake_id}/book":{"post":{"tags":["counselling-service"],"summary":"Counselling Service Book","operationId":"counselling_service_book","parameters":[{"name":"intake_id","in":"path","required":true,"schema":{"type":"string","title":"Intake Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RevisionBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/service/intakes/{intake_id}/withdraw":{"post":{"tags":["counselling-service"],"summary":"Counselling Service Withdraw","operationId":"counselling_service_withdraw","parameters":[{"name":"intake_id","in":"path","required":true,"schema":{"type":"string","title":"Intake Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RevisionBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/service/intakes/{intake_id}/paid-checkout":{"post":{"tags":["counselling-service-commerce"],"summary":"Begin Paid Checkout","operationId":"counselling_service_paid_checkout","parameters":[{"name":"intake_id","in":"path","required":true,"schema":{"type":"string","title":"Intake Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":160,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaidCheckoutBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["counselling-service-commerce"],"summary":"Paid Checkout Status","operationId":"counselling_service_paid_checkout_status","parameters":[{"name":"intake_id","in":"path","required":true,"schema":{"type":"string","title":"Intake Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/service/intakes/{intake_id}/paid-checkout/retry":{"post":{"tags":["counselling-service-commerce"],"summary":"Retry Paid Checkout","operationId":"counselling_service_paid_checkout_retry","parameters":[{"name":"intake_id","in":"path","required":true,"schema":{"type":"string","title":"Intake Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":160,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/service/intakes/{intake_id}/paid-checkout/cancel":{"post":{"tags":["counselling-service-commerce"],"summary":"Cancel Paid Checkout","operationId":"counselling_service_paid_checkout_cancel","parameters":[{"name":"intake_id","in":"path","required":true,"schema":{"type":"string","title":"Intake Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":160,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/service/parent/intakes/{intake_id}/paid-quote":{"get":{"tags":["counselling-service-commerce"],"summary":"Parent Paid Quote","operationId":"parent_counselling_service_paid_quote","parameters":[{"name":"intake_id","in":"path","required":true,"schema":{"type":"string","title":"Intake Id"}},{"name":"relationship_ref","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":200,"title":"Relationship Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/service/parent/intakes/{intake_id}/paid-checkout":{"post":{"tags":["counselling-service-commerce"],"summary":"Parent Begin Paid Checkout","operationId":"parent_counselling_service_paid_checkout","parameters":[{"name":"intake_id","in":"path","required":true,"schema":{"type":"string","title":"Intake Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":160,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaidCheckoutBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["counselling-service-commerce"],"summary":"Parent Paid Checkout Status","operationId":"parent_counselling_service_paid_checkout_status","parameters":[{"name":"intake_id","in":"path","required":true,"schema":{"type":"string","title":"Intake Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/service/parent/intakes/{intake_id}/paid-checkout/cancel":{"post":{"tags":["counselling-service-commerce"],"summary":"Parent Cancel Paid Checkout","operationId":"parent_counselling_service_paid_checkout_cancel","parameters":[{"name":"intake_id","in":"path","required":true,"schema":{"type":"string","title":"Intake Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":160,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/service/parent/intakes/{intake_id}/paid-checkout/retry":{"post":{"tags":["counselling-service-commerce"],"summary":"Parent Retry Paid Checkout","operationId":"parent_counselling_service_paid_checkout_retry","parameters":[{"name":"intake_id","in":"path","required":true,"schema":{"type":"string","title":"Intake Id"}},{"name":"relationship_ref","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":200,"title":"Relationship Ref"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":160,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/service/parent/children/{child_id}/paid-quote":{"get":{"tags":["counselling-service-commerce"],"summary":"Parent Child Paid Quote","operationId":"parent_counselling_service_child_paid_quote","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"relationship_ref","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":200,"title":"Relationship Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/service/parent/children/{child_id}/paid-checkout":{"post":{"tags":["counselling-service-commerce"],"summary":"Parent Child Begin Paid Checkout","operationId":"parent_counselling_service_child_paid_checkout","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":160,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaidCheckoutBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["counselling-service-commerce"],"summary":"Parent Child Paid Checkout Status","operationId":"parent_counselling_service_child_paid_checkout_status","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/service/parent/children/{child_id}/paid-checkout/cancel":{"post":{"tags":["counselling-service-commerce"],"summary":"Parent Child Cancel Paid Checkout","operationId":"parent_counselling_service_child_paid_checkout_cancel","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":160,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/service/parent/children/{child_id}/paid-checkout/retry":{"post":{"tags":["counselling-service-commerce"],"summary":"Parent Child Retry Paid Checkout","operationId":"parent_counselling_service_child_paid_checkout_retry","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"relationship_ref","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":200,"title":"Relationship Ref"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":160,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/auth/payer-age":{"get":{"tags":["parent-payer-age"],"summary":"Parent Payer Age","operationId":"parent_payer_age_api_v1_parent_auth_payer_age_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"put":{"tags":["parent-payer-age"],"summary":"Parent Confirm Payer Age","operationId":"parent_confirm_payer_age_api_v1_parent_auth_payer_age_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ParentPayerAgeBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/parent/children/{child_id}/seasons":{"get":{"tags":["counselling-parent"],"summary":"Counselling Parent Season List","description":"The seasons a linked parent can open for this child, newest first. Names only.","operationId":"counselling_parent_season_list","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/counselling/parent/seasons/{season_id}":{"get":{"tags":["counselling-parent"],"summary":"Counselling Parent Season Digest","description":"P09: the purpose-scoped parent digest of one season, cut down on the server.","operationId":"counselling_parent_season_digest","parameters":[{"name":"season_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Season Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decisions/parent/children/{child_id}/receipts":{"get":{"tags":["counselling-parent"],"summary":"Decision Receipt Parent List","description":"A linked child's counselling receipts, newest first, each already cut to the parent's view.","operationId":"decision_receipt_parent_list","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decisions/receipts/{receipt_id}/parent-projection":{"get":{"tags":["counselling-parent"],"summary":"Decision Receipt Parent Projection","description":"P07: one receipt as a linked parent may read it. Capture mode is never filtered out.","operationId":"decision_receipt_parent_projection","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Receipt Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/decisions/parent/receipts/{receipt_id}/resolve-address":{"get":{"tags":["counselling-parent"],"summary":"Decision Receipt Parent Resolve Address","description":"Where a linked parent's way in lands. Read-only, and only after the live link and the child's sharing are checked.","operationId":"decision_receipt_parent_resolve_address","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Receipt Id"}},{"name":"entry_mode","in":"query","required":false,"schema":{"type":"string","maxLength":20,"default":"PARENT","title":"Entry Mode"}},{"name":"address","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Address"}},{"name":"beneficiary_ref","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":127},{"type":"null"}],"title":"Beneficiary Ref"}},{"name":"return_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Return To"}},{"name":"return_nonce","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":32,"maxLength":200},{"type":"null"}],"title":"Return Nonce"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/round-action-season":{"get":{"tags":["predict-next-round-action-entry"],"summary":"Read Season Status","description":"Which authorities have published rules, and whether each season is open, over or not yet open.","operationId":"read_round_action_season_status","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SeasonStatusProjection"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/round-action-entries":{"post":{"tags":["predict-next-round-action-entry"],"summary":"Check Entry","description":"The student's way in. Says what the published rules allow for the situation described. Creates nothing and saves nothing.","operationId":"check_round_action_entry","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoundActionEntryRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoundActionEntryProjection"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/round-actions/{round_action_decision_id}/family-record":{"get":{"tags":["predict-next-round-action-entry"],"summary":"Read Family Record","operationId":"read_round_action_family_record","parameters":[{"name":"round_action_decision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Round Action Decision Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FamilyActionRecordRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["predict-next-round-action-entry"],"summary":"Record Family Action","description":"The family's own statement of which action they took. A claim, receipted and never edited. Nothing is sent to any portal.","operationId":"record_round_action_family_choice","parameters":[{"name":"round_action_decision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Round Action Decision Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FamilyActionRecordRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FamilyActionRecordMutation"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/round-actions/{round_action_decision_id}/family-decision":{"post":{"tags":["predict-next-round-action-entry"],"summary":"Record Family Decision Alias","description":"Spec-aligned alias for recording the family's round-action decision.","operationId":"record_round_action_family_decision","parameters":[{"name":"round_action_decision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Round Action Decision Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FamilyActionRecordRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FamilyActionRecordMutation"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/round-actions/{round_action_decision_id}/corrections":{"get":{"tags":["predict-next-round-action-entry"],"summary":"List Family Record Corrections","description":"Every correction put on this round's record, oldest first. Read-only, owner-scoped, not behind the write flag.","operationId":"list_round_action_family_record_corrections","parameters":[{"name":"round_action_decision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Round Action Decision Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FamilyRecordCorrection"},"title":"Response List Round Action Family Record Corrections"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/round-actions/{round_action_decision_id}/correction":{"post":{"tags":["predict-next-round-action-entry"],"summary":"Correct Family Record","description":"Say what you told us you did was wrong. The earlier statement is kept and never edited: the correction adds\na new one in its place. Nothing is sent to any portal.","operationId":"correct_round_action_family_record","parameters":[{"name":"round_action_decision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Round Action Decision Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CorrectFamilyRecordRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FamilyRecordCorrection"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/round-actions/{round_action_decision_id}/export":{"post":{"tags":["predict-next-round-action-entry"],"summary":"Export Round Action","description":"One round as a plain document (the advice, the rule it rested on, what you told us), kept 30 days.","operationId":"export_round_action","parameters":[{"name":"round_action_decision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Round Action Decision Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExportRoundActionRequest"}],"default":{"format":"JSON"},"title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoundActionExport"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/round-actions/{round_action_decision_id}/exports":{"get":{"tags":["predict-next-round-action-entry"],"summary":"List Round Action Exports","description":"The copies still kept for this round (no documents), newest first. Read-only, owner-scoped, not behind the write flag.","operationId":"list_round_action_exports","parameters":[{"name":"round_action_decision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Round Action Decision Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RoundActionExport"},"title":"Response List Round Action Exports"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/round-actions/{round_action_decision_id}/export/{export_id}":{"get":{"tags":["predict-next-round-action-entry"],"summary":"Read Round Action Export","description":"Fetch a copy again. 410 once it was removed or has expired. Builds and writes nothing.","operationId":"read_round_action_export","parameters":[{"name":"round_action_decision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Round Action Decision Id"}},{"name":"export_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Export Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoundActionExport"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["predict-next-round-action-entry"],"summary":"Delete Round Action Export","description":"Remove the stored copy now. Safe to repeat. Not behind the write flag: taking your own data back is never held.","operationId":"delete_round_action_export","parameters":[{"name":"round_action_decision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Round Action Decision Id"}},{"name":"export_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Export Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoundActionExportRemoved"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/choice-builder/status":{"get":{"tags":["predict-next-choice-builder"],"summary":"Read Choice Builder Status","description":"Is saving open? Said in words a family can read, so a closed switch is a\nsentence on the page and not a broken Save button.","operationId":"read_choice_builder_status","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuilderStatus"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/choice-builder/preview":{"post":{"tags":["predict-next-choice-builder"],"summary":"Preview Choice Builder Order","description":"Order the lines the family picked and show the figure behind each one.\nReads the published cutoff table; writes nothing; not behind the write flag.","operationId":"preview_choice_builder_order","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreviewChoiceListRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssembledOrder"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/choice-builder/lists":{"post":{"tags":["predict-next-choice-builder"],"summary":"Save Choice Builder List","description":"Save the list as version 1, or as the next version when series_id and\nIf-Match (the version the family started from) are sent.","operationId":"save_choice_builder_list","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveChoiceListRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssembledListRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["predict-next-choice-builder"],"summary":"List Choice Builder Lists","operationId":"list_choice_builder_lists","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AssembledListSummary"},"title":"Response List Choice Builder Lists"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/choice-builder/lists/{choice_list_id}":{"get":{"tags":["predict-next-choice-builder"],"summary":"Read Choice Builder List","operationId":"read_choice_builder_list","parameters":[{"name":"choice_list_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Choice List Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssembledListRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/choice-builder/lists/{choice_list_id}/audits":{"post":{"tags":["predict-next-choice-builder"],"summary":"Audit Choice Builder List","description":"Check one saved version. The check never reorders the list. One check per\nversion: checking an unchanged version again returns the check already held.","operationId":"audit_choice_builder_list","parameters":[{"name":"choice_list_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Choice List Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/AuditAssembledListRequest"}],"default":{},"title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChoiceAuditView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["predict-next-choice-builder"],"summary":"List Choice Builder List Audits","description":"Every check of one list, newest first. Read-only, owner-scoped.","operationId":"list_choice_builder_list_audits","parameters":[{"name":"choice_list_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Choice List Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ChoiceAuditView"},"title":"Response List Choice Builder List Audits"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/choice-builder/lists/{choice_list_id}/audit-view":{"get":{"tags":["predict-next-choice-builder"],"summary":"Read Choice Builder List Audit View","operationId":"read_choice_builder_list_audit_view","parameters":[{"name":"choice_list_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Choice List Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/ChoiceAuditView"},{"type":"null"}],"title":"Response Read Choice Builder List Audit View"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/choice-builder/audits/{choice_audit_id}/view":{"get":{"tags":["predict-next-choice-builder"],"summary":"Read Choice Builder Audit View","operationId":"read_choice_builder_audit_view","parameters":[{"name":"choice_audit_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Choice Audit Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChoiceAuditView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/choice-builder/audits/{choice_audit_id}/corrections":{"get":{"tags":["predict-next-choice-builder"],"summary":"List Choice Builder Audit Corrections","description":"Every correction put on one check, oldest first. Read-only, owner-scoped, not behind the write flag.","operationId":"list_choice_builder_audit_corrections","parameters":[{"name":"choice_audit_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Choice Audit Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ChoiceAuditCorrection"},"title":"Response List Choice Builder Audit Corrections"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["predict-next-choice-builder"],"summary":"Correct Choice Builder Audit","description":"Say a check, or one finding in it, is wrong or no longer fits. The check is never edited: the\ncorrection sits beside it, and if the list has a newer version that version is checked too.","operationId":"correct_choice_builder_audit","parameters":[{"name":"choice_audit_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Choice Audit Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CorrectChoiceAuditRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChoiceAuditCorrection"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/choice-builder/audits/{choice_audit_id}/exports":{"post":{"tags":["predict-next-choice-builder"],"summary":"Export Choice Builder Audit","description":"One check as a plain document (findings, what could not be checked, sources), kept 30 days.","operationId":"export_choice_builder_audit","parameters":[{"name":"choice_audit_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Choice Audit Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExportChoiceAuditRequest"}],"default":{"format":"JSON"},"title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChoiceAuditExport"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/choice-builder/audits/{choice_audit_id}/exports/{export_id}":{"get":{"tags":["predict-next-choice-builder"],"summary":"Read Choice Builder Audit Export","description":"Fetch a copy again. 410 once it was removed or has expired. Builds and writes nothing.","operationId":"read_choice_builder_audit_export","parameters":[{"name":"choice_audit_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Choice Audit Id"}},{"name":"export_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Export Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChoiceAuditExport"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["predict-next-choice-builder"],"summary":"Delete Choice Builder Audit Export","description":"Remove the stored copy now. Safe to repeat. Not behind the write flag: taking your own data back is never held.","operationId":"delete_choice_builder_audit_export","parameters":[{"name":"choice_audit_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Choice Audit Id"}},{"name":"export_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Export Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChoiceAuditExportRemoved"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/career-capital/position":{"get":{"tags":["career-capital"],"summary":"Get Position","operationId":"get_position_api_v1_career_capital_position_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/career-capital/meter":{"get":{"tags":["career-capital"],"summary":"Get Meter","operationId":"get_meter_api_v1_career_capital_meter_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/career-capital/comparisons":{"post":{"tags":["career-capital"],"summary":"Create Comparison","operationId":"create_comparison_api_v1_career_capital_comparisons_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateComparisonRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["career-capital"],"summary":"List Comparisons","operationId":"list_comparisons_api_v1_career_capital_comparisons_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/career-capital/comparisons/{comparison_id}":{"get":{"tags":["career-capital"],"summary":"Get Comparison","operationId":"get_comparison_api_v1_career_capital_comparisons__comparison_id__get","parameters":[{"name":"comparison_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Comparison Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/career-capital/comparisons/{comparison_id}/constraints":{"put":{"tags":["career-capital"],"summary":"Update Constraints","operationId":"update_constraints_api_v1_career_capital_comparisons__comparison_id__constraints_put","parameters":[{"name":"comparison_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Comparison Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateConstraintsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/career-capital/comparisons/{comparison_id}/options":{"post":{"tags":["career-capital"],"summary":"Add Option","operationId":"add_option_api_v1_career_capital_comparisons__comparison_id__options_post","parameters":[{"name":"comparison_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Comparison Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddOptionRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/career-capital/comparisons/{comparison_id}/options/{option_id}":{"delete":{"tags":["career-capital"],"summary":"Remove Option","operationId":"remove_option_api_v1_career_capital_comparisons__comparison_id__options__option_id__delete","parameters":[{"name":"comparison_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Comparison Id"}},{"name":"option_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Option Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["career-capital"],"summary":"Get Option","operationId":"get_option_api_v1_career_capital_comparisons__comparison_id__options__option_id__get","parameters":[{"name":"comparison_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Comparison Id"}},{"name":"option_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Option Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/career-capital/comparisons/{comparison_id}/rerun":{"post":{"tags":["career-capital"],"summary":"Rerun","operationId":"rerun_api_v1_career_capital_comparisons__comparison_id__rerun_post","parameters":[{"name":"comparison_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Comparison Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/RerunRequest"},{"type":"null"}],"title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/career-capital/comparisons/{comparison_id}/versions":{"get":{"tags":["career-capital"],"summary":"Get Versions","operationId":"get_versions_api_v1_career_capital_comparisons__comparison_id__versions_get","parameters":[{"name":"comparison_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Comparison Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/career-capital/comparisons/{comparison_id}/sources":{"get":{"tags":["career-capital"],"summary":"Get Sources","operationId":"get_sources_api_v1_career_capital_comparisons__comparison_id__sources_get","parameters":[{"name":"comparison_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Comparison Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/career-capital/comparisons/{comparison_id}/handoff":{"post":{"tags":["career-capital"],"summary":"Handoff","operationId":"handoff_api_v1_career_capital_comparisons__comparison_id__handoff_post","parameters":[{"name":"comparison_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Comparison Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/decision_universe__models_career_capital__HandoffRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/consent/{scope}":{"get":{"tags":["acespathways-consent"],"summary":"Read Pathways Consent State","description":"What this learner has already decided, so the screen knows what to show.","operationId":"read_pathways_consent_state","parameters":[{"name":"scope","in":"path","required":true,"schema":{"type":"string","title":"Scope"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Pathways Consent State"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["acespathways-consent"],"summary":"Grant Pathways Consent","description":"Record the learner's yes. A minor's yes is a request, never a grant.\n\nFor the aptitude permission, a yes that follows a take-back first runs the same idempotent sweep that stops every live\nshare, and only then records the yes. A yes brings back the learner's OWN use and never a parent's view; if an earlier\ntake-back could not stop a share, this is where it is stopped. If the sweep cannot be completed the yes is refused (503,\nwith words the learner can act on) and nothing is recorded, so the parent's read cannot reopen.","operationId":"grant_pathways_consent","parameters":[{"name":"scope","in":"path","required":true,"schema":{"type":"string","title":"Scope"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PathwaysConsentDecision"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Grant Pathways Consent"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/consent/{scope}/revoke":{"post":{"tags":["acespathways-consent"],"summary":"Revoke Pathways Consent","description":"Take permission back. Never blocked by a missing grant.\n\nFor the aptitude scope this also stops every live share of the learner's reports (one stop receipt each, through the\naptitude service's own single-stop path). The withdrawal is recorded FIRST, so the parent's read is already closed\nwhen the shares are stopped; a later \"yes again\" brings back only the learner's own use, never the parent's view.\n\nWith ``PATHWAYS_REVOKE_DELETES_SAVED_DATA`` on, the learner's saved rows for this scope are deleted\ntoo. The withdrawal is recorded first and is never undone by a deletion failure.","operationId":"revoke_pathways_consent","parameters":[{"name":"scope","in":"path","required":true,"schema":{"type":"string","title":"Scope"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Revoke Pathways Consent"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/meter":{"get":{"tags":["acespathways-parent"],"summary":"Get Pathways Meter","operationId":"get_pathways_meter","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeterProjection"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/saved-routes":{"post":{"tags":["acespathways-parent"],"summary":"Create Saved Route","operationId":"create_saved_route","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavedRouteRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavedRoute"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["acespathways-parent"],"summary":"List Saved Routes","operationId":"list_saved_routes","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavedRouteList"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/saved-routes/{saved_route_id}":{"delete":{"tags":["acespathways-parent"],"summary":"Delete Saved Route","operationId":"delete_saved_route","parameters":[{"name":"saved_route_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Saved Route Id"}},{"name":"If-Match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavedRoute"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/preview":{"get":{"tags":["acespathways-parent"],"summary":"Get Preview","operationId":"get_preview","parameters":[{"name":"context_digest","in":"query","required":true,"schema":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Context Digest"}},{"name":"graph_release_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Graph Release Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreviewProjection"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/coverage":{"get":{"tags":["acespathways-parent"],"summary":"Get Coverage","operationId":"get_coverage","parameters":[{"name":"graph_release_id","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Graph Release Id"}},{"name":"scope_kind","in":"query","required":false,"schema":{"type":"string","pattern":"^(RELEASE|ENTITY_TYPE|EDGE_TYPE)$","default":"RELEASE","title":"Scope Kind"}},{"name":"scope_value","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Za-z0-9_\\-]{1,64}$","default":"ALL","title":"Scope Value"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CoverageProjection"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/route-choice-register":{"get":{"tags":["acespathways-parent"],"summary":"Get Route Choice Register","operationId":"get_route_choice_register","parameters":[{"name":"version","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"title":"Version"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisterProjection"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/route-choice-register/releases":{"post":{"tags":["acespathways-parent"],"summary":"Publish Route Choice Register","operationId":"publish_route_choice_register","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublishRegisterRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisterReceipt"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/route-choice-events":{"post":{"tags":["acespathways-parent"],"summary":"Record Route Choice Event","operationId":"record_route_choice_event","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RouteChoiceEventRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RouteChoiceEventReceipt"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/entries/resolve":{"post":{"tags":["acespathways-parent"],"summary":"Resolve Entry","operationId":"resolve_entry","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntryResolveRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntryResolution"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/predict/pathways":{"get":{"tags":["acespathways-parent"],"summary":"Legacy Predict Pathways Alias","description":"Compatibility address. Takes only {address, return_nonce}; the server decides the rest.","operationId":"legacy_predict_pathways_alias","parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":300,"title":"Address"}},{"name":"return_nonce","in":"query","required":true,"schema":{"type":"string","minLength":32,"maxLength":200,"title":"Return Nonce"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntryResolution"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/careers/roles":{"get":{"tags":["careers-read"],"summary":"List Roles","operationId":"list_roles_api_v1_careers_roles_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Q"}},{"name":"field","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":1},{"type":"null"}],"title":"Field"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":30,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleList"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/careers/facets":{"get":{"tags":["careers-read"],"summary":"List Facets","operationId":"list_facets_api_v1_careers_facets_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Facets"}}}}}}},"/api/v1/careers/roles/{occupation_id}":{"get":{"tags":["careers-read"],"summary":"Read Role","operationId":"read_role_api_v1_careers_roles__occupation_id__get","parameters":[{"name":"occupation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Occupation Id"}},{"name":"geography_code","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Z0-9][A-Z0-9._:-]{1,79}$","default":"NATIONAL","title":"Geography Code"}},{"name":"as_of","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"As Of"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RolePage"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/careers/roles/{occupation_id}/sources":{"get":{"tags":["careers-read"],"summary":"Read Role Sources","operationId":"read_role_sources_api_v1_careers_roles__occupation_id__sources_get","parameters":[{"name":"occupation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Occupation Id"}},{"name":"geography_code","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Z0-9][A-Z0-9._:-]{1,79}$","default":"NATIONAL","title":"Geography Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleSources"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/decision/rebuild":{"post":{"tags":["insimp-pr01-insights-authority"],"summary":"Rebuild Insights Decision","description":"Build and commit one immutable evidence window and versioned decision.\n\nBuild order step 1 (§22, §23 \"Release boundary\", P0-01/P0-02): this is the\none mutation route named in the current defect — it wrote decisions\nregardless of ``insights_release_controls.writes_enabled`` — so the\nfail-closed write guard is applied here via dependency injection, ahead of\neverything else in the function body. See ``insights_release_guard.py``.","operationId":"rebuild_insights_decision_api_v1_insights_decision_rebuild_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecisionRebuildRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Rebuild Insights Decision Api V1 Insights Decision Rebuild Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/decision":{"get":{"tags":["insimp-pr01-insights-authority"],"summary":"Get Insights Decision","operationId":"get_insights_decision_api_v1_insights_decision_get","parameters":[{"name":"exam","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":64,"title":"Exam"}},{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":96},{"type":"null"}],"title":"Subject"}},{"name":"chapter","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Chapter"}},{"name":"topic","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Topic"}},{"name":"concept_ref","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"},"title":"Concept Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Insights Decision Api V1 Insights Decision Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/decisions/{decision_id}/calibration-provenance":{"get":{"tags":["insimp-pr01-insights-authority"],"summary":"Get Decision Calibration Provenance","description":"Read the accepted calibration already bound to this learner's decision.","operationId":"get_decision_calibration_provenance_api_v1_insights_decisions__decision_id__calibration_provenance_get","parameters":[{"name":"decision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Decision Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalibrationProvenance"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/analytics/insights":{"get":{"tags":["insimp-pr01-insights-authority"],"summary":"Get Legacy Analytics Insights","operationId":"get_legacy_analytics_insights_api_v1_analytics_insights_get","deprecated":true,"parameters":[{"name":"exam","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":64,"title":"Exam"}},{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":96},{"type":"null"}],"title":"Subject"}},{"name":"chapter","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Chapter"}},{"name":"topic","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Topic"}},{"name":"concept_ref","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"},"title":"Concept Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Legacy Analytics Insights Api V1 Analytics Insights Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/decisions/{decision_id}/evidence":{"get":{"tags":["insimp-pr01-insights-authority"],"summary":"Get Decision Evidence","operationId":"get_decision_evidence_api_v1_insights_decisions__decision_id__evidence_get","parameters":[{"name":"decision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Decision Id"}},{"name":"cursor","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Decision Evidence Api V1 Insights Decisions  Decision Id  Evidence Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/decisions/{decision_id}/paths":{"get":{"tags":["insimp-pr01-insights-authority"],"summary":"Get Decision Paths","operationId":"get_decision_paths_api_v1_insights_decisions__decision_id__paths_get","parameters":[{"name":"decision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Decision Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Decision Paths Api V1 Insights Decisions  Decision Id  Paths Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/decisions/{decision_id}/actions":{"post":{"tags":["insimp-pr01-insights-authority"],"summary":"Launch Decision Action","operationId":"launch_decision_action_api_v1_insights_decisions__decision_id__actions_post","parameters":[{"name":"decision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Decision Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LaunchRepairRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Launch Decision Action Api V1 Insights Decisions  Decision Id  Actions Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["insimp-pr02-insights-journey"],"summary":"List Verified Actions","operationId":"list_verified_actions_api_v1_insights_decisions__decision_id__actions_get","parameters":[{"name":"decision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Decision Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionInventoryProjection"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/case-file":{"get":{"tags":["insimp-pr01-insights-authority"],"summary":"Get Insights Case File","operationId":"get_insights_case_file_api_v1_insights_case_file_get","parameters":[{"name":"cursor","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":30,"title":"Limit"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"State"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Insights Case File Api V1 Insights Case File Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/parent-projection/{student_id}":{"get":{"tags":["insimp-pr01-insights-authority"],"summary":"Get Parent Safe Insights Projection","description":"Purpose-bound aggregate: no raw symptoms, evidence rows, scores or graph paths.","operationId":"get_parent_safe_insights_projection_api_v1_insights_parent_projection__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"exam","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":64,"title":"Exam"}},{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":96},{"type":"null"}],"title":"Subject"}},{"name":"chapter","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Chapter"}},{"name":"topic","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Topic"}},{"name":"concept_ref","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"},"title":"Concept Ref"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Parent Safe Insights Projection Api V1 Insights Parent Projection  Student Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/runtime-state":{"get":{"tags":["insimp-pr01-insights-authority"],"summary":"Read Insights Runtime State","description":"What the Insights runtime will and will not do for this caller right now.\n\nAlways 200 for an authenticated caller: this endpoint's job is to answer\nthe question honestly, including \"we could not confirm the switch is on\",\nnot to fail when the answer is unfavourable. ``measured=false`` is exactly\nthat honest \"we could not confirm\" answer and is never rendered as though\nit were a positive \"on\" or \"off\" reading.","operationId":"read_insights_runtime_state_api_v1_insights_runtime_state_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Insights Runtime State Api V1 Insights Runtime State Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/case-file/{entry_id}/thread":{"post":{"tags":["insimp-pr02-insights-journey"],"summary":"Bind Exact Product Thread","operationId":"bind_exact_product_thread_api_v1_insights_case_file__entry_id__thread_post","parameters":[{"name":"entry_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entry Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThreadBindRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExactThreadHandoffProjection"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/case-file/{entry_id}/handoff":{"get":{"tags":["insimp-pr02-insights-journey"],"summary":"Read Exact Product Thread Handoff","description":"Return a fresh, owner-bound native handoff without changing case state.","operationId":"read_exact_product_thread_handoff_api_v1_insights_case_file__entry_id__handoff_get","parameters":[{"name":"entry_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entry Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExactThreadHandoffProjection"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/case-file/{entry_id}/return-readiness":{"get":{"tags":["insimp-pr02-insights-journey"],"summary":"Return Readiness","operationId":"return_readiness_api_v1_insights_case_file__entry_id__return_readiness_get","parameters":[{"name":"entry_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entry Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReturnReadinessProjection"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/case-file/{entry_id}/resume":{"get":{"tags":["insimp-pr02-insights-journey"],"summary":"Resume Exact Product Thread","operationId":"resume_exact_product_thread_api_v1_insights_case_file__entry_id__resume_get","parameters":[{"name":"entry_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entry Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Resume Exact Product Thread Api V1 Insights Case File  Entry Id  Resume Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/case-file/{entry_id}/review":{"get":{"tags":["insimp-pr02-insights-journey"],"summary":"Read Exact Returned Case","description":"Read one current returned case without broadening the case-file list.","operationId":"read_exact_returned_case_api_v1_insights_case_file__entry_id__review_get","parameters":[{"name":"entry_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entry Id"}},{"name":"expected_case_version","in":"query","required":true,"schema":{"type":"integer","minimum":1,"title":"Expected Case Version"}},{"name":"expected_return_receipt_id","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Expected Return Receipt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Exact Returned Case Api V1 Insights Case File  Entry Id  Review Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/case-file/{entry_id}/return":{"post":{"tags":["insimp-pr02-insights-journey"],"summary":"Return Exact Product Thread","operationId":"return_exact_product_thread_api_v1_insights_case_file__entry_id__return_post","parameters":[{"name":"entry_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entry Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThreadReturnRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExactReturnProjection"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/journey-events":{"post":{"tags":["insimp-pr02-insights-journey"],"summary":"Record Receipt Gated Journey Event","operationId":"record_receipt_gated_journey_event_api_v1_insights_journey_events_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyTelemetryCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Record Receipt Gated Journey Event Api V1 Insights Journey Events Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/calibration":{"get":{"tags":["insimp-obj-calibration-score"],"summary":"Read Calibration","description":"The score already earned. Never regenerates, never consumes.","operationId":"read_calibration_api_v1_insights_calibration_get","parameters":[{"name":"concept_ref","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Concept Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Calibration Api V1 Insights Calibration Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/calibration/generate":{"post":{"tags":["insimp-obj-calibration-score"],"summary":"Generate Calibration","description":"Score the evidence as it stands, and pin it.\n\nThe snapshot is immutable (§6.5). Generating again over the same window\nsupersedes the previous snapshot rather than editing it, so a learner who\nsaw \"overconfident\" last week can still be shown that that is what the\nevidence said last week.","operationId":"generate_calibration_api_v1_insights_calibration_generate_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateCalibrationRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Generate Calibration Api V1 Insights Calibration Generate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/calibration/{score_id}":{"get":{"tags":["insimp-obj-calibration-score"],"summary":"Read Calibration By Id","description":"One exact saved result, by its id.\n\nSET_18 E01: \"foreign/revoked ID is non-enumerating 404\".\n\nNON-ENUMERATING IS THE WHOLE POINT. A 403 for someone else's score and a 404\nfor one that does not exist would let anyone walk the id space and learn\nwhich scores are real and whose they are. Both answers are the same 404\nhere, and the ownership filter is in the WHERE clause rather than in an\n`if` after the read — so there is no version of this handler that has the\nrow in memory and merely declines to return it.\n\nA REVOKED score is also a 404 rather than a tombstone: §6.5 revokes a score\nwhen the evidence beneath it was corrected, and continuing to serve it —\neven labelled — would keep a withdrawn claim in front of the learner.","operationId":"read_calibration_by_id_api_v1_insights_calibration__score_id__get","parameters":[{"name":"score_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Score Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Calibration By Id Api V1 Insights Calibration  Score Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/os06/stated-confidence":{"post":{"tags":["os06-stated-confidence"],"summary":"Record Stated Confidence","description":"Record one learner's one-tap confidence for one attempt.\n\nOne row per (student, attempt) by construction (the unique index in\n202609211200): a retried tap for the same attempt replays this call's own\nprior result rather than erroring or double-writing.","operationId":"record_stated_confidence_api_v1_os06_stated_confidence_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordStatedConfidenceRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Record Stated Confidence Api V1 Os06 Stated Confidence Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/rote-check":{"get":{"tags":["insimp-obj-rote-detector"],"summary":"Read Rote Check","description":"The check already made. Never regenerates, never consumes.","operationId":"read_rote_check_api_v1_insights_rote_check_get","parameters":[{"name":"concept_ref","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":200,"title":"Concept Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Rote Check Api V1 Insights Rote Check Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/rote-check/generate":{"post":{"tags":["insimp-obj-rote-detector"],"summary":"Generate Rote Check","description":"Compare the evidence as it stands, and pin it.\n\nNo item list is accepted from the client (E02). The learner names a concept;\nthe server decides which of their own attempts count, which are comparable,\nand which are excluded.","operationId":"generate_rote_check_api_v1_insights_rote_check_generate_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateRoteCheckRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Generate Rote Check Api V1 Insights Rote Check Generate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/rote-check/{check_id}":{"get":{"tags":["insimp-obj-rote-detector"],"summary":"Read Rote Check By Id","description":"One exact saved check.\n\nE02: \"foreign is safe 404\". Ownership is in the WHERE clause rather than an\n`if` after the read, so there is no version of this handler that holds\nsomeone else's check in memory and merely declines to return it. A revoked\ncheck is also a 404 — it was withdrawn because its evidence changed, and\nserving it labelled would keep a withdrawn claim on screen.","operationId":"read_rote_check_by_id_api_v1_insights_rote_check__check_id__get","parameters":[{"name":"check_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Check Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Rote Check By Id Api V1 Insights Rote Check  Check Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/variant-test/launch":{"post":{"tags":["insimp-obj-unfamiliar-variant-test"],"summary":"Launch Variant Test","description":"Decide whether a Variant Test can run for this concept, and pin it.\n\nNo item is accepted from the client (same posture as the Rote Detector's\n`generate`): the learner names a concept, the server decides everything\nabout what is eligible, unseen and matched.","operationId":"launch_variant_test_api_v1_insights_variant_test_launch_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LaunchVariantTestRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Launch Variant Test Api V1 Insights Variant Test Launch Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/variant-test/testable-concepts":{"get":{"tags":["insimp-obj-unfamiliar-variant-test"],"summary":"Testable Concepts","description":"Which concepts a Variant Test could run on for this learner right now, so the screen never sends them to a dead end.\n\nWith ``concept_ref`` it answers for exactly those concepts (offerable, or how many more unseen questions are needed). Without, it lists\nthe concepts that qualify, fullest first. Reading launches nothing, writes nothing and uses up no question.\n\nMeasured on 2 Nov 2026: of 4,135 concepts that have any active question, 129 have six or more in one difficulty band before a learner's\nown history is taken off. Most concepts are honestly unavailable today; the list is short on purpose.","operationId":"testable_concepts_api_v1_insights_variant_test_testable_concepts_get","parameters":[{"name":"concept_ref","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"},"maxItems":25,"default":[],"title":"Concept Ref"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":25,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Testable Concepts Api V1 Insights Variant Test Testable Concepts Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/variant-test/{variant_test_id}":{"get":{"tags":["insimp-obj-unfamiliar-variant-test"],"summary":"Read Variant Test","description":"One exact saved launch decision. Foreign is a non-enumerating 404,\nmatching insights_rote_routes.read_rote_check_by_id — ownership lives in\nthe WHERE clause, not in an `if` checked after the read.\n\nJOB-1094: also reconciles RUNNING -> RETURNED once the runner session\nthis launch created has actually completed grading.","operationId":"read_variant_test_api_v1_insights_variant_test__variant_test_id__get","parameters":[{"name":"variant_test_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Variant Test Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Variant Test Api V1 Insights Variant Test  Variant Test Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/variant-test/{variant_test_id}/start":{"post":{"tags":["insimp-obj-unfamiliar-variant-test"],"summary":"Start Variant Test","description":"OFFERED -> RUNNING. The runner session already exists (built at\nlaunch); this only flips the state a learner sees. Idempotent: replays\nthe current row if already RUNNING or beyond.","operationId":"start_variant_test_api_v1_insights_variant_test__variant_test_id__start_post","parameters":[{"name":"variant_test_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Variant Test Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Start Variant Test Api V1 Insights Variant Test  Variant Test Id  Start Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/variant-test/{variant_test_id}/abandon":{"post":{"tags":["insimp-obj-unfamiliar-variant-test"],"summary":"Abandon Variant Test","description":"Release an OFFERED test only while Practice has no prepared session.\n\nIdempotent for an already ABANDONED row. Once a runner is prepared, its\nlifecycle belongs to Practice; Insights does not mutate DPP custody.","operationId":"abandon_variant_test_api_v1_insights_variant_test__variant_test_id__abandon_post","parameters":[{"name":"variant_test_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Variant Test Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Abandon Variant Test Api V1 Insights Variant Test  Variant Test Id  Abandon Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/practised-concepts":{"get":{"tags":["insimp-practised-concepts"],"summary":"Read Practised Concepts","operationId":"read_practised_concepts_api_v1_insights_practised_concepts_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Practised Concepts Api V1 Insights Practised Concepts Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/readiness/receipt":{"get":{"tags":["insimp-obj-readiness-proof"],"summary":"Read Readiness Receipt","description":"The receipt already minted. Never regenerates, never recomputes.","operationId":"read_readiness_receipt_api_v1_insights_readiness_receipt_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Readiness Receipt Api V1 Insights Readiness Receipt Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/readiness/receipt/generate":{"post":{"tags":["insimp-obj-readiness-proof"],"summary":"Generate Readiness Receipt","description":"Measure the current twin snapshot and pin an immutable receipt.\n\nReads the exact same source ENG-027's student route reads\n(`spre_snapshots.theta_vector`, latest row) so the receipt describes the\nsame reality the existing `/api/v1/readiness/{sid}` number does — this is\na receipt over that read, not a second calculation.","operationId":"generate_readiness_receipt_api_v1_insights_readiness_receipt_generate_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Generate Readiness Receipt Api V1 Insights Readiness Receipt Generate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/readiness/receipt/{receipt_id}/share":{"post":{"tags":["insimp-obj-readiness-proof"],"summary":"Share Readiness Receipt With Parent","operationId":"share_readiness_receipt_with_parent_api_v1_insights_readiness_receipt__receipt_id__share_post","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Receipt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Share Readiness Receipt With Parent Api V1 Insights Readiness Receipt  Receipt Id  Share Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["insimp-obj-readiness-proof"],"summary":"Stop Sharing Readiness Receipt With Parent","operationId":"stop_sharing_readiness_receipt_with_parent_api_v1_insights_readiness_receipt__receipt_id__share_delete","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Receipt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Stop Sharing Readiness Receipt With Parent Api V1 Insights Readiness Receipt  Receipt Id  Share Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/readiness/parent/{parent_id}/{child_id}":{"get":{"tags":["insimp-obj-readiness-proof"],"summary":"Read Readiness For Parent","description":"A linked parent's view of the child's readiness: summary only, and only\nif the child chose to share it.\n\nSame gates as the position-report parent read: the parent-child link on\nthe router dependency, the child's academic consent on that link with the\nchild's approval, then the share itself. Not shared and never measured are\nthe same answer (shared: false), so a parent cannot tell the two apart. A\nwithdrawn shared receipt is a 410 with its reason.","operationId":"read_readiness_for_parent_api_v1_insights_readiness_parent__parent_id___child_id__get","parameters":[{"name":"parent_id","in":"path","required":true,"schema":{"type":"string","title":"Parent Id"}},{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Readiness For Parent Api V1 Insights Readiness Parent  Parent Id   Child Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/position-report":{"get":{"tags":["insimp-obj-position-report"],"summary":"Read Position Report","description":"The current report, if one has been generated. Never regenerates.","operationId":"read_position_report_api_v1_insights_position_report_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Position Report Api V1 Insights Position Report Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/position-report/generate":{"post":{"tags":["insimp-obj-position-report"],"summary":"Generate Position Report","description":"Compose a dated snapshot from what the platform knows right now.\n\nRefused (503, with the release control's own reason) while the Insights\nrelease switch has writes off: a report is a stored artifact, and the\nproduct is not switched on for it yet.\n\nThe row is immutable once written (§5.7 \"versioned\"): a later generate\nsupersedes rather than edits, exactly like insights_calibration_scores.","operationId":"generate_position_report_api_v1_insights_position_report_generate_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeneratePositionReportRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Generate Position Report Api V1 Insights Position Report Generate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/position-report/{report_id}":{"get":{"tags":["insimp-obj-position-report"],"summary":"Read Position Report By Id","description":"One exact saved report, by its id.\n\nNon-enumerating: someone else's report and a report that never existed\nare both a 404 — the ownership filter lives in the WHERE clause, matching\ninsights_calibration_routes.read_calibration_by_id. A REVOKED report is a\n410 with its reason (§20.2: \"410 with revoked_reason when revoked\"), not a\nsilent 404 — a learner who is told their report was withdrawn deserves to\nknow that, unlike an id that was never theirs.","operationId":"read_position_report_by_id_api_v1_insights_position_report__report_id__get","parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Report Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Position Report By Id Api V1 Insights Position Report  Report Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/position-report/{report_id}/download":{"get":{"tags":["insimp-obj-position-report"],"summary":"Download Position Report","description":"One saved report as a printable HTML file (spec §5.7 \"owned read/download\").\n\nRead-only: it renders the saved, immutable body and never regenerates, so\nit needs no idempotency key and is not behind the release write switch.\nSomeone else's report and a report that never existed are both 404; a\nwithdrawn report is a 410 with its reason, exactly like the read route.\nThe ownership check runs before the entitlement check so a stranger learns\nnothing about plans from this address.","operationId":"download_position_report_api_v1_insights_position_report__report_id__download_get","parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Report Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/position-report/parent/{parent_id}/{child_id}":{"get":{"tags":["insimp-obj-position-report"],"summary":"Read Position Report For Parent","description":"A linked parent's view of the child's report: aggregate pages only.\n\nResolves through the projection layer, never the raw report. Three gates,\nall of which must pass: the parent-child link check on the router\ndependency (a signed-in parent with an active link), the child's academic\nconsent on that link, and a report the student chose to share with a\nparent (share scope PARENT). Anything else is the same plain 404 for a\nreport that does not exist, so a parent cannot tell \"not shared\" from\n\"none yet\". A withdrawn report is a 410 with its reason.","operationId":"read_position_report_for_parent_api_v1_insights_position_report_parent__parent_id___child_id__get","parameters":[{"name":"parent_id","in":"path","required":true,"schema":{"type":"string","title":"Parent Id"}},{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Position Report For Parent Api V1 Insights Position Report Parent  Parent Id   Child Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/position-report-share/links":{"post":{"tags":["insimp-obj-position-report-share"],"summary":"Create Mentor Link","description":"Make a mentor link for one of the student's own saved reports.\n\nThe secret is returned once, in ``share_path``. A replay of the same\nIdempotency-Key returns the same link without the secret.","operationId":"create_mentor_link_api_v1_insights_position_report_share_links_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateMentorLinkRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Mentor Link Api V1 Insights Position Report Share Links Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["insimp-obj-position-report-share"],"summary":"List Mentor Links","description":"Every link the student has made, newest first. Never the secrets.","operationId":"list_mentor_links_api_v1_insights_position_report_share_links_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Mentor Links Api V1 Insights Position Report Share Links Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/position-report-share/links/{link_id}/revoke":{"post":{"tags":["insimp-obj-position-report-share"],"summary":"Revoke Mentor Link","description":"Switch a link off. Idempotent. Deliberately NOT held by the release\nswitch: taking access back must work even while new writes are paused.","operationId":"revoke_mentor_link_api_v1_insights_position_report_share_links__link_id__revoke_post","parameters":[{"name":"link_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Link Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Revoke Mentor Link Api V1 Insights Position Report Share Links  Link Id  Revoke Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/position-report-share/view":{"post":{"tags":["insimp-obj-position-report-share"],"summary":"View Through Mentor Link","description":"The mentor's read view. No sign-in: the secret is the key.\n\nShows only the pages the student chose, through the projection layer, and\nnever the student's id. Each successful view is counted and audited.","operationId":"view_through_mentor_link_api_v1_insights_position_report_share_view_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ViewMentorLinkRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response View Through Mentor Link Api V1 Insights Position Report Share View Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/intervention-cost-model/status":{"get":{"tags":["intervention-cost-model"],"summary":"Read Status","operationId":"read_status_api_v1_intervention_cost_model_status_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/intervention-cost-model/comparisons":{"post":{"tags":["intervention-cost-model"],"summary":"Create Comparison","operationId":"create_comparison_api_v1_intervention_cost_model_comparisons_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["intervention-cost-model"],"summary":"List Comparisons","operationId":"list_comparisons_api_v1_intervention_cost_model_comparisons_get","parameters":[{"name":"gap_ref","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Gap Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/intervention-cost-model/comparisons/{comparison_id}":{"get":{"tags":["intervention-cost-model"],"summary":"Read Comparison","operationId":"read_comparison_api_v1_intervention_cost_model_comparisons__comparison_id__get","parameters":[{"name":"comparison_id","in":"path","required":true,"schema":{"type":"string","title":"Comparison Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["intervention-cost-model"],"summary":"Delete Comparison","operationId":"delete_comparison_api_v1_intervention_cost_model_comparisons__comparison_id__delete","parameters":[{"name":"comparison_id","in":"path","required":true,"schema":{"type":"string","title":"Comparison Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/intervention-cost-model/comparisons/{comparison_id}/corrections":{"post":{"tags":["intervention-cost-model"],"summary":"Correct Comparison","operationId":"correct_comparison_api_v1_intervention_cost_model_comparisons__comparison_id__corrections_post","parameters":[{"name":"comparison_id","in":"path","required":true,"schema":{"type":"string","title":"Comparison Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/intervention-cost-model/comparisons/{comparison_id}/expire":{"post":{"tags":["intervention-cost-model"],"summary":"Expire Comparison","operationId":"expire_comparison_api_v1_intervention_cost_model_comparisons__comparison_id__expire_post","parameters":[{"name":"comparison_id","in":"path","required":true,"schema":{"type":"string","title":"Comparison Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/intervention-cost-model/sources":{"get":{"tags":["intervention-cost-model"],"summary":"List Sources","operationId":"list_sources_api_v1_intervention_cost_model_sources_get","parameters":[{"name":"gap_ref","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Gap Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["intervention-cost-model"],"summary":"Add Source","operationId":"add_source_api_v1_intervention_cost_model_sources_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/intervention-cost-model/sources/{source_ref}":{"delete":{"tags":["intervention-cost-model"],"summary":"Withdraw Source","operationId":"withdraw_source_api_v1_intervention_cost_model_sources__source_ref__delete","parameters":[{"name":"source_ref","in":"path","required":true,"schema":{"type":"string","title":"Source Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/intervention-cost-model/projections/consume":{"post":{"tags":["intervention-cost-model"],"summary":"Consume Projection","operationId":"consume_projection_api_v1_intervention_cost_model_projections_consume_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/position-report-share/mentors":{"post":{"tags":["insimp-obj-position-report-mentor-share"],"summary":"Create Mentor Share","description":"Share one of the student's own saved reports with a mentor, by email address.\n\nNothing is sent to that address. The mentor has to sign in to AspireACE with it.\nA replay of the same Idempotency-Key returns the same share.","operationId":"create_mentor_share_api_v1_insights_position_report_share_mentors_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateMentorShareRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Mentor Share Api V1 Insights Position Report Share Mentors Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["insimp-obj-position-report-mentor-share"],"summary":"List Mentor Shares","description":"Every named-mentor share the student has made, newest first.","operationId":"list_mentor_shares_api_v1_insights_position_report_share_mentors_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Mentor Shares Api V1 Insights Position Report Share Mentors Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/position-report-share/mentors/{share_id}/revoke":{"post":{"tags":["insimp-obj-position-report-mentor-share"],"summary":"Revoke Mentor Share","description":"Switch a share off. Idempotent. Deliberately NOT held by the release switch:\ntaking access back must work even while new writes are paused.","operationId":"revoke_mentor_share_api_v1_insights_position_report_share_mentors__share_id__revoke_post","parameters":[{"name":"share_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Share Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Revoke Mentor Share Api V1 Insights Position Report Share Mentors  Share Id  Revoke Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/insights/position-report-share/shared-with-me":{"get":{"tags":["insimp-obj-position-report-mentor-share"],"summary":"List Shared With Me","description":"Reports shared with the signed-in account's verified email. Never the\nstudent's id, never another student's data, only what the student chose to show.","operationId":"list_shared_with_me_api_v1_insights_position_report_share_shared_with_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Shared With Me Api V1 Insights Position Report Share Shared With Me Get"}}}}}}},"/api/v1/insights/position-report-share/shared-with-me/{share_id}/view":{"post":{"tags":["insimp-obj-position-report-mentor-share"],"summary":"View Shared With Me","description":"Open one shared report. Only the pages the student ticked, through the same\nprojection the mentor link uses. Each successful view is counted and audited.","operationId":"view_shared_with_me_api_v1_insights_position_report_share_shared_with_me__share_id__view_post","parameters":[{"name":"share_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Share Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response View Shared With Me Api V1 Insights Position Report Share Shared With Me  Share Id  View Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/insights/outcome-lab":{"get":{"tags":["insimp-obj-outcome-lab"],"summary":"Read Outcome Lab","description":"The operator view: what the evidence says right now, and what blocks it.\n\nRead-only. Recomputes the measurement over the live evidence and reports it\nbeside the current acceptance (if any) and the release control that governs\nwhether evidence is being produced at all.","operationId":"read_outcome_lab_internal_v1_insights_outcome_lab_get","parameters":[{"name":"exam","in":"query","required":true,"schema":{"type":"string","title":"Exam"}},{"name":"subject_family","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject Family"}},{"name":"board","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Board"}},{"name":"window_days","in":"query","required":false,"schema":{"type":"integer","default":90,"title":"Window Days"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Outcome Lab Internal V1 Insights Outcome Lab Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/insights/outcome-lab/os15-record-set":{"get":{"tags":["insimp-obj-outcome-lab"],"summary":"Read Os15 Record Set Descriptor","description":"Return a bounded native OS15 descriptor for an authorized operator.\n\nThis read never returns calibration rows or changes acceptance/policy state.","operationId":"read_os15_record_set_descriptor_internal_v1_insights_outcome_lab_os15_record_set_get","parameters":[{"name":"anchor_calibration_id","in":"query","required":true,"schema":{"type":"string","title":"Anchor Calibration Id"}},{"name":"exam","in":"query","required":true,"schema":{"type":"string","title":"Exam"}},{"name":"subject_family","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject Family"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OS15RecordSetDescriptor"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/insights/outcome-lab/calibration-runs":{"post":{"tags":["insimp-obj-outcome-lab"],"summary":"Create Calibration Run","description":"Run the calibration and record the result.\n\nWrites one immutable acceptance. ACCEPTED requires an expert approval ref;\nwithout one the row is PENDING, which is a real record rather than a\nfailure. Replaying an identical run returns the existing row instead of\nminting a second verdict about the same evidence.","operationId":"create_calibration_run_internal_v1_insights_outcome_lab_calibration_runs_post","parameters":[{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalibrationRunRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Calibration Run Internal V1 Insights Outcome Lab Calibration Runs Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/privacy-notice":{"get":{"tags":["askimgimp-pr01"],"summary":"Read Ask Privacy Notice","description":"What happens to a question, shown before one is asked.\n\nRead-only and side-effect free on purpose. It records no decision and asks\nOS21 nothing: a learner reading a notice has not agreed to anything, and\nwriting a decision row every time this screen opened would fill the record\nwith events that never happened.\n\nAuthenticated because the answer is about this learner's question, and\nbecause an unauthenticated copy of the wording belongs in the public policy\npage rather than here.","operationId":"read_ask_privacy_notice_api_v1_ask_privacy_notice_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Ask Privacy Notice Api V1 Ask Privacy Notice Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/turns":{"post":{"tags":["askimgimp-pr01"],"summary":"Create Ask Turn","operationId":"create_ask_turn_api_v1_ask_turns_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-OS01-Predecessor-Receipt","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Os01-Predecessor-Receipt"}},{"name":"X-OS01-Context-Hash","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Os01-Context-Hash"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AskTurnCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Ask Turn Api V1 Ask Turns Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/turns/{turn_id}/context":{"post":{"tags":["askimgimp-pr01"],"summary":"Confirm Ask Context","operationId":"confirm_ask_context_api_v1_ask_turns__turn_id__context_post","parameters":[{"name":"turn_id","in":"path","required":true,"schema":{"type":"string","title":"Turn Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AskContextConfirmation"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Confirm Ask Context Api V1 Ask Turns  Turn Id  Context Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/turns/{turn_id}/context/reconcile":{"post":{"tags":["askimgimp-pr01"],"summary":"Reconcile Ask Source Digest","operationId":"reconcile_ask_source_digest_api_v1_ask_turns__turn_id__context_reconcile_post","parameters":[{"name":"turn_id","in":"path","required":true,"schema":{"type":"string","title":"Turn Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AskSourceDigestReconciliation"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Reconcile Ask Source Digest Api V1 Ask Turns  Turn Id  Context Reconcile Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/ask/turns/{turn_id}/route":{"post":{"tags":["askimgimp-pr01"],"summary":"Publish Route Decision","operationId":"publish_route_decision_internal_v1_ask_turns__turn_id__route_post","parameters":[{"name":"turn_id","in":"path","required":true,"schema":{"type":"string","title":"Turn Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalRoutePublication"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Publish Route Decision Internal V1 Ask Turns  Turn Id  Route Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/ask/turns/{turn_id}/release":{"post":{"tags":["askimgimp-pr01"],"summary":"Publish Answer Release","operationId":"publish_answer_release_internal_v1_ask_turns__turn_id__release_post","parameters":[{"name":"turn_id","in":"path","required":true,"schema":{"type":"string","title":"Turn Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalReleasePublication"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Publish Answer Release Internal V1 Ask Turns  Turn Id  Release Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/threads/{thread_id}":{"get":{"tags":["askimgimp-pr01"],"summary":"Get Ask Thread","operationId":"ask_thread_read","parameters":[{"name":"thread_id","in":"path","required":true,"schema":{"type":"string","title":"Thread Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Ask Thread Read"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["askimgimp-pr01"],"summary":"Delete Thread","operationId":"delete_thread_api_v1_ask_threads__thread_id__delete","parameters":[{"name":"thread_id","in":"path","required":true,"schema":{"type":"string","title":"Thread Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Delete Thread Api V1 Ask Threads  Thread Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/turns/{turn_id}/sources":{"get":{"tags":["askimgimp-pr01"],"summary":"Get Turn Sources","operationId":"get_turn_sources_api_v1_ask_turns__turn_id__sources_get","parameters":[{"name":"turn_id","in":"path","required":true,"schema":{"type":"string","title":"Turn Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Turn Sources Api V1 Ask Turns  Turn Id  Sources Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/turns/{turn_id}/actions":{"post":{"tags":["askimgimp-pr01"],"summary":"Resolve Turn Actions","operationId":"resolve_turn_actions_api_v1_ask_turns__turn_id__actions_post","parameters":[{"name":"turn_id","in":"path","required":true,"schema":{"type":"string","title":"Turn Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/askimgimp_pr01_routes__ActionCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Resolve Turn Actions Api V1 Ask Turns  Turn Id  Actions Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/turns/{turn_id}/save":{"post":{"tags":["askimgimp-pr01"],"summary":"Save Turn","operationId":"save_turn_api_v1_ask_turns__turn_id__save_post","parameters":[{"name":"turn_id","in":"path","required":true,"schema":{"type":"string","title":"Turn Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Save Turn Api V1 Ask Turns  Turn Id  Save Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/history":{"get":{"tags":["askimgimp-pr01"],"summary":"Ask History","description":"`items` is the per-turn list the Ask studio rail has always read.\n`threads` + `next_cursor` is P07: one Thread Folio per conversation\n(ask_history_folio). With `cursor` or `limit`, `items` is restricted to the\nturns of the threads on that page, so paging does not pay for every turn.","operationId":"ask_history_api_v1_ask_history_get","parameters":[{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Ask History Api V1 Ask History Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/saved":{"get":{"tags":["askimgimp-pr01"],"summary":"Ask Saved","operationId":"ask_saved_api_v1_ask_saved_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Ask Saved Api V1 Ask Saved Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/turns/{turn_id}/corrections":{"post":{"tags":["askimgimp-pr01"],"summary":"Correct Turn","operationId":"correct_turn_api_v1_ask_turns__turn_id__corrections_post","parameters":[{"name":"turn_id","in":"path","required":true,"schema":{"type":"string","title":"Turn Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CorrectionCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Correct Turn Api V1 Ask Turns  Turn Id  Corrections Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/ask/turns/{turn_id}/corrections":{"post":{"tags":["askimgimp-pr01"],"summary":"Publish Source Correction","operationId":"publish_source_correction_internal_v1_ask_turns__turn_id__corrections_post","parameters":[{"name":"turn_id","in":"path","required":true,"schema":{"type":"string","title":"Turn Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AskSourceCorrectionCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Publish Source Correction Internal V1 Ask Turns  Turn Id  Corrections Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/consent":{"get":{"tags":["ask-consent"],"summary":"Read Ask Consent State","description":"What the answering gate will do for this learner, so the app shows the truth.\n\nSide-effect free: it records no decision and asks OS21 for no ruling, because\nopening a screen is not answering a question and a decision row per page view\nwould fill the record with events that never happened.\n\nFounder D03 (20 Nov 2026): Ask answers under the account's sign-up consent, so nothing here reads an age or a\nguardian. The answer is computed with the same two reads the gate makes: the account's sign-up consent and the\nlearner's own withdrawal on the Ask screen (`policy.learner_withdrawal_stands` over `scope_decisions`).\n\n* `answering` is True unless the learner's own withdrawal stands (or the account withdrew its sign-up consent).\n* `withdrawn_by_you` / `can_switch_on_again`: the learner closed Ask themself; their own POST /api/v1/ask/consent\n  opens it again, at any age. A guardian's or anyone else's grant does not.\n* `should_ask` is the field a client should act on to show the privacy notice once, and it is false while answering\n  is switched off or already decided. A consent screen in front of a feature that does not use consent yet would\n  take something from a learner for no benefit.\n\n`granted` and `withdrawn` are the older names for `answering` and `withdrawn_by_you`, kept so an app build that is\nstill cached on a phone reads the same truth. No guardian or age field is returned: nothing waits for a parent.","operationId":"read_ask_consent_state_api_v1_ask_consent_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Ask Consent State Api V1 Ask Consent Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["ask-consent"],"summary":"Give Ask Consent","description":"Record the learner's answer to the notice.\n\nFounder D03 (20 Nov 2026): the learner's own yes is age-free. A signed-in learner (student role, acting as\nthemself) gets a GRANTED row on surface `ask` whatever their age, so a minor or a learner whose age nobody asked\ncan turn Ask back on after withdrawing. No age is read, nothing is sent to a guardian, and nothing is\nrecorded as a request. Any other role calling this route keeps the earlier age-based behaviour until the\nfollow-up PR retires it: an adult gets a grant, a minor gets a request, an unknown age is refused.","operationId":"give_ask_consent_api_v1_ask_consent_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AskConsentDecision"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Give Ask Consent Api V1 Ask Consent Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/consent/withdraw":{"post":{"tags":["ask-consent"],"summary":"Withdraw Ask Consent","description":"Stop answering, and delete what was kept.\n\nRecords a REVOKED row for `ask_question_answering` with actor = the learner and source\nsurface `ask`. That exact shape is what stops Ask answering afterwards (the sign-up consent is\notherwise the grant). It never blocks on the learner's age.\n\nThe withdrawal row is written FIRST, and this route fails closed: if it cannot be written the answer is a\n503 that says so, never \"we have stopped answering\" while Ask would still answer. The stored questions are\ndeleted either way (they are the learner's to take back, and deleting twice is harmless); a deletion that\nfailed after the withdrawal was recorded is reported in `problems`, because Ask has stopped regardless.\nA learner can turn Ask back on with POST /api/v1/ask/consent, at any age.","operationId":"withdraw_ask_consent_api_v1_ask_consent_withdraw_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Withdraw Ask Consent Api V1 Ask Consent Withdraw Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/escalation/offer":{"get":{"tags":["ask-consent","ask-staffed-escalation"],"summary":"Read Offer","operationId":"read_offer_api_v1_ask_escalation_offer_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/escalation/consent":{"post":{"tags":["ask-consent","ask-staffed-escalation"],"summary":"Consent To Exact Handoff","operationId":"consent_to_exact_handoff_api_v1_ask_escalation_consent_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExplicitConsent"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/escalation/consent/current":{"get":{"tags":["ask-consent","ask-staffed-escalation"],"summary":"Read Current Exact Handoff Consent","operationId":"read_current_exact_handoff_consent_api_v1_ask_escalation_consent_current_get","parameters":[{"name":"thread_id","in":"query","required":true,"schema":{"type":"string","title":"Thread Id"}},{"name":"turn_id","in":"query","required":true,"schema":{"type":"string","title":"Turn Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/escalation/requests":{"post":{"tags":["ask-consent","ask-staffed-escalation"],"summary":"Request Staffed Review","operationId":"request_staffed_review_api_v1_ask_escalation_requests_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["ask-consent","ask-staffed-escalation"],"summary":"List My Requests","operationId":"list_my_requests_api_v1_ask_escalation_requests_get","parameters":[{"name":"thread_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thread Id"}},{"name":"turn_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Turn Id"}},{"name":"request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Request Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/escalation/requests/{request_id}/cancel":{"post":{"tags":["ask-consent","ask-staffed-escalation"],"summary":"Cancel My Request","operationId":"cancel_my_request_api_v1_ask_escalation_requests__request_id__cancel_post","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Request Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/escalation/requests/{request_id}/consent/revoke":{"post":{"tags":["ask-consent","ask-staffed-escalation"],"summary":"Revoke Exact Handoff Consent","operationId":"revoke_exact_handoff_consent_api_v1_ask_escalation_requests__request_id__consent_revoke_post","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Request Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RevokeConsent"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/escalation/consent/revoke":{"post":{"tags":["ask-consent","ask-staffed-escalation"],"summary":"Revoke Unconsumed Handoff Consent","operationId":"revoke_unconsumed_handoff_consent_api_v1_ask_escalation_consent_revoke_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RevokeConsent"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/escalation/staff/queue":{"get":{"tags":["ask-consent","ask-staffed-escalation"],"summary":"Read Staff Queue","operationId":"read_staff_queue_api_v1_ask_escalation_staff_queue_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/escalation/staff/requests/{request_id}/context":{"get":{"tags":["ask-consent","ask-staffed-escalation"],"summary":"Read Assigned Request Context","operationId":"read_assigned_request_context_api_v1_ask_escalation_staff_requests__request_id__context_get","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Request Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/escalation/staff/requests/{request_id}/assign":{"post":{"tags":["ask-consent","ask-staffed-escalation"],"summary":"Assign Staff Request","operationId":"assign_staff_request_api_v1_ask_escalation_staff_requests__request_id__assign_post","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Request Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssignRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/escalation/staff/requests/{request_id}/respond":{"post":{"tags":["ask-consent","ask-staffed-escalation"],"summary":"Respond To Staffed Request","operationId":"respond_to_staffed_request_api_v1_ask_escalation_staff_requests__request_id__respond_post","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Request Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaffResponse"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ask/escalation/requests/{request_id}/response":{"get":{"tags":["ask-consent","ask-staffed-escalation"],"summary":"Read My Staff Response","operationId":"read_my_staff_response_api_v1_ask_escalation_requests__request_id__response_get","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Request Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/voice/artifacts":{"post":{"tags":["askimgimp-pr02"],"summary":"Create Voice Artifact","operationId":"create_voice_artifact_api_v1_voice_artifacts_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoiceArtifactCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Voice Artifact Api V1 Voice Artifacts Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/voice/spoken-captures":{"post":{"tags":["askimgimp-pr02"],"summary":"Create Spoken Capture","description":"Record a spoken capture and its transcript, ready to be confirmed.\n\nWHY THIS EXISTS. The strict voice runtime could only be entered through\n`POST /api/v1/voice/artifacts`, which requires an audio object reference, an\naudio checksum and an `audio/*` content type, and then through an INTERNAL\npublish route a browser cannot call. So a learner speaking a question could\nnever reach `POST /api/v1/voice/transcripts/{id}/confirm`, and the confirmed\ntranscript R15 is built around was unreachable from the product. This is the\nentrance that was missing.\n\nIT DOES NOT PRETEND THERE WAS A RECORDING. On the dominant path the browser\nrecognises speech on the device and no audio ever reaches us. That capture is\nrecorded with `object_ref = on-device://not-uploaded` and a content type\nnaming it a transcript, so the row says plainly that we hold words and never\nheld a recording. The checksum is of the transcript, because the transcript is\nwhat we have; the byte count is its length. Every field states something true,\nwhich is the only way a custody record is worth keeping.\n\nTHE HATCH. `source = uploaded_audio` takes the real audio fields and records\nthose instead. Nothing else in the chain changes — the same transcript,\nconfirm and solve steps serve both — so when a server-side transcriber starts\nwriting captures it connects here rather than needing a second door.","operationId":"create_spoken_capture_api_v1_voice_spoken_captures_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpokenCaptureCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Spoken Capture Api V1 Voice Spoken Captures Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/voice/artifacts/{artifact_id}/transcripts":{"post":{"tags":["askimgimp-pr02"],"summary":"Publish Transcript","operationId":"publish_transcript_internal_v1_voice_artifacts__artifact_id__transcripts_post","parameters":[{"name":"artifact_id","in":"path","required":true,"schema":{"type":"string","title":"Artifact Id"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TranscriptPublication"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Publish Transcript Internal V1 Voice Artifacts  Artifact Id  Transcripts Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/voice/transcripts/{transcript_id}/confirm":{"post":{"tags":["askimgimp-pr02"],"summary":"Confirm Transcript","operationId":"confirm_transcript_api_v1_voice_transcripts__transcript_id__confirm_post","parameters":[{"name":"transcript_id","in":"path","required":true,"schema":{"type":"string","title":"Transcript Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TranscriptConfirm"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Confirm Transcript Api V1 Voice Transcripts  Transcript Id  Confirm Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/voice/artifacts/{artifact_id}":{"get":{"tags":["askimgimp-pr02"],"summary":"Get Voice Artifact","operationId":"get_voice_artifact_api_v1_voice_artifacts__artifact_id__get","parameters":[{"name":"artifact_id","in":"path","required":true,"schema":{"type":"string","title":"Artifact Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Voice Artifact Api V1 Voice Artifacts  Artifact Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pdfs":{"post":{"tags":["askimgimp-pr02"],"summary":"Create Pdf Artifact","operationId":"create_pdf_artifact_api_v1_pdfs_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PdfArtifactCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Pdf Artifact Api V1 Pdfs Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["askimgimp-pr02"],"summary":"Pdf History","operationId":"pdf_history_api_v1_pdfs_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Pdf History Api V1 Pdfs Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/pdfs/{pdf_id}/reads":{"post":{"tags":["askimgimp-pr02"],"summary":"Publish Pdf Read","operationId":"publish_pdf_read_internal_v1_pdfs__pdf_id__reads_post","parameters":[{"name":"pdf_id","in":"path","required":true,"schema":{"type":"string","title":"Pdf Id"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PdfReadPublication"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Publish Pdf Read Internal V1 Pdfs  Pdf Id  Reads Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pdfs/{pdf_id}":{"get":{"tags":["askimgimp-pr02"],"summary":"Get Pdf","operationId":"get_pdf_api_v1_pdfs__pdf_id__get","parameters":[{"name":"pdf_id","in":"path","required":true,"schema":{"type":"string","title":"Pdf Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Pdf Api V1 Pdfs  Pdf Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["askimgimp-pr02"],"summary":"Delete Pdf","operationId":"delete_pdf_api_v1_pdfs__pdf_id__delete","parameters":[{"name":"pdf_id","in":"path","required":true,"schema":{"type":"string","title":"Pdf Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Delete Pdf Api V1 Pdfs  Pdf Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pdfs/{pdf_id}/turns":{"post":{"tags":["askimgimp-pr02"],"summary":"Create Pdf Turn","operationId":"create_pdf_turn_api_v1_pdfs__pdf_id__turns_post","parameters":[{"name":"pdf_id","in":"path","required":true,"schema":{"type":"string","title":"Pdf Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PdfTurnCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Pdf Turn Api V1 Pdfs  Pdf Id  Turns Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/images":{"post":{"tags":["askimgimp-pr03"],"summary":"Create Image Artifact","operationId":"create_image_artifact_api_v1_images_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImageArtifactCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Image Artifact Api V1 Images Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["askimgimp-pr03"],"summary":"List Image Artifacts","operationId":"list_image_artifacts_api_v1_images_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Image Artifacts Api V1 Images Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/images/{image_id}":{"get":{"tags":["askimgimp-pr03"],"summary":"Get Image Artifact","operationId":"get_image_artifact_api_v1_images__image_id__get","parameters":[{"name":"image_id","in":"path","required":true,"schema":{"type":"string","title":"Image Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Image Artifact Api V1 Images  Image Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["askimgimp-pr03"],"summary":"Delete Image","description":"Delete means delete: the read text is blanked in this same request.\n\nThe old behaviour only recorded DELETION_REQUESTED and relied on a purge\nworker that did not exist. Now the request records the ask, blanks the\ncontent through image_doubt_purge (ownership is checked there against the\nsession identity, never the body), writes the purge receipt and marks the\nimage PURGED, all in one transaction. If a stored copy of the photo is still\nin object storage the image stays PURGING (not PURGED) until the storage\nworker confirms, and `purge.state` says PARTIAL. If Ask still holds an answer\nfor this photo, `purge.held_by_ask` is true and `purge.state` is PARTIAL.","operationId":"delete_image_api_v1_images__image_id__delete","parameters":[{"name":"image_id","in":"path","required":true,"schema":{"type":"string","title":"Image Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Delete Image Api V1 Images  Image Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/images/{image_id}/regions":{"post":{"tags":["askimgimp-pr03"],"summary":"Create Image Region","operationId":"create_image_region_api_v1_images__image_id__regions_post","parameters":[{"name":"image_id","in":"path","required":true,"schema":{"type":"string","title":"Image Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImageRegionCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Image Region Api V1 Images  Image Id  Regions Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/images/{image_id}/reads":{"post":{"tags":["askimgimp-pr03"],"summary":"Publish Image Read","operationId":"publish_image_read_internal_v1_images__image_id__reads_post","parameters":[{"name":"image_id","in":"path","required":true,"schema":{"type":"string","title":"Image Id"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImageReadPublication"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Publish Image Read Internal V1 Images  Image Id  Reads Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/images/{image_id}/reads/{read_id}":{"get":{"tags":["askimgimp-pr03"],"summary":"Get Image Read","operationId":"get_image_read_api_v1_images__image_id__reads__read_id__get","parameters":[{"name":"image_id","in":"path","required":true,"schema":{"type":"string","title":"Image Id"}},{"name":"read_id","in":"path","required":true,"schema":{"type":"string","title":"Read Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Image Read Api V1 Images  Image Id  Reads  Read Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/images/{image_id}/reads/{read_id}/clarifications/{clarification_id}":{"get":{"tags":["askimgimp-pr03"],"summary":"Get Image Read Clarification","operationId":"get_image_read_clarification_api_v1_images__image_id__reads__read_id__clarifications__clarification_id__get","parameters":[{"name":"image_id","in":"path","required":true,"schema":{"type":"string","title":"Image Id"}},{"name":"read_id","in":"path","required":true,"schema":{"type":"string","title":"Read Id"}},{"name":"clarification_id","in":"path","required":true,"schema":{"type":"string","title":"Clarification Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Image Read Clarification Api V1 Images  Image Id  Reads  Read Id  Clarifications  Clarification Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/images/{image_id}/reads/{read_id}/clarifications/{clarification_id}/responses":{"post":{"tags":["askimgimp-pr03"],"summary":"Respond To Image Read Clarification","operationId":"respond_to_image_read_clarification_api_v1_images__image_id__reads__read_id__clarifications__clarification_id__responses_post","parameters":[{"name":"image_id","in":"path","required":true,"schema":{"type":"string","title":"Image Id"}},{"name":"read_id","in":"path","required":true,"schema":{"type":"string","title":"Read Id"}},{"name":"clarification_id","in":"path","required":true,"schema":{"type":"string","title":"Clarification Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImageReadClarificationResponse"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Respond To Image Read Clarification Api V1 Images  Image Id  Reads  Read Id  Clarifications  Clarification Id  Responses Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/images/{image_id}/reads/{read_id}/confirm":{"post":{"tags":["askimgimp-pr03"],"summary":"Confirm Image Read","operationId":"confirm_image_read_api_v1_images__image_id__reads__read_id__confirm_post","parameters":[{"name":"image_id","in":"path","required":true,"schema":{"type":"string","title":"Image Id"}},{"name":"read_id","in":"path","required":true,"schema":{"type":"string","title":"Read Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImageReadConfirm"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Confirm Image Read Api V1 Images  Image Id  Reads  Read Id  Confirm Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/images/{image_id}/quota":{"post":{"tags":["askimgimp-pr03"],"summary":"Publish Image Quota","operationId":"publish_image_quota_internal_v1_images__image_id__quota_post","parameters":[{"name":"image_id","in":"path","required":true,"schema":{"type":"string","title":"Image Id"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaPublication"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Publish Image Quota Internal V1 Images  Image Id  Quota Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/images/{image_id}/answer":{"get":{"tags":["askimgimp-pr03"],"summary":"Get Image Answer","description":"Where the answer for this capture lives, or that there is not one.\n\nA reference, not the answer itself. Ask owns the answer, its claims and its\nsources, and this product never re-states them — the boundary in §12 is that\nImage Doubt hands the confirmed read over and Ask owns everything after.\n\nOwnership is in the WHERE clause rather than checked after the read, so\nthere is no version of this that holds someone else's handoff in memory. A\ncapture with no issued handoff is a 200 with `ask_turn_id: null`: \"you have\nnot asked this yet\" is a real answer and not an error.","operationId":"get_image_answer_api_v1_images__image_id__answer_get","parameters":[{"name":"image_id","in":"path","required":true,"schema":{"type":"string","title":"Image Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Image Answer Api V1 Images  Image Id  Answer Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/images/{image_id}/model-answer":{"get":{"tags":["askimgimp-pr03"],"summary":"Get Image Model Answer","description":"Founder decision 16 Oct 2026: after a photographed question is graded, Ask shows the\nGrader's model answer instead of asking for a new photo.\n\nRead-only. Reads the saved Grader result of THIS student's hand-off and the approved rubric\nit was marked against. No AI provider is called, no quota is written, nothing is invented:\n``available`` is true only for a released result whose approved rubric carries text.","operationId":"get_image_model_answer_api_v1_images__image_id__model_answer_get","parameters":[{"name":"image_id","in":"path","required":true,"schema":{"type":"string","title":"Image Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Image Model Answer Api V1 Images  Image Id  Model Answer Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/images/{image_id}/solve":{"post":{"tags":["askimgimp-pr03"],"summary":"Solve Image","operationId":"solve_image_api_v1_images__image_id__solve_post","parameters":[{"name":"image_id","in":"path","required":true,"schema":{"type":"string","title":"Image Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SolveCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Solve Image Api V1 Images  Image Id  Solve Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/images/{image_id}/grader-handoffs":{"post":{"tags":["askimgimp-pr03"],"summary":"Create Grader Handoff","operationId":"create_grader_handoff_api_v1_images__image_id__grader_handoffs_post","parameters":[{"name":"image_id","in":"path","required":true,"schema":{"type":"string","title":"Image Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GraderHandoffCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Grader Handoff Api V1 Images  Image Id  Grader Handoffs Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/images/{image_id}/practice-handoffs":{"post":{"tags":["askimgimp-pr03"],"summary":"Create Practice Handoff","operationId":"create_practice_handoff_api_v1_images__image_id__practice_handoffs_post","parameters":[{"name":"image_id","in":"path","required":true,"schema":{"type":"string","title":"Image Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SolveCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Practice Handoff Api V1 Images  Image Id  Practice Handoffs Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/images/{image_id}/retention":{"put":{"tags":["askimgimp-pr03"],"summary":"Update Image Retention","operationId":"update_image_retention_api_v1_images__image_id__retention_put","parameters":[{"name":"image_id","in":"path","required":true,"schema":{"type":"string","title":"Image Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RetentionUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Update Image Retention Api V1 Images  Image Id  Retention Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/images/{image_id}/purge-complete":{"post":{"tags":["askimgimp-pr03"],"summary":"Complete Image Purge","description":"Storage worker confirmation that a stored copy of the photo is gone.\n\nContent is already blanked by DELETE; this finishes the PURGING -> PURGED step\nfor an image whose photo bytes lived in object storage.","operationId":"complete_image_purge_internal_v1_images__image_id__purge_complete_post","parameters":[{"name":"image_id","in":"path","required":true,"schema":{"type":"string","title":"Image Id"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurgeCompleteCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Complete Image Purge Internal V1 Images  Image Id  Purge Complete Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/images/{image_id}/purge-status":{"get":{"tags":["askimgimp-pr03"],"summary":"Image Purge Status","operationId":"image_purge_status_api_v1_images__image_id__purge_status_get","parameters":[{"name":"image_id","in":"path","required":true,"schema":{"type":"string","title":"Image Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Image Purge Status Api V1 Images  Image Id  Purge Status Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/images/{image_id}/deletion-receipts/{deletion_receipt_id}":{"get":{"tags":["askimgimp-pr03"],"summary":"Get Image Deletion Receipt","description":"Read one exact source-issued deletion event for its authenticated owner.","operationId":"get_image_deletion_receipt_api_v1_images__image_id__deletion_receipts__deletion_receipt_id__get","parameters":[{"name":"image_id","in":"path","required":true,"schema":{"type":"string","title":"Image Id"}},{"name":"deletion_receipt_id","in":"path","required":true,"schema":{"type":"string","title":"Deletion Receipt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Image Deletion Receipt Api V1 Images  Image Id  Deletion Receipts  Deletion Receipt Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/insights/runtime-acceptance/runs":{"post":{"tags":["insimp-pr03-runtime-acceptance"],"summary":"Start Runtime Acceptance Run","operationId":"start_runtime_acceptance_run_internal_v1_insights_runtime_acceptance_runs_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartRunRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Start Runtime Acceptance Run Internal V1 Insights Runtime Acceptance Runs Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/insights/runtime-acceptance/runs/{run_id}/stages/{stage}":{"put":{"tags":["insimp-pr03-runtime-acceptance"],"summary":"Record Runtime Stage","operationId":"record_runtime_stage_internal_v1_insights_runtime_acceptance_runs__run_id__stages__stage__put","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}},{"name":"stage","in":"path","required":true,"schema":{"$ref":"#/components/schemas/AcceptanceStage"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordStageRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Record Runtime Stage Internal V1 Insights Runtime Acceptance Runs  Run Id  Stages  Stage  Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/insights/runtime-acceptance/runs/{run_id}/finalize":{"post":{"tags":["insimp-pr03-runtime-acceptance"],"summary":"Finalize Runtime Acceptance Run","operationId":"finalize_runtime_acceptance_run_internal_v1_insights_runtime_acceptance_runs__run_id__finalize_post","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FinalizeRunRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Finalize Runtime Acceptance Run Internal V1 Insights Runtime Acceptance Runs  Run Id  Finalize Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/insights/runtime-acceptance/runs/{run_id}":{"get":{"tags":["insimp-pr03-runtime-acceptance"],"summary":"Read Runtime Acceptance Run","operationId":"read_runtime_acceptance_run_internal_v1_insights_runtime_acceptance_runs__run_id__get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Runtime Acceptance Run Internal V1 Insights Runtime Acceptance Runs  Run Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/insights/runtime-identity":{"get":{"tags":["insimp-pr03-runtime-acceptance"],"summary":"Read Runtime Candidate Identity","operationId":"read_runtime_candidate_identity_internal_v1_insights_runtime_identity_get","parameters":[{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Runtime Candidate Identity Internal V1 Insights Runtime Identity Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/insights/release-control":{"post":{"tags":["insimp-pr03-runtime-acceptance"],"summary":"Update Insights Release Control","operationId":"update_insights_release_control_internal_v1_insights_release_control_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReleaseControlEnvelope"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Update Insights Release Control Internal V1 Insights Release Control Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["insimp-pr03-runtime-acceptance"],"summary":"Read Insights Release Control","operationId":"read_insights_release_control_internal_v1_insights_release_control_get","parameters":[{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Insights Release Control Internal V1 Insights Release Control Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/insights/release-pilot":{"post":{"tags":["insimp-pr03-runtime-acceptance"],"summary":"Add Insights Release Pilot","operationId":"add_insights_release_pilot_internal_v1_insights_release_pilot_post","parameters":[{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PilotChangeRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Add Insights Release Pilot Internal V1 Insights Release Pilot Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["insimp-pr03-runtime-acceptance"],"summary":"List Insights Release Pilot","operationId":"list_insights_release_pilot_internal_v1_insights_release_pilot_get","parameters":[{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Insights Release Pilot Internal V1 Insights Release Pilot Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/insights/release-pilot/remove":{"post":{"tags":["insimp-pr03-runtime-acceptance"],"summary":"Remove Insights Release Pilot","operationId":"remove_insights_release_pilot_internal_v1_insights_release_pilot_remove_post","parameters":[{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PilotChangeRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Remove Insights Release Pilot Internal V1 Insights Release Pilot Remove Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/insights/corrections/{correction_id}/deliveries/{delivery_id}":{"post":{"tags":["insimp-pr03-correction-revocation"],"summary":"Apply Insights Correction Delivery","description":"Revoke one current Insights decision and acknowledge the PKG correction target.\n\nThe correction planner remains PKG/OS04 authority. This consumer only accepts an\nexisting mandatory ``INSIGHTS`` delivery whose dependent reference is the exact\ndecision being revoked. History is never rewritten or deleted.","operationId":"apply_insights_correction_delivery_internal_v1_insights_corrections__correction_id__deliveries__delivery_id__post","parameters":[{"name":"correction_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Correction Id"}},{"name":"delivery_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Delivery Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplyInsightsCorrectionRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Apply Insights Correction Delivery Internal V1 Insights Corrections  Correction Id  Deliveries  Delivery Id  Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/proof-artifacts":{"post":{"summary":"Create Proof Artifact Compat","operationId":"create_proof_artifact_compat_api_v1_proof_artifacts_post","parameters":[{"name":"request","in":"query","required":true,"schema":{"title":"Request"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProofArtifactCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Proof Artifact Compat Api V1 Proof Artifacts Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/proof-artifacts/{artifact_id}":{"get":{"summary":"Get Proof Artifact Compat","operationId":"get_proof_artifact_compat_api_v1_proof_artifacts__artifact_id__get","parameters":[{"name":"artifact_id","in":"path","required":true,"schema":{"type":"string","title":"Artifact Id"}},{"name":"request","in":"query","required":true,"schema":{"title":"Request"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Proof Artifact Compat Api V1 Proof Artifacts  Artifact Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/lsci/signals":{"post":{"tags":["lsci"],"summary":"Ingest Signal","description":"Ingest one micro-signal and return the compiled entry session.\n\nThe route is best-effort for persistence: the runtime decision is returned\neven when the migration has not yet been applied in a local environment.","operationId":"ingest_signal_api_v1_lsci_signals_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","default":{},"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/lsci/compile-session":{"post":{"tags":["lsci"],"summary":"Compile Session","operationId":"compile_session_api_v1_lsci_compile_session_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","default":{},"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/lsci/taxonomy":{"get":{"tags":["lsci"],"summary":"Taxonomy","operationId":"taxonomy_api_v1_lsci_taxonomy_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/lsci/health":{"get":{"tags":["lsci"],"summary":"Health","operationId":"health_api_v1_lsci_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/lsci/v02/readiness":{"get":{"tags":["lsci"],"summary":"V02 Readiness","description":"Summarize whether enough outcome rows exist for LSCI v0.2 training.\n\nThis is a prep endpoint only. It does not enable learned policy; it tells\nus when the outcomes table has enough joined examples to train one.","operationId":"v02_readiness_api_v1_lsci_v02_readiness_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":5000,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/lsci/emotional-ux/{student_id}":{"get":{"tags":["lsci"],"summary":"Emotional Ux State","description":"Student-facing safe emotional UX state.\n\nReads the latest LSCI state snapshot and resolves only dictionary-approved\nlabels/actions. Missing state returns no nudge; it never fabricates a mood,\ndiagnosis, mastery movement, or parent-visible raw affect.","operationId":"emotional_ux_state_api_v1_lsci_emotional_ux__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"surface","in":"query","required":false,"schema":{"type":"string","default":"Home","title":"Surface"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/lsci/correct-read/{student_id}":{"post":{"tags":["lsci"],"summary":"Correct Read","description":"Record a student correction for an LSCI emotional read.\n\nThis is the contestability write path behind `lsci.action.correct_read`.\nIt records the correction as an intervention outcome and updates the\nlightweight longitudinal memory used by later Home/Plan tone decisions.","operationId":"correct_read_api_v1_lsci_correct_read__student_id__post","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","default":{},"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/lsci/intervention-outcome":{"post":{"tags":["lsci"],"summary":"Intervention Outcome","description":"Capture downstream observation for one LSCI intervention.\n\nSource of training data for LSCI v0.2 learned policy. Best-effort\npersistence — failures return 202 + reason so FE never blocks on telemetry.\n\nBody:\n  {\n    \"student_id\":          \"stu_...\",          # required\n    \"session_id\":          \"sess_...\",          # required\n    \"action\":              \"light_revision_or_pause\", # required\n    \"observation\":         \"accepted\",          # required (see CHECK constraint)\n    \"intervention_id\":     \"uuid\",              # optional FK\n    \"accepted\":            true,                # optional bool\n    \"completed\":           false,               # optional bool\n    \"latency_ms\":          1842,                # optional, time-to-decision\n    \"downstream_outcome\":  { ... arbitrary ... },\n    \"cognitive_delta\":     { \"fatigue_delta\": -0.1 },\n    \"surface\":             \"home_v3\"\n  }","operationId":"intervention_outcome_api_v1_lsci_intervention_outcome_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","default":{},"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/lsci/interventions/{student_id}":{"get":{"tags":["lsci"],"summary":"Open Interventions","description":"Read-side: open LSCI interventions for a student (for FE rendering).","operationId":"open_interventions_api_v1_lsci_interventions__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/lsci/receipts/{student_id}":{"get":{"tags":["lsci"],"summary":"Listening Receipts","description":"Listening P0 — the student-visible \"you said -> we did\" receipts.\n\nReads already-recorded LSCI intervention outcomes (feedback that actually led\nto an action) and renders them honestly: only outcomes are receipts, an\nun-acted signal is not. BOLA-gated by the router dependency.","operationId":"listening_receipts_api_v1_lsci_receipts__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/lsci/profile/{student_id}":{"get":{"tags":["lsci"],"summary":"Listening Profile","description":"Listening P0 — the consolidated \"what we've heard about you\" profile.\n\nRead-only over the LSCI tables (latest cognitive state + recent micro-signal\nsummary + longitudinal memory). The inspectable/contestable-twin data layer\n(design moat M5): the student sees exactly what the system has heard, with an\nhonest light/strong split and no fabricated state. BOLA-gated by the router\ndependency; fail-soft to the honest empty profile.","operationId":"listening_profile_api_v1_lsci_profile__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/lsci/door-choice/{student_id}":{"post":{"tags":["lsci"],"summary":"Lsci Door Choice","description":"Listening P2 — log a door-choice revealed preference (the student picked one\noption from those offered; the choice reveals what they value without being asked).\nConsent-gated as S2 behavioral sensing inside route_door_choice. BOLA-gated by the\nrouter dependency (student_id in path); fail-soft — never blocks the click.\n\nNo tracking of under-18s: a minor or unknown-age student gets 204 and nothing is read or stored.\nConsent is decided on the server (see _server_sensing_consent); the body cannot grant it.","operationId":"lsci_door_choice_api_v1_lsci_door_choice__student_id__post","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","default":{},"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/lsci/behavioral/{student_id}":{"post":{"tags":["lsci"],"summary":"Lsci Behavioral","description":"Listening P2 — log a behavioral engagement/pattern signal (ENG-044 family) into\nLSCI. Consent-gated as S2. BOLA-gated by path; fail-soft.\n\nNo tracking of under-18s: 204 for a minor or unknown age. Consent comes from the server only.","operationId":"lsci_behavioral_api_v1_lsci_behavioral__student_id__post","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","default":{},"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/lsci/twin-surprise/{student_id}":{"post":{"tags":["lsci"],"summary":"Lsci Twin Surprise","description":"Listening P2 — log a twin model-residual surprise (how wrong the twin's predicted\nprobability was vs the real outcome). S4 core analytics. BOLA-gated by path; fail-soft.","operationId":"lsci_twin_surprise_api_v1_lsci_twin_surprise__student_id__post","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","default":{},"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/lsci/calibration-tap/{student_id}":{"post":{"tags":["lsci"],"summary":"Lsci Calibration Tap","description":"Listening P2 — log a calibration tap (\"how sure are you?\") paired with the real\noutcome; the pair feeds FLE calibration. S1 deliberate. BOLA-gated by path; fail-soft.","operationId":"lsci_calibration_tap_api_v1_lsci_calibration_tap__student_id__post","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","default":{},"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/lsci/sentiment/{student_id}":{"post":{"tags":["lsci"],"summary":"Lsci Sentiment","description":"Listening P3 — log an affective sentiment signal. Consent-gated as S3 (strictest).\nBOLA-gated by path; fail-soft.\n\nNo tracking of under-18s: 204 for a minor or unknown age. Consent comes from the server only.","operationId":"lsci_sentiment_api_v1_lsci_sentiment__student_id__post","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","default":{},"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/lsci/frustration/{student_id}":{"get":{"tags":["lsci"],"summary":"Lsci Frustration","description":"Listening P3 — the fused frustration index over recent signals. BOLA-gated;\nfail-soft to honest empty (index None when nothing heard).","operationId":"lsci_frustration_api_v1_lsci_frustration__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/lsci/active-ask/{student_id}":{"post":{"tags":["lsci"],"summary":"Lsci Active Ask","description":"Listening P4 — log a system-initiated uncertainty-sampled ask. BOLA-gated; fail-soft.\n\nNo tracking of under-18s: 204 for a minor or unknown age.","operationId":"lsci_active_ask_api_v1_lsci_active_ask__student_id__post","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","default":{},"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/lsci/exit-whisper/{student_id}":{"post":{"tags":["lsci"],"summary":"Lsci Exit Whisper","description":"Listening P4 — log a gentle churn exit-whisper (collective learning). BOLA-gated;\nfail-soft.\n\nNo tracking of under-18s: 204 for a minor or unknown age.","operationId":"lsci_exit_whisper_api_v1_lsci_exit_whisper__student_id__post","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","default":{},"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/lsci/voice-state/{student_id}":{"get":{"tags":["lsci"],"summary":"Lsci Voice State","description":"Listening P5 — the Voice & State Vector: every persisted listening signal fused\ninto one vector + an explainable routing hint (tone/intensity). BOLA-gated; fail-soft.","operationId":"lsci_voice_state_api_v1_lsci_voice_state__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/lsci/longitudinal-arc/{student_id}":{"get":{"tags":["lsci"],"summary":"Lsci Longitudinal Arc","description":"Listening P6 — the cognitive arc over time (momentum/burnout/mastery direction).\nBiometric/gaze is deliberately out of scope. BOLA-gated; fail-soft.","operationId":"lsci_longitudinal_arc_api_v1_lsci_longitudinal_arc__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/lsci/north-star/{student_id}":{"get":{"tags":["lsci"],"summary":"Listening North Star","description":"Listening P1 — the north-star metric: the share of proactively-sensed needs the\nsystem resolved without the student having to ask. Read over recorded LSCI\ninterventions. BOLA-gated by the router dependency; fail-soft to the honest empty\nmetric (rate stays None when nothing's been sensed — never a fake 0%).","operationId":"listening_north_star_api_v1_lsci_north_star__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/product-language/entries":{"get":{"tags":["product-language"],"summary":"Get Product Language Entries","operationId":"get_product_language_entries_api_v1_product_language_entries_get","parameters":[{"name":"keys","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"Comma-separated or repeated entry keys","title":"Keys"},"description":"Comma-separated or repeated entry keys"},{"name":"key","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"Repeated entry key alias","title":"Key"},"description":"Repeated entry key alias"},{"name":"locale","in":"query","required":false,"schema":{"type":"string","minLength":2,"maxLength":16,"default":"en","title":"Locale"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Product Language Entries Api V1 Product Language Entries Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/product-language/pack-binding":{"get":{"tags":["product-language"],"summary":"Get Product Language Pack Binding","operationId":"get_product_language_pack_binding_api_v1_product_language_pack_binding_get","parameters":[{"name":"pack_id","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":120,"title":"Pack Id"}},{"name":"product_area","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Product Area"}},{"name":"surface","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Surface"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Product Language Pack Binding Api V1 Product Language Pack Binding Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/product-language/pack-language":{"get":{"tags":["product-language"],"summary":"Get Product Language Pack Language","operationId":"get_product_language_pack_language_api_v1_product_language_pack_language_get","parameters":[{"name":"pack_id","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":120,"title":"Pack Id"}},{"name":"product_area","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Product Area"}},{"name":"surface","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Surface"}},{"name":"locale","in":"query","required":false,"schema":{"type":"string","minLength":2,"maxLength":16,"default":"en","title":"Locale"}},{"name":"include_optional","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Include Optional"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Product Language Pack Language Api V1 Product Language Pack Language Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/explanations/{explanation_id}/feedback":{"post":{"tags":["explanations"],"summary":"Submit Explanation Feedback","operationId":"submit_explanation_feedback_api_v1_explanations__explanation_id__feedback_post","parameters":[{"name":"explanation_id","in":"path","required":true,"schema":{"type":"string","minLength":4,"maxLength":64,"title":"Explanation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","default":{},"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/explanations/{explanation_id}":{"get":{"tags":["explanations"],"summary":"Get Explanation","description":"Read a single explanation by id: signed-in callers only, and only their own (staff may read any).\n\nThis route carries no student_id in its path, so the router-level `enforce_path_student_ownership` returns at once\nand used to leave it open: a signed-out caller could read any explanation by id (the whole row: the student, parent,\nteacher, technical and regulator texts, the top features and the decision trace). The owner is the student whose id\nhashes to the stored `student_id_hash`; an explanation with no stored owner is staff-only.","operationId":"get_explanation_api_v1_explanations__explanation_id__get","parameters":[{"name":"explanation_id","in":"path","required":true,"schema":{"type":"string","minLength":4,"maxLength":64,"title":"Explanation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/explanations/student/{student_id}":{"get":{"tags":["explanations"],"summary":"List Student Explanations","description":"List a student's recent explanations, optionally filtered by decision_type.","operationId":"list_student_explanations_api_v1_explanations_student__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","minLength":4,"maxLength":64,"title":"Student Id"}},{"name":"decision_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Decision Type"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/recommend/feedback":{"post":{"tags":["recommend"],"summary":"Submit Content Feedback","operationId":"submit_content_feedback_api_v1_recommend_feedback_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","default":{},"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/recommend/feedback/history/{student_id}":{"get":{"tags":["recommend"],"summary":"Feedback History","description":"Per-student content-feedback history + per-item_type net-weight aggregate.\n\nOwnership-gated by the router dependency. The aggregate IS the CF signal the\nToday-feed rerank consumes to down-rank disliked content/tile types — this\ncloses the write→read loop on content_feedback (mig 124).","operationId":"feedback_history_api_v1_recommend_feedback_history__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"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":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/recommend/content/{student_id}":{"get":{"tags":["recommend"],"summary":"Recommend Content","description":"Personalised content recommendations (ENG-021 ALG-P041) with the\nstudent's own ``content_feedback`` applied as a CF signal — items/topics they\nmarked ``not_helpful`` are down-ranked, ``helpful``/``complete`` lifted.\nOwnership-gated by the router dependency.\n\nThis is the live read side of the feedback loop: a ``not_helpful`` tap on\nPOST /feedback is persisted (single-writer engine), then drops the next time\nthis route is called. ``subject`` is required (no placeholder default for a\ncontent identifier); only the numeric tuning knobs default.","operationId":"recommend_content_api_v1_recommend_content__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"subject","in":"query","required":true,"schema":{"type":"string","description":"physics|chemistry|maths|biology","title":"Subject"},"description":"physics|chemistry|maths|biology"},{"name":"topic","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Topic"}},{"name":"content_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Type"}},{"name":"top_k","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":8,"title":"Top K"}},{"name":"exam_days","in":"query","required":false,"schema":{"type":"integer","maximum":3650,"minimum":0,"default":365,"title":"Exam Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/what-if/save":{"post":{"tags":["cl065_what_if"],"summary":"Save Scenario","description":"Save a scenario under a student-chosen label. Idempotent upsert on\n(student_id, label). Returns the row's id + created_at.","operationId":"save_scenario_api_v1_predict_what_if_save_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveScenarioBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/what-if/scenarios/{student_id}":{"get":{"tags":["cl065_what_if"],"summary":"List Scenarios","description":"List saved scenarios for a student, newest-first.","operationId":"list_scenarios_api_v1_predict_what_if_scenarios__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"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":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/what-if/scenarios/{student_id}/{scenario_id}":{"delete":{"tags":["cl065_what_if"],"summary":"Delete Scenario","description":"Delete a saved scenario. 404 when it doesn't exist OR belongs to\nsomeone else (constrained on the composite key so the JWT bypass\ncan't accidentally delete cross-student rows).","operationId":"delete_scenario_api_v1_predict_what_if_scenarios__student_id___scenario_id__delete","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"scenario_id","in":"path","required":true,"schema":{"type":"integer","title":"Scenario Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/what-if/compare":{"post":{"tags":["cl065_what_if"],"summary":"Compare Scenarios","description":"Side-by-side comparison of exactly 2 scenarios for the same student.\nRe-runs each through the base /predict/what-if engine inline so the\ncomparison is always against the latest predicted_rank.\n\nScenario entry shape: {label: str, boosts: [{subject, boost_pct}], seed_college?}","operationId":"compare_scenarios_api_v1_predict_what_if_compare_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompareBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/what-if/optimal":{"post":{"tags":["cl065_what_if"],"summary":"Optimal Allocation","description":"Compute the best multi-subject boost allocation for a given study-\nhour budget. PR-158 SCALE peak-protocol.\n\nEDU-052 uses prerequisite graph constraints when graph rows match mastery\nrows. Sparse graph data is exposed as partial/no-graph mode with coverage\nmetadata; the route must not claim full graph-aware mode unless the\noptimizer returns graph_mode='full'.","operationId":"optimal_allocation_api_v1_predict_what_if_optimal_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptimalBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/messages/templates":{"get":{"tags":["cl082_parent_ext"],"summary":"List Message Templates","description":"Surface the templated-message library so the FE can render chip rows\nfor FREE/ACE users (who can't send free-form bodies).","operationId":"list_message_templates_api_v1_parent_messages_templates_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/parent/{parent_id}/child/{child_id}/recap-projections":{"get":{"tags":["cl082_parent_ext"],"summary":"Get Parent Recap Projections","description":"Read the parent-safe recap projections published by the learner.\n\nSharing a recap must have a real parent read path. The projection payload is\nalready purpose-minimised at publish time; this route only returns rows for\nthe linked parent/child pair and never falls back to the student's private\nrecap record.","operationId":"get_parent_recap_projections_api_v1_parent__parent_id__child__child_id__recap_projections_get","parameters":[{"name":"parent_id","in":"path","required":true,"schema":{"type":"string","title":"Parent Id"}},{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/{parent_id}/settings":{"put":{"tags":["cl082_parent_ext"],"summary":"Update Parent Settings","description":"Persist notification_prefs JSON on parents row. Idempotent — entire\nprefs dict replaced. Returns the saved shape so the FE can confirm.","operationId":"update_parent_settings_api_v1_parent__parent_id__settings_put","parameters":[{"name":"parent_id","in":"path","required":true,"schema":{"type":"string","title":"Parent Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/parent_extensions_routes__SettingsBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"summary":"Parent Settings","description":"Parent settings — notification prefs, linked children, consent.\ns40 P0-03: parent-id-only route, so the BTL parent guard validates the\nparent JWT subject against {parent_id} before any settings DB read.","operationId":"parent_settings_api_v1_parent__parent_id__settings_get","parameters":[{"name":"parent_id","in":"path","required":true,"schema":{"type":"string","title":"Parent Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/{parent_id}/child/{child_id}/schedule-review":{"get":{"tags":["cl082_parent_ext"],"summary":"Get Schedule Review","description":"Consent-gated parent view of weekly load and editable family constraints.\n\nThis deliberately exposes aggregate plan information only; question text,\nanswer history and private doubts never leave the student surface.","operationId":"get_schedule_review_api_v1_parent__parent_id__child__child_id__schedule_review_get","parameters":[{"name":"parent_id","in":"path","required":true,"schema":{"type":"string","title":"Parent Id"}},{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/{parent_id}/child/{child_id}/schedule-preferences":{"put":{"tags":["cl082_parent_ext"],"summary":"Save Schedule Preferences","operationId":"save_schedule_preferences_api_v1_parent__parent_id__child__child_id__schedule_preferences_put","parameters":[{"name":"parent_id","in":"path","required":true,"schema":{"type":"string","title":"Parent Id"}},{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SchedulePreferencesBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/{parent_id}/child/{child_id}/schedule-review/decision":{"post":{"tags":["cl082_parent_ext"],"summary":"Decide Schedule Review","operationId":"decide_schedule_review_api_v1_parent__parent_id__child__child_id__schedule_review_decision_post","parameters":[{"name":"parent_id","in":"path","required":true,"schema":{"type":"string","title":"Parent Id"}},{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanDecisionBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/{parent_id}/child/{child_id}/dashboard":{"get":{"tags":["cl082_parent_ext"],"summary":"Parent Dashboard","description":"The shape ParentOverview.jsx actually expects. Wraps the existing\noverview + progress + alerts BFF data into one envelope so the FE\ndoesn't fire 3 separate requests + reshape client-side.\n\nFields returned:\n  childName, exam\n  weekSummary {studyHours, studyHoursChange, accuracy, accuracyChange,\n               dppCompleted, streakDays}\n  attendance [{day, hours, active}]   Mon-Sun\n  rankTrend  {current, lastWeek, low, high, target, confidence}\n  alerts     [string]   (top 3 progress/activity alerts; never wellness)\n  narrative  string     (ATRIX weekly summary)\n  todays_insight {issue, why, action}   replaces the hardcoded Wave Optics block","operationId":"parent_dashboard_api_v1_parent__parent_id__child__child_id__dashboard_get","parameters":[{"name":"parent_id","in":"path","required":true,"schema":{"type":"string","title":"Parent Id"}},{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/{parent_id}/child/{child_id}/digest":{"get":{"tags":["cl082_parent_ext"],"summary":"Parent Intelligence Digest","description":"E7 parent intelligence digest: consent-scoped progress, effort, and\nsupport guidance. Returns a persisted weekly digest when available and\ncomposes one on demand otherwise.","operationId":"parent_intelligence_digest_api_v1_parent__parent_id__child__child_id__digest_get","parameters":[{"name":"parent_id","in":"path","required":true,"schema":{"type":"string","title":"Parent Id"}},{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/children/{child_id}/weekly-letter/current":{"get":{"tags":["cl082_parent_ext"],"summary":"Current Parent Weekly Letter","description":"Return the current immutable weekly letter from an authorized OS12 release.","operationId":"current_parent_weekly_letter_api_v1_parent_children__child_id__weekly_letter_current_get","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/children/{child_id}/weekly-letter/{weekly_letter_id}":{"get":{"tags":["cl082_parent_ext"],"summary":"Exact Parent Weekly Letter","description":"Revalidate current authority, then return only this exact weekly revision.","operationId":"exact_parent_weekly_letter_api_v1_parent_children__child_id__weekly_letter__weekly_letter_id__get","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"weekly_letter_id","in":"path","required":true,"schema":{"type":"string","title":"Weekly Letter Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/{parent_id}/child/{child_id}/messages":{"post":{"tags":["cl082_parent_ext"],"summary":"Send Message","description":"Send a parent→student or student→parent message.\n\nTier rule (FREE/ACE = templated only; GROW+ = free-form):\n  - If templated=true, body must match P2S_TEMPLATES or S2P_TEMPLATES\n    for the given direction. We still store the body for read-side\n    simplicity but enforce template_id presence.\n  - If templated=false, GROW+ tier required — enforced inline via\n    child's tier (parent inherits child's subscription scope).","operationId":"send_message_api_v1_parent__parent_id__child__child_id__messages_post","parameters":[{"name":"parent_id","in":"path","required":true,"schema":{"type":"string","title":"Parent Id"}},{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["cl082_parent_ext"],"summary":"List Messages","description":"List the parent ↔ student message thread, newest-first.","operationId":"list_messages_api_v1_parent__parent_id__child__child_id__messages_get","parameters":[{"name":"parent_id","in":"path","required":true,"schema":{"type":"string","title":"Parent Id"}},{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}},{"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":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/{parent_id}/messages/{message_id}/read":{"post":{"tags":["cl082_parent_ext"],"summary":"Mark Message Read","description":"Mark a single message as read. Constrained on parent_id so a stray\nPUT can't mark someone else's message.","operationId":"mark_message_read_api_v1_parent__parent_id__messages__message_id__read_post","parameters":[{"name":"parent_id","in":"path","required":true,"schema":{"type":"string","title":"Parent Id"}},{"name":"message_id","in":"path","required":true,"schema":{"type":"integer","title":"Message Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/{parent_id}/push/subscribe":{"post":{"tags":["cl082_parent_ext"],"summary":"Push Subscribe","description":"Register a parent's push device. Idempotent upsert on\n(parent_id, provider, endpoint). enabled=true on each new register;\nre-registering an existing endpoint refreshes last_seen_at.","operationId":"push_subscribe_api_v1_parent__parent_id__push_subscribe_post","parameters":[{"name":"parent_id","in":"path","required":true,"schema":{"type":"string","title":"Parent Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PushSubscribeBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/{parent_id}/push/unsubscribe":{"post":{"tags":["cl082_parent_ext"],"summary":"Push Unsubscribe","description":"Opt the parent's device out (soft disable; keep row for audit).","operationId":"push_unsubscribe_api_v1_parent__parent_id__push_unsubscribe_post","parameters":[{"name":"parent_id","in":"path","required":true,"schema":{"type":"string","title":"Parent Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PushSubscribeBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/parent/approval-requests":{"post":{"tags":["parent-surface-wave02"],"summary":"Publish Approval Request","operationId":"publish_approval_request_internal_v1_parent_approval_requests_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApprovalRequestPublication"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Publish Approval Request Internal V1 Parent Approval Requests Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/children/{child_id}/approvals":{"get":{"tags":["parent-surface-wave02"],"summary":"List Parent Approvals","operationId":"list_parent_approvals_api_v1_parent_children__child_id__approvals_get","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Parent Approvals Api V1 Parent Children  Child Id  Approvals Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/approval-requests/{request_id}":{"get":{"tags":["parent-surface-wave02"],"summary":"Get Parent Approval Request","operationId":"get_parent_approval_request_api_v1_parent_approval_requests__request_id__get","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Request Id"}},{"name":"request_revision","in":"query","required":true,"schema":{"type":"integer","minimum":1,"title":"Request Revision"}},{"name":"child_id","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":80,"title":"Child Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Parent Approval Request Api V1 Parent Approval Requests  Request Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/approvals/{request_id}/decision":{"post":{"tags":["parent-surface-wave02"],"summary":"Decide Parent Approval","operationId":"decide_parent_approval_api_v1_parent_approvals__request_id__decision_post","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Request Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApprovalDecision"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Decide Parent Approval Api V1 Parent Approvals  Request Id  Decision Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/parent/approval-requests/{request_id}/decision-receipt":{"get":{"tags":["parent-surface-wave02"],"summary":"Read Approval Receipt For Source","operationId":"read_approval_receipt_for_source_internal_v1_parent_approval_requests__request_id__decision_receipt_get","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Request Id"}},{"name":"request_revision","in":"query","required":true,"schema":{"type":"integer","minimum":1,"title":"Request Revision"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Approval Receipt For Source Internal V1 Parent Approval Requests  Request Id  Decision Receipt Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/parent/annual-statements":{"post":{"tags":["parent-surface-wave02"],"summary":"Publish Parent Annual Statement","operationId":"publish_parent_annual_statement_internal_v1_parent_annual_statements_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}},{"name":"X-Internal-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Token"}},{"name":"X-Internal-Actor-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Id"}},{"name":"X-Internal-Tenant-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Tenant-Id"}},{"name":"X-Internal-Actor-Role","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Actor-Role"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnnualStatementPublication"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Publish Parent Annual Statement Internal V1 Parent Annual Statements Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/children/{child_id}/statement":{"get":{"tags":["parent-surface-wave02"],"summary":"Get Parent Annual Statement","operationId":"get_parent_annual_statement_api_v1_parent_children__child_id__statement_get","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"year","in":"query","required":true,"schema":{"type":"integer","maximum":2100,"minimum":2020,"title":"Year"}},{"name":"statement_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Statement Id"}},{"name":"version","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"title":"Version"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Parent Annual Statement Api V1 Parent Children  Child Id  Statement Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent-literacy/shelf":{"get":{"tags":["parent-literacy"],"summary":"Read Shelf","description":"R1. The Reading Room's shelf. No auth required, no entitlement, no link.\n\nThe one optional read of a linked child's target exam can only ever improve\nthe answer: it is skipped entirely for a signed-out reader, a student, a\nparent with no link, a parent with two or more linked children — we will not\npick one — and a parent whose academic consent is off. Nothing about it can\ncause a non-200; a failed read falls through to \"we don't know the exam\".","operationId":"read_shelf_api_v1_parent_literacy_shelf_get","parameters":[{"name":"exam","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Exam"}},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en","title":"Lang"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Shelf Api V1 Parent Literacy Shelf Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent-literacy/sheet/{slug}":{"get":{"tags":["parent-literacy"],"summary":"Read Sheet","description":"R2. One sheet. Optional auth — an unlinked or signed-out reader gets it all.","operationId":"read_sheet_api_v1_parent_literacy_sheet__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en","title":"Lang"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Sheet Api V1 Parent Literacy Sheet  Slug  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent-literacy/reach":{"get":{"tags":["parent-literacy"],"summary":"Read Reach Route","description":"R3. What a rank actually reached, in a year that already happened.\n\nAuth required because it touches the cutoff series, not because the answer\nis private — it is the same published data for everybody.","operationId":"read_reach_route_api_v1_parent_literacy_reach_get","parameters":[{"name":"rank","in":"query","required":true,"schema":{"type":"integer","minimum":1,"title":"Rank"}},{"name":"exam","in":"query","required":true,"schema":{"type":"string","title":"Exam"}},{"name":"year","in":"query","required":true,"schema":{"type":"integer","title":"Year"}},{"name":"category","in":"query","required":false,"schema":{"type":"string","default":"OPEN","title":"Category"}},{"name":"home_state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Home State"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Reach Route Api V1 Parent Literacy Reach Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent-literacy/band/{child_id}":{"get":{"tags":["parent-literacy"],"summary":"Read Band","description":"R4. The only child-scoped route in the pack, gated explicitly and alone.\n\nIt returns two integers and a date, or nothing. No name, no marks, no\nattempts, no wellness state, no free text.","operationId":"read_band_api_v1_parent_literacy_band__child_id__get","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Band Api V1 Parent Literacy Band  Child Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent-literacy/read":{"post":{"tags":["parent-literacy"],"summary":"Record Read","description":"R5. Record that a sheet was read, against the VERSION that was read.","operationId":"record_read_api_v1_parent_literacy_read_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent-literacy/share/{slug}":{"get":{"tags":["parent-literacy"],"summary":"Share Sheet","description":"R6. The public address for a sheet, when one has actually been released.\n\nIt reports whether a link exists. It does not mint one: publishing to the\npublic channel is OS10's decision and a rights decision sits behind it.","operationId":"share_sheet_api_v1_parent_literacy_share__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en","title":"Lang"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Share Sheet Api V1 Parent Literacy Share  Slug  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent-literacy/reads/summary":{"get":{"tags":["parent-literacy"],"summary":"Reads Summary","description":"How many parents are reading which sheet. Operators only.\n\nCounts and nothing else - no reader id, no child, no dwell time - because the\ntable itself holds none of those on purpose. This is the measurement the board\nasked for: readers, total reads, and how many came back for a second read.","operationId":"reads_summary_api_v1_parent_literacy_reads_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Reads Summary Api V1 Parent Literacy Reads Summary Get"}}}}}}},"/api/v1/public/learn/{slug}":{"get":{"tags":["parent-literacy"],"summary":"Public Sheet","description":"R7. Signed-out, from the public release only.\n\nSets no cookie, requires no consent banner and reads no identity. A parent\nforwarding this to another parent should not be handing over a sign-up wall.","operationId":"public_sheet_api_v1_public_learn__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en","title":"Lang"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Public Sheet Api V1 Public Learn  Slug  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/feasibility/options":{"get":{"tags":["feasibility"],"summary":"Feasibility Options Search","description":"Resolve an option against the identity graph.\n\nFree text can never become an option: the results come from published fact\nseries, so every row offered is a row that could actually be checked. An\nunresolved identity is returned as PENDING with its raw name, never as a\nguessed canonical name -- guessing here would put one college's closing\nranks under another college's heading.","operationId":"feasibility_options_search","parameters":[{"name":"exam_type","in":"query","required":true,"schema":{"type":"string","title":"Exam Type"}},{"name":"authority","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authority"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/feasibility/requirements":{"get":{"tags":["feasibility"],"summary":"Feasibility Requirements Read","description":"The inputs this check needs, and which of them are missing.\n\nIt invents no field and defaults no dimension. A value we do not hold comes\nback as null with `editable: true`, which is an invitation to supply it --\nnot a blank that quietly becomes General on the next screen.","operationId":"feasibility_requirements_read","parameters":[{"name":"option_ref","in":"query","required":true,"schema":{"type":"string","title":"Option Ref"}},{"name":"exam_type","in":"query","required":true,"schema":{"type":"string","title":"Exam Type"}},{"name":"authority","in":"query","required":true,"schema":{"type":"string","title":"Authority"}},{"name":"counselling_year","in":"query","required":true,"schema":{"type":"integer","title":"Counselling Year"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/feasibility/attachments/lookup":{"post":{"tags":["feasibility"],"summary":"Feasibility Attachments Lookup","description":"The bands a list already holds, read and never recomputed.\n\nOne read for the whole list, so a 25-row shortlist costs one query rather\nthan twenty-five. A key with no stored decision comes back NOT_CHECKED,\nwhich the row renders as an action; a blank would read as \"fine\".","operationId":"feasibility_attachments_lookup","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/feasibility/{receipt_id}/sources":{"get":{"tags":["feasibility"],"summary":"Feasibility Decision Sources","description":"The document behind every closing rank the band used.\n\nInternal digests stay behind an operator role; a family gets the document\nrole, the year, the round, the publication state, who reviewed it and when,\nand how the number was derived, in words.","operationId":"feasibility_decision_sources","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","title":"Receipt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/feasibility/{receipt_id}":{"get":{"tags":["feasibility"],"summary":"Feasibility Decision Read","description":"One stored answer, with what has moved under it since.\n\nA recalled decision answers 410 rather than 200 with a stale band: a band\nwhose source has been withdrawn is worse than no band, because the family\nhas no way to know it changed.","operationId":"feasibility_decision_read","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","title":"Receipt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/feasibility":{"post":{"tags":["feasibility"],"summary":"Feasibility Decision Create","description":"Ask whether one option is reachable, and store the answer either way.\n\n**A no-band is also a 201.** It carries `state: NO_BAND`, a typed\n`abstain_reason` and the thing that would change it. Returning it as a 4xx\nwould drop it into the error frame, where a family reads our honesty as our\nfailure.","operationId":"feasibility_decision_create","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/predict/feasibility/{receipt_id}/rerun":{"post":{"tags":["feasibility"],"summary":"Feasibility Decision Rerun","description":"Ask the same question again against today's evidence.\n\nA new decision id every time, linked to the old one by\n`predecessor_decision_id`. The old answer is never rewritten -- not even its\nstate -- because a family who acted on a band last week must still be able\nto read the band they acted on. That link is the whole record of the\nsupersession: reading the old receipt finds the successor through it and\nanswers 410 pointing at the newer one.","operationId":"feasibility_decision_rerun","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","title":"Receipt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","default":{},"title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/feasibility-digest/{child_id}":{"get":{"tags":["feasibility"],"summary":"Feasibility Parent Digest","description":"What a parent may see: the sentence, the band, the years. Nothing else.\n\nNever a rank point, never a category, never an axis. A parent who can read\ntheir child's exact rank and category off a digest has been handed the\nmaterial for a conversation the child did not agree to have.\n\nTwo gates, both before any read of the child's decisions: the router's\n`enforce_parent_child_link` (signed in, parent role, active link) and then\nthe child's academic-sharing consent for this parent.","operationId":"feasibility_parent_digest","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/orgs":{"post":{"tags":["shared-org"],"summary":"Create Org","operationId":"create_org_api_v1_orgs_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateOrgBody"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/orgs/{org_id}":{"get":{"tags":["shared-org"],"summary":"Get Org","operationId":"get_org_api_v1_orgs__org_id__get","parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"string","title":"Org Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/orgs/{org_id}/me":{"get":{"tags":["shared-org"],"summary":"My Role","operationId":"my_role_api_v1_orgs__org_id__me_get","parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"string","title":"Org Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/orgs/{org_id}/members":{"post":{"tags":["shared-org"],"summary":"Invite","operationId":"invite_api_v1_orgs__org_id__members_post","parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"string","title":"Org Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InviteBody"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/orgs/{org_id}/members/accept":{"post":{"tags":["shared-org"],"summary":"Accept","operationId":"accept_api_v1_orgs__org_id__members_accept_post","parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"string","title":"Org Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/orgs/{org_id}/members/{subject_id}":{"patch":{"tags":["shared-org"],"summary":"Change Role","operationId":"change_role_api_v1_orgs__org_id__members__subject_id__patch","parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"string","title":"Org Id"}},{"name":"subject_id","in":"path","required":true,"schema":{"type":"string","title":"Subject Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/orgs/{org_id}/members/{subject_id}/revoke":{"post":{"tags":["shared-org"],"summary":"Revoke","operationId":"revoke_api_v1_orgs__org_id__members__subject_id__revoke_post","parameters":[{"name":"org_id","in":"path","required":true,"schema":{"type":"string","title":"Org Id"}},{"name":"subject_id","in":"path","required":true,"schema":{"type":"string","title":"Subject Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/bridges/trututor/orgs/register-or-link":{"post":{"tags":["shared-org-link"],"summary":"Register Or Link","operationId":"register_or_link_api_v1_bridges_trututor_orgs_register_or_link_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-TruTutor-Origin","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Trututor-Origin"}},{"name":"X-TruTutor-Signature","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Trututor-Signature"}},{"name":"X-TruTutor-Sent-At","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Trututor-Sent-At"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/shared_org__link_routes__LinkBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/bridges/trututor/orgs/lookup":{"post":{"tags":["shared-org-link"],"summary":"Lookup","operationId":"lookup_api_v1_bridges_trututor_orgs_lookup_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-TruTutor-Origin","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Trututor-Origin"}},{"name":"X-TruTutor-Signature","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Trututor-Signature"}},{"name":"X-TruTutor-Sent-At","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Trututor-Sent-At"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/partner/keys":{"post":{"tags":["partner-api-keys"],"summary":"Issue Key","operationId":"issue_key_api_v1_partner_keys_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IssueBody"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["partner-api-keys"],"summary":"List Keys","operationId":"list_keys_api_v1_partner_keys_get","parameters":[{"name":"org_id","in":"query","required":true,"schema":{"type":"string","minLength":1,"title":"Org Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/partner/keys/{key_id}/revoke":{"post":{"tags":["partner-api-keys"],"summary":"Revoke Key","operationId":"revoke_key_api_v1_partner_keys__key_id__revoke_post","parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"string","title":"Key Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/partner/keys/{key_id}/usage":{"get":{"tags":["partner-api-keys"],"summary":"Key Usage","operationId":"key_usage_api_v1_partner_keys__key_id__usage_get","parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"string","title":"Key Id"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":365,"minimum":1,"default":30,"title":"Days"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/org-onboarding":{"post":{"tags":["Org onboarding"],"summary":"Create Draft","operationId":"create_draft_api_v1_org_onboarding_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationBody"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Draft Api V1 Org Onboarding Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/org-onboarding/mine":{"get":{"tags":["Org onboarding"],"summary":"List Mine","operationId":"list_mine_api_v1_org_onboarding_mine_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Mine Api V1 Org Onboarding Mine Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/org-onboarding/review/queue":{"get":{"tags":["Org onboarding"],"summary":"Review Queue","operationId":"review_queue_api_v1_org_onboarding_review_queue_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Review Queue Api V1 Org Onboarding Review Queue Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/org-onboarding/review/{application_id}/claim":{"post":{"tags":["Org onboarding"],"summary":"Claim","operationId":"claim_api_v1_org_onboarding_review__application_id__claim_post","parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","title":"Application Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Claim Api V1 Org Onboarding Review  Application Id  Claim Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/org-onboarding/review/{application_id}/decide":{"post":{"tags":["Org onboarding"],"summary":"Decide","operationId":"decide_api_v1_org_onboarding_review__application_id__decide_post","parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","title":"Application Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/org_onboarding__routes__DecisionBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Decide Api V1 Org Onboarding Review  Application Id  Decide Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/org-onboarding/{application_id}":{"get":{"tags":["Org onboarding"],"summary":"Get One","operationId":"get_one_api_v1_org_onboarding__application_id__get","parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","title":"Application Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get One Api V1 Org Onboarding  Application Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Org onboarding"],"summary":"Edit","operationId":"edit_api_v1_org_onboarding__application_id__patch","parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","title":"Application Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Edit Api V1 Org Onboarding  Application Id  Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/org-onboarding/{application_id}/submit":{"post":{"tags":["Org onboarding"],"summary":"Submit","operationId":"submit_api_v1_org_onboarding__application_id__submit_post","parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","title":"Application Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Submit Api V1 Org Onboarding  Application Id  Submit Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/org-onboarding/{application_id}/withdraw":{"post":{"tags":["Org onboarding"],"summary":"Withdraw","operationId":"withdraw_api_v1_org_onboarding__application_id__withdraw_post","parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","title":"Application Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Withdraw Api V1 Org Onboarding  Application Id  Withdraw Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/work-escrow":{"post":{"tags":["work-escrow"],"summary":"Create Escrow","operationId":"create_escrow_api_v1_work_escrow_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/work_escrow__routes__CreateBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/work-escrow/{escrow_id}/fund":{"post":{"tags":["work-escrow"],"summary":"Fund","operationId":"fund_api_v1_work_escrow__escrow_id__fund_post","parameters":[{"name":"escrow_id","in":"path","required":true,"schema":{"type":"string","title":"Escrow Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/work-escrow/{escrow_id}/release":{"post":{"tags":["work-escrow"],"summary":"Release","operationId":"release_api_v1_work_escrow__escrow_id__release_post","parameters":[{"name":"escrow_id","in":"path","required":true,"schema":{"type":"string","title":"Escrow Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/work-escrow/{escrow_id}/refund":{"post":{"tags":["work-escrow"],"summary":"Refund","operationId":"refund_api_v1_work_escrow__escrow_id__refund_post","parameters":[{"name":"escrow_id","in":"path","required":true,"schema":{"type":"string","title":"Escrow Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/work_escrow__routes__RefundBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/work-escrow/{escrow_id}/dispute":{"post":{"tags":["work-escrow"],"summary":"Dispute","operationId":"dispute_api_v1_work_escrow__escrow_id__dispute_post","parameters":[{"name":"escrow_id","in":"path","required":true,"schema":{"type":"string","title":"Escrow Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/work_escrow__routes__ReasonBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/work-escrow/{escrow_id}/cancel":{"post":{"tags":["work-escrow"],"summary":"Cancel","operationId":"cancel_api_v1_work_escrow__escrow_id__cancel_post","parameters":[{"name":"escrow_id","in":"path","required":true,"schema":{"type":"string","title":"Escrow Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/work-escrow/{escrow_id}/resolve":{"post":{"tags":["work-escrow"],"summary":"Resolve","operationId":"resolve_api_v1_work_escrow__escrow_id__resolve_post","parameters":[{"name":"escrow_id","in":"path","required":true,"schema":{"type":"string","title":"Escrow Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/work_escrow__routes__ResolveBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/work-escrow/claims/stale":{"get":{"tags":["work-escrow"],"summary":"Stale Claims","operationId":"stale_claims_api_v1_work_escrow_claims_stale_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/work-escrow/reconcile":{"post":{"tags":["work-escrow"],"summary":"Reconcile Stale","operationId":"reconcile_stale_api_v1_work_escrow_reconcile_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/work_escrow__routes__ReconcileBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/work-escrow/payout-queue":{"get":{"tags":["work-escrow"],"summary":"Payout Queue","description":"Operator queue: payouts the provider rejected, failed or reversed. Admin only.","operationId":"payout_queue_api_v1_work_escrow_payout_queue_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/work-escrow/provider-webhooks/razorpayx":{"post":{"tags":["work-escrow"],"summary":"Razorpayx Webhook","description":"RazorpayX payout events. Authenticated by HMAC signature, not by session.","operationId":"razorpayx_webhook_api_v1_work_escrow_provider_webhooks_razorpayx_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/work-escrow/{escrow_id}":{"get":{"tags":["work-escrow"],"summary":"Read Escrow","operationId":"read_escrow_api_v1_work_escrow__escrow_id__get","parameters":[{"name":"escrow_id","in":"path","required":true,"schema":{"type":"string","title":"Escrow Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/commerce/reconciliation/run":{"post":{"tags":["commerce-reconciliation-admin"],"summary":"Run","operationId":"run_api_v1_admin_commerce_reconciliation_run_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/commerce/reconciliation/findings":{"get":{"tags":["commerce-reconciliation-admin"],"summary":"Findings","operationId":"findings_api_v1_admin_commerce_reconciliation_findings_get","parameters":[{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"enum":["open","resolved"],"type":"string"},{"type":"null"}],"default":"open","title":"State"}},{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kind"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"needs_operator","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Needs Operator"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/commerce/reconciliation/findings/{finding_id}/resolve":{"post":{"tags":["commerce-reconciliation-admin"],"summary":"Resolve","operationId":"resolve_api_v1_admin_commerce_reconciliation_findings__finding_id__resolve_post","parameters":[{"name":"finding_id","in":"path","required":true,"schema":{"type":"string","title":"Finding Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/commerce_reconciliation__routes__ResolveBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/commerce/reconciliation/findings/{finding_id}/history":{"get":{"tags":["commerce-reconciliation-admin"],"summary":"History","description":"Every resolve, reopen, escalation and repair note for one finding, oldest first.","operationId":"history_api_v1_admin_commerce_reconciliation_findings__finding_id__history_get","parameters":[{"name":"finding_id","in":"path","required":true,"schema":{"type":"string","title":"Finding Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/commerce/subscriptions/mine":{"get":{"tags":["commerce-subscriptions-a6"],"summary":"My Subscriptions","operationId":"my_subscriptions_api_v1_commerce_subscriptions_mine_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/commerce/subscriptions/{subscription_id}/cancel":{"post":{"tags":["commerce-subscriptions-a6"],"summary":"Cancel My Subscription","description":"Cancel at the end of the paid period (default). Access continues until then.\n\nIdempotent: a repeat returns the stored result and never makes a second provider call.","operationId":"cancel_my_subscription_api_v1_commerce_subscriptions__subscription_id__cancel_post","parameters":[{"name":"subscription_id","in":"path","required":true,"schema":{"type":"string","title":"Subscription Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/commerce_subscription_routes__CancelBody"},{"type":"null"}],"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/commerce/subscriptions/{subscription_id}/pause":{"post":{"tags":["commerce-subscriptions-a6"],"summary":"Pause My Subscription","description":"Pause one plan for 1 to 30 days (60 days per plan per rolling year). Access and billing stop; the paid days move.\n\nNever a refund or a credit. Idempotent: a repeat returns the stored result and never makes a second provider call.","operationId":"pause_my_subscription_api_v1_commerce_subscriptions__subscription_id__pause_post","parameters":[{"name":"subscription_id","in":"path","required":true,"schema":{"type":"string","title":"Subscription Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/commerce_subscription_routes__PauseBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/commerce/subscriptions/{subscription_id}/resume":{"post":{"tags":["commerce-subscriptions-a6"],"summary":"Resume My Subscription","description":"End a pause early. The period end moves by the time actually paused; nothing is refunded or credited.","operationId":"resume_my_subscription_api_v1_commerce_subscriptions__subscription_id__resume_post","parameters":[{"name":"subscription_id","in":"path","required":true,"schema":{"type":"string","title":"Subscription Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/commerce/billing/pause":{"post":{"tags":["commerce-subscriptions-a6"],"summary":"Pause All My Billing","description":"Pause every plan this payer funds, each exactly as one plan (own budget, own provider call).","operationId":"pause_all_my_billing_api_v1_commerce_billing_pause_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/commerce_subscription_routes__PauseBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/commerce/billing/resume":{"post":{"tags":["commerce-subscriptions-a6"],"summary":"Resume All My Billing","operationId":"resume_all_my_billing_api_v1_commerce_billing_resume_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/commerce/subscriptions/{subscription_id}/cancel/reconcile":{"post":{"tags":["commerce-subscriptions-a6"],"summary":"Reconcile My Subscription Cancel","description":"Settle an unknown cancel outcome by reading the subscription back; never cancels again.","operationId":"reconcile_my_subscription_cancel_api_v1_commerce_subscriptions__subscription_id__cancel_reconcile_post","parameters":[{"name":"subscription_id","in":"path","required":true,"schema":{"type":"string","title":"Subscription Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/commerce/operator/subscription-lifecycle/sweep":{"post":{"tags":["commerce-subscriptions-a6"],"summary":"Sweep Subscription Lifecycle","description":"Start grace for failed renewals, recover paid ones, lapse/end what is due. Idempotent.","operationId":"sweep_subscription_lifecycle_api_v1_commerce_operator_subscription_lifecycle_sweep_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/commerce/operator/subscription-operations/{operation_id}/resolve":{"post":{"tags":["commerce-subscriptions-a6"],"summary":"Resolve Subscription Operation","description":"Operator exit for a create/cancel that never settled and would keep the learner blocked.","operationId":"resolve_subscription_operation_api_v1_commerce_operator_subscription_operations__operation_id__resolve_post","parameters":[{"name":"operation_id","in":"path","required":true,"schema":{"type":"string","title":"Operation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/commerce_subscription_routes__ResolveBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/commerce/operator/subscription-flags":{"get":{"tags":["commerce-subscriptions-a6"],"summary":"Read Subscription Flags","description":"Open things a person must look at: stuck creates/cancels and duplicate paid subscriptions.","operationId":"read_subscription_flags_api_v1_commerce_operator_subscription_flags_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/commerce/webhook-exceptions":{"get":{"tags":["commerce-webhook-admin"],"summary":"Read Webhook Exceptions","description":"Staff alert list: refused or held payment webhooks (admin only).","operationId":"read_webhook_exceptions_api_v1_admin_commerce_webhook_exceptions_get","parameters":[{"name":"unresolved_only","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Unresolved Only"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/commerce/payment-disputes":{"get":{"tags":["commerce-webhook-admin"],"summary":"Read Payment Disputes","description":"Disputed payments awaiting an operator entitlement decision (admin only).","operationId":"read_payment_disputes_api_v1_admin_commerce_payment_disputes_get","parameters":[{"name":"undecided_only","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Undecided Only"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/gifts":{"post":{"tags":["gift-a-twin"],"summary":"Create Gift","operationId":"create_gift_api_v1_gifts_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/gift_twin__routes__CreateBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/gifts/mine":{"get":{"tags":["gift-a-twin"],"summary":"My Gifts","operationId":"my_gifts_api_v1_gifts_mine_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/gifts/redeem":{"post":{"tags":["gift-a-twin"],"summary":"Redeem Gift","description":"Redeem for yourself. A minor needs established age and recorded guardian consent (founder answer,\n18 Oct 2026); without consent the code is untouched and a linked parent can use redeem-for-child.","operationId":"redeem_gift_api_v1_gifts_redeem_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/gift_twin__routes__RedeemBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/gifts/redeem-for-child":{"post":{"tags":["gift-a-twin"],"summary":"Redeem Gift For Child","description":"A linked parent redeems for their child: the entitlement goes to the CHILD, the parent is recorded as\nthe redeemer. The link (an active parent_children row) is read on the server, never taken from the body.","operationId":"redeem_gift_for_child_api_v1_gifts_redeem_for_child_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RedeemForChildBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/gifts/{gift_id}/reveal":{"post":{"tags":["gift-a-twin"],"summary":"Reveal Code","description":"Mint and show the code once, only against a verified canonical payment.","operationId":"reveal_code_api_v1_gifts__gift_id__reveal_post","parameters":[{"name":"gift_id","in":"path","required":true,"schema":{"type":"string","title":"Gift Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/gifts/{gift_id}/refund-request":{"post":{"tags":["gift-a-twin"],"summary":"Refund Request","description":"Buyer refund before redeem. The gift goes to a reversible HOLD (refund_pending), not to void: it is void\nor refunded only once the refund is final, and it goes back to paid if the refund is rejected or fails.","operationId":"refund_request_api_v1_gifts__gift_id__refund_request_post","parameters":[{"name":"gift_id","in":"path","required":true,"schema":{"type":"string","title":"Gift Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/gifts/reconcile":{"post":{"tags":["gift-a-twin-admin"],"summary":"Reconcile Now","description":"Operator: end every open gift whose payment has been refunded or charged back, and take back any Twin\nalready given. Idempotent. (The scheduled run is separate and off unless GIFT_RECONCILE_ENABLED is on.)","operationId":"reconcile_now_api_v1_admin_gifts_reconcile_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/gifts/{gift_id}/revoke-redeemed":{"post":{"tags":["gift-a-twin-admin"],"summary":"Revoke Redeemed","description":"After the canonical refund of a redeemed gift: revoke the recipient entitlement, mark refunded.","operationId":"revoke_redeemed_api_v1_admin_gifts__gift_id__revoke_redeemed_post","parameters":[{"name":"gift_id","in":"path","required":true,"schema":{"type":"string","title":"Gift Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/gift_twin__routes__RevokeBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/checkouts/{checkout_id}/cancel":{"post":{"tags":["commerce-checkout-lifecycle"],"summary":"Buyer Cancel Checkout","operationId":"buyer_cancel_checkout_api_v1_checkouts__checkout_id__cancel_post","parameters":[{"name":"checkout_id","in":"path","required":true,"schema":{"type":"string","title":"Checkout Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string","minLength":8,"maxLength":200},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/commerce/checkout-expiry/run":{"post":{"tags":["commerce-checkout-lifecycle-admin"],"summary":"Run Checkout Expiry","operationId":"run_checkout_expiry_api_v1_admin_commerce_checkout_expiry_run_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExpiryRunBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/catalog/skus":{"get":{"tags":["catalog"],"summary":"List Skus","operationId":"list_skus_api_v1_catalog_skus_get","parameters":[{"name":"tier","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"FREE/ACE/GROW/SCALE","title":"Tier"},"description":"FREE/ACE/GROW/SCALE"},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"ACTIVE","title":"Status"}},{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"subscription/addon/promo","title":"Category"},"description":"subscription/addon/promo"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/catalog/skus/{sku_id}":{"get":{"tags":["catalog"],"summary":"Get Sku","operationId":"get_sku_api_v1_catalog_skus__sku_id__get","parameters":[{"name":"sku_id","in":"path","required":true,"schema":{"type":"string","title":"Sku Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/catalog/products":{"get":{"tags":["catalog"],"summary":"List Products","operationId":"list_products_api_v1_catalog_products_get","parameters":[{"name":"brand","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Brand"}},{"name":"surface","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Surface"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/catalog/products/{product_id}":{"get":{"tags":["catalog"],"summary":"Get Product","operationId":"get_product_api_v1_catalog_products__product_id__get","parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"string","title":"Product Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/catalog/summary":{"get":{"tags":["catalog"],"summary":"Catalog Summary","operationId":"catalog_summary_api_v1_catalog_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/clusters/cl-088/burst-kit/activate":{"post":{"tags":["clusters-v51"],"summary":"Cl088 Activate","description":"PR-285 7-day micro-plan generator (ACE+). FREE: Day-0 toolkit only.\n\nCalls ENG-014 SRNN `get_due` to pull the student's highest-priority\nreview items, then sharded across `arc_days` for the burst plan. Honest\nempty plan if SRNN has nothing due yet (student hasn't built history).","operationId":"cl088_activate_api_v1_clusters_cl_088_burst_kit_activate_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BurstKitActivateReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clusters/cl-088/burst-kit/{burst_kit_id}":{"get":{"tags":["clusters-v51"],"summary":"Cl088 Get","operationId":"cl088_get_api_v1_clusters_cl_088_burst_kit__burst_kit_id__get","parameters":[{"name":"burst_kit_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Burst Kit Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clusters/cl-088/burst-kit/{burst_kit_id}/day/{day}/start":{"post":{"tags":["clusters-v51"],"summary":"Cl088 Start Day","operationId":"cl088_start_day_api_v1_clusters_cl_088_burst_kit__burst_kit_id__day__day__start_post","parameters":[{"name":"burst_kit_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Burst Kit Id"}},{"name":"day","in":"path","required":true,"schema":{"type":"integer","title":"Day"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clusters/cl-088/burst-kit/{burst_kit_id}/day/{day}/complete":{"post":{"tags":["clusters-v51"],"summary":"Cl088 Complete Day","operationId":"cl088_complete_day_api_v1_clusters_cl_088_burst_kit__burst_kit_id__day__day__complete_post","parameters":[{"name":"burst_kit_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Burst Kit Id"}},{"name":"day","in":"path","required":true,"schema":{"type":"integer","title":"Day"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clusters/cl-088/burst-kit/{burst_kit_id}/review/record":{"post":{"tags":["clusters-v51"],"summary":"Cl088 Record Review Response","description":"Record one Burst Kit review response through ENG-014 SRNN.","operationId":"cl088_record_review_response_api_v1_clusters_cl_088_burst_kit__burst_kit_id__review_record_post","parameters":[{"name":"burst_kit_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Burst Kit Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BurstKitReviewResponseReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clusters/cl-088/exam-day-toolkit":{"get":{"tags":["clusters-v51"],"summary":"Cl088 Exam Day Toolkit","description":"PR-298 Test-day toolkit — universal (all tiers).","operationId":"cl088_exam_day_toolkit_api_v1_clusters_cl_088_exam_day_toolkit_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clusters/cl-120/imports":{"post":{"tags":["clusters-v51"],"summary":"Cl120 Upload","description":"PR-426 Snap & import score sheet. Triggers ENG-004 OCR async pipeline.","operationId":"cl120_upload_api_v1_clusters_cl_120_imports_post","parameters":[{"name":"coaching_centre","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Coaching Centre"}},{"name":"exam_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Exam Type"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_cl120_upload_api_v1_clusters_cl_120_imports_post"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["clusters-v51"],"summary":"Cl120 List","operationId":"cl120_list_api_v1_clusters_cl_120_imports_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clusters/cl-120/imports/{upload_id}/ocr":{"get":{"tags":["clusters-v51"],"summary":"Cl120 Ocr Result","description":"PR-427 OCR confirm + edit screen data.","operationId":"cl120_ocr_result_api_v1_clusters_cl_120_imports__upload_id__ocr_get","parameters":[{"name":"upload_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Upload Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clusters/cl-120/imports/{upload_id}/confirm":{"post":{"tags":["clusters-v51"],"summary":"Cl120 Confirm","description":"PR-427 confirm extraction. Triggers SPRE write-back (GROW+) per §17.5 chain.","operationId":"cl120_confirm_api_v1_clusters_cl_120_imports__upload_id__confirm_post","parameters":[{"name":"upload_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Upload Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfirmExternalMockReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clusters/cl-150/cycles":{"post":{"tags":["clusters-v51"],"summary":"Cl150 Start Cycle","description":"PR-560 Chapter picker + arc generator.","operationId":"cl150_start_cycle_api_v1_clusters_cl_150_cycles_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChapterMasteryStartReq"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clusters/cl-150/cycles/{cycle_id}":{"get":{"tags":["clusters-v51"],"summary":"Cl150 Cycle State","operationId":"cl150_cycle_state_api_v1_clusters_cl_150_cycles__cycle_id__get","parameters":[{"name":"cycle_id","in":"path","required":true,"schema":{"type":"string","title":"Cycle Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clusters/cl-150/cycles/{cycle_id}/day/{day}/complete":{"post":{"tags":["clusters-v51"],"summary":"Cl150 Complete Day","operationId":"cl150_complete_day_api_v1_clusters_cl_150_cycles__cycle_id__day__day__complete_post","parameters":[{"name":"cycle_id","in":"path","required":true,"schema":{"type":"string","title":"Cycle Id"}},{"name":"day","in":"path","required":true,"schema":{"type":"integer","title":"Day"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clusters/cl-150/cycles/{cycle_id}/midpoint-mock":{"post":{"tags":["clusters-v51"],"summary":"Cl150 Midpoint Mock","description":"PR-575 Mid-arc chapter-section mock (ACE+).","operationId":"cl150_midpoint_mock_api_v1_clusters_cl_150_cycles__cycle_id__midpoint_mock_post","parameters":[{"name":"cycle_id","in":"path","required":true,"schema":{"type":"string","title":"Cycle Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clusters/cl-150/cycles/{cycle_id}/mastery-test":{"post":{"tags":["clusters-v51"],"summary":"Cl150 Mastery Test","description":"PR-580 Mastery test + certificate. Issues cert on pass via ENG-053 (G-99).","operationId":"cl150_mastery_test_api_v1_clusters_cl_150_cycles__cycle_id__mastery_test_post","parameters":[{"name":"cycle_id","in":"path","required":true,"schema":{"type":"string","title":"Cycle Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clusters/cl-150/certificates":{"get":{"tags":["clusters-v51"],"summary":"Cl150 Certificates","operationId":"cl150_certificates_api_v1_clusters_cl_150_certificates_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clusters/cl-155/helpers/formula":{"post":{"tags":["clusters-v51"],"summary":"Cl155 Formula","description":"PR-590 Formula Derivation (uses EDU-006, G-100).","operationId":"cl155_formula_api_v1_clusters_cl_155_helpers_formula_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FormulaReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clusters/cl-155/helpers/equation":{"post":{"tags":["clusters-v51"],"summary":"Cl155 Equation","description":"PR-600 Chemical Equation Balancer (uses EDU-007, G-100).","operationId":"cl155_equation_api_v1_clusters_cl_155_helpers_equation_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EquationReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clusters/cl-155/helpers/organic":{"post":{"tags":["clusters-v51"],"summary":"Cl155 Organic","description":"PR-610 Organic Structure Renderer (uses EDU-008, G-100).","operationId":"cl155_organic_api_v1_clusters_cl_155_helpers_organic_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganicReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clusters/cl-155/helpers/physics":{"post":{"tags":["clusters-v51"],"summary":"Cl155 Physics","description":"PR-620 Physics Simulator (uses EDU-009, LIVE).","operationId":"cl155_physics_api_v1_clusters_cl_155_helpers_physics_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhysicsSimReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clusters/cl-155/helpers/biology":{"post":{"tags":["clusters-v51"],"summary":"Cl155 Biology","description":"PR-625 Biology Diagram Generator (uses EDU-011, LIVE).","operationId":"cl155_biology_api_v1_clusters_cl_155_helpers_biology_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BiologyDiagramReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clusters/cl-155/history":{"get":{"tags":["clusters-v51"],"summary":"Cl155 History","description":"Helper history — GROW+ feature (DAT-155).","operationId":"cl155_history_api_v1_clusters_cl_155_history_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clusters/cl-160/library":{"get":{"tags":["clusters-v51"],"summary":"Cl160 Library","description":"PR-630 Visualiser library browse.","operationId":"cl160_library_api_v1_clusters_cl_160_library_get","parameters":[{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clusters/cl-160/concepts/{concept_id}":{"get":{"tags":["clusters-v51"],"summary":"Cl160 Concept Load","description":"PR-630 Load 3D model for concept. Uses EDU-018 MAGNUS (G-101 build pending).","operationId":"cl160_concept_load_api_v1_clusters_cl_160_concepts__concept_id__get","parameters":[{"name":"concept_id","in":"path","required":true,"schema":{"type":"string","title":"Concept Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clusters/cl-160/concepts/{concept_id}/interact":{"post":{"tags":["clusters-v51"],"summary":"Cl160 Interact","operationId":"cl160_interact_api_v1_clusters_cl_160_concepts__concept_id__interact_post","parameters":[{"name":"concept_id","in":"path","required":true,"schema":{"type":"string","title":"Concept Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VisualiserInteractReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clusters/cl-160/concepts/{concept_id}/bookmark":{"post":{"tags":["clusters-v51"],"summary":"Cl160 Bookmark","description":"PR-650 Bookmark (GROW+).","operationId":"cl160_bookmark_api_v1_clusters_cl_160_concepts__concept_id__bookmark_post","parameters":[{"name":"concept_id","in":"path","required":true,"schema":{"type":"string","title":"Concept Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clusters/cl-275/library":{"get":{"tags":["clusters-v51"],"summary":"Cl275 Library","description":"Video library catalogue — categories + counts.\n\n**A category is counted on playable slices, never on the published flag**\n(PACK-45 §13, JOB-1078). `published` is a review decision; it is not a\ndelivery address, and a row can be reviewed, approved and published with\nnowhere to stream from.\n\nThis docstring used to say \"honest empty envelope until the content pipeline\nships lectures\". It was not honest and the envelope was not empty. Measured\non production 2026-09-14: 44 rows, all 44 published, 28 with no address at\nall and 16 on a reserved test host — so this route was reporting six stocked\ncategories and 44 lectures over nothing playable, and `video_library.history`\nhad never recorded a single view. Now it reports what can actually play,\nwhich today is zero.","operationId":"cl275_library_api_v1_clusters_cl_275_library_get","parameters":[{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clusters/cl-275/category/{category_id}":{"get":{"tags":["clusters-v51"],"summary":"Cl275 Category","description":"List published lectures in a category.","operationId":"cl275_category_api_v1_clusters_cl_275_category__category_id__get","parameters":[{"name":"category_id","in":"path","required":true,"schema":{"type":"string","title":"Category Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clusters/cl-250/subjects":{"get":{"tags":["clusters-v51"],"summary":"Cl250 Subjects","description":"PR-700 Subject + chapter picker — entry.","operationId":"cl250_subjects_api_v1_clusters_cl_250_subjects_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clusters/cl-250/subjects/{subject_id}/chapters":{"get":{"tags":["clusters-v51"],"summary":"Cl250 Chapters","description":"PR-700 Chapter list for subject.","operationId":"cl250_chapters_api_v1_clusters_cl_250_subjects__subject_id__chapters_get","parameters":[{"name":"subject_id","in":"path","required":true,"schema":{"type":"string","title":"Subject Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clusters/cl-250/chapters/{chapter_id}/state":{"get":{"tags":["clusters-v51"],"summary":"Cl250 Chapter State","description":"PR-705 Chapter dashboard (PYQ freq + SPRE state at ACE+).","operationId":"cl250_chapter_state_api_v1_clusters_cl_250_chapters__chapter_id__state_get","parameters":[{"name":"chapter_id","in":"path","required":true,"schema":{"type":"string","title":"Chapter Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clusters/cl-250/chapters/{chapter_id}/topics/{topic_id}/drill":{"post":{"tags":["clusters-v51"],"summary":"Cl250 Topic Drill","description":"Drill routing → CL-145/155/160/135 based on topic type.","operationId":"cl250_topic_drill_api_v1_clusters_cl_250_chapters__chapter_id__topics__topic_id__drill_post","parameters":[{"name":"chapter_id","in":"path","required":true,"schema":{"type":"string","title":"Chapter Id"}},{"name":"topic_id","in":"path","required":true,"schema":{"type":"string","title":"Topic Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clusters/cl-250/chapters/{chapter_id}/summary/play":{"post":{"tags":["clusters-v51"],"summary":"Cl250 Chapter Summary","description":"PR-720 JARVIS chapter summary (GROW+, TTS at SCALE).\n\nForwards to the live implementation in ncert_routes.generate_chapter_summary\nwhich: (1) reads from chapter_summaries cache (24h TTL), (2) on miss calls\nJARVIS LLM with deterministic fallback, (3) persists the result with\nON CONFLICT upsert. The old _not_ready stub was leaking through to the FE\nand producing zero chapter_summaries rows despite live traffic.","operationId":"cl250_chapter_summary_api_v1_clusters_cl_250_chapters__chapter_id__summary_play_post","parameters":[{"name":"chapter_id","in":"path","required":true,"schema":{"type":"string","title":"Chapter Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clusters/cl-250/chapters/{chapter_id}/prereq":{"get":{"tags":["clusters-v51"],"summary":"Cl250 Prereq","description":"PR-725 Cross-chapter prerequisite map (SCALE only).","operationId":"cl250_prereq_api_v1_clusters_cl_250_chapters__chapter_id__prereq_get","parameters":[{"name":"chapter_id","in":"path","required":true,"schema":{"type":"string","title":"Chapter Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clusters/cl-260/notes":{"post":{"tags":["clusters-v51"],"summary":"Cl260 Create Note","description":"PR-730 Note capture. Indexed via ENG-002 RAG (LIVE).","operationId":"cl260_create_note_api_v1_clusters_cl_260_notes_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NoteCreateReq"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["clusters-v51"],"summary":"Cl260 List Notes","operationId":"cl260_list_notes_api_v1_clusters_cl_260_notes_get","parameters":[{"name":"folder_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clusters/cl-260/notes/search":{"get":{"tags":["clusters-v51"],"summary":"Cl260 Search","description":"PR-740 Search across notes. Cross-corpus search (notes + NCERT + PYQs) is GROW+.","operationId":"cl260_search_api_v1_clusters_cl_260_notes_search_get","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":1,"title":"Q"}},{"name":"cross_corpus","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Cross Corpus"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clusters/cl-260/notes/{note_id}":{"get":{"tags":["clusters-v51"],"summary":"Cl260 Get Note","operationId":"cl260_get_note_api_v1_clusters_cl_260_notes__note_id__get","parameters":[{"name":"note_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Note Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["clusters-v51"],"summary":"Cl260 Update Note","operationId":"cl260_update_note_api_v1_clusters_cl_260_notes__note_id__put","parameters":[{"name":"note_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Note Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NoteUpdateReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["clusters-v51"],"summary":"Cl260 Delete Note","operationId":"cl260_delete_note_api_v1_clusters_cl_260_notes__note_id__delete","parameters":[{"name":"note_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Note Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clusters/cl-260/pdf-ingest":{"post":{"tags":["clusters-v51"],"summary":"Cl260 Pdf Ingest","description":"PR-745 PDF ingestion (GROW+).","operationId":"cl260_pdf_ingest_api_v1_clusters_cl_260_pdf_ingest_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_cl260_pdf_ingest_api_v1_clusters_cl_260_pdf_ingest_post"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clusters/cl-260/notes/{note_id}/mnemonic":{"post":{"tags":["clusters-v51"],"summary":"Cl260 Generate Mnemonic","description":"PR-755 Note-to-mnemonic generator (SCALE only).","operationId":"cl260_generate_mnemonic_api_v1_clusters_cl_260_notes__note_id__mnemonic_post","parameters":[{"name":"note_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Note Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/mfa/step-up/challenge":{"post":{"tags":["auth"],"summary":"Create Mfa Step Up Challenge","description":"Send a durable MFA challenge to the authenticated owner's stored phone.","operationId":"create_mfa_step_up_challenge_api_v1_auth_mfa_step_up_challenge_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/mfa/step-up/verify":{"post":{"tags":["auth"],"summary":"Verify Mfa Step Up","description":"Consume a step-up challenge and mint an AAL2 token for this same owner.","operationId":"verify_mfa_step_up_api_v1_auth_mfa_step_up_verify_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MFAStepUpVerifyRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/otp/send":{"post":{"tags":["auth"],"summary":"Api Send Otp","operationId":"api_send_otp_api_v1_auth_otp_send_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OTPSendRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/otp/verify":{"post":{"tags":["auth"],"summary":"Api Verify Otp","operationId":"api_verify_otp_api_v1_auth_otp_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OTPVerifyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/onboarding/dob":{"post":{"tags":["auth"],"summary":"Api Onboarding Dob","description":"PR-565-A — Age-of-Majority Gate.\n\nCaptures student DOB post-OTP-verify, computes DPDP §9 is_minor flag,\npersists to public.students, emits `minor.dob_declared` event, returns\nnext-step routing for the frontend.","operationId":"api_onboarding_dob_api_v1_auth_onboarding_dob_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnboardingDOBRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnboardingDOBResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/onboarding/variant-g/first-session":{"get":{"tags":["auth"],"summary":"Api Variant G First Session Get","operationId":"api_variant_g_first_session_get_api_v1_auth_onboarding_variant_g_first_session_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VariantGFirstSessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["auth"],"summary":"Api Variant G First Session Put","operationId":"api_variant_g_first_session_put_api_v1_auth_onboarding_variant_g_first_session_put","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VariantGFirstSessionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VariantGFirstSessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/onboarding/variant-g/diagnostic-questions":{"get":{"tags":["auth"],"summary":"Api Variant G Diagnostic Questions","operationId":"api_variant_g_diagnostic_questions_api_v1_auth_onboarding_variant_g_diagnostic_questions_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VariantGDiagnosticQuestionsResponse"}}}}}}},"/api/v1/auth/onboarding/variant-g/first-task":{"post":{"tags":["auth"],"summary":"Api Variant G First Task","operationId":"api_variant_g_first_task_api_v1_auth_onboarding_variant_g_first_task_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VariantGFirstTaskRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VariantGFirstTaskResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/refresh":{"post":{"tags":["auth"],"summary":"Api Refresh","operationId":"api_refresh_api_v1_auth_refresh_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefreshRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/parent-gate/request":{"post":{"tags":["auth"],"summary":"Api Parent Gate Request","description":"Minor signup flow step: student submits parent contact; we dispatch\na one-tap approval link/OTP to that parent. Parent then calls\n/parent-gate/approve with the OTP to activate the minor's account.\n\nSpec: ASPIREACE_PARENT_CONSENT_FLOW §3.\nPersistence: parent_gate_requests table (migration 017).\n\nOwner-scoped. Only the student may nominate their own parent.\n\n2026-08-18: this took student_id from the body with no authorization at all, so\nanyone could open a parent-consent request against ANY child's account naming\nthemselves as the parent, receive the approval code, and approve it. That is a\nroute to being recorded as a minor's guardian - which is what the parent\nworkspace and the parent_link consent purpose are keyed on.\n\nBoth callers already send the student's token and one of them documents it as\nrequired (ParentInviteForm.jsx: \"student JWT - required for /parent-gate/request\").\nThe client was sending a credential the server had never checked.","operationId":"api_parent_gate_request_api_v1_auth_parent_gate_request_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ParentGateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/parent-consent-inline":{"post":{"tags":["auth"],"summary":"Api Parent Consent Inline","description":"🚧 TEMP — inline parent consent for minor signup. Replaces the OTP\ndispatch flow until an email/SMS provider is configured. All 7\nchecklist items must be ticked + parent must type their full name +\npick a relationship. Writes consent.minor_audit with\nverified_method='inline_parent_checkbox'.\n\nSG-W1-S26-PARENT-INLINE-TEMP — restore the OTP flow when DPDP §9\nverifiable-consent rules tighten or when a provider is wired.","operationId":"api_parent_consent_inline_api_v1_auth_parent_consent_inline_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ParentConsentInlineRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/parent-gate/approve":{"post":{"tags":["auth"],"summary":"Api Parent Gate Approve","description":"Parent confirms their minor child can use AspireACE.","operationId":"api_parent_gate_approve_api_v1_auth_parent_gate_approve_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ParentGateApprove"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/minor/consent-status":{"get":{"tags":["auth"],"summary":"Api Minor Consent Status","description":"PR-565-B helper — student polls this to read DAT-157 audit state.\nReturns consent_status (none / pending / verified / declined / withdrawn),\nhas_consent, parent_phone_masked, verified_method, consent_at.\n\nFrontend uses has_consent to lift essential-service-only mode after\nparent verifies. Downstream ClusterTierEnforcer reads the same row.","operationId":"api_minor_consent_status_api_v1_auth_minor_consent_status_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/parent-gate/status/{request_id}":{"get":{"tags":["auth"],"summary":"Api Parent Gate Status","description":"Student polls this to know when parent has approved.","operationId":"api_parent_gate_status_api_v1_auth_parent_gate_status__request_id__get","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/onboarding-starter-plan":{"post":{"tags":["auth"],"summary":"Save Onboarding Starter Plan","description":"Persist a learner-accepted plan only after their own completed baseline.","operationId":"save_onboarding_starter_plan_api_v1_auth_onboarding_starter_plan_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["auth"],"summary":"Get Onboarding Starter Plan","description":"Read the signed-in learner's accepted first-plan receipt, if present.","operationId":"get_onboarding_starter_plan_api_v1_auth_onboarding_starter_plan_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/parent-link-invite":{"post":{"tags":["auth"],"summary":"Create Parent Link Invite","description":"Create a one-time, 24-hour code the learner may share with a parent.","operationId":"create_parent_link_invite_api_v1_auth_parent_link_invite_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/parent-link-requests":{"get":{"tags":["auth"],"summary":"List Parent Link Requests","description":"Show a learner every pending/active parent relationship request.","operationId":"list_parent_link_requests_api_v1_auth_parent_link_requests_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/parent-link-requests/approve":{"post":{"tags":["auth"],"summary":"Approve Parent Link Request","description":"Activate a pending relationship only after the learner's explicit choice.","operationId":"approve_parent_link_request_api_v1_auth_parent_link_requests_approve_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ParentLinkDecisionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/parent-link-requests/decline":{"post":{"tags":["auth"],"summary":"Decline Parent Link Request","description":"Decline a pending relationship without exposing learner data.","operationId":"decline_parent_link_request_api_v1_auth_parent_link_requests_decline_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ParentLinkDecisionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/capability-digest-consent":{"get":{"tags":["auth"],"summary":"List Capability Digest Consent","operationId":"list_capability_digest_consent_api_v1_auth_capability_digest_consent_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["auth"],"summary":"Set Capability Digest Consent","operationId":"set_capability_digest_consent_api_v1_auth_capability_digest_consent_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilityDigestConsentDecision"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/consent-requests":{"get":{"tags":["auth"],"summary":"List Consent Requests","description":"The extra-access asks waiting on this learner, so the screen can show them.\n\nAA-P-3 (13 Oct 2026). A parent's \"ask for more access\" is stored in\n`consent_requests`, and POST /consent-requests/decide answers it, but no\nroute listed the pending rows, so no learner screen could show one. This is\nthat list. Only pending asks from a parent whose link is still active; the\nchild comes from the token, never from the caller.","operationId":"list_consent_requests_api_v1_auth_consent_requests_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/consent-requests/decide":{"post":{"tags":["auth"],"summary":"Decide Consent Request","description":"Answer a parent's request for extra data categories. The child decides.\n\nWHAT APPROVE WRITES, AND ONLY THIS. The categories the request named are\nswitched on in parent_children, granted per purpose in\nidentity_consent_grants, and set in the relationship's allowed_summary.\nNothing the request did not name moves: no other flag, no other purpose,\nno other summary key, and the relationship state stays 'active'.\n\nWHAT DENY WRITES. The request row is closed as 'denied'. That is all. A\nchild saying no to MORE access is not a child withdrawing the access they\nalready chose to share, so deny never touches parent_children, the\nrelationship, its allowed_summary or any consent grant. (Taking access\naway is the revoke route's job.)\n\nTHE STATUS AND THE GRANT MOVE TOGETHER OR NOT AT ALL. Every write is in one\ntransaction. Split, the two failure modes are equally bad: a row marked\napproved with no access granted leaves a parent told yes and shown nothing,\nand access granted with the row still pending leaves a child who can be\nasked -- and can approve -- the same thing again.\n\nAN INACTIVE LINK CANNOT BE WIDENED. If the relationship is declined or\nrevoked, there is nothing to add a category to; approving would quietly\nrestore reading rights the learner had already taken away.\n\nREPLAY. Answering a request again with the SAME answer is a replay and\nreturns the original outcome with `idempotent: true`, writing nothing. A\nDIFFERENT answer to an answered request is a 409.","operationId":"decide_consent_request_api_v1_auth_consent_requests_decide_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsentRequestDecision"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/parent-link-requests/revoke":{"post":{"tags":["auth"],"summary":"Revoke Parent Link Request","description":"Let a learner stop an active invite-code parent link at any time.\n\nRevocation clears every sharing flag in the same parent_children row that\nparent dashboards authorize against. It therefore takes effect immediately\nrather than relying on a separate, stale consent record.","operationId":"revoke_parent_link_request_api_v1_auth_parent_link_requests_revoke_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ParentLinkDecisionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/login":{"post":{"tags":["auth"],"summary":"Api Email Login","description":"Email + Password login against auth_users table.\nSupports all roles: owner, devops, sre, ops, inst_admin, teacher, student, parent.\nReturns JWT access+refresh token pair with full identity payload.","operationId":"api_email_login_api_v1_auth_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailLoginRequest"}}},"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/v1/auth/select-role":{"post":{"tags":["auth"],"summary":"Api Select Role","description":"Confirm a self-service account role after OAuth/OTP signup.\n\nPublic self-selection is limited to student, parent and teacher. Admin\nroles stay assigned by an existing admin/ops path.","operationId":"api_select_role_api_v1_auth_select_role_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleSelectionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/signup":{"post":{"tags":["auth"],"summary":"Api Email Signup","description":"Email + Password account creation. Creates a row in `auth_users`,\nbcrypt-hashes the password, and (for students) creates a corresponding\n`students` row with exam_target + onboarded=true so the user lands\ndirectly on the home screen — no diagnostic test, no DPDP wizard.\n\nDPDP posture in dev (APP_ENV != 'production'): pre-grants the two\nconsents that unblock the app shell (essential_account + adaptive_learning)\nso we can iterate on the home without going through the consent wizard\nevery test. In prod the wizard runs as designed.\n\nValidation:\n  - email format (basic regex)\n  - password length >= 8\n  - role in {student, parent, teacher}\n  - exam_target in {JEE, NEET, CBSE} when role == student\n  - email not already taken (409)","operationId":"api_email_signup_api_v1_auth_signup_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignupRequest"}}},"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/v1/auth/onboarding/exam":{"post":{"tags":["auth"],"summary":"Api Onboarding Exam","operationId":"api_onboarding_exam_api_v1_auth_onboarding_exam_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnboardingExamRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/methods":{"get":{"tags":["auth"],"summary":"Api Sign In Methods","description":"Which sign-in methods really work here, so a screen never offers one that would fail (Google not switched on, no SMS).","operationId":"api_sign_in_methods_api_v1_auth_methods_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/auth/google/prepare":{"post":{"tags":["auth"],"summary":"Api Google Prepare","description":"Hand the age ticket to the server in the BODY of a request and get back a sealed token the Google start address can carry.\n\nThe browser used to put the ticket in the address (`/google/start?age_ticket=...`), which carries the child's birth month and\nyear into history and logs. The sealed token is encrypted and expires with the ticket.","operationId":"api_google_prepare_api_v1_auth_google_prepare_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GooglePrepareRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/google/start":{"get":{"tags":["auth"],"summary":"Api Google Start","description":"Kicks off the Google OAuth flow. Returns 302 to Google's auth URL, or a plain \"not available\" page when\nGOOGLE_OAUTH_CLIENT_ID/SECRET are not set. The age ticket arrives only as `sealed` (from /google/prepare); a raw `age_ticket`\nquery value is no longer read, so a birth month and year never travel in the address.","operationId":"api_google_start_api_v1_auth_google_start_get","parameters":[{"name":"return_to","in":"query","required":false,"schema":{"type":"string","default":"","title":"Return To"}},{"name":"device_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Id"}},{"name":"sealed","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sealed"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/google/callback":{"get":{"tags":["auth"],"summary":"Api Google Callback","description":"Google redirects here with ?code=...&state=<return_to>. We exchange\nthe code for an ID token, decode it for {email, name, sub}, and\nupsert into auth_users. Then redirect to the SPA with the JWT as a\nURL fragment so it never appears in server access logs.","operationId":"api_google_callback_api_v1_auth_google_callback_get","parameters":[{"name":"code","in":"query","required":false,"schema":{"type":"string","default":"","title":"Code"}},{"name":"state","in":"query","required":false,"schema":{"type":"string","default":"","title":"State"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/age/check":{"post":{"tags":["auth"],"summary":"Api Age Check","description":"Read a birth month and year. Returns whether the person is under 18 and a short-lived signed ticket every account door requires.\n\nNothing is stored: the ticket carries only the month and year and is useless without a door that checks it.","operationId":"api_age_check_api_v1_auth_age_check_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgeCheckRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/guardian-hold/status":{"post":{"tags":["auth"],"summary":"Api Guardian Hold Status","description":"The child's waiting screen asks: is the parent's answer in yet? Only the holder of the poll token can read it.","operationId":"api_guardian_hold_status_api_v1_auth_guardian_hold_status_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuardianHoldPoll"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/guardian-hold/resend":{"post":{"tags":["auth"],"summary":"Api Guardian Hold Resend","operationId":"api_guardian_hold_resend_api_v1_auth_guardian_hold_resend_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuardianHoldPoll"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/guardian-hold/cancel":{"post":{"tags":["auth"],"summary":"Api Guardian Hold Cancel","operationId":"api_guardian_hold_cancel_api_v1_auth_guardian_hold_cancel_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuardianHoldPoll"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/guardian-hold/preview":{"post":{"tags":["auth"],"summary":"Api Guardian Hold Preview","description":"The parent's page, after the link's code checks out: the child's first name and what they asked for. Nothing else.","operationId":"api_guardian_hold_preview_api_v1_auth_guardian_hold_preview_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuardianHoldCode"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/guardian-hold/decide":{"post":{"tags":["auth"],"summary":"Api Guardian Hold Decide","description":"The parent agrees or declines. Agreeing writes the OS21 guardian grant for the child's account (made at sign-up) in ONE transaction.","operationId":"api_guardian_hold_decide_api_v1_auth_guardian_hold_decide_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuardianHoldDecision"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/guardian/invite":{"post":{"tags":["auth"],"summary":"Api Ask Parent Later","description":"A signed-in student under 18 asks a parent to say yes, later (the sign-up parent email is optional, and a Google sign-up has\nnone). Learning is already open; this only starts the parent's yes for payment, teacher sharing and optional extras.","operationId":"api_ask_parent_later_api_v1_auth_guardian_invite_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ParentInviteRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/guest":{"post":{"tags":["auth"],"summary":"Api Auth Guest","description":"Anonymous guest sign-in (founder directive s33).\n\nCreates a fresh student row with onboarding pre-completed, then mints a JWT\npair. Same response shape as the email/password signup endpoint so the FE can\ncall saveSession() identically.\n\nSilent defaults removed (13 Oct 2026, audit AA-12):\n  * The exam is NOT hard-coded to JEE. A body of {\"exam_target\": \"NEET\"} sets\n    it when the visitor chose one; with no body (or \"not sure\") it stays unset\n    and the screens that need an exam ask for it.\n  * ``adaptive_learning`` is NOT pre-granted. Only ``essential_account`` (the\n    account itself, which the visitor asked for by pressing the button, next to\n    the Terms and Privacy links) is recorded. The adaptive-learning question is\n    asked at the first action that needs it.\n\nA body is optional. Caller is anonymous; we generate the user_id + email.","operationId":"api_auth_guest_api_v1_auth_guest_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/auth/me":{"get":{"tags":["auth"],"summary":"Api Auth Me","description":"Verify access token and return identity.\nUsed on app boot to restore session without re-login.","operationId":"api_auth_me_api_v1_auth_me_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/csrf":{"get":{"tags":["auth"],"summary":"Api Auth Csrf","description":"Issue the per-session CSRF token used by credentialed browser writes.","operationId":"api_auth_csrf_api_v1_auth_csrf_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/auth/launch-decision":{"get":{"tags":["auth"],"summary":"Api Auth Launch Decision","description":"Return the server-owned workspace and safe continuation decision.","operationId":"api_auth_launch_decision_api_v1_auth_launch_decision_get","parameters":[{"name":"requested_route","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Requested Route"}},{"name":"role_grant_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Role Grant Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/permission-decision":{"get":{"tags":["auth"],"summary":"Api Auth Permission Decision","description":"Evaluate an action against a server-loaded grant; browser fields cannot escalate it.","operationId":"api_auth_permission_decision_api_v1_auth_permission_decision_get","parameters":[{"name":"action","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":96,"title":"Action"}},{"name":"role_grant_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Role Grant Id"}},{"name":"scope_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Scope Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/workspace/activate":{"post":{"tags":["auth"],"summary":"Api Auth Workspace Activate","description":"Persist a workspace preference only after server-side grant validation.","operationId":"api_auth_workspace_activate_api_v1_auth_workspace_activate_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceActivationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/organisation-memberships/invite":{"post":{"tags":["auth"],"summary":"Api Auth Organisation Membership Invite","description":"Invite a real account into an organisation; invitation is not access yet.","operationId":"api_auth_organisation_membership_invite_api_v1_auth_organisation_memberships_invite_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganisationMembershipInviteRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/organisation-memberships/{membership_id}/accept":{"post":{"tags":["auth"],"summary":"Api Auth Organisation Membership Accept","description":"Accept an invitation only from the invited subject, then activate its grant.","operationId":"api_auth_organisation_membership_accept_api_v1_auth_organisation_memberships__membership_id__accept_post","parameters":[{"name":"membership_id","in":"path","required":true,"schema":{"type":"string","title":"Membership Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/organisation-memberships/{membership_id}/revoke":{"post":{"tags":["auth"],"summary":"Api Auth Organisation Membership Revoke","description":"Revoke membership and every derived organisation-scoped role grant together.","operationId":"api_auth_organisation_membership_revoke_api_v1_auth_organisation_memberships__membership_id__revoke_post","parameters":[{"name":"membership_id","in":"path","required":true,"schema":{"type":"string","title":"Membership Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganisationMembershipRevokeRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/organisation-memberships/{membership_id}/state":{"post":{"tags":["auth"],"summary":"Api Auth Organisation Membership State","description":"Suspend or restore an organisation member; only a same-scope admin may do so.","operationId":"api_auth_organisation_membership_state_api_v1_auth_organisation_memberships__membership_id__state_post","parameters":[{"name":"membership_id","in":"path","required":true,"schema":{"type":"string","title":"Membership Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganisationMembershipStateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/organisation-memberships/{membership_id}/history":{"get":{"tags":["auth"],"summary":"Api Auth Organisation Membership History","description":"Read membership lifecycle receipts for the subject or same-organisation admin.","operationId":"api_auth_organisation_membership_history_api_v1_auth_organisation_memberships__membership_id__history_get","parameters":[{"name":"membership_id","in":"path","required":true,"schema":{"type":"string","title":"Membership Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/role-grants/provision":{"post":{"tags":["auth"],"summary":"Api Auth Role Grant Provision","description":"Provision a scoped educator/institution grant; public signup cannot call this path successfully.","operationId":"api_auth_role_grant_provision_api_v1_auth_role_grants_provision_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleGrantProvisionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/role-grants/{role_grant_id}/approve":{"post":{"tags":["auth"],"summary":"Api Auth Role Grant Approve","description":"Approve a proposed institution grant with a same-scope admin receipt.","operationId":"api_auth_role_grant_approve_api_v1_auth_role_grants__role_grant_id__approve_post","parameters":[{"name":"role_grant_id","in":"path","required":true,"schema":{"type":"string","title":"Role Grant Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleGrantApprovalRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/role-grants/{role_grant_id}/revoke":{"post":{"tags":["auth"],"summary":"Api Auth Role Grant Revoke","description":"Revoke a grant only as the subject or a same-scope institution admin.","operationId":"api_auth_role_grant_revoke_api_v1_auth_role_grants__role_grant_id__revoke_post","parameters":[{"name":"role_grant_id","in":"path","required":true,"schema":{"type":"string","title":"Role Grant Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleGrantRevokeRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/role-grants/{role_grant_id}/history":{"get":{"tags":["auth"],"summary":"Api Auth Role Grant History","description":"Read lifecycle receipts only for the grant subject or same-scope admin.","operationId":"api_auth_role_grant_history_api_v1_auth_role_grants__role_grant_id__history_get","parameters":[{"name":"role_grant_id","in":"path","required":true,"schema":{"type":"string","title":"Role Grant Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/sessions":{"get":{"tags":["auth"],"summary":"Api Auth Sessions","operationId":"api_auth_sessions_api_v1_auth_sessions_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/sessions/{session_id}":{"patch":{"tags":["auth"],"summary":"Api Auth Session Rename","operationId":"api_auth_session_rename_api_v1_auth_sessions__session_id__patch","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionRenameRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/sessions/revoke-other":{"post":{"tags":["auth"],"summary":"Api Auth Revoke Other Sessions","operationId":"api_auth_revoke_other_sessions_api_v1_auth_sessions_revoke_other_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/sessions/{session_id}/revoke":{"post":{"tags":["auth"],"summary":"Api Auth Session Revoke","operationId":"api_auth_session_revoke_api_v1_auth_sessions__session_id__revoke_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/sessions/{session_id}/report":{"post":{"tags":["auth"],"summary":"Api Auth Session Report","description":"Report a session the account owner does not recognise.\n\nA report is a compromise signal, not just another per-device logout: the\nserver revokes every browser session and refresh credential, then returns a\ndurable security receipt instructing the owner to change their password.\nThe command is idempotent and a payload mismatch on replay fails closed.","operationId":"api_auth_session_report_api_v1_auth_sessions__session_id__report_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionSecurityReportRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/logout":{"post":{"tags":["auth"],"summary":"Api Logout","description":"Legacy logout now revokes the current server session and clears its cookie.","operationId":"api_logout_api_v1_auth_logout_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/forgot-password":{"post":{"tags":["auth"],"summary":"Api Forgot Password","description":"Start a password reset. Always answers the same way.\n\nThe response never reveals whether an account exists. Saying \"no such account\" here\nturns this endpoint into a membership oracle for any email address someone cares to\ntry, and the person who genuinely forgot their password learns nothing extra from it.","operationId":"api_forgot_password_api_v1_auth_forgot_password_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForgotPasswordRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/reset-password":{"post":{"tags":["auth"],"summary":"Api Reset Password","description":"Complete a password reset: set the new password and end every existing session.","operationId":"api_reset_password_api_v1_auth_reset_password_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResetPasswordRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/change-password":{"post":{"tags":["auth"],"summary":"Api Change Password","description":"Change the password of the signed-in account.\n\n2026-08-18: there was no way to do this at all. Reset-by-email existed only after\ntoday's work, and a signed-in user who simply wanted a new password had nowhere to go.\n\nTHE CURRENT PASSWORD IS REQUIRED, and that is the whole security point of this\nendpoint rather than an inconvenience. Without it, anyone holding a borrowed session -\na shared laptop, a token lifted from storage, a device left open - could set a new\npassword, and since a change revokes every other session, the real owner would be\nlocked out of their own account with no way back except email reset. Asking for the\ncurrent password is what keeps a stolen session temporary.","operationId":"api_change_password_api_v1_auth_change_password_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangePasswordRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/interop/trututor/exchange":{"post":{"tags":["Auth interop"],"summary":"Create Trututor Exchange","operationId":"create_trututor_exchange_api_v1_auth_interop_trututor_exchange_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"X-Correlation-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"X-Correlation-Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrututorExchangeRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Trututor Exchange Api V1 Auth Interop Trututor Exchange Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/interop/trututor/revocations":{"post":{"tags":["Auth interop"],"summary":"Create Trututor Revocation","operationId":"create_trututor_revocation_api_v1_auth_interop_trututor_revocations_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrututorRevocationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Trututor Revocation Api V1 Auth Interop Trututor Revocations Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/interop/trututor/revocation-events/{source_event_id}":{"get":{"tags":["Auth interop"],"summary":"Get Trututor Revocation Event","operationId":"get_trututor_revocation_event_api_v1_auth_interop_trututor_revocation_events__source_event_id__get","parameters":[{"name":"source_event_id","in":"path","required":true,"schema":{"type":"string","title":"Source Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Trututor Revocation Event Api V1 Auth Interop Trututor Revocation Events  Source Event Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/interop/trututor/reauthorizations":{"post":{"tags":["Auth interop"],"summary":"Create Trututor Reauthorization","description":"Issue a separately activated adult learner consent decision, not a target grant.","operationId":"create_trututor_reauthorization_api_v1_auth_interop_trututor_reauthorizations_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":160,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrututorReauthorizationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Trututor Reauthorization Api V1 Auth Interop Trututor Reauthorizations Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/interop/review-source/issue":{"post":{"tags":["Source review authority"],"summary":"Issue Review Source","operationId":"issue_review_source_api_v1_interop_review_source_issue_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceReviewIssueRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Issue Review Source Api V1 Interop Review Source Issue Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/interop/review-source/revoke":{"post":{"tags":["Source review authority"],"summary":"Revoke Review Source","operationId":"revoke_review_source_api_v1_interop_review_source_revoke_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceReviewRevokeRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Revoke Review Source Api V1 Interop Review Source Revoke Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/interop/review-source/introspect":{"post":{"tags":["Source review authority"],"summary":"Introspect Review Source","operationId":"introspect_review_source_api_v1_interop_review_source_introspect_post","parameters":[{"name":"Authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceReviewIntrospectRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Introspect Review Source Api V1 Interop Review Source Introspect Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/bridge/trututor/shared-objects/{object_id}/{key}":{"get":{"tags":["trututor-shared-objects"],"summary":"Read Shared Object","operationId":"read_shared_object_api_v1_bridge_trututor_shared_objects__object_id___key__get","parameters":[{"name":"object_id","in":"path","required":true,"schema":{"type":"string","title":"Object Id"}},{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}},{"name":"version","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Shared Object Api V1 Bridge Trututor Shared Objects  Object Id   Key  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/trututor-sharing/children":{"get":{"tags":["trututor-scope-parent"],"summary":"My Children","operationId":"my_children_api_v1_parent_trututor_sharing_children_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response My Children Api V1 Parent Trututor Sharing Children Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/trututor-sharing/children/{child_id}":{"get":{"tags":["trututor-scope-parent"],"summary":"Child Scopes","operationId":"child_scopes_api_v1_parent_trututor_sharing_children__child_id__get","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Child Scopes Api V1 Parent Trututor Sharing Children  Child Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/trututor-sharing/children/{child_id}/{scope}":{"put":{"tags":["trututor-scope-parent"],"summary":"Grant Child Scope","operationId":"grant_child_scope_api_v1_parent_trututor_sharing_children__child_id___scope__put","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"scope","in":"path","required":true,"schema":{"type":"string","title":"Scope"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Grant Child Scope Api V1 Parent Trututor Sharing Children  Child Id   Scope  Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["trututor-scope-parent"],"summary":"Revoke Child Scope","operationId":"revoke_child_scope_api_v1_parent_trututor_sharing_children__child_id___scope__delete","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"scope","in":"path","required":true,"schema":{"type":"string","title":"Scope"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Revoke Child Scope Api V1 Parent Trututor Sharing Children  Child Id   Scope  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/trututor/bridge/answer-review":{"post":{"tags":["trututor-bridge-compat"],"summary":"Receive Trututor Answer Review Compat","description":"Compatibility route for PRD-TT-ANSWER-REVIEW §27 (/api/v1/trututor/bridge/answer-review).","operationId":"receive_trututor_answer_review_compat_api_v1_trututor_bridge_answer_review_post","parameters":[{"name":"X-TruTutor-Signature","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Trututor-Signature"}},{"name":"X-TruTutor-Sent-At","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Trututor-Sent-At"}},{"name":"X-TruTutor-Key-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Trututor-Key-Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Correlation-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Correlation-Id"}},{"name":"X-Request-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Request-Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TruTutorAnswerReviewPacket"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Receive Trututor Answer Review Compat Api V1 Trututor Bridge Answer Review Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/trututor/bridge/assigned-work/receipts/{receipt_id}":{"get":{"tags":["trututor-bridge-compat"],"summary":"Read Trututor Assignment Receipt Compat","description":"Compatibility route for PRD-TT-ANSWER-REVIEW §27 (/api/v1/trututor/bridge/assigned-work/receipts/{receipt_id}).","operationId":"read_trututor_assignment_receipt_compat_api_v1_trututor_bridge_assigned_work_receipts__receipt_id__get","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","title":"Receipt Id"}},{"name":"X-Bridge-Readback-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Bridge-Readback-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Trututor Assignment Receipt Compat Api V1 Trututor Bridge Assigned Work Receipts  Receipt Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/trututor-sharing/children/{child_id}/combined-letter/binding":{"post":{"tags":["trututor-combined-letter-binding"],"summary":"Issue Binding Proof","operationId":"issue_binding_proof_api_v1_parent_trututor_sharing_children__child_id__combined_letter_binding_post","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Issue Binding Proof Api V1 Parent Trututor Sharing Children  Child Id  Combined Letter Binding Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["trututor-combined-letter-binding"],"summary":"Binding Status","operationId":"binding_status_api_v1_parent_trututor_sharing_children__child_id__combined_letter_binding_get","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Binding Status Api V1 Parent Trututor Sharing Children  Child Id  Combined Letter Binding Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/trututor-sharing/children/{child_id}/combined-letter/binding/confirm":{"post":{"tags":["trututor-combined-letter-binding"],"summary":"Confirm Binding","operationId":"confirm_binding_api_v1_parent_trututor_sharing_children__child_id__combined_letter_binding_confirm_post","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Acknowledgement"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Confirm Binding Api V1 Parent Trututor Sharing Children  Child Id  Combined Letter Binding Confirm Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/trututor-sharing/children/{child_id}/combined-letter/current":{"get":{"tags":["trututor-combined-letter-binding"],"summary":"Current Combined Letter","description":"The latest delivered combined letter for this parent and child, by section.\n\nSame authority as composing one: an active, child-approved link; the child's\ncurrent combined-letter grant; and the active binding issued under exactly\nthat grant. A letter delivered under an earlier grant or binding is not\nshown after the child stops or re-grants sharing. Read-only.","operationId":"current_combined_letter_api_v1_parent_trututor_sharing_children__child_id__combined_letter_current_get","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Current Combined Letter Api V1 Parent Trututor Sharing Children  Child Id  Combined Letter Current Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/result-of-record/results":{"post":{"tags":["result-of-record"],"summary":"Declare Result","operationId":"declare_result_api_v1_result_of_record_results_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeclareResultRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Declare Result Api V1 Result Of Record Results Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/result-of-record/results/{result_ref}/corrections":{"post":{"tags":["result-of-record"],"summary":"Correct Result","description":"Append a new version and flip the prior CURRENT row to SUPERSEDED.\n\nBoth writes -- and the idempotency/current-version reads that decide\nthem -- run on ONE connection inside ONE explicit transaction\n(`pool.acquire()` + `conn.transaction()`, the same shape\napi_bff_routes.py's rank-decision persistence uses). A failed insert\nrolls the supersede back with it, so the prior version is never left\nwithout a CURRENT successor; a concurrent correction that already moved\nthe row is detected (by the supersede's own affected-row count, and by\n`expected_version` when the caller supplies it) and mapped to 409\nconcurrent_modification rather than a misleading 503.","operationId":"correct_result_api_v1_result_of_record_results__result_ref__corrections_post","parameters":[{"name":"result_ref","in":"path","required":true,"schema":{"type":"string","title":"Result Ref"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CorrectResultRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Correct Result Api V1 Result Of Record Results  Result Ref  Corrections Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/result-of-record/results/{result_ref}":{"get":{"tags":["result-of-record"],"summary":"Read Result","operationId":"read_result_api_v1_result_of_record_results__result_ref__get","parameters":[{"name":"result_ref","in":"path","required":true,"schema":{"type":"string","title":"Result Ref"}},{"name":"student_id","in":"query","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Read Result Api V1 Result Of Record Results  Result Ref  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["result-of-record"],"summary":"Erase Result","description":"Learner/linked-parent-initiated erasure of one declared result. Scrubs\nthe declared value fields on every version in the group and tombstones\nthem WITHDRAWN -- it does not merely mark the current version. A full\naccount deletion is a separate path (account-purge discovery on the\nstudent_id column deletes the rows outright).","operationId":"erase_result_api_v1_result_of_record_results__result_ref__delete","parameters":[{"name":"result_ref","in":"path","required":true,"schema":{"type":"string","title":"Result Ref"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WithdrawResultRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Erase Result Api V1 Result Of Record Results  Result Ref  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/result-of-record/resolve":{"post":{"tags":["result-of-record"],"summary":"Resolve Result","description":"The cross-platform read TruTutor's Result-Day Decision Call resolves\n`result_source_ref`/`result_source_version` against. Two independent\ngates, both fail-closed: a service-to-service bridge key (defense in\ndepth against a stray/forged caller) and a per-learner ACTIVE OS21\nconsent grant. Never leaks whether a ref exists before the consent gate\npasses. Always 200 with an explicit `resolution` -- the consumer is\nspecified to hard-block on anything but RESOLVED, so an ambiguous\ntransport-level error code is not good enough here.","operationId":"resolve_result_api_v1_result_of_record_resolve_post","parameters":[{"name":"X-Bridge-Read-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Bridge-Read-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResolveResultRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Resolve Result Api V1 Result Of Record Resolve Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/products":{"get":{"tags":["product-catalog"],"summary":"List catalog products with filters","description":"List products in the catalog.\n\nFiltered for client consumption: defaults to status='live'. Tier\nfilter returns the user's accessible set (FREE → only FREE; ACE\n→ FREE+ACE).","operationId":"list_products_api_v1_products_get","parameters":[{"name":"surface","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"ATRIX|Grader|Predict|Coach|Core|Mocks|LevelUp","title":"Surface"},"description":"ATRIX|Grader|Predict|Coach|Core|Mocks|LevelUp"},{"name":"cluster_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cluster Id"}},{"name":"exam","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"JEE|NEET|CBSE — filters by exam_targets ANY match","title":"Exam"},"description":"JEE|NEET|CBSE — filters by exam_targets ANY match"},{"name":"tier","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"FREE|ACE|GROW|SCALE — returns products at or below this tier","title":"Tier"},"description":"FREE|ACE|GROW|SCALE — returns products at or below this tier"},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"live|coming_soon|retired (defaults to live)","default":"live","title":"Status"},"description":"live|coming_soon|retired (defaults to live)"},{"name":"slot_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"HERO|PRIMARY|RESUME|RECO|DISCOVERY|PROMO|... — filter to products eligible for this slot type","title":"Slot Type"},"description":"HERO|PRIMARY|RESUME|RECO|DISCOVERY|PROMO|... — filter to products eligible for this slot type"},{"name":"intent_group","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"FIX|TRAIN|TEST|REVIEW|TRACK|PLAN|ASK|GRADE|PREDICT|LIBRARY|WELLNESS|ACHIEVEMENTS|SETTINGS — filter to a Home v3.0 hub (mig 152)","title":"Intent Group"},"description":"FIX|TRAIN|TEST|REVIEW|TRACK|PLAN|ASK|GRADE|PREDICT|LIBRARY|WELLNESS|ACHIEVEMENTS|SETTINGS — filter to a Home v3.0 hub (mig 152)"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/products/{product_id}":{"get":{"tags":["product-catalog"],"summary":"Get a product by ID","operationId":"get_product_api_v1_products__product_id__get","parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"string","title":"Product Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/standalone/health":{"get":{"tags":["standalone-products"],"summary":"Health","operationId":"health_api_v1_standalone_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Health Api V1 Standalone Health Get"}}}}}}},"/api/v1/standalone/products":{"get":{"tags":["standalone-products"],"summary":"List Products","operationId":"list_products_api_v1_standalone_products_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"menu_section","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Menu Section"}},{"name":"menu_tier","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Menu Tier"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandaloneListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/standalone/menu":{"get":{"tags":["standalone-products"],"summary":"Menu","operationId":"menu_api_v1_standalone_menu_get","parameters":[{"name":"section","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Section"}},{"name":"include_index_only","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Index Only"}},{"name":"include_hidden","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Hidden"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StandaloneMenuItem"},"title":"Response Menu Api V1 Standalone Menu Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/standalone/products/{identifier}":{"get":{"tags":["standalone-products"],"summary":"Get Product","operationId":"get_product_api_v1_standalone_products__identifier__get","parameters":[{"name":"identifier","in":"path","required":true,"schema":{"type":"string","title":"Identifier"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandaloneProduct"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/standalone/products/{identifier}/pipeline":{"get":{"tags":["standalone-products"],"summary":"Get Product Pipeline","operationId":"get_product_pipeline_api_v1_standalone_products__identifier__pipeline_get","parameters":[{"name":"identifier","in":"path","required":true,"schema":{"type":"string","title":"Identifier"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Product Pipeline Api V1 Standalone Products  Identifier  Pipeline Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/standalone/products/{identifier}/run":{"post":{"tags":["standalone-products"],"summary":"Run Product","operationId":"run_product_api_v1_standalone_products__identifier__run_post","parameters":[{"name":"identifier","in":"path","required":true,"schema":{"type":"string","title":"Identifier"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandaloneRunResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/standalone/products/{identifier}/preview":{"post":{"tags":["standalone-products"],"summary":"Preview Product","operationId":"preview_product_api_v1_standalone_products__identifier__preview_post","parameters":[{"name":"identifier","in":"path","required":true,"schema":{"type":"string","title":"Identifier"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandaloneRunResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clusters":{"get":{"tags":["catalogue-runtime"],"summary":"List Clusters","operationId":"list_clusters_api_v1_clusters_get","parameters":[{"name":"surface","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Surface"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":300,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Clusters Api V1 Clusters Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clusters/{cluster_code}":{"get":{"tags":["catalogue-runtime"],"summary":"Get Cluster","operationId":"get_cluster_api_v1_clusters__cluster_code__get","parameters":[{"name":"cluster_code","in":"path","required":true,"schema":{"type":"string","title":"Cluster Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Cluster Api V1 Clusters  Cluster Code  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clusters/{cluster_code}/products":{"get":{"tags":["catalogue-runtime"],"summary":"List Cluster Products","operationId":"list_cluster_products_api_v1_clusters__cluster_code__products_get","parameters":[{"name":"cluster_code","in":"path","required":true,"schema":{"type":"string","title":"Cluster Code"}},{"name":"tier","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tier"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"LIVE","title":"Status"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":300,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Cluster Products Api V1 Clusters  Cluster Code  Products Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/clusters/{cluster_code}/tier-capabilities":{"get":{"tags":["catalogue-runtime"],"summary":"List Cluster Tier Capabilities","operationId":"list_cluster_tier_capabilities_api_v1_clusters__cluster_code__tier_capabilities_get","parameters":[{"name":"cluster_code","in":"path","required":true,"schema":{"type":"string","title":"Cluster Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Cluster Tier Capabilities Api V1 Clusters  Cluster Code  Tier Capabilities Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/catalogue-runtime/health":{"get":{"tags":["catalogue-runtime"],"summary":"Catalogue Runtime Health","operationId":"catalogue_runtime_health_api_v1_catalogue_runtime_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Catalogue Runtime Health Api V1 Catalogue Runtime Health Get"}}}}}}},"/api/v1/catalogue-runtime/surfaces":{"get":{"tags":["catalogue-runtime"],"summary":"List Surfaces","operationId":"list_surfaces_api_v1_catalogue_runtime_surfaces_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Surfaces Api V1 Catalogue Runtime Surfaces Get"}}}}}}},"/api/v1/catalogue-runtime/programs":{"get":{"tags":["catalogue-runtime"],"summary":"List Programs","operationId":"list_programs_api_v1_catalogue_runtime_programs_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Programs Api V1 Catalogue Runtime Programs Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/catalogue-runtime/products":{"get":{"tags":["catalogue-runtime"],"summary":"List Runtime Products","operationId":"list_runtime_products_api_v1_catalogue_runtime_products_get","parameters":[{"name":"cluster_code","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cluster Code"}},{"name":"surface","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Surface"}},{"name":"tier","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tier"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":300,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Runtime Products Api V1 Catalogue Runtime Products Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/placement/plan":{"post":{"tags":["placement"],"summary":"Get the placement plan for a screen","description":"Return slot-by-slot card plan for the given screen.\n\nAuthenticated identity comes only from the existing bearer/cookie resolver.\nPublic calls receive neutral, untargeted free catalogue context.","operationId":"get_plan_api_v1_placement_plan_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlacementRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlacementPlan"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/placement/cohort/{student_id}":{"get":{"tags":["placement"],"summary":"Debug: cohort decision + signals","description":"Returns the cohort classifier output for a student without\nmaterialising a full placement plan. Useful for QA / ops to verify\nthat the classifier is reading the right signals from Neon and\nmaking the expected decision per Spec §4.4 thresholds.","operationId":"get_cohort_debug_api_v1_placement_cohort__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/placement/slot":{"get":{"tags":["placement"],"summary":"Get cards for a single slot (per-slot fetch)","description":"Per-slot endpoint matching the original architecture sketch:\n   `GET /api/v1/placement/slot?slot_id=home.continue&screen_id=SCR-HOME-001`\n\nInternally builds a full plan (cheaper than re-running the pipeline\nselectively for one slot) and filters down. Useful for screens that\nwant to refresh ONE slot without bouncing the whole plan cache.","operationId":"get_slot_endpoint_api_v1_placement_slot_get","parameters":[{"name":"slot_id","in":"query","required":true,"schema":{"type":"string","title":"Slot Id"}},{"name":"screen_id","in":"query","required":false,"schema":{"type":"string","default":"SCR-HOME-001","title":"Screen Id"}},{"name":"mode","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mode"}},{"name":"exam_target","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Exam Target"}},{"name":"tier","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tier"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/placement/health":{"get":{"tags":["placement"],"summary":"Liveness check for placement service","operationId":"health_api_v1_placement_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/placement/admin/reload-slots":{"post":{"tags":["placement"],"summary":"Hot-reload slot YAML specs (admin)","description":"Re-read every YAML file in apps/bff/slot_specs/ and refresh the\nin-memory map. No restart needed.\n\nAuth: requires a JWT with role in {admin, owner, devops, sre, ops}.\nSame dep used by /api/v1/admin/* surface — see auth_deps.require_admin.","operationId":"reload_slots_api_v1_placement_admin_reload_slots_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/placement/screens":{"get":{"tags":["placement"],"summary":"List screens with slot specs declared","operationId":"list_screens_api_v1_placement_screens_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/grade":{"post":{"summary":"Submit Grading","description":"Submit an answer for grading.\n\nMCQ/Numerical: graded synchronously in ≤2s, result returned immediately.\nHandwritten/Subjective/Diagram: queued for async grading (≤24h SLA).","operationId":"submit_grading_api_v1_grade_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GradingRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GradingJobResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/grade/{job_id}":{"get":{"summary":"Get Grading Result","description":"Retrieve grading result by job_id.","operationId":"get_grading_result_api_v1_grade__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GradingResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/learning/subjects/{student_id}":{"get":{"tags":["learning"],"summary":"Get Subject List","description":"Subject list with per-subject mastery from SPRE theta.","operationId":"get_subject_list_api_v1_learning_subjects__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/learning/chapters/{student_id}/{subject}":{"get":{"tags":["learning"],"summary":"Get Chapter List","description":"Chapter breakdown with per-chapter theta + error breakdown.","operationId":"get_chapter_list_api_v1_learning_chapters__student_id___subject__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"subject","in":"path","required":true,"schema":{"type":"string","title":"Subject"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/learning/topics/{student_id}/{subject}/{chapter}":{"get":{"tags":["learning"],"summary":"Get Topic Breakdown","description":"Topic-level mastery + error taxonomy for a chapter.","operationId":"get_topic_breakdown_api_v1_learning_topics__student_id___subject___chapter__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"subject","in":"path","required":true,"schema":{"type":"string","title":"Subject"}},{"name":"chapter","in":"path","required":true,"schema":{"type":"string","title":"Chapter"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/learning/content/{subject}/{chapter}/{topic}":{"get":{"tags":["learning"],"summary":"Get Learning Content","description":"Learning content for a topic.\nSources: ENG-002 RAG (NCERT content), ENG-011 (tricks), question bank.","operationId":"get_learning_content_api_v1_learning_content__subject___chapter___topic__get","parameters":[{"name":"subject","in":"path","required":true,"schema":{"type":"string","title":"Subject"}},{"name":"chapter","in":"path","required":true,"schema":{"type":"string","title":"Chapter"}},{"name":"topic","in":"path","required":true,"schema":{"type":"string","title":"Topic"}},{"name":"student_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/overview/{parent_id}":{"get":{"tags":["parent-p1"],"summary":"Get Parent Overview","description":"Parent overview: linked children with consent-gated data.\nANTI-5: Only approved data categories visible.","operationId":"get_parent_overview_api_v1_parent_overview__parent_id__get","parameters":[{"name":"parent_id","in":"path","required":true,"schema":{"type":"string","title":"Parent Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/consent/request/{parent_id}/{child_id}":{"post":{"tags":["parent-p1"],"summary":"Request Consent","description":"Parent requests additional data access. Student must approve.","operationId":"request_consent_api_v1_parent_consent_request__parent_id___child_id__post","parameters":[{"name":"parent_id","in":"path","required":true,"schema":{"type":"string","title":"Parent Id"}},{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"categories","in":"query","required":true,"schema":{"type":"array","items":{"type":"string"},"title":"Categories"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/progress/{parent_id}/{child_id}":{"get":{"tags":["parent-p1"],"summary":"Get Parent Progress","description":"Rank trajectory + subject mastery bars for parent view.\nConsent-gated. NO question-level data (privacy).","operationId":"get_parent_progress_api_v1_parent_progress__parent_id___child_id__get","parameters":[{"name":"parent_id","in":"path","required":true,"schema":{"type":"string","title":"Parent Id"}},{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/alerts/{parent_id}/{child_id}":{"get":{"tags":["parent-p1"],"summary":"Get Parent Alerts","description":"Consent-gated alert feed. Sources: P17 divergence, P18 mastery milestone,\nP20 daily insight, system events. No wellness or burnout alerts (D03).","operationId":"get_parent_alerts_api_v1_parent_alerts__parent_id___child_id__get","parameters":[{"name":"parent_id","in":"path","required":true,"schema":{"type":"string","title":"Parent Id"}},{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/alerts/read/{alert_id}":{"post":{"tags":["parent-p1"],"summary":"Mark Alert Read","description":"Mark a parent alert as read.","operationId":"mark_alert_read_api_v1_parent_alerts_read__alert_id__post","parameters":[{"name":"alert_id","in":"path","required":true,"schema":{"type":"integer","title":"Alert Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/link-child":{"post":{"tags":["parent-p1"],"summary":"Link Child","description":"Retired unsafe link path.\n\nThis historical P1 endpoint accepted a caller-supplied parent id and could\ncreate an ``active`` relationship before the learner approved it. The\nlive parent dashboard uses ``/parent/auth/link-child`` instead: it derives\nthe parent from the signed-in session, redeems the one-time learner code,\ncreates a pending link, and requires the learner's explicit approval.\nKeep a clear terminal response rather than a silent compatibility path.","operationId":"link_child_api_v1_parent_link_child_post","parameters":[{"name":"parent_id","in":"query","required":true,"schema":{"type":"string","title":"Parent Id"}},{"name":"invite_code","in":"query","required":true,"schema":{"type":"string","title":"Invite Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/achievements/xp/award":{"post":{"tags":["achievements"],"summary":"Award Xp","description":"Award XP for a specific event. Called by backend pipelines.\nAuto-checks for badge unlocks and milestone crossings.\n\nNOTE: rewired 2026-05-18. Previous in-route SQL used the legacy\n`total_xp`/`level` schema (migration 108) which conflicts with the\ncanonical migration 096 gamification schema (`total`/`state_version`).\nMigration 096 runs first so Neon has the 096 columns — the old SQL\nhere silently failed with `column \"total_xp\" does not exist`, leaving\nstudent_xp + xp_events empty in prod despite 7 DPP/mock callsites\nwrapping this route's logic in try/except.\n\nNow delegates to eng_011.award_xp (single canonical writer). Honors\nthe existing `event_type` API contract by mapping common legacy\nnames to the eng_011 rate-table keys.","operationId":"award_xp_api_v1_achievements_xp_award_post","parameters":[{"name":"student_id","in":"query","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"event_type","in":"query","required":true,"schema":{"type":"string","title":"Event Type"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Context"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/compare/{student_id}":{"get":{"tags":["peer-compare"],"summary":"Get Peer Comparison","description":"Peer percentile comparison — GROW+ tier only.\nECDF percentile with differential privacy protection.\n\nCohort types: NATIONAL, STATE, BATCH\nSuppressed if cohort < 50 (privacy).","operationId":"get_peer_comparison_api_v1_compare__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"cohort_type","in":"query","required":false,"schema":{"type":"string","default":"NATIONAL","title":"Cohort Type"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/spre/update-from-dpp/{student_id}/{session_id}":{"post":{"tags":["spre-pipeline"],"summary":"Api Update From Dpp","description":"Trigger SPRE update from a completed DPP session.","operationId":"api_update_from_dpp_api_v1_spre_update_from_dpp__student_id___session_id__post","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/spre/update-from-grading/{student_id}":{"post":{"tags":["spre-pipeline"],"summary":"Api Update From Grading","description":"Trigger SPRE update from grading results (staff only).\n\nThe scores in the body are the caller's own, so a learner must not be able to\npost them: with only the path-ownership check any student could write\ninvented marks into their own twin. Grading results reach the twin from the\ngrading service; nothing in the app calls this route.","operationId":"api_update_from_grading_api_v1_spre_update_from_grading__student_id__post","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"type":"object"},"title":"Results"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/spre/run-decay":{"post":{"tags":["spre-pipeline"],"summary":"Api Run Decay","description":"Manually trigger nightly decay job.","operationId":"api_run_decay_api_v1_spre_run_decay_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/spre/snapshot/{student_id}":{"get":{"tags":["spre-pipeline"],"summary":"Api Get Snapshot","description":"Get current SPRE snapshot with provenance chain.","operationId":"api_get_snapshot_api_v1_spre_snapshot__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/spre/history/{student_id}":{"get":{"tags":["spre-pipeline"],"summary":"Api Get History","description":"Get SPRE update history (hash chain entries).","operationId":"api_get_history_api_v1_spre_history__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/auth/otp/send":{"post":{"tags":["parent-auth"],"summary":"Parent Send Otp","description":"Send a sign-in code to a parent, by SMS or by email.\n\nThe parent chooses the channel: `{\"phone\": \"...\"}` or `{\"email\": \"...\"}`.\nBoth produce the same six-digit code, expiry and attempt ceiling - only the\ndelivery differs. Email exists because SMS is a single point of failure that\nhas already taken parent sign-in down completely: with no SMS provider\nconfigured this endpoint could only 503, and the parent is the buyer.\n\nDev mode: returns OTP in response (bypass with 123456).\nProduction: SMS via MSG91/Twilio, email via EMAIL_PROVIDER.","operationId":"parent_send_otp_api_v1_parent_auth_otp_send_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ParentOTPRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/auth/otp/verify":{"post":{"tags":["parent-auth"],"summary":"Parent Verify Otp","description":"Verify OTP → login existing parent or create new parent.\nReturns JWT tokens with role=parent.","operationId":"parent_verify_otp_api_v1_parent_auth_otp_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ParentOTPVerify"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ParentTokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/auth/refresh":{"post":{"tags":["parent-auth"],"summary":"Parent Refresh Token","description":"Refresh access token using refresh token.","operationId":"parent_refresh_token_api_v1_parent_auth_refresh_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ParentRefreshRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/auth/me":{"get":{"tags":["parent-auth"],"summary":"Get Parent Me","description":"Get current parent profile.","operationId":"get_parent_me_api_v1_parent_auth_me_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/auth/link-child":{"post":{"tags":["parent-auth"],"summary":"Link Child","description":"Redeem a learner code and create a request awaiting learner approval.","operationId":"link_child_api_v1_parent_auth_link_child_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkChildRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/auth/unlink-child":{"post":{"tags":["parent-auth"],"summary":"Unlink Child","description":"Let a signed-in parent remove their own invite-code link safely.\n\nThis is distinct from DPDP minor-consent withdrawal: it never changes the\nlearner's subscription or account. It only removes this parent's access in\nthe canonical authorization row used by every parent report endpoint.","operationId":"unlink_child_api_v1_parent_auth_unlink_child_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WithdrawConsentRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/auth/relationships":{"get":{"tags":["parent-auth"],"summary":"List Household Relationships","description":"Read the canonical household authority, including the latest receipt.","operationId":"list_household_relationships_api_v1_parent_auth_relationships_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/auth/relationships/{child_id}/history":{"get":{"tags":["parent-auth"],"summary":"Household Relationship History","description":"Return receipt-bearing relationship transitions for one linked learner.","operationId":"household_relationship_history_api_v1_parent_auth_relationships__child_id__history_get","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/auth/children":{"get":{"tags":["parent-auth"],"summary":"List My Children","description":"List all linked children with consent status.","operationId":"list_my_children_api_v1_parent_auth_children_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/auth/logout":{"post":{"tags":["parent-auth"],"summary":"Parent Logout","description":"End this parent session server-side.\n\nUntil 2026-08-19 this returned `{\"status\": \"logged_out\"}` and did nothing. The\nrevocation was a comment. A parent's token stayed valid for its full two hours\nafter they pressed sign out, and the refresh token for thirty days - on a shared\nor borrowed device, that is the whole point of the button not working.","operationId":"parent_logout_api_v1_parent_auth_logout_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/auth/dashboard":{"get":{"tags":["parent-auth"],"summary":"Parent Dashboard","description":"PR-565-C dashboard.\n\nReturns the parent's profile + the list of children whose DPDP §9 minor\nconsent the parent has granted (or revoked), with consent state, last\nactivity, and subscription status. Used by SCR-CL-200 ParentControlPanel.\n\nChildren are sourced from BOTH:\n  - consent.minor_audit (parent-gate-linked, by parent_phone OR email match) — DPDP §9 canonical\n  - parent_children (invite-code-linked, by parent_id) — Wave 1 fallback for kids\n    who linked but haven't completed (or never needed) the DPDP §9 minor flow\n\nMerged by child_id with minor_audit precedence. parent_children-only kids\nsurface with consent_status='none' and no withdraw button — there's no\nDPDP §9 record to withdraw. SG-W1-014 narrowed by this consolidation;\nStage 2 will fully unify the two link models with an FK.","operationId":"parent_dashboard_api_v1_parent_auth_dashboard_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/auth/children/{child_id}/learning-summary":{"get":{"tags":["parent-auth"],"summary":"Parent Child Learning Summary","description":"Return a consent-safe, evidence-backed first-learning receipt.\n\nThis intentionally does not manufacture a progress percentage.  Until the\nchild completes an academic baseline, the parent gets ``forming`` with the\nnext truthful action.  A linked parent can see only aggregate diagnostic\nevidence, never individual answers or private learner notes.","operationId":"parent_child_learning_summary_api_v1_parent_auth_children__child_id__learning_summary_get","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/auth/withdraw-consent":{"post":{"tags":["parent-auth"],"summary":"Parent Withdraw Consent","description":"PR-565-C consent withdrawal.\n\nParent revokes a previously-granted DPDP §9 minor consent. Effects:\n  1. consent.minor_audit row flips to status='withdrawn' (DAT-157)\n  2. Active subscription cancelled per SKU v3.2 §8.1\n  3. minor.consent_withdrawn event emitted (compliance_events stream)\n  4. Minor's auth_deps re-read returns has_consent=false → student\n     drops back to ESSENTIAL_SERVICE_CLUSTERS only on next request.\n\nIdempotent: re-calling on an already-withdrawn child returns 409 with the\nprior withdrawal info so the FE can show \"already withdrawn\" state.","operationId":"parent_withdraw_consent_api_v1_parent_auth_withdraw_consent_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WithdrawConsentRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/account/close":{"post":{"tags":["parent-account-closing"],"summary":"Close Parent Account","description":"Start the 30-day window. The parent's own account only: a child's account, records and consent are not touched (D9).","operationId":"parent_account_close","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloseParentAccountBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/{parent_id}/child/{child_id}/schedule-plan":{"get":{"tags":["parent-weekly-plan"],"summary":"Get Schedule Plan","operationId":"get_schedule_plan_api_v1_parent__parent_id__child__child_id__schedule_plan_get","parameters":[{"name":"parent_id","in":"path","required":true,"schema":{"type":"string","title":"Parent Id"}},{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["parent-weekly-plan"],"summary":"Save Schedule Plan","operationId":"save_schedule_plan_api_v1_parent__parent_id__child__child_id__schedule_plan_put","parameters":[{"name":"parent_id","in":"path","required":true,"schema":{"type":"string","title":"Parent Id"}},{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ParentScheduleProfileBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/{parent_id}/child/{child_id}/weekly-plan/{proposal_id}":{"get":{"tags":["parent-weekly-plan"],"summary":"Get Weekly Plan Proposal","description":"Read one exact source proposal under the signed selected-child grant.","operationId":"get_weekly_plan_proposal_api_v1_parent__parent_id__child__child_id__weekly_plan__proposal_id__get","parameters":[{"name":"parent_id","in":"path","required":true,"schema":{"type":"string","title":"Parent Id"}},{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"proposal_id","in":"path","required":true,"schema":{"type":"string","title":"Proposal Id"}},{"name":"approval_event_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Approval Event Id"}},{"name":"approval_source_version","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Approval Source Version"}},{"name":"X-Personal-Context","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Personal-Context"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/{parent_id}/child/{child_id}/weekly-plan/propose":{"post":{"tags":["parent-weekly-plan"],"summary":"Propose Weekly Plan","operationId":"propose_weekly_plan_api_v1_parent__parent_id__child__child_id__weekly_plan_propose_post","parameters":[{"name":"parent_id","in":"path","required":true,"schema":{"type":"string","title":"Parent Id"}},{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProposalBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/{parent_id}/child/{child_id}/weekly-plan/{proposal_id}/decision":{"post":{"tags":["parent-weekly-plan"],"summary":"Decide Weekly Plan","operationId":"decide_weekly_plan_api_v1_parent__parent_id__child__child_id__weekly_plan__proposal_id__decision_post","parameters":[{"name":"parent_id","in":"path","required":true,"schema":{"type":"string","title":"Parent Id"}},{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"proposal_id","in":"path","required":true,"schema":{"type":"string","title":"Proposal Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProposalDecisionBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/first-work/eligibility":{"get":{"tags":["firstwork-pr-aa-firstwork-003"],"summary":"Get Eligibility","description":"Owner-only, side-effect free. Fails closed: an unreadable age is\nBLOCKED (UNREADABLE), never OPEN. There is no guardian override on this\ngate (PD-2). This is a pure read — it evaluates and returns; it never\nwrites `firstwork.eligibility_decisions`. To record a decision, call\n`POST /eligibility/decisions`.","operationId":"firstwork_eligibility_read","parameters":[{"name":"route_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Route Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EligibilityResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/first-work/eligibility/decisions":{"post":{"tags":["firstwork-pr-aa-firstwork-003"],"summary":"Post Eligibility Decision","description":"Owner-only. Records the gate outcome for this owner, but only when\nit is new information: the first decision on record, or a change from\nthe last one. Requires `X-Idempotency-Key`. A write that fails is a 503\n— the caller is told plainly that nothing was recorded, never given a\n200 for an audit row that silently never landed.","operationId":"firstwork_eligibility_decision_record","parameters":[{"name":"route_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Route Id"}},{"name":"X-Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EligibilityDecisionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/first-work/eligibility/decisions/{decision_id}":{"get":{"tags":["firstwork-pr-aa-firstwork-003"],"summary":"Get Eligibility Decision Receipt","description":"Read one immutable decision for the authenticated owner, never recompute it.","operationId":"firstwork_eligibility_decision_read","parameters":[{"name":"decision_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Decision Id"}},{"name":"expected_rule_version","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":80,"title":"Expected Rule Version"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EligibilityDecisionReceiptResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/first-work/context":{"get":{"tags":["firstwork-pr-aa-firstwork-003"],"summary":"Get Context","operationId":"firstwork_context_read","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["firstwork-pr-aa-firstwork-003"],"summary":"Put Context","description":"Only the fields present in the body change; an explicit null clears one.","operationId":"firstwork_context_write","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContextBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/first-work/routes":{"get":{"tags":["firstwork-pr-aa-firstwork-003"],"summary":"Get Routes","description":"Anonymous allowed: the catalogue and nothing personal. No readiness, no count of openings.","operationId":"firstwork_routes_list","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/first-work/routes/{route_id}":{"get":{"tags":["firstwork-pr-aa-firstwork-003"],"summary":"Get Route","operationId":"firstwork_route_read","parameters":[{"name":"route_id","in":"path","required":true,"schema":{"type":"string","title":"Route Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/first-work/readiness":{"get":{"tags":["firstwork-pr-aa-firstwork-003"],"summary":"Get Readiness","operationId":"firstwork_readiness_read","parameters":[{"name":"route_id","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":40,"title":"Route Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/first-work/gaps":{"get":{"tags":["firstwork-pr-aa-firstwork-003"],"summary":"Get Gaps","description":"Ranked gaps with one next action each. With route_id: that route. Without: every route, in route order.","operationId":"firstwork_gaps_list","parameters":[{"name":"route_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Route Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/first-work/gaps/{gap_id}/action":{"post":{"tags":["firstwork-pr-aa-firstwork-003"],"summary":"Post Gap Action","description":"Hand a gap out to the product that owns closing it. Only a gap that is open for THIS learner right\nnow can be handed out; any other id, including someone else's, answers the same 404.","operationId":"firstwork_gap_action_open","parameters":[{"name":"gap_id","in":"path","required":true,"schema":{"type":"string","title":"Gap Id"}},{"name":"X-Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/first-work/handoffs":{"post":{"tags":["firstwork-pr-aa-firstwork-003"],"summary":"Post Handoff","description":"Owner-only. Needs every hard gate OPEN; the adult-only gate fails closed (an unreadable age is\nrefused exactly like a minor). Idempotent: one record per learner + route + owning product.","operationId":"firstwork_handoff_open","parameters":[{"name":"X-Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/firstwork_routes__HandoffBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["firstwork-pr-aa-firstwork-003"],"summary":"Get Handoffs","operationId":"firstwork_handoffs_list","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/first-work/handoffs/{handoff_id}":{"get":{"tags":["firstwork-pr-aa-firstwork-003"],"summary":"Get Handoff","operationId":"firstwork_handoff_read","parameters":[{"name":"handoff_id","in":"path","required":true,"schema":{"type":"string","title":"Handoff Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/first-work/supply":{"get":{"tags":["firstwork-pr-aa-firstwork-003"],"summary":"Get Supply","description":"The honest supply word per route family, with its source and date. There is no count of openings,\never: live openings belong to the Work Network, and this product links rather than lists.","operationId":"firstwork_supply_read","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/first-work/bundles/capability-to-firstwork/resolve":{"get":{"tags":["firstwork-pr-aa-firstwork-003"],"summary":"Resolve Bundle","description":"Pure read. 200 AVAILABLE or REVOKED; 423 SCOPE_HELD with typed reason codes. Never writes, never grants.","operationId":"firstwork_bundle_resolve","parameters":[{"name":"bundle_ref","in":"query","required":false,"schema":{"type":"string","maxLength":80,"default":"OBJ-AA-CAPABILITY-TO-FIRSTWORK-BU","title":"Bundle Ref"}},{"name":"entry_mode","in":"query","required":false,"schema":{"type":"string","maxLength":24,"default":"api","title":"Entry Mode"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/first-work/bundles/capability-to-firstwork/confirm":{"post":{"tags":["firstwork-pr-aa-firstwork-003"],"summary":"Confirm Bundle","description":"All-or-nothing. 201 CONFIRMED (new) / 200 (replay); 423 SCOPE_HELD; 403 when only the adult-only gate\nrefuses; 409 for a changed digest or a quantity the bundle cannot give; 503 RECONCILING when an effect is\nunknown. Owner, tenant and beneficiary come from the session, never from the body.","operationId":"firstwork_bundle_confirm","parameters":[{"name":"X-Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BundleConfirmBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/first-work/bundles/capability-to-firstwork/compositions/{composition_ref}":{"get":{"tags":["firstwork-pr-aa-firstwork-003"],"summary":"Get Bundle Component Status","operationId":"firstwork_bundle_status_read","parameters":[{"name":"composition_ref","in":"path","required":true,"schema":{"type":"string","title":"Composition Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/first-work/projections/options":{"get":{"tags":["firstwork-pr-aa-firstwork-003"],"summary":"Get Projection Options","operationId":"firstwork_projection_options_read","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/first-work/projections":{"post":{"tags":["firstwork-pr-aa-firstwork-003"],"summary":"Post Projection","description":"Owner only. Consent first, every field off until ticked, 30 days at most, one named recipient. The token is\nshown once. A minor or an unreadable age is refused before any database work.","operationId":"firstwork_projection_create","parameters":[{"name":"X-Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/firstwork_routes__ProjectionBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["firstwork-pr-aa-firstwork-003"],"summary":"Get Projections","operationId":"firstwork_projections_list","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/first-work/projections/view/{token}":{"get":{"tags":["firstwork-pr-aa-firstwork-003"],"summary":"View Projection","description":"PUBLIC and signed out. Unknown, revoked, expired and wrong-kind tokens all answer the same 404 with no body\nthat says which, and nothing here names the account behind the link.","operationId":"firstwork_projection_view","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/v1/first-work/projections/{projection_id}":{"get":{"tags":["firstwork-pr-aa-firstwork-003"],"summary":"Get Projection","operationId":"firstwork_projection_read","parameters":[{"name":"projection_id","in":"path","required":true,"schema":{"type":"string","title":"Projection Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["firstwork-pr-aa-firstwork-003"],"summary":"Delete Projection","description":"Revoking is never switched off: a learner can always withdraw a link.","operationId":"firstwork_projection_revoke","parameters":[{"name":"projection_id","in":"path","required":true,"schema":{"type":"string","title":"Projection Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/first-work/packs":{"get":{"tags":["firstwork-pr-aa-firstwork-003"],"summary":"Get Packs","operationId":"firstwork_packs_list","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/first-work/packs/{pack_id}":{"get":{"tags":["firstwork-pr-aa-firstwork-003"],"summary":"Get Pack","operationId":"firstwork_pack_read","parameters":[{"name":"pack_id","in":"path","required":true,"schema":{"type":"string","title":"Pack Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/first-work/packs/{pack_id}/start":{"post":{"tags":["firstwork-pr-aa-firstwork-003"],"summary":"Start Pack","description":"Idempotent: starting a pack you already started returns it and debits nothing. A locked or used-up\nallowance is a 402 that carries the free path sentence; the steps stay readable.","operationId":"firstwork_pack_start","parameters":[{"name":"pack_id","in":"path","required":true,"schema":{"type":"string","title":"Pack Id"}},{"name":"X-Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/first-work/packs/{pack_id}/steps/{step_id}/done":{"post":{"tags":["firstwork-pr-aa-firstwork-003"],"summary":"Post Pack Step Done","operationId":"firstwork_pack_step_done","parameters":[{"name":"pack_id","in":"path","required":true,"schema":{"type":"string","title":"Pack Id"}},{"name":"step_id","in":"path","required":true,"schema":{"type":"string","title":"Step Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["firstwork-pr-aa-firstwork-003"],"summary":"Delete Pack Step Done","operationId":"firstwork_pack_step_undo","parameters":[{"name":"pack_id","in":"path","required":true,"schema":{"type":"string","title":"Pack Id"}},{"name":"step_id","in":"path","required":true,"schema":{"type":"string","title":"Step Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/first-work/routes/{route_id}/preparation":{"get":{"tags":["firstwork-pr-aa-firstwork-003"],"summary":"Get Preparation","operationId":"firstwork_preparation_read","parameters":[{"name":"route_id","in":"path","required":true,"schema":{"type":"string","title":"Route Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["firstwork-pr-aa-firstwork-003"],"summary":"Put Preparation","description":"Ticks and a private draft. Nothing is sent anywhere: there is no outbound path in this product.","operationId":"firstwork_preparation_save","parameters":[{"name":"route_id","in":"path","required":true,"schema":{"type":"string","title":"Route Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreparationBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/first-work/readiness/export":{"get":{"tags":["firstwork-pr-aa-firstwork-003"],"summary":"Get Readiness Export","description":"The learner's own readiness as one JSON download. Owner only, never cached, and checked at runtime for the\nwords FirstWork never uses as a key: score, percent, rank, total, count, openings.","operationId":"firstwork_readiness_export","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/work/apprenticeships/me/profile":{"get":{"tags":["apprentice-network-learner"],"summary":"Read Profile","operationId":"apprentice_profile_read","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["apprentice-network-learner"],"summary":"Write Profile","operationId":"apprentice_profile_write","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfileBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/work/apprenticeships/me/consents":{"get":{"tags":["apprentice-network-learner"],"summary":"List Consents","operationId":"apprentice_consents_list","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/work/apprenticeships/me/consents/{kind}":{"post":{"tags":["apprentice-network-learner"],"summary":"Grant Consent","operationId":"apprentice_consent_grant","parameters":[{"name":"kind","in":"path","required":true,"schema":{"type":"string","title":"Kind"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/apprentice_network__routes__ConsentBody"},{"type":"null"}],"title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["apprentice-network-learner"],"summary":"Withdraw Consent","description":"Always allowed, whatever the age answer: leaving is never held.","operationId":"apprentice_consent_withdraw","parameters":[{"name":"kind","in":"path","required":true,"schema":{"type":"string","title":"Kind"}},{"name":"opportunity_ref","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Opportunity Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/work/apprenticeships/status":{"get":{"tags":["apprentice-network-learner"],"summary":"Read Status","description":"Whether the product is switched on. Public, carries no data, and never answers 423.","operationId":"apprentice_status_read","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/work/apprenticeships/me/openings":{"get":{"tags":["apprentice-network-learner"],"summary":"List Openings","description":"Reading is open to everyone signed in, whatever the age answer; handing over details is not.","operationId":"apprentice_openings_list","parameters":[{"name":"only_met","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Only Met"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/work/apprenticeships/me/openings/{opportunity_ref}":{"get":{"tags":["apprentice-network-learner"],"summary":"Read Opening","operationId":"apprentice_opening_read","parameters":[{"name":"opportunity_ref","in":"path","required":true,"schema":{"type":"string","title":"Opportunity Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/work/apprenticeships/me/opportunities/{opportunity_ref}/fit":{"get":{"tags":["apprentice-network-learner"],"summary":"Read Fit","operationId":"apprentice_fit_read","parameters":[{"name":"opportunity_ref","in":"path","required":true,"schema":{"type":"string","title":"Opportunity Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/work/apprenticeships/me/projections":{"post":{"tags":["apprentice-network-learner"],"summary":"Issue Projection","operationId":"apprentice_projection_issue","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/apprentice_network__routes__ProjectionBody"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["apprentice-network-learner"],"summary":"List Projections","operationId":"apprentice_projections_list","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/work/apprenticeships/me/projections/{projection_id}":{"delete":{"tags":["apprentice-network-learner"],"summary":"Revoke Projection","operationId":"apprentice_projection_revoke","parameters":[{"name":"projection_id","in":"path","required":true,"schema":{"type":"string","title":"Projection Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/work/apprenticeships/me/handoffs":{"get":{"tags":["apprentice-network-learner"],"summary":"List Handoffs","operationId":"apprentice_handoffs_list","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["apprentice-network-learner"],"summary":"Open Handoff","operationId":"apprentice_handoff_open","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"X-Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/apprentice_network__routes__HandoffBody"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/work/apprenticeships/me/handoffs/{handoff_id}":{"get":{"tags":["apprentice-network-learner"],"summary":"Read Handoff","operationId":"apprentice_handoff_read","parameters":[{"name":"handoff_id","in":"path","required":true,"schema":{"type":"string","title":"Handoff Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["apprentice-network-learner"],"summary":"Withdraw Handoff","description":"Always allowed (never held by the age answer).","operationId":"apprentice_handoff_withdraw","parameters":[{"name":"handoff_id","in":"path","required":true,"schema":{"type":"string","title":"Handoff Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/work/apprenticeships/receipts":{"post":{"tags":["apprentice-network-learner"],"summary":"Accept Receipt","operationId":"apprentice_receipt_accept","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Receipt"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-core/catalogue":{"get":{"tags":["capability-core"],"summary":"Get Catalogue","operationId":"get_catalogue_api_v1_capability_core_catalogue_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Q"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-core/catalogue/{capability_id}":{"get":{"tags":["capability-core"],"summary":"Get Catalogue Item","operationId":"get_catalogue_item_api_v1_capability_core_catalogue__capability_id__get","parameters":[{"name":"capability_id","in":"path","required":true,"schema":{"type":"string","title":"Capability Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-core/position":{"get":{"tags":["capability-core"],"summary":"Get Positions","operationId":"get_positions_api_v1_capability_core_position_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-core/position/{capability_id}":{"get":{"tags":["capability-core"],"summary":"Get Position","operationId":"get_position_api_v1_capability_core_position__capability_id__get","parameters":[{"name":"capability_id","in":"path","required":true,"schema":{"type":"string","title":"Capability Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-core/declared/{capability_id}":{"put":{"tags":["capability-core"],"summary":"Put Declared","operationId":"put_declared_api_v1_capability_core_declared__capability_id__put","parameters":[{"name":"capability_id","in":"path","required":true,"schema":{"type":"string","title":"Capability Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeclaredBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["capability-core"],"summary":"Delete Declared","operationId":"delete_declared_api_v1_capability_core_declared__capability_id__delete","parameters":[{"name":"capability_id","in":"path","required":true,"schema":{"type":"string","title":"Capability Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-core/allowance/{feature_key}":{"get":{"tags":["capability-core"],"summary":"Get Allowance","operationId":"get_allowance_api_v1_capability_core_allowance__feature_key__get","parameters":[{"name":"feature_key","in":"path","required":true,"schema":{"type":"string","title":"Feature Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-core/shares":{"get":{"tags":["capability-core"],"summary":"Get Shares","operationId":"get_shares_api_v1_capability_core_shares_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-core/shares/{share_id}":{"delete":{"tags":["capability-core"],"summary":"Delete Share","operationId":"delete_share_api_v1_capability_core_shares__share_id__delete","parameters":[{"name":"share_id","in":"path","required":true,"schema":{"type":"string","title":"Share Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-core/shares/view/{token}":{"get":{"tags":["capability-core"],"summary":"View Share","operationId":"view_share_api_v1_capability_core_shares_view__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"}}}}}}},"/api/v1/capability-atlas/release":{"get":{"tags":["capability-atlas"],"summary":"Get Release","operationId":"capability_atlas_release_read","parameters":[{"name":"entry_mode","in":"query","required":false,"schema":{"type":"string","maxLength":40,"default":"direct","title":"Entry Mode"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-atlas/search":{"get":{"tags":["capability-atlas"],"summary":"Get Search","operationId":"capability_atlas_search","parameters":[{"name":"facet","in":"query","required":false,"schema":{"type":"string","maxLength":20,"default":"all","title":"Facet"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Q"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":20,"title":"Limit"}},{"name":"entry_mode","in":"query","required":false,"schema":{"type":"string","maxLength":40,"default":"direct","title":"Entry Mode"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-atlas/capabilities/{capability_id}":{"get":{"tags":["capability-atlas"],"summary":"Get Capability Page","description":"The canonical page: the capability, all four link groups (unknown ones included),\nthe limitation sentence and the onward doors. Opening it as a signed-in learner records\nit in that learner's own, deletable history.","operationId":"capability_atlas_capability_read","parameters":[{"name":"capability_id","in":"path","required":true,"schema":{"type":"string","title":"Capability Id"}},{"name":"entry_mode","in":"query","required":false,"schema":{"type":"string","maxLength":40,"default":"direct","title":"Entry Mode"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-atlas/capabilities/{capability_id}/links":{"get":{"tags":["capability-atlas"],"summary":"Get Capability Links","operationId":"capability_atlas_links_read","parameters":[{"name":"capability_id","in":"path","required":true,"schema":{"type":"string","title":"Capability Id"}},{"name":"entry_mode","in":"query","required":false,"schema":{"type":"string","maxLength":40,"default":"direct","title":"Entry Mode"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-atlas/capabilities/{capability_id}/opens":{"get":{"tags":["capability-atlas"],"summary":"Get Capability Opens","operationId":"capability_atlas_opens_read","parameters":[{"name":"capability_id","in":"path","required":true,"schema":{"type":"string","title":"Capability Id"}},{"name":"depth","in":"query","required":false,"schema":{"type":"integer","default":2,"title":"Depth"}},{"name":"entry_mode","in":"query","required":false,"schema":{"type":"string","maxLength":40,"default":"direct","title":"Entry Mode"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-atlas/relationships/{edge_id}":{"get":{"tags":["capability-atlas"],"summary":"Get Relationship","operationId":"capability_atlas_relationship_read","parameters":[{"name":"edge_id","in":"path","required":true,"schema":{"type":"string","title":"Edge Id"}},{"name":"entry_mode","in":"query","required":false,"schema":{"type":"string","maxLength":40,"default":"direct","title":"Entry Mode"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-atlas/relationships/{edge_id}/disputes":{"post":{"tags":["capability-atlas"],"summary":"Post Dispute","description":"Records a flag. The effect is always RECORDED_NOT_APPLIED: shared truth is never edited.","operationId":"capability_atlas_relationship_dispute","parameters":[{"name":"edge_id","in":"path","required":true,"schema":{"type":"string","title":"Edge Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DisputeBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-atlas/disputes":{"get":{"tags":["capability-atlas"],"summary":"Get My Disputes","operationId":"capability_atlas_disputes_list","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-atlas/overlay/consent":{"get":{"tags":["capability-atlas"],"summary":"Get Consent","operationId":"capability_atlas_overlay_consent_read","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["capability-atlas"],"summary":"Post Consent","operationId":"capability_atlas_overlay_consent_create","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/capability_atlas_routes__ConsentBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["capability-atlas"],"summary":"Delete Consent","operationId":"capability_atlas_overlay_consent_revoke","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-atlas/overlay/meter":{"get":{"tags":["capability-atlas"],"summary":"Get Meter","operationId":"capability_atlas_meter_read","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-atlas/overlay":{"get":{"tags":["capability-atlas"],"summary":"Get Overlay","description":"With no capability named: marks only for capabilities already placed this month (free).\nWith capability ids: places the overlay on each (one unit per new capability per month).","operationId":"capability_atlas_overlay_read","parameters":[{"name":"capability_id","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[],"title":"Capability Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-atlas/views":{"get":{"tags":["capability-atlas"],"summary":"Get Views","operationId":"capability_atlas_views_list","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["capability-atlas"],"summary":"Post View","operationId":"capability_atlas_view_save","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/capability_atlas_routes__ViewBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-atlas/views/{view_id}":{"get":{"tags":["capability-atlas"],"summary":"Get View","operationId":"capability_atlas_view_read","parameters":[{"name":"view_id","in":"path","required":true,"schema":{"type":"string","title":"View Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["capability-atlas"],"summary":"Delete View","operationId":"capability_atlas_view_delete","parameters":[{"name":"view_id","in":"path","required":true,"schema":{"type":"string","title":"View Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-atlas/seen":{"get":{"tags":["capability-atlas"],"summary":"Get Seen","operationId":"capability_atlas_seen_list","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["capability-atlas"],"summary":"Delete All Seen","operationId":"capability_atlas_seen_clear","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-atlas/seen/{capability_id}":{"delete":{"tags":["capability-atlas"],"summary":"Delete One Seen","operationId":"capability_atlas_seen_delete","parameters":[{"name":"capability_id","in":"path","required":true,"schema":{"type":"string","title":"Capability Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-atlas/my-data":{"get":{"tags":["capability-atlas"],"summary":"Get My Data","operationId":"capability_atlas_export","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-atlas/changes":{"get":{"tags":["capability-atlas"],"summary":"Get Changes","operationId":"capability_atlas_changes_read","parameters":[{"name":"since_release","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Since Release"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-atlas/dossier/{capability_id}":{"get":{"tags":["capability-atlas"],"summary":"Get Dossier","description":"Printable structure. The shared map only, unless the learner adds their overlay.","operationId":"capability_atlas_dossier_read","parameters":[{"name":"capability_id","in":"path","required":true,"schema":{"type":"string","title":"Capability Id"}},{"name":"include_overlay","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Overlay"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-atlas/year":{"get":{"tags":["capability-atlas"],"summary":"Get Year","operationId":"capability_atlas_year_read","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-atlas/shares":{"get":{"tags":["capability-atlas"],"summary":"Get Shares","operationId":"capability_atlas_shares_list","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["capability-atlas"],"summary":"Post Share","operationId":"capability_atlas_share_create","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/capability_atlas_routes__ShareBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-atlas/shares/{share_id}":{"delete":{"tags":["capability-atlas"],"summary":"Delete Share","operationId":"capability_atlas_share_revoke","parameters":[{"name":"share_id","in":"path","required":true,"schema":{"type":"string","title":"Share Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-atlas/s/{token}":{"get":{"tags":["capability-atlas"],"summary":"View Share","description":"The recipient's page: signed out by design. Unknown, revoked and expired all answer the\nsame 404 with no data and no reason.","operationId":"capability_atlas_share_read","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/v1/parent/capability-atlas-digest/{child_id}":{"get":{"tags":["capability-atlas-parent"],"summary":"Parent Digest","description":"Two gates before any read of the child's rows: the router's enforce_parent_child_link\n(signed in, parent role, active link) and the child's sharing consent for this parent.","operationId":"capability_atlas_parent_digest","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-builder/plans":{"get":{"tags":["capability-builder"],"summary":"Plans List","operationId":"cb_plans_list","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["capability-builder"],"summary":"Plan Create","operationId":"cb_plan_create","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanBody"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-builder/gaps/{gap_id}":{"get":{"tags":["capability-builder"],"summary":"Gap Read","operationId":"cb_gap_read","parameters":[{"name":"gap_id","in":"path","required":true,"schema":{"type":"string","title":"Gap Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-builder/gaps/{gap_id}/ladder":{"get":{"tags":["capability-builder"],"summary":"Ladder Read","operationId":"cb_ladder_read","parameters":[{"name":"gap_id","in":"path","required":true,"schema":{"type":"string","title":"Gap Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-builder/plans/{plan_id}":{"get":{"tags":["capability-builder"],"summary":"Plan Read","operationId":"cb_plan_read","parameters":[{"name":"plan_id","in":"path","required":true,"schema":{"type":"string","title":"Plan Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-builder/plans/{plan_id}/recheck":{"get":{"tags":["capability-builder"],"summary":"Recheck Read","operationId":"cb_recheck_read","parameters":[{"name":"plan_id","in":"path","required":true,"schema":{"type":"string","title":"Plan Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-builder/plans/{plan_id}/closure":{"get":{"tags":["capability-builder"],"summary":"Closure Read","operationId":"cb_closure_read","parameters":[{"name":"plan_id","in":"path","required":true,"schema":{"type":"string","title":"Plan Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-builder/receipts/{receipt_id}":{"get":{"tags":["capability-builder"],"summary":"Receipt Read","operationId":"cb_receipt_read","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","title":"Receipt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-builder/receipts/{receipt_id}/export":{"get":{"tags":["capability-builder"],"summary":"Receipt Export","operationId":"cb_receipt_export","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","title":"Receipt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-builder/records":{"get":{"tags":["capability-builder"],"summary":"Records List","operationId":"cb_records_list","parameters":[{"name":"capability","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Capability"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"State"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-builder/records/{gap_id}":{"delete":{"tags":["capability-builder"],"summary":"Records Delete","operationId":"cb_records_delete","parameters":[{"name":"gap_id","in":"path","required":true,"schema":{"type":"string","title":"Gap Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-builder/sprints":{"get":{"tags":["capability-builder"],"summary":"Sprints List","operationId":"cb_sprints_list","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-builder/sprints/{sprint_id}":{"get":{"tags":["capability-builder"],"summary":"Sprint Read","operationId":"cb_sprint_read","parameters":[{"name":"sprint_id","in":"path","required":true,"schema":{"type":"string","title":"Sprint Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-builder/gaps":{"post":{"tags":["capability-builder"],"summary":"Gap Create","operationId":"cb_gap_create","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GapBody"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-builder/plans/{plan_id}/activate":{"post":{"tags":["capability-builder"],"summary":"Plan Activate","operationId":"cb_plan_activate","parameters":[{"name":"plan_id","in":"path","required":true,"schema":{"type":"string","title":"Plan Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/capability_builder_routes__ReasonBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-builder/plans/{plan_id}/actions/{action_id}/confirm":{"post":{"tags":["capability-builder"],"summary":"Action Confirm","operationId":"cb_action_confirm","parameters":[{"name":"plan_id","in":"path","required":true,"schema":{"type":"string","title":"Plan Id"}},{"name":"action_id","in":"path","required":true,"schema":{"type":"string","title":"Action Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/capability_builder_routes__ReasonBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-builder/plans/{plan_id}/actions/{action_id}/complete":{"post":{"tags":["capability-builder"],"summary":"Action Complete","operationId":"cb_action_complete","parameters":[{"name":"plan_id","in":"path","required":true,"schema":{"type":"string","title":"Plan Id"}},{"name":"action_id","in":"path","required":true,"schema":{"type":"string","title":"Action Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompleteBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-builder/plans/{plan_id}/stop":{"post":{"tags":["capability-builder"],"summary":"Plan Stop","description":"Always available, free, never rate limited, never penalised.","operationId":"cb_plan_stop","parameters":[{"name":"plan_id","in":"path","required":true,"schema":{"type":"string","title":"Plan Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StopBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-builder/plans/{plan_id}/rechecks":{"post":{"tags":["capability-builder"],"summary":"Recheck Create","operationId":"cb_recheck_create","parameters":[{"name":"plan_id","in":"path","required":true,"schema":{"type":"string","title":"Plan Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecheckBody"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-builder/receipts/{receipt_id}/corrections":{"post":{"tags":["capability-builder"],"summary":"Correction Create","operationId":"cb_correction_create","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","title":"Receipt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/capability_builder_routes__CorrectionBody"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/capability-builder-digest/{child_id}":{"get":{"tags":["capability-builder"],"summary":"Parent Digest","description":"One sentence and one count. Needs an active parent-child link (router dependency) AND the child's\nacademic-sharing consent. Never a capability name, evidence, criterion or outcome.","operationId":"cb_parent_digest","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/candidate-verifications":{"post":{"tags":["candidate-verification"],"summary":"Verification Request","operationId":"candidate_verification_request","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["candidate-verification"],"summary":"Verification List","operationId":"candidate_verification_list","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/candidate-verifications/shares/{token}":{"get":{"tags":["candidate-verification"],"summary":"Share Read","description":"Signed out. No auth dependency on purpose.","operationId":"candidate_verification_share_read","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/v1/capability-checks/candidate-verifications/{verification_ref}":{"get":{"tags":["candidate-verification"],"summary":"Verification Read","operationId":"candidate_verification_read","parameters":[{"name":"verification_ref","in":"path","required":true,"schema":{"type":"string","title":"Verification Ref"}},{"name":"expected_revision","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"title":"Expected Revision"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["candidate-verification"],"summary":"Verification Delete","operationId":"candidate_verification_delete","parameters":[{"name":"verification_ref","in":"path","required":true,"schema":{"type":"string","title":"Verification Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/candidate-verifications/{verification_ref}/corrections":{"post":{"tags":["candidate-verification"],"summary":"Verification Correct","operationId":"candidate_verification_correct","parameters":[{"name":"verification_ref","in":"path","required":true,"schema":{"type":"string","title":"Verification Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/candidate-verifications/{verification_ref}/revoke":{"post":{"tags":["candidate-verification"],"summary":"Verification Revoke","operationId":"candidate_verification_revoke","parameters":[{"name":"verification_ref","in":"path","required":true,"schema":{"type":"string","title":"Verification Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/candidate-verifications/{verification_ref}/projections":{"post":{"tags":["candidate-verification"],"summary":"Share Create","operationId":"candidate_verification_share_create","parameters":[{"name":"verification_ref","in":"path","required":true,"schema":{"type":"string","title":"Verification Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/candidate-verifications/{verification_ref}/projections/{share_id}":{"delete":{"tags":["candidate-verification"],"summary":"Share Revoke","operationId":"candidate_verification_share_revoke","parameters":[{"name":"verification_ref","in":"path","required":true,"schema":{"type":"string","title":"Verification Ref"}},{"name":"share_id","in":"path","required":true,"schema":{"type":"string","title":"Share Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/candidate-verifications/{verification_ref}/exports":{"post":{"tags":["candidate-verification"],"summary":"Candidate Verification Export Create","operationId":"candidate_verification_export_create","parameters":[{"name":"verification_ref","in":"path","required":true,"schema":{"type":"string","title":"Verification Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/candidate-verifications/{verification_ref}/exports/{export_ref}":{"get":{"tags":["candidate-verification"],"summary":"Candidate Verification Export Read","operationId":"candidate_verification_export_read","parameters":[{"name":"verification_ref","in":"path","required":true,"schema":{"type":"string","title":"Verification Ref"}},{"name":"export_ref","in":"path","required":true,"schema":{"type":"string","title":"Export Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/candidate-verifications/{verification_ref}/exports/{export_ref}/download":{"get":{"tags":["candidate-verification"],"summary":"Candidate Verification Export Download","operationId":"candidate_verification_export_download","parameters":[{"name":"verification_ref","in":"path","required":true,"schema":{"type":"string","title":"Verification Ref"}},{"name":"export_ref","in":"path","required":true,"schema":{"type":"string","title":"Export Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/certification-packs/policies/{policy_ref}":{"get":{"tags":["capability-certification-pack"],"summary":"Policy Resolve","operationId":"capability_certification_pack_policy_resolve","parameters":[{"name":"policy_ref","in":"path","required":true,"schema":{"type":"string","title":"Policy Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/certification-packs/shares/{token}":{"get":{"tags":["capability-certification-pack"],"summary":"Share Read","description":"Signed out. No auth dependency on purpose.","operationId":"capability_certification_pack_share_read","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/v1/capability-checks/certification-packs":{"post":{"tags":["capability-certification-pack"],"summary":"Pack Create","operationId":"capability_certification_pack_create","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/certification-packs/{pack_ref}":{"get":{"tags":["capability-certification-pack"],"summary":"Pack Read","operationId":"capability_certification_pack_read","parameters":[{"name":"pack_ref","in":"path","required":true,"schema":{"type":"string","title":"Pack Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["capability-certification-pack"],"summary":"Pack Delete","operationId":"capability_certification_pack_delete","parameters":[{"name":"pack_ref","in":"path","required":true,"schema":{"type":"string","title":"Pack Ref"}},{"name":"expected_revision","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"title":"Expected Revision"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/certification-packs/{pack_ref}/members/{member_ref}":{"post":{"tags":["capability-certification-pack"],"summary":"Member Submit","operationId":"capability_certification_pack_member_submit","parameters":[{"name":"pack_ref","in":"path","required":true,"schema":{"type":"string","title":"Pack Ref"}},{"name":"member_ref","in":"path","required":true,"schema":{"type":"string","title":"Member Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/certification-packs/{pack_ref}/finalize":{"post":{"tags":["capability-certification-pack"],"summary":"Pack Finalize","operationId":"capability_certification_pack_finalize","parameters":[{"name":"pack_ref","in":"path","required":true,"schema":{"type":"string","title":"Pack Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/certification-packs/{pack_ref}/corrections":{"post":{"tags":["capability-certification-pack"],"summary":"Pack Correct","operationId":"capability_certification_pack_correct","parameters":[{"name":"pack_ref","in":"path","required":true,"schema":{"type":"string","title":"Pack Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/certification-packs/{pack_ref}/revoke":{"post":{"tags":["capability-certification-pack"],"summary":"Pack Revoke","operationId":"capability_certification_pack_revoke","parameters":[{"name":"pack_ref","in":"path","required":true,"schema":{"type":"string","title":"Pack Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/certification-packs/{pack_ref}/cancel":{"post":{"tags":["capability-certification-pack"],"summary":"Pack Cancel","operationId":"capability_certification_pack_cancel","parameters":[{"name":"pack_ref","in":"path","required":true,"schema":{"type":"string","title":"Pack Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/certification-packs/{pack_ref}/projections":{"post":{"tags":["capability-certification-pack"],"summary":"Projection Create","operationId":"capability_certification_pack_projection_create","parameters":[{"name":"pack_ref","in":"path","required":true,"schema":{"type":"string","title":"Pack Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/certification-packs/{pack_ref}/projections/{share_id}":{"delete":{"tags":["capability-certification-pack"],"summary":"Projection Revoke","operationId":"capability_certification_pack_projection_revoke","parameters":[{"name":"pack_ref","in":"path","required":true,"schema":{"type":"string","title":"Pack Ref"}},{"name":"share_id","in":"path","required":true,"schema":{"type":"string","title":"Share Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/certification-packs/{pack_ref}/exports":{"post":{"tags":["capability-certification-pack"],"summary":"Certification Pack Export Create","operationId":"certification_pack_export_create","parameters":[{"name":"pack_ref","in":"path","required":true,"schema":{"type":"string","title":"Pack Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/certification-packs/{pack_ref}/exports/{export_ref}":{"get":{"tags":["capability-certification-pack"],"summary":"Certification Pack Export Read","operationId":"certification_pack_export_read","parameters":[{"name":"pack_ref","in":"path","required":true,"schema":{"type":"string","title":"Pack Ref"}},{"name":"export_ref","in":"path","required":true,"schema":{"type":"string","title":"Export Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/certification-packs/{pack_ref}/exports/{export_ref}/download":{"get":{"tags":["capability-certification-pack"],"summary":"Certification Pack Export Download","operationId":"certification_pack_export_download","parameters":[{"name":"pack_ref","in":"path","required":true,"schema":{"type":"string","title":"Pack Ref"}},{"name":"export_ref","in":"path","required":true,"schema":{"type":"string","title":"Export Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/aa/capability-passports/shares/{token}":{"get":{"tags":["capability-passport"],"summary":"Share Read","description":"Signed out. No auth dependency on purpose.","operationId":"capability_passport_share_read","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/v1/aa/capability-passports/shares/{share_id}/withdraw":{"post":{"tags":["capability-passport"],"summary":"Share Withdraw","operationId":"capability_passport_share_withdraw","parameters":[{"name":"share_id","in":"path","required":true,"schema":{"type":"string","title":"Share Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/aa/capability-passports":{"post":{"tags":["capability-passport"],"summary":"Passport Create","operationId":"capability_passport_create","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["capability-passport"],"summary":"Passport List","operationId":"capability_passport_list","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/aa/capability-passports/{passport_id}":{"get":{"tags":["capability-passport"],"summary":"Passport Read","operationId":"capability_passport_read","parameters":[{"name":"passport_id","in":"path","required":true,"schema":{"type":"string","title":"Passport Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/aa/capability-passports/{passport_id}/refresh":{"post":{"tags":["capability-passport"],"summary":"Passport Refresh","operationId":"capability_passport_refresh","parameters":[{"name":"passport_id","in":"path","required":true,"schema":{"type":"string","title":"Passport Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/aa/capability-passports/{passport_id}/revoke":{"post":{"tags":["capability-passport"],"summary":"Passport Revoke","operationId":"capability_passport_revoke","parameters":[{"name":"passport_id","in":"path","required":true,"schema":{"type":"string","title":"Passport Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/aa/capability-passports/{passport_id}/shares":{"post":{"tags":["capability-passport"],"summary":"Share Create","operationId":"capability_passport_share_create","parameters":[{"name":"passport_id","in":"path","required":true,"schema":{"type":"string","title":"Passport Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/aa/capability-passports/resolve":{"post":{"tags":["capability-passport"],"summary":"Passport Resolve","operationId":"capability_passport_resolve","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/aa/capability-passports/{passport_id}/correction":{"post":{"tags":["capability-passport"],"summary":"Passport Correction","operationId":"capability_passport_correction","parameters":[{"name":"passport_id","in":"path","required":true,"schema":{"type":"string","title":"Passport Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/aa/capability-passports/{passport_id}/purge":{"post":{"tags":["capability-passport"],"summary":"Passport Purge","operationId":"capability_passport_purge","parameters":[{"name":"passport_id","in":"path","required":true,"schema":{"type":"string","title":"Passport Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/aa/capability-passports/{passport_id}/remedies":{"post":{"tags":["capability-passport"],"summary":"Passport Remedies","operationId":"capability_passport_remedies","parameters":[{"name":"passport_id","in":"path","required":true,"schema":{"type":"string","title":"Passport Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/aa/capability-passports/{passport_id}/exports":{"post":{"tags":["capability-passport"],"summary":"Passport Export Create","operationId":"passport_export_create","parameters":[{"name":"passport_id","in":"path","required":true,"schema":{"type":"string","title":"Passport Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/aa/capability-passports/{passport_id}/exports/{export_ref}":{"get":{"tags":["capability-passport"],"summary":"Passport Export Read","operationId":"passport_export_read","parameters":[{"name":"passport_id","in":"path","required":true,"schema":{"type":"string","title":"Passport Id"}},{"name":"export_ref","in":"path","required":true,"schema":{"type":"string","title":"Export Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/aa/capability-passports/{passport_id}/exports/{export_ref}/download":{"get":{"tags":["capability-passport"],"summary":"Passport Export Download","operationId":"passport_export_download","parameters":[{"name":"passport_id","in":"path","required":true,"schema":{"type":"string","title":"Passport Id"}},{"name":"export_ref","in":"path","required":true,"schema":{"type":"string","title":"Export Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/catalogue":{"get":{"tags":["capability-check"],"summary":"Catalogue List","operationId":"capability_check_catalogue_list","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/catalogue/{capability_id}":{"get":{"tags":["capability-check"],"summary":"Catalogue Read","operationId":"capability_check_catalogue_read","parameters":[{"name":"capability_id","in":"path","required":true,"schema":{"type":"string","title":"Capability Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/meter":{"get":{"tags":["capability-check"],"summary":"Meter Read","operationId":"capability_check_meter_read","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/records":{"get":{"tags":["capability-check"],"summary":"Records List","operationId":"capability_check_records_list","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/credentials/{credential_id}":{"get":{"tags":["capability-check"],"summary":"Credential Read","operationId":"capability_check_credential_read","parameters":[{"name":"credential_id","in":"path","required":true,"schema":{"type":"string","title":"Credential Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/credentials/{credential_id}/projections":{"post":{"tags":["capability-check"],"summary":"Projection Create","operationId":"capability_check_projection_create","parameters":[{"name":"credential_id","in":"path","required":true,"schema":{"type":"string","title":"Credential Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/projections/{projection_id}":{"delete":{"tags":["capability-check"],"summary":"Projection Revoke","operationId":"capability_check_projection_revoke","parameters":[{"name":"projection_id","in":"path","required":true,"schema":{"type":"string","title":"Projection Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/projections/{projection_id}/personal-data":{"delete":{"tags":["capability-check"],"summary":"Projection Delete Personal Data","operationId":"capability_check_projection_delete_personal_data","parameters":[{"name":"projection_id","in":"path","required":true,"schema":{"type":"string","title":"Projection Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/projections/{token}":{"get":{"tags":["capability-check"],"summary":"Projection Read","description":"Signed out. No auth dependency on purpose.","operationId":"capability_check_projection_read","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/v1/capability-checks":{"post":{"tags":["capability-check"],"summary":"Attempt Create","operationId":"capability_check_attempt_create","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/{attempt_id}":{"get":{"tags":["capability-check"],"summary":"Attempt Read","operationId":"capability_check_attempt_read","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"string","title":"Attempt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/{attempt_id}/conditions":{"post":{"tags":["capability-check"],"summary":"Conditions Declare","operationId":"capability_check_conditions_declare","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"string","title":"Attempt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/{attempt_id}/artefact":{"post":{"tags":["capability-check"],"summary":"Artefact Submit","operationId":"capability_check_artefact_submit","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"string","title":"Attempt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/{attempt_id}/submit":{"post":{"tags":["capability-check"],"summary":"Attempt Submit","operationId":"capability_check_attempt_submit","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"string","title":"Attempt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/{attempt_id}/result":{"get":{"tags":["capability-check"],"summary":"Result Read","operationId":"capability_check_result_read","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"string","title":"Attempt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/{attempt_id}/results/{result_id}/versions/{result_version}":{"get":{"tags":["capability-check"],"summary":"Exact Current Result Read","description":"Read an exact current result version; ownership always comes from session.","operationId":"capability_check_exact_current_result_read","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"string","title":"Attempt Id"}},{"name":"result_id","in":"path","required":true,"schema":{"type":"string","title":"Result Id"}},{"name":"result_version","in":"path","required":true,"schema":{"type":"integer","title":"Result Version"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/{attempt_id}/assessor-assignments":{"post":{"tags":["capability-check"],"summary":"Assessor Assignment Issue","description":"A native admin identity may issue only a lease permitted by the active signed roster.","operationId":"capability_check_assessor_assignment_issue","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"string","title":"Attempt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/{attempt_id}/assessor-assignments/{assignment_id}/withdraw":{"post":{"tags":["capability-check"],"summary":"Assessor Assignment Withdraw","operationId":"capability_check_assessor_assignment_withdraw","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"string","title":"Attempt Id"}},{"name":"assignment_id","in":"path","required":true,"schema":{"type":"string","title":"Assignment Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/{attempt_id}/clarifications":{"post":{"tags":["capability-check"],"summary":"Clarification Issue","operationId":"capability_check_clarification_issue","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"string","title":"Attempt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/{attempt_id}/clarifications/{clarification_id}":{"get":{"tags":["capability-check"],"summary":"Clarification Read","operationId":"capability_check_clarification_read","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"string","title":"Attempt Id"}},{"name":"clarification_id","in":"path","required":true,"schema":{"type":"string","title":"Clarification Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/{attempt_id}/clarifications/{clarification_id}/response":{"post":{"tags":["capability-check"],"summary":"Clarification Respond","operationId":"capability_check_clarification_respond","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"string","title":"Attempt Id"}},{"name":"clarification_id","in":"path","required":true,"schema":{"type":"string","title":"Clarification Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/{attempt_id}/clarifications/{clarification_id}/withdraw":{"post":{"tags":["capability-check"],"summary":"Clarification Withdraw","operationId":"capability_check_clarification_withdraw","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"string","title":"Attempt Id"}},{"name":"clarification_id","in":"path","required":true,"schema":{"type":"string","title":"Clarification Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/{attempt_id}/workready-evidence":{"post":{"tags":["capability-check"],"summary":"Workready Evidence Admit","operationId":"capability_check_workready_evidence_admit","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"string","title":"Attempt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/{attempt_id}/abandon":{"post":{"tags":["capability-check"],"summary":"Attempt Abandon","operationId":"capability_check_attempt_abandon","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"string","title":"Attempt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/{attempt_id}/corrections":{"post":{"tags":["capability-check"],"summary":"Result Correct","operationId":"capability_check_result_correct","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"string","title":"Attempt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/{attempt_id}/appeals":{"post":{"tags":["capability-check"],"summary":"Appeal Create","operationId":"capability_check_appeal_create","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"string","title":"Attempt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/{attempt_id}/appeals/{appeal_id}/receipt/{against_result_id}/{against_result_version}/{against_result_digest}":{"get":{"tags":["capability-check"],"summary":"Appeal Receipt Read","description":"Read the exact owner/result tuple, optionally pinned to a source event version.","operationId":"capability_check_appeal_receipt_read","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"string","title":"Attempt Id"}},{"name":"appeal_id","in":"path","required":true,"schema":{"type":"string","title":"Appeal Id"}},{"name":"against_result_id","in":"path","required":true,"schema":{"type":"string","title":"Against Result Id"}},{"name":"against_result_version","in":"path","required":true,"schema":{"type":"integer","title":"Against Result Version"}},{"name":"against_result_digest","in":"path","required":true,"schema":{"type":"string","title":"Against Result Digest"}},{"name":"appeal_event_version","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Appeal Event Version"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/{attempt_id}/appeals/{appeal_id}":{"get":{"tags":["capability-check"],"summary":"Appeal Read","operationId":"capability_check_appeal_read","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"string","title":"Attempt Id"}},{"name":"appeal_id","in":"path","required":true,"schema":{"type":"string","title":"Appeal Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/{attempt_id}/appeals/{appeal_id}/resolve":{"post":{"tags":["capability-check"],"summary":"Appeal Resolve","description":"The resolver is the authenticated operator. The body cannot name one.","operationId":"capability_check_appeal_resolve","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"string","title":"Attempt Id"}},{"name":"appeal_id","in":"path","required":true,"schema":{"type":"string","title":"Appeal Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/credentials/{credential_id}/export":{"post":{"tags":["capability-check"],"summary":"Check Credential Export Create","operationId":"check_credential_export_create_canonical","parameters":[{"name":"credential_id","in":"path","required":true,"schema":{"type":"string","title":"Credential Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/credentials/{credential_id}/exports":{"post":{"tags":["capability-check"],"summary":"Check Credential Export Create","operationId":"check_credential_export_create","parameters":[{"name":"credential_id","in":"path","required":true,"schema":{"type":"string","title":"Credential Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/exports":{"post":{"tags":["capability-check"],"summary":"Check Credential Export Request","operationId":"check_credential_export_request","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/credentials/{credential_id}/exports/{export_ref}":{"get":{"tags":["capability-check"],"summary":"Check Credential Export Read","operationId":"check_credential_export_read","parameters":[{"name":"credential_id","in":"path","required":true,"schema":{"type":"string","title":"Credential Id"}},{"name":"export_ref","in":"path","required":true,"schema":{"type":"string","title":"Export Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capability-checks/credentials/{credential_id}/exports/{export_ref}/download":{"get":{"tags":["capability-check"],"summary":"Check Credential Export Download","operationId":"check_credential_export_download","parameters":[{"name":"credential_id","in":"path","required":true,"schema":{"type":"string","title":"Credential Id"}},{"name":"export_ref","in":"path","required":true,"schema":{"type":"string","title":"Export Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/capability-digest/{child_id}":{"get":{"tags":["capability-check-parent"],"summary":"Parent Digest","operationId":"capability_check_parent_digest","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/study-counts/{child_id}":{"get":{"tags":["parent-study-counts"],"summary":"Parent Study Counts","operationId":"parent_study_counts_read","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ai-workready/task-sets":{"get":{"tags":["ai-workready"],"summary":"Task Sets List","operationId":"ai_workready_task_sets_list","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ai-workready/task-sets/{task_set_id}":{"get":{"tags":["ai-workready"],"summary":"Task Set Read","operationId":"ai_workready_task_set_read","parameters":[{"name":"task_set_id","in":"path","required":true,"schema":{"type":"string","title":"Task Set Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ai-workready/allowance":{"get":{"tags":["ai-workready"],"summary":"Allowance Read","operationId":"ai_workready_allowance_read","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ai-workready/records":{"get":{"tags":["ai-workready"],"summary":"Records List","operationId":"ai_workready_records_list","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ai-workready/independence":{"get":{"tags":["ai-workready"],"summary":"Independence Read","operationId":"ai_workready_independence_read","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ai-workready/shares":{"get":{"tags":["ai-workready"],"summary":"Shares List","operationId":"ai_workready_shares_list","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ai-workready/shares/{share_id}":{"delete":{"tags":["ai-workready"],"summary":"Share Revoke","operationId":"ai_workready_share_revoke","parameters":[{"name":"share_id","in":"path","required":true,"schema":{"type":"string","title":"Share Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ai-workready/p/{token}":{"get":{"tags":["ai-workready"],"summary":"Share Read","description":"Signed out by design. Unknown, revoked and expired all answer the same 404 with no data and no reason.","operationId":"ai_workready_share_read","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/v1/ai-workready/runs":{"post":{"tags":["ai-workready"],"summary":"Run Create","operationId":"ai_workready_run_create","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ai-workready/runs/{run_id}":{"get":{"tags":["ai-workready"],"summary":"Run Read","operationId":"ai_workready_run_read","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["ai-workready"],"summary":"Run Delete","description":"Delete a run the retain-and-restore way: gone from every list and share at once, kept 30 days so it can be restored.","operationId":"ai_workready_run_delete","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"expected_version","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expected Version"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Body"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ai-workready/runs/{run_id}/resume":{"get":{"tags":["ai-workready"],"summary":"Exact Resume Read","operationId":"ai_workready_exact_resume_read","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"run_revision","in":"query","required":true,"schema":{"type":"integer","title":"Run Revision"}},{"name":"stage_id","in":"query","required":true,"schema":{"type":"string","title":"Stage Id"}},{"name":"stage","in":"query","required":true,"schema":{"type":"string","title":"Stage"}},{"name":"task_set_id","in":"query","required":true,"schema":{"type":"string","title":"Task Set Id"}},{"name":"task_set_version","in":"query","required":true,"schema":{"type":"integer","title":"Task Set Version"}},{"name":"task_set_digest","in":"query","required":true,"schema":{"type":"string","title":"Task Set Digest"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ai-workready/runs/{run_id}/abandon":{"post":{"tags":["ai-workready"],"summary":"Run Abandon","operationId":"ai_workready_run_abandon","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ai-workready/runs/{run_id}/conditions/ack":{"post":{"tags":["ai-workready"],"summary":"Conditions Ack","operationId":"ai_workready_conditions_acknowledge","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ai-workready/runs/{run_id}/stages/{stage}/start":{"post":{"tags":["ai-workready"],"summary":"Stage Start","operationId":"ai_workready_stage_start","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"stage","in":"path","required":true,"schema":{"type":"string","title":"Stage"}},{"name":"run_revision","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Run Revision"}},{"name":"stage_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stage Id"}},{"name":"task_set_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task Set Id"}},{"name":"task_set_version","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Task Set Version"}},{"name":"task_set_digest","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task Set Digest"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ai-workready/runs/{run_id}/stages/{stage}/assistance":{"post":{"tags":["ai-workready"],"summary":"Assistance Record","operationId":"ai_workready_assistance_record","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"stage","in":"path","required":true,"schema":{"type":"string","title":"Stage"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ai-workready/runs/{run_id}/stages/{stage}/answers":{"post":{"tags":["ai-workready"],"summary":"Answers Record","operationId":"ai_workready_answers_record","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"stage","in":"path","required":true,"schema":{"type":"string","title":"Stage"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ai-workready/runs/{run_id}/stages/{stage}/submit":{"post":{"tags":["ai-workready"],"summary":"Stage Submit","operationId":"ai_workready_stage_submit","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"stage","in":"path","required":true,"schema":{"type":"string","title":"Stage"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ai-workready/runs/{run_id}/result":{"get":{"tags":["ai-workready"],"summary":"Result Read","operationId":"ai_workready_result_read","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"result_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result Id"}},{"name":"result_version","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Result Version"}},{"name":"result_digest","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result Digest"}},{"name":"publication_event_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Publication Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ai-workready/runs/{run_id}/result/export":{"get":{"tags":["ai-workready"],"summary":"Result Export","description":"The paid line: the learner's own record as a sealed file (402 on a plan without it; reading the record stays free).","operationId":"ai_workready_result_export","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"format","in":"query","required":false,"schema":{"type":"string","default":"json","title":"Format"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ai-workready/runs/{run_id}/restore":{"post":{"tags":["ai-workready"],"summary":"Run Restore","description":"Bring a deleted run back within its 30 days.","operationId":"ai_workready_run_restore","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ai-workready/runs/{run_id}/clarifications":{"post":{"tags":["ai-workready"],"summary":"Clarification Issue","description":"An authenticated operator asks the learner about one exact published result.","operationId":"ai_workready_clarification_issue","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ai-workready/runs/{run_id}/clarifications/{clarification_id}":{"get":{"tags":["ai-workready"],"summary":"Clarification Read","operationId":"ai_workready_clarification_read","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"clarification_id","in":"path","required":true,"schema":{"type":"string","title":"Clarification Id"}},{"name":"request_version","in":"query","required":true,"schema":{"type":"integer","title":"Request Version"}},{"name":"request_digest","in":"query","required":true,"schema":{"type":"string","title":"Request Digest"}},{"name":"result_id","in":"query","required":true,"schema":{"type":"string","title":"Result Id"}},{"name":"result_version","in":"query","required":true,"schema":{"type":"integer","title":"Result Version"}},{"name":"result_digest","in":"query","required":true,"schema":{"type":"string","title":"Result Digest"}},{"name":"publication_event_id","in":"query","required":true,"schema":{"type":"string","title":"Publication Event Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ai-workready/runs/{run_id}/clarifications/{clarification_id}/responses":{"post":{"tags":["ai-workready"],"summary":"Clarification Respond","operationId":"ai_workready_clarification_respond","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"clarification_id","in":"path","required":true,"schema":{"type":"string","title":"Clarification Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ai-workready/runs/{run_id}/share":{"post":{"tags":["ai-workready"],"summary":"Share Create","operationId":"ai_workready_share_create","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ai-workready/runs/{run_id}/handoffs":{"post":{"tags":["ai-workready"],"summary":"Handoff Create","operationId":"ai_workready_handoff_create","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["ai-workready"],"summary":"Handoffs List","operationId":"ai_workready_handoffs_list","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ai-workready/runs/{run_id}/corrections":{"post":{"tags":["ai-workready"],"summary":"Result Correct","description":"Operator only. A learner token is refused (403) before the service is reached.","operationId":"ai_workready_result_correct","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ai-workready/runs/{run_id}/handoffs/{handoff_id}/return":{"post":{"tags":["ai-workready"],"summary":"Handoff Return","description":"The learner records that they came back from a hand-off (STARTED, FINISHED or NOT_STARTED). Never changes a reading.","operationId":"ai_workready_handoff_return","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"handoff_id","in":"path","required":true,"schema":{"type":"string","title":"Handoff Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ai-workready/runs/{run_id}/explanations":{"get":{"tags":["ai-workready"],"summary":"Explanations Read","description":"Why, for the checking and recovery items only, and only once a result exists.","operationId":"ai_workready_explanations_read","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ai-workready/runs/{run_id}/disputes":{"post":{"tags":["ai-workready"],"summary":"Dispute Create","operationId":"ai_workready_dispute_create","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["ai-workready"],"summary":"Disputes List","operationId":"ai_workready_disputes_list","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ai-workready/disputes/open":{"get":{"tags":["ai-workready"],"summary":"Disputes Open List","description":"Operator only. The open questions, oldest first. A learner token is refused (403) before the service is reached.","operationId":"ai_workready_disputes_open_list","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ai-workready/disputes/{dispute_id}/resolve":{"post":{"tags":["ai-workready"],"summary":"Dispute Resolve","description":"Operator only. UPHOLD feeds the corrections path (the learner's result becomes CORRECTED); REJECT closes with a reason.","operationId":"ai_workready_dispute_resolve","parameters":[{"name":"dispute_id","in":"path","required":true,"schema":{"type":"string","title":"Dispute Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ai-workready/sprint":{"get":{"tags":["ai-workready"],"summary":"Sprint Read","operationId":"ai_workready_sprint_read","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ai-workready/sprint/enrol":{"post":{"tags":["ai-workready"],"summary":"Sprint Enrol","operationId":"ai_workready_sprint_enrol","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/ai-workready/sprint/progress":{"get":{"tags":["ai-workready"],"summary":"Sprint Progress","operationId":"ai_workready_sprint_progress","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/rag/search":{"post":{"tags":["rag"],"summary":"Rag Search","description":"Search the NCERT knowledge base.\n\nRouting (s35):\n- Path 0: retrieve via get_vector_store(). Production switches from FAISS\n  to Qdrant only when RAG_VECTOR_BACKEND=qdrant is set.\n- Path 1 (legacy): if USE_LIVE_ENGINES=true and ENG002_URL set → delegate to\n  ENG-002 RAG engine container.\n- Path 2 (last-resort fallback): in-process BM25 over the 127-chunk synthetic\n  corpus. Kept so /search never hard-fails when external paths are down.","operationId":"rag_router_search_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RAGSearchRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["rag"],"summary":"Rag Search Get","description":"GET version of RAG search for browser/frontend use.","operationId":"rag_search_get_api_v1_rag_search_get","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","description":"Search query","title":"Q"},"description":"Search query"},{"name":"top_k","in":"query","required":false,"schema":{"type":"integer","default":5,"title":"Top K"}},{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"}},{"name":"student_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Student Id"}},{"name":"product_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Id"}},{"name":"entry_mode","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Entry Mode"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/rag/topics":{"get":{"tags":["rag"],"summary":"Rag Topics","description":"List all topics in the RAG knowledge base.","operationId":"rag_topics_api_v1_rag_topics_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/rag/stats":{"get":{"tags":["rag"],"summary":"Rag Stats","description":"RAG knowledge base statistics.","operationId":"rag_stats_api_v1_rag_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/rag/corpus-status":{"get":{"tags":["rag"],"summary":"Rag Corpus Status","description":"NEW-022 NCERT RAG Ingest — operator provenance.\n\nReports what NCERT corpus is REGISTERED (the repo-tracked\ncontent/ncert/corpus_manifest.json source of truth) vs what's actually\nretrievable (in-process corpus + vector store count), so an operator can see\ncoverage + whether a re-ingest is needed. Read-only, fail-soft.","operationId":"rag_corpus_status_api_v1_rag_corpus_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/rag/qdrant-diag":{"get":{"tags":["rag"],"summary":"Qdrant Diag","description":"Health + (optional) end-to-end retrieve against the Qdrant cluster.\n\nReturns:\n  {health: {...}, query_run: bool, hits: [...]}\n\nIf `q` is provided, embeds it via OpenAI text-embedding-3-small and runs a\ncosine search against the 'aspireace-knowledge' collection.","operationId":"qdrant_diag_api_v1_rag_qdrant_diag_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional query string to test retrieve","title":"Q"},"description":"Optional query string to test retrieve"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/jarvis/release-proof/{student_id}":{"get":{"tags":["jarvis-enhanced"],"summary":"Get Atrix Release Proof","description":"CL-001 owner proof envelope for the visible ATRIX Elite Bar.","operationId":"jarvis_release_proof","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/engine-dispatch":{"post":{"tags":["internal-sidecar"],"summary":"Engine Dispatch","description":"Wrap erk_dispatch.try_engine so tutor-service can call engines\nwithout needing the 107-engine bundle in its Docker image.","operationId":"engine_dispatch_internal_v1_engine_dispatch_post","parameters":[{"name":"X-Internal-Secret","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Secret"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EngineDispatchRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EngineDispatchResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/v1/rag-retrieve":{"post":{"tags":["internal-sidecar"],"summary":"Rag Retrieve","description":"Wrap the configured vector_store retrieval. Respects the existing\nJARVIS_NCERT_RAG_ENABLED flag — when off, returns empty.","operationId":"rag_retrieve_internal_v1_rag_retrieve_post","parameters":[{"name":"X-Internal-Secret","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Internal-Secret"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RagRetrieveRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RagRetrieveResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/support/console":{"get":{"tags":["Operator"],"summary":"Ops Support Console","operationId":"ops_support_console_ops_support_console_get","parameters":[{"name":"student_id","in":"query","required":false,"schema":{"type":"string","maxLength":128,"default":"","title":"Student Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":25,"title":"Limit"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/support/content-review":{"post":{"tags":["Operator"],"summary":"Ops Support Content Review","operationId":"ops_support_content_review_ops_support_content_review_post","parameters":[{"name":"x-ops-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpsContentReviewDecisionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/metrics/business":{"get":{"tags":["Operator"],"summary":"Ops Business Metrics","operationId":"ops_business_metrics_ops_metrics_business_get","parameters":[{"name":"x-ops-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/engines/status":{"get":{"tags":["Operator"],"summary":"Ops Engines Status","operationId":"ops_engines_status_ops_engines_status_get","parameters":[{"name":"x-ops-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/infra/health":{"get":{"tags":["Operator"],"summary":"Ops Infra Health","operationId":"ops_infra_health_ops_infra_health_get","parameters":[{"name":"x-ops-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/pipelines/status":{"get":{"tags":["Operator"],"summary":"Ops Pipelines Status","operationId":"ops_pipelines_status_ops_pipelines_status_get","parameters":[{"name":"x-ops-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/logs/recent":{"get":{"tags":["Operator"],"summary":"Ops Logs Recent","operationId":"ops_logs_recent_ops_logs_recent_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/secrets/test":{"post":{"tags":["Operator"],"summary":"Ops Secret Test","operationId":"ops_secret_test_ops_secrets_test_post","parameters":[{"name":"x-ops-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpsSecretTestRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/deploy/probe":{"post":{"tags":["Operator"],"summary":"Ops Deploy Probe","operationId":"ops_deploy_probe_ops_deploy_probe_post","parameters":[{"name":"x-ops-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpsDeployProbeRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/internal/workbench/run":{"post":{"tags":["Operator"],"summary":"Ops Internal Workbench Run","operationId":"ops_internal_workbench_run_ops_internal_workbench_run_post","parameters":[{"name":"x-ops-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpsWorkbenchRunRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/edugraph/source-health":{"get":{"tags":["Operator"],"summary":"Ops Edugraph Source Health","operationId":"ops_edugraph_source_health_ops_edugraph_source_health_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":200,"title":"Limit"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/edugraph/source-review":{"post":{"tags":["Operator"],"summary":"Ops Edugraph Source Review","operationId":"ops_edugraph_source_review_ops_edugraph_source_review_post","parameters":[{"name":"x-ops-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpsEduGraphSourceReviewRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/edugraph/source-upload":{"post":{"tags":["Operator"],"summary":"Ops Edugraph Source Upload","operationId":"ops_edugraph_source_upload_ops_edugraph_source_upload_post","parameters":[{"name":"x-ops-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpsEduGraphSourceUploadRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/edugraph/parser-run":{"post":{"tags":["Operator"],"summary":"Ops Edugraph Parser Run","operationId":"ops_edugraph_parser_run_ops_edugraph_parser_run_post","parameters":[{"name":"x-ops-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpsEduGraphParserRunRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/users":{"get":{"tags":["Operator"],"summary":"Ops Users","operationId":"ops_users_ops_users_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/subscriptions":{"get":{"tags":["Operator"],"summary":"Ops Subscriptions","operationId":"ops_subscriptions_ops_subscriptions_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/db/tables":{"get":{"tags":["Operator"],"summary":"Ops Db Tables","operationId":"ops_db_tables_ops_db_tables_get","parameters":[{"name":"x-ops-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/db/tables/{table_name}/rows":{"get":{"tags":["Operator"],"summary":"Ops Db Table Rows","operationId":"ops_db_table_rows_ops_db_tables__table_name__rows_get","parameters":[{"name":"table_name","in":"path","required":true,"schema":{"type":"string","title":"Table Name"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":25,"minimum":1,"default":10,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","maximum":5000,"minimum":0,"default":0,"title":"Offset"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/ocr/hitl-queue":{"get":{"tags":["Operator"],"summary":"Ops Ocr Hitl Queue","operationId":"ops_ocr_hitl_queue_ops_ocr_hitl_queue_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}},{"name":"status","in":"query","required":false,"schema":{"type":"string","default":"pending","title":"Status"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/ocr/hitl-page/{page_id}":{"get":{"tags":["Operator"],"summary":"Ops Ocr Hitl Page","operationId":"ops_ocr_hitl_page_ops_ocr_hitl_page__page_id__get","parameters":[{"name":"page_id","in":"path","required":true,"schema":{"type":"integer","title":"Page Id"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ops/ocr/hitl-review":{"post":{"tags":["Operator"],"summary":"Ops Ocr Hitl Review","operationId":"ops_ocr_hitl_review_ops_ocr_hitl_review_post","parameters":[{"name":"x-ops-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OCRHITLReviewRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/teacher/dashboard":{"get":{"tags":["Teacher"],"summary":"Teacher Dashboard","operationId":"teacher_dashboard_teacher_dashboard_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/teacher/verification-request":{"post":{"tags":["Teacher"],"summary":"Request Teacher Verification","operationId":"request_teacher_verification_teacher_verification_request_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeacherVerificationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/teacher/hitl-queue":{"get":{"tags":["Teacher"],"summary":"Teacher Hitl Queue","operationId":"teacher_hitl_queue_teacher_hitl_queue_get","parameters":[{"name":"teacher_id","in":"query","required":false,"schema":{"type":"string","default":"teacher_001","title":"Teacher Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/teacher/analytics":{"get":{"tags":["Teacher"],"summary":"Teacher Analytics","operationId":"teacher_analytics_teacher_analytics_get","parameters":[{"name":"teacher_id","in":"query","required":false,"schema":{"type":"string","default":"teacher_001","title":"Teacher Id"}},{"name":"batch_id","in":"query","required":false,"schema":{"type":"string","default":"batch_001","title":"Batch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/teacher/dpp/build":{"post":{"tags":["Teacher"],"summary":"Teacher Dpp Build","operationId":"teacher_dpp_build_teacher_dpp_build_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DPPBuildRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/teacher/content":{"get":{"tags":["Teacher"],"summary":"Teacher Content","operationId":"teacher_content_teacher_content_get","parameters":[{"name":"teacher_id","in":"query","required":false,"schema":{"type":"string","default":"teacher_001","title":"Teacher Id"}},{"name":"subject","in":"query","required":false,"schema":{"type":"string","default":"","title":"Subject"}},{"name":"search","in":"query","required":false,"schema":{"type":"string","default":"","title":"Search"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/teacher/message":{"post":{"tags":["Teacher"],"summary":"Teacher Message","operationId":"teacher_message_teacher_message_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/institution/teacher-verifications":{"get":{"tags":["Institution"],"summary":"List Teacher Verifications","operationId":"list_teacher_verifications_institution_teacher_verifications_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/institution/teacher-verifications/{teacher_id}/approve":{"post":{"tags":["Institution"],"summary":"Approve Teacher Verification","operationId":"approve_teacher_verification_institution_teacher_verifications__teacher_id__approve_post","parameters":[{"name":"teacher_id","in":"path","required":true,"schema":{"type":"string","title":"Teacher Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeacherVerificationDecision"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/institution/teacher-verifications/{teacher_id}/reject":{"post":{"tags":["Institution"],"summary":"Reject Teacher Verification","operationId":"reject_teacher_verification_institution_teacher_verifications__teacher_id__reject_post","parameters":[{"name":"teacher_id","in":"path","required":true,"schema":{"type":"string","title":"Teacher Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeacherVerificationDecision"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/institution/roster-candidates":{"get":{"tags":["Institution"],"summary":"List Institution Roster Candidates","description":"Only show learners already enrolled in the admin's institution.","operationId":"list_institution_roster_candidates_institution_roster_candidates_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/institution/roster-assignments":{"post":{"tags":["Institution"],"summary":"Assign Institution Roster","operationId":"assign_institution_roster_institution_roster_assignments_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InstitutionRosterAssignmentRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/institution/teacher-verifications/{teacher_id}/revoke":{"post":{"tags":["Institution"],"summary":"Revoke Teacher Approval","description":"Take an approval back. The teacher stops being active and loses every roster link made through this institution.","operationId":"revoke_teacher_approval_institution_teacher_verifications__teacher_id__revoke_post","parameters":[{"name":"teacher_id","in":"path","required":true,"schema":{"type":"string","title":"Teacher Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeacherVerificationDecision"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/institution/roster-removals":{"post":{"tags":["Institution"],"summary":"Remove Students From Teacher","description":"Take students off a teacher's roster. Only links made inside the administrator's own institution can be removed.","operationId":"remove_students_from_teacher_institution_roster_removals_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InstitutionRosterRemovalRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/institution/admin":{"get":{"tags":["Institution"],"summary":"Institution Admin","operationId":"institution_admin_institution_admin_get","parameters":[{"name":"institution_id","in":"query","required":false,"schema":{"type":"string","default":"inst_001","title":"Institution Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/institution/reports":{"get":{"tags":["Institution"],"summary":"Institution Reports","description":"Fail closed until the report generator has verified cohort evidence.","operationId":"institution_reports_institution_reports_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/institution/billing":{"get":{"tags":["Institution"],"summary":"Institution Billing","description":"Fail closed until contract, invoice and entitlement sources are wired.","operationId":"institution_billing_institution_billing_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/gradebook/entitlement":{"get":{"tags":["teacher-gradebook"],"summary":"Entitlement","description":"Always 200 for a signed-in user, so the screen can show the right locked state.","operationId":"entitlement_api_v1_teacher_gradebook_entitlement_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Entitlement Api V1 Teacher Gradebook Entitlement Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/gradebook/classes":{"get":{"tags":["teacher-gradebook"],"summary":"List Classes","operationId":"list_classes_api_v1_teacher_gradebook_classes_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["teacher-gradebook"],"summary":"Create Class","operationId":"create_class_api_v1_teacher_gradebook_classes_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClassIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/gradebook/classes/{class_id}":{"get":{"tags":["teacher-gradebook"],"summary":"Get Class","operationId":"get_class_api_v1_teacher_gradebook_classes__class_id__get","parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"string","title":"Class Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["teacher-gradebook"],"summary":"Patch Class","operationId":"patch_class_api_v1_teacher_gradebook_classes__class_id__patch","parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"string","title":"Class Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/teacher_gradebook_routes__ClassPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["teacher-gradebook"],"summary":"Delete Class","operationId":"delete_class_api_v1_teacher_gradebook_classes__class_id__delete","parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"string","title":"Class Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/gradebook/classes/{class_id}/grid":{"get":{"tags":["teacher-gradebook"],"summary":"Get Class Grid","description":"Compatibility adapter for /classes/{class_id} per PRD-AA-TEACHER-GRADEBOOK §29.","operationId":"get_class_grid_api_v1_teacher_gradebook_classes__class_id__grid_get","parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"string","title":"Class Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/gradebook/classes/{class_id}/members":{"post":{"tags":["teacher-gradebook"],"summary":"Add Member","operationId":"add_member_api_v1_teacher_gradebook_classes__class_id__members_post","parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"string","title":"Class Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/teacher_gradebook_routes__MemberIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/gradebook/classes/{class_id}/members/{member_id}":{"delete":{"tags":["teacher-gradebook"],"summary":"Remove Member","operationId":"remove_member_api_v1_teacher_gradebook_classes__class_id__members__member_id__delete","parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"string","title":"Class Id"}},{"name":"member_id","in":"path","required":true,"schema":{"type":"string","title":"Member Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/gradebook/classes/{class_id}/assessments":{"post":{"tags":["teacher-gradebook"],"summary":"Add Assessment","operationId":"add_assessment_api_v1_teacher_gradebook_classes__class_id__assessments_post","parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"string","title":"Class Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssessmentIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/gradebook/assessments/{assessment_id}":{"get":{"tags":["teacher-gradebook"],"summary":"Get Assessment","operationId":"get_assessment_api_v1_teacher_gradebook_assessments__assessment_id__get","parameters":[{"name":"assessment_id","in":"path","required":true,"schema":{"type":"string","title":"Assessment Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/gradebook/marks":{"put":{"tags":["teacher-gradebook"],"summary":"Put Mark","operationId":"put_mark_api_v1_teacher_gradebook_marks_put","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkPut"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/gradebook/marks/bulk":{"post":{"tags":["teacher-gradebook"],"summary":"Bulk Marks","operationId":"bulk_marks_api_v1_teacher_gradebook_marks_bulk_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/gradebook/marks/{mark_id}/corrections":{"post":{"tags":["teacher-gradebook"],"summary":"Correct Mark","operationId":"correct_mark_api_v1_teacher_gradebook_marks__mark_id__corrections_post","parameters":[{"name":"mark_id","in":"path","required":true,"schema":{"type":"string","title":"Mark Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CorrectionIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/gradebook/marks/{mark_id}/withdraw":{"post":{"tags":["teacher-gradebook"],"summary":"Withdraw Mark","operationId":"withdraw_mark_api_v1_teacher_gradebook_marks__mark_id__withdraw_post","parameters":[{"name":"mark_id","in":"path","required":true,"schema":{"type":"string","title":"Mark Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WithdrawIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/gradebook/marks/{mark_id}/history":{"get":{"tags":["teacher-gradebook"],"summary":"Mark History","operationId":"mark_history_api_v1_teacher_gradebook_marks__mark_id__history_get","parameters":[{"name":"mark_id","in":"path","required":true,"schema":{"type":"string","title":"Mark Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/gradebook/students/{member_id}":{"get":{"tags":["teacher-gradebook"],"summary":"Get Student","operationId":"get_student_api_v1_teacher_gradebook_students__member_id__get","parameters":[{"name":"member_id","in":"path","required":true,"schema":{"type":"string","title":"Member Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/gradebook/import/offers":{"get":{"tags":["teacher-gradebook"],"summary":"Import Offers","description":"Marks AI Grader has sent this teacher, grouped by batch. Nothing here is a mark yet.","operationId":"import_offers_api_v1_teacher_gradebook_import_offers_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/gradebook/import/accept":{"post":{"tags":["teacher-gradebook"],"summary":"Import Accept","operationId":"import_accept_api_v1_teacher_gradebook_import_accept_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportAcceptIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/gradebook/import/skip":{"post":{"tags":["teacher-gradebook"],"summary":"Import Skip","operationId":"import_skip_api_v1_teacher_gradebook_import_skip_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportSkipIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/gradebook/import/takebacks":{"get":{"tags":["teacher-gradebook"],"summary":"Import Takebacks","description":"Accepted marks AI Grader has since taken back. The marks themselves are unchanged.","operationId":"import_takebacks_api_v1_teacher_gradebook_import_takebacks_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/gradebook/import/takebacks/{delivery_id}/keep":{"post":{"tags":["teacher-gradebook"],"summary":"Takeback Keep","operationId":"takeback_keep_api_v1_teacher_gradebook_import_takebacks__delivery_id__keep_post","parameters":[{"name":"delivery_id","in":"path","required":true,"schema":{"type":"string","title":"Delivery Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/gradebook/import/takebacks/{delivery_id}/withdraw":{"post":{"tags":["teacher-gradebook"],"summary":"Takeback Withdraw","operationId":"takeback_withdraw_api_v1_teacher_gradebook_import_takebacks__delivery_id__withdraw_post","parameters":[{"name":"delivery_id","in":"path","required":true,"schema":{"type":"string","title":"Delivery Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/gradebook/classes/{class_id}/members/import":{"post":{"tags":["teacher-gradebook"],"summary":"Import Members","operationId":"import_members_api_v1_teacher_gradebook_classes__class_id__members_import_post","parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"string","title":"Class Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/gradebook/exports":{"post":{"tags":["teacher-gradebook"],"summary":"Create Export","operationId":"create_export_api_v1_teacher_gradebook_exports_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["teacher-gradebook"],"summary":"List Exports","operationId":"list_exports_api_v1_teacher_gradebook_exports_get","parameters":[{"name":"class_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Class Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/gradebook/classes/{class_id}/exports":{"post":{"tags":["teacher-gradebook"],"summary":"Create Class Export","operationId":"create_class_export_api_v1_teacher_gradebook_classes__class_id__exports_post","parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"string","title":"Class Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/ClassExportIn"},{"type":"null"}],"title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["teacher-gradebook"],"summary":"List Class Exports","operationId":"list_class_exports_api_v1_teacher_gradebook_classes__class_id__exports_get","parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"string","title":"Class Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/gradebook/exports/{export_id}/receipt":{"get":{"tags":["teacher-gradebook"],"summary":"Export Receipt","operationId":"export_receipt_api_v1_teacher_gradebook_exports__export_id__receipt_get","parameters":[{"name":"export_id","in":"path","required":true,"schema":{"type":"string","title":"Export Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/gradebook/exports/{export_id}":{"get":{"tags":["teacher-gradebook"],"summary":"Download Export","operationId":"download_export_api_v1_teacher_gradebook_exports__export_id__get","parameters":[{"name":"export_id","in":"path","required":true,"schema":{"type":"string","title":"Export Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/gradebook/sharing":{"get":{"tags":["teacher-gradebook"],"summary":"Sharing Register","operationId":"sharing_register_api_v1_teacher_gradebook_sharing_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/gradebook/sync/status":{"get":{"tags":["teacher-gradebook"],"summary":"Sync Status","operationId":"sync_status_api_v1_teacher_gradebook_sync_status_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/gradebook/sync-attempts/{attempt_id}/reconcile":{"post":{"tags":["teacher-gradebook"],"summary":"Reconcile Sync Attempt","description":"Reconcile a school-system sync attempt; reports SYNC_UNAVAILABLE when no connector is attached.","operationId":"reconcile_sync_attempt_api_v1_teacher_gradebook_sync_attempts__attempt_id__reconcile_post","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"string","title":"Attempt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/SyncReconcileIn"},{"type":"null"}],"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/gradebook/evidence-packets":{"post":{"tags":["teacher-gradebook"],"summary":"Create Packet","operationId":"create_packet_api_v1_teacher_gradebook_evidence_packets_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PacketIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["teacher-gradebook"],"summary":"List Packets","operationId":"list_packets_api_v1_teacher_gradebook_evidence_packets_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/gradebook/evidence-packets/{packet_id}":{"get":{"tags":["teacher-gradebook"],"summary":"Get Packet","operationId":"get_packet_api_v1_teacher_gradebook_evidence_packets__packet_id__get","parameters":[{"name":"packet_id","in":"path","required":true,"schema":{"type":"string","title":"Packet Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["teacher-gradebook"],"summary":"Revoke Packet","operationId":"revoke_packet_api_v1_teacher_gradebook_evidence_packets__packet_id__delete","parameters":[{"name":"packet_id","in":"path","required":true,"schema":{"type":"string","title":"Packet Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/gradebook/evidence-packets/{packet_id}/share":{"post":{"tags":["teacher-gradebook"],"summary":"Share Packet","operationId":"share_packet_api_v1_teacher_gradebook_evidence_packets__packet_id__share_post","parameters":[{"name":"packet_id","in":"path","required":true,"schema":{"type":"string","title":"Packet Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShareIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/gradebook/teacher-pro/packets":{"get":{"tags":["teacher-gradebook"],"summary":"Teacher Pro Packets","description":"Read by TruTutor Teacher Pro with the teacher's own sign-in: shared, live summaries only.","operationId":"teacher_pro_packets_api_v1_teacher_gradebook_teacher_pro_packets_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/gradebook/trututor-link":{"post":{"tags":["teacher-gradebook"],"summary":"Link Trututor","operationId":"link_trututor_api_v1_teacher_gradebook_trututor_link_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["teacher-gradebook"],"summary":"Trututor Link Status","operationId":"trututor_link_status_api_v1_teacher_gradebook_trututor_link_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["teacher-gradebook"],"summary":"Unlink Trututor","operationId":"unlink_trututor_api_v1_teacher_gradebook_trututor_link_delete","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/bridges/trututor/gradebook/packets":{"post":{"tags":["teacher-gradebook-bridge"],"summary":"Bridge Packets","description":"TruTutor reads one linked teacher's shared summaries. Signature only: no user token.","operationId":"bridge_packets_api_v1_bridges_trututor_gradebook_packets_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/bridges/trututor/misconceptions/search":{"post":{"tags":["misconception-finder-bridge"],"summary":"Bridge Search","description":"Approved notes for one chapter or topic. Signed by TruTutor; no user token.","operationId":"bridge_search_api_v1_bridges_trututor_misconceptions_search_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Bridge Search Api V1 Bridges Trututor Misconceptions Search Post"}}}}}}},"/api/v1/grade/gradebook-exports":{"post":{"tags":["grade_gradebook_export"],"summary":"Send To Gradebook","description":"Offer the released marks of one batch to the teacher's Gradebook. Nothing becomes a mark yet.","operationId":"send_to_gradebook_api_v1_grade_gradebook_exports_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GradebookExportIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/grade/gradebook-takebacks":{"post":{"tags":["grade_gradebook_export"],"summary":"Take Back From Gradebook","description":"Take back marks this teacher sent from one of their own batches. Repeating it changes nothing.","operationId":"take_back_from_gradebook_api_v1_grade_gradebook_takebacks_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GradebookTakebackIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/classes":{"get":{"tags":["class-roster"],"summary":"List My Classes","operationId":"list_my_classes_api_v1_teacher_classes_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List My Classes Api V1 Teacher Classes Get"}}}}}},"post":{"tags":["class-roster"],"summary":"Create My Class","operationId":"create_my_class_api_v1_teacher_classes_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClassIn"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create My Class Api V1 Teacher Classes Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/classes/{class_id}":{"get":{"tags":["class-roster"],"summary":"Get My Class","operationId":"get_my_class_api_v1_teacher_classes__class_id__get","parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"string","title":"Class Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get My Class Api V1 Teacher Classes  Class Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["class-roster"],"summary":"Patch My Class","operationId":"patch_my_class_api_v1_teacher_classes__class_id__patch","parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"string","title":"Class Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/class_roster_routes__ClassPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Patch My Class Api V1 Teacher Classes  Class Id  Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/classes/{class_id}/members":{"post":{"tags":["class-roster"],"summary":"Add My Member","operationId":"add_my_member_api_v1_teacher_classes__class_id__members_post","parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"string","title":"Class Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/class_roster_routes__MemberIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Add My Member Api V1 Teacher Classes  Class Id  Members Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/classes/{class_id}/roster-csv":{"post":{"tags":["class-roster"],"summary":"Upload Roster Csv","operationId":"upload_roster_csv_api_v1_teacher_classes__class_id__roster_csv_post","parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"string","title":"Class Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Upload Roster Csv Api V1 Teacher Classes  Class Id  Roster Csv Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/classes/{class_id}/members/{roster_id}":{"patch":{"tags":["class-roster"],"summary":"Label My Member","operationId":"label_my_member_api_v1_teacher_classes__class_id__members__roster_id__patch","parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"string","title":"Class Id"}},{"name":"roster_id","in":"path","required":true,"schema":{"type":"string","title":"Roster Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RollNoIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Label My Member Api V1 Teacher Classes  Class Id  Members  Roster Id  Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["class-roster"],"summary":"Remove My Member","operationId":"remove_my_member_api_v1_teacher_classes__class_id__members__roster_id__delete","parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"string","title":"Class Id"}},{"name":"roster_id","in":"path","required":true,"schema":{"type":"string","title":"Roster Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Remove My Member Api V1 Teacher Classes  Class Id  Members  Roster Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/classes/{class_id}/invites":{"post":{"tags":["class-roster"],"summary":"Make Invite","operationId":"make_invite_api_v1_teacher_classes__class_id__invites_post","parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"string","title":"Class Id"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/InviteIn"},{"type":"null"}],"title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Make Invite Api V1 Teacher Classes  Class Id  Invites Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/classes/{class_id}/invites/{invite_id}":{"delete":{"tags":["class-roster"],"summary":"Revoke My Invite","operationId":"revoke_my_invite_api_v1_teacher_classes__class_id__invites__invite_id__delete","parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"string","title":"Class Id"}},{"name":"invite_id","in":"path","required":true,"schema":{"type":"string","title":"Invite Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Revoke My Invite Api V1 Teacher Classes  Class Id  Invites  Invite Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/student/classes":{"get":{"tags":["class-roster"],"summary":"My Classes","operationId":"my_classes_api_v1_student_classes_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response My Classes Api V1 Student Classes Get"}}}}}}},"/api/v1/student/classes/join":{"post":{"tags":["class-roster"],"summary":"Join Class","operationId":"join_class_api_v1_student_classes_join_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JoinIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Join Class Api V1 Student Classes Join Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/student/classes/{roster_id}/leave":{"post":{"tags":["class-roster"],"summary":"Leave My Class","operationId":"leave_my_class_api_v1_student_classes__roster_id__leave_post","parameters":[{"name":"roster_id","in":"path","required":true,"schema":{"type":"string","title":"Roster Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Leave My Class Api V1 Student Classes  Roster Id  Leave Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/class-roster":{"get":{"tags":["class-roster"],"summary":"Children Seats","operationId":"children_seats_api_v1_parent_class_roster_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Children Seats Api V1 Parent Class Roster Get"}}}}}}},"/api/v1/parent/class-roster/children/{child_id}/allow":{"post":{"tags":["class-roster"],"summary":"Allow Classes","operationId":"allow_classes_api_v1_parent_class_roster_children__child_id__allow_post","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Allow Classes Api V1 Parent Class Roster Children  Child Id  Allow Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/class-roster/children/{child_id}/withdraw":{"post":{"tags":["class-roster"],"summary":"Withdraw Classes","operationId":"withdraw_classes_api_v1_parent_class_roster_children__child_id__withdraw_post","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Withdraw Classes Api V1 Parent Class Roster Children  Child Id  Withdraw Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/student/progress-sharing":{"get":{"tags":["teacher-share-consent"],"summary":"My Sharing","operationId":"my_sharing_api_v1_student_progress_sharing_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response My Sharing Api V1 Student Progress Sharing Get"}}}}}}},"/api/v1/student/progress-sharing/classes/{class_id}/share":{"post":{"tags":["teacher-share-consent"],"summary":"Share With My Teacher","operationId":"share_with_my_teacher_api_v1_student_progress_sharing_classes__class_id__share_post","parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"string","title":"Class Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Share With My Teacher Api V1 Student Progress Sharing Classes  Class Id  Share Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/student/progress-sharing/classes/{class_id}/withdraw":{"post":{"tags":["teacher-share-consent"],"summary":"Stop Sharing With My Teacher","operationId":"stop_sharing_with_my_teacher_api_v1_student_progress_sharing_classes__class_id__withdraw_post","parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"string","title":"Class Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Stop Sharing With My Teacher Api V1 Student Progress Sharing Classes  Class Id  Withdraw Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/progress-sharing":{"get":{"tags":["teacher-share-consent"],"summary":"Children Sharing","operationId":"children_sharing_api_v1_parent_progress_sharing_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Children Sharing Api V1 Parent Progress Sharing Get"}}}}}}},"/api/v1/parent/progress-sharing/children/{child_id}/classes/{class_id}/share":{"post":{"tags":["teacher-share-consent"],"summary":"Share For My Child","operationId":"share_for_my_child_api_v1_parent_progress_sharing_children__child_id__classes__class_id__share_post","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"class_id","in":"path","required":true,"schema":{"type":"string","title":"Class Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Share For My Child Api V1 Parent Progress Sharing Children  Child Id  Classes  Class Id  Share Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/progress-sharing/children/{child_id}/classes/{class_id}/withdraw":{"post":{"tags":["teacher-share-consent"],"summary":"Stop Sharing For My Child","operationId":"stop_sharing_for_my_child_api_v1_parent_progress_sharing_children__child_id__classes__class_id__withdraw_post","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"class_id","in":"path","required":true,"schema":{"type":"string","title":"Class Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Stop Sharing For My Child Api V1 Parent Progress Sharing Children  Child Id  Classes  Class Id  Withdraw Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/teacher/classes/{class_id}/progress-sharing":{"get":{"tags":["teacher-share-consent"],"summary":"My Class Sharing","operationId":"my_class_sharing_api_v1_teacher_classes__class_id__progress_sharing_get","parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"string","title":"Class Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response My Class Sharing Api V1 Teacher Classes  Class Id  Progress Sharing Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/bridges/trututor/hybrid-plan/deliveries":{"post":{"tags":["hybrid-plan-receiver"],"summary":"Receive Delivery","description":"TruTutor delivers (or revokes) the AspireACE component of a Hybrid Plan. Signature only.","operationId":"receive_delivery_api_v1_bridges_trututor_hybrid_plan_deliveries_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/me/hybrid-plan":{"get":{"tags":["hybrid-plan-receiver"],"summary":"My Hybrid Plan","operationId":"my_hybrid_plan_api_v1_me_hybrid_plan_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/peer-mentor/scope":{"get":{"tags":["peer-mentor"],"summary":"Scope","operationId":"scope_api_v1_peer_mentor_scope_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Scope Api V1 Peer Mentor Scope Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/peer-mentor/requests":{"post":{"tags":["peer-mentor"],"summary":"Create Request","operationId":"create_request_api_v1_peer_mentor_requests_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RequestIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Create Request Api V1 Peer Mentor Requests Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["peer-mentor"],"summary":"List Requests","operationId":"list_requests_api_v1_peer_mentor_requests_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Requests Api V1 Peer Mentor Requests Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/peer-mentor/requests/{request_id}":{"get":{"tags":["peer-mentor"],"summary":"Get One","operationId":"get_one_api_v1_peer_mentor_requests__request_id__get","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get One Api V1 Peer Mentor Requests  Request Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/peer-mentor/requests/{request_id}/cancel":{"post":{"tags":["peer-mentor"],"summary":"Cancel","operationId":"cancel_api_v1_peer_mentor_requests__request_id__cancel_post","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Cancel Api V1 Peer Mentor Requests  Request Id  Cancel Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/peer-mentor/requests/{request_id}/reports":{"post":{"tags":["peer-mentor"],"summary":"Student Report","operationId":"student_report_api_v1_peer_mentor_requests__request_id__reports_post","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Student Report Api V1 Peer Mentor Requests  Request Id  Reports Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/peer-mentor/requests":{"get":{"tags":["peer-mentor-parent"],"summary":"Parent List","operationId":"parent_list_api_v1_parent_peer_mentor_requests_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Parent List Api V1 Parent Peer Mentor Requests Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/peer-mentor/requests/{request_id}/decision":{"post":{"tags":["peer-mentor-parent"],"summary":"Parent Decision","operationId":"parent_decision_api_v1_parent_peer_mentor_requests__request_id__decision_post","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecisionIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Parent Decision Api V1 Parent Peer Mentor Requests  Request Id  Decision Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/peer-mentor/requests/{request_id}/revoke":{"post":{"tags":["peer-mentor-parent"],"summary":"Parent Revoke","operationId":"parent_revoke_api_v1_parent_peer_mentor_requests__request_id__revoke_post","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Parent Revoke Api V1 Parent Peer Mentor Requests  Request Id  Revoke Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/peer-mentor/requests/{request_id}/reports":{"post":{"tags":["peer-mentor-parent"],"summary":"Parent Report","operationId":"parent_report_api_v1_parent_peer_mentor_requests__request_id__reports_post","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Parent Report Api V1 Parent Peer Mentor Requests  Request Id  Reports Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/trututor-bridge/children":{"get":{"tags":["trututor-handoff-parent"],"summary":"Parent Children","operationId":"parent_children_api_v1_parent_trututor_bridge_children_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Parent Children Api V1 Parent Trututor Bridge Children Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/trututor-bridge/children/{child_id}/retests":{"get":{"tags":["trututor-handoff-parent"],"summary":"Parent Child Retests","description":"The child's check-ins after TruTutor classes, as the child sees them: results, never answers or a teacher.","operationId":"parent_child_retests_api_v1_parent_trututor_bridge_children__child_id__retests_get","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Parent Child Retests Api V1 Parent Trututor Bridge Children  Child Id  Retests Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/trututor-bridge/children/{child_id}/need-packets":{"get":{"tags":["trututor-handoff-parent"],"summary":"Parent Child Need Packets","description":"List only accepted packet references for a currently linked, verified minor.\n\nThis is an entry-point list, not a read of TruTutor's status or outcome data.\nThe destination rechecks the current parent link and the child's separate\nstatus-sharing grant before it can read any source update.","operationId":"parent_child_need_packets_api_v1_parent_trututor_bridge_children__child_id__need_packets_get","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Parent Child Need Packets Api V1 Parent Trututor Bridge Children  Child Id  Need Packets Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/trututor-bridge/children/{child_id}/dob":{"put":{"tags":["trututor-handoff-parent"],"summary":"Parent Record Child Dob","description":"A linked parent records a date of birth that nobody has recorded for the child yet (JOB-055).\n\nTruTutor counts someone as an adult only from a date of birth that is on record. The child's own picker saves adult\ndates only, so for a child under 18 the parent enters it here. Never overwrites a date already on record, and the\nsame range rules as the sign-up step apply. A child under 18 then connects through the parent.","operationId":"parent_record_child_dob_api_v1_parent_trututor_bridge_children__child_id__dob_put","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChildDobBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Parent Record Child Dob Api V1 Parent Trututor Bridge Children  Child Id  Dob Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/trututor-bridge/handoff/redeem":{"post":{"tags":["trututor-handoff-parent"],"summary":"Parent Redeem","operationId":"parent_redeem_api_v1_parent_trututor_bridge_handoff_redeem_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ParentRedeemBody"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Parent Redeem Api V1 Parent Trututor Bridge Handoff Redeem Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/trututor-bridge/children/{child_id}":{"delete":{"tags":["trututor-handoff-parent"],"summary":"Parent Stop","operationId":"parent_stop_api_v1_parent_trututor_bridge_children__child_id__delete","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Parent Stop Api V1 Parent Trututor Bridge Children  Child Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/trututor-bridge/children/{child_id}/need-status-grants":{"post":{"tags":["trututor-handoff-parent"],"summary":"Parent Grant Need Status","operationId":"parent_grant_need_status_api_v1_parent_trututor_bridge_children__child_id__need_status_grants_post","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NeedStatusGrantRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Parent Grant Need Status Api V1 Parent Trututor Bridge Children  Child Id  Need Status Grants Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/trututor-bridge/children/{child_id}/need-status-grants/{bridge_ref}":{"get":{"tags":["trututor-handoff-parent"],"summary":"Parent Read Need Status Grant","operationId":"parent_read_need_status_grant_api_v1_parent_trututor_bridge_children__child_id__need_status_grants__bridge_ref__get","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"bridge_ref","in":"path","required":true,"schema":{"type":"string","title":"Bridge Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Parent Read Need Status Grant Api V1 Parent Trututor Bridge Children  Child Id  Need Status Grants  Bridge Ref  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["trututor-handoff-parent"],"summary":"Parent Revoke Need Status","operationId":"parent_revoke_need_status_api_v1_parent_trututor_bridge_children__child_id__need_status_grants__bridge_ref__delete","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"bridge_ref","in":"path","required":true,"schema":{"type":"string","title":"Bridge Ref"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Parent Revoke Need Status Api V1 Parent Trututor Bridge Children  Child Id  Need Status Grants  Bridge Ref  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/student/{student_id}/mcq-result/{question_id}":{"get":{"summary":"Mcq Instant Result","description":"SD10: Post-MCQ result panel.\nENG-002 (RAG) supplies explanation + concept trace.\nReturns accuracy delta from student's historical accuracy on this topic.","operationId":"mcq_instant_result_api_v1_student__student_id__mcq_result__question_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"question_id","in":"path","required":true,"schema":{"type":"string","title":"Question Id"}},{"name":"student_answer","in":"query","required":false,"schema":{"type":"string","default":"","title":"Student Answer"}},{"name":"session_id","in":"query","required":false,"schema":{"type":"string","default":"","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/backbone/sd10-sd21":{"get":{"summary":"Backbone Sd10 Sd21","description":"Health check showing SD10 + SD21 registration.","operationId":"backbone_sd10_sd21_api_v1_backbone_sd10_sd21_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/student/{student_id}/dpp/session/{session_id}":{"get":{"summary":"Get Dpp Session","description":"SD01: Fetch live DPP session with questions and current progress.","operationId":"get_dpp_session_api_v1_student__student_id__dpp_session__session_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/student/{student_id}/drill/next":{"get":{"summary":"Drill Next Question","description":"SD02: Adaptive drill — serve weakest-topic question or chapter question.","operationId":"drill_next_question_api_v1_student__student_id__drill_next_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"subject","in":"query","required":false,"schema":{"type":"string","default":"","title":"Subject"}},{"name":"chapter","in":"query","required":false,"schema":{"type":"string","default":"","title":"Chapter"}},{"name":"mode","in":"query","required":false,"schema":{"type":"string","default":"weak","title":"Mode"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/student/{student_id}/session/{session_id}/review":{"get":{"summary":"Post Session Review","description":"SD11: Full session review — question-by-question breakdown with verdicts.","operationId":"post_session_review_api_v1_student__student_id__session__session_id__review_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/student/{student_id}/chapter/{chapter}/heatmap":{"get":{"summary":"Chapter Heatmap","description":"SD12: Chapter drill-down heatmap — topic mastery grid from student_mastery.","operationId":"chapter_heatmap_api_v1_student__student_id__chapter__chapter__heatmap_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"chapter","in":"path","required":true,"schema":{"type":"string","title":"Chapter"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/student/{student_id}/notifications":{"get":{"summary":"Get Notifications","description":"SD13: Student notifications from DB. Creates seed notifications if table empty.","operationId":"get_notifications_api_v1_student__student_id__notifications_get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}},{"name":"unread_only","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Unread Only"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/student/{student_id}/notifications/{notification_id}/read":{"post":{"summary":"Mark Notification Read","description":"SD13: Mark a notification as read.","operationId":"mark_notification_read_api_v1_student__student_id__notifications__notification_id__read_post","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"notification_id","in":"path","required":true,"schema":{"type":"string","title":"Notification Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/content/ncert/{subject}":{"get":{"summary":"Ncert Notes","description":"SD24: NCERT chapter list with topic structure. Augmented by questions count from DB.\ns40 P0-03: requires authed identity (any role); content is non-PII but\npaywall surface — keep behind login.","operationId":"ncert_notes_api_v1_content_ncert__subject__get","parameters":[{"name":"subject","in":"path","required":true,"schema":{"type":"string","title":"Subject"}},{"name":"chapter","in":"query","required":false,"schema":{"type":"string","default":"","title":"Chapter"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/content/formulas/{subject}":{"get":{"summary":"Formula Book","description":"SD25: Formula book — static vault augmented with question counts from DB.\ns40 P0-03: requires authed identity (any role).","operationId":"formula_book_api_v1_content_formulas__subject__get","parameters":[{"name":"subject","in":"path","required":true,"schema":{"type":"string","title":"Subject"}},{"name":"topic","in":"query","required":false,"schema":{"type":"string","default":"","title":"Topic"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/{parent_id}/child/{child_id}/overview":{"get":{"summary":"Parent Overview","description":"P01: Parent overview — student snapshot, daily insight, weekly stats.\ns40 P0-03: parent-child auth wrap.","operationId":"parent_overview_api_v1_parent__parent_id__child__child_id__overview_get","parameters":[{"name":"parent_id","in":"path","required":true,"schema":{"type":"string","title":"Parent Id"}},{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/{parent_id}/child/{child_id}/progress":{"get":{"summary":"Parent Progress","description":"P02: Weekly progress — subject mastery trend over last N weeks.\ns40 P0-03: parent-child auth wrap.","operationId":"parent_progress_api_v1_parent__parent_id__child__child_id__progress_get","parameters":[{"name":"parent_id","in":"path","required":true,"schema":{"type":"string","title":"Parent Id"}},{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"weeks","in":"query","required":false,"schema":{"type":"integer","default":4,"title":"Weeks"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/{parent_id}/child/{child_id}/alerts":{"get":{"summary":"Parent Alerts","description":"P03: Parent alerts - activity gaps only.\n\nWellness is hidden from parents (founder, D03, 30 Nov 2026; AGENTS.md 2.15):\nthis route used to read attention readings and motivation / burnout profiles and\nreturn attention_score, motivation_level, burnout_risk and burnout / wellness\nalerts. It now reads study activity only. The one exception, a real safety\nconcern, keeps its own path (`ask_safety_escalation`) and is not served here.\ns40 P0-03: parent-child auth wrap.","operationId":"parent_alerts_api_v1_parent__parent_id__child__child_id__alerts_get","parameters":[{"name":"parent_id","in":"path","required":true,"schema":{"type":"string","title":"Parent Id"}},{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/concept-graph/{subject}":{"get":{"summary":"Concept Graph","description":"SD28: Concept map — nodes from concept_nodes DB, mastery from student_mastery.\ns40 P0-03: requires authed identity. NOTE: student_id is a QUERY param\nhere (not path) so router-level enforce_path_student_ownership is a\nno-op. If we need to enforce student_id-matches-JWT later, do it inline\nonce a real callsite emerges; for now the authed-only check is enough\nbecause the worst-case leak (own student's mastery overlay) is bounded\nby the student_id query — non-callers can't fish for arbitrary\nstudents' data without supplying the id explicitly.","operationId":"concept_graph_api_v1_concept_graph__subject__get","parameters":[{"name":"subject","in":"path","required":true,"schema":{"type":"string","title":"Subject"}},{"name":"student_id","in":"query","required":false,"schema":{"type":"string","default":"","title":"Student Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/health/consumers":{"get":{"summary":"Consumer Health","description":"Pending-entry depth + age for every driven consumer stream.\n\nAdded 2026-08-21 after `events:plan_gen_queue` was found holding 8\nentries stuck in the pending list, the oldest 86 days old, with no\nsurface anywhere that would have shown it. `oldest_pending_age_sec`\nis the number that matters; `status` is `critical` once any stream\npasses BFF_CONSUMER_PENDING_AGE_WARN_SEC (default 1h).\n\nDeliberately NOT folded into `/health` — that endpoint is a liveness\nprobe hit constantly and this costs 2 Redis round-trips per stream.","operationId":"consumer_health_health_consumers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ready":{"get":{"summary":"Readiness","operationId":"readiness_ready_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/livez":{"get":{"summary":"Livez","description":"Liveness probe (k8s). Returns 200 if the process is up.","operationId":"livez_livez_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/readyz":{"get":{"summary":"Readyz","description":"Readiness probe (k8s). Returns 200 when DB + Redis both reachable.","operationId":"readyz_readyz_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/startupz":{"get":{"summary":"Startupz","description":"Startup probe (k8s). Returns 200 once app_main.py finished lifespan init.","operationId":"startupz_startupz_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/admin/fleet/health":{"get":{"summary":"Fleet Health","description":"Fleet health — in-process pre-beta monolith dispatcher view.\n\nmode=quick  Registry + cached-instance summary. Instant.\nmode=boot   Full load + execute probe on every engine. Slow first call.\n\nUsed to verify a Railway deploy actually shipped the 107-engine fleet.\nReplaces the legacy HTTP-ping version that assumed Phase 2 microservice\nURLs in env (ENG_*_URL) — never present in pre-beta.","operationId":"fleet_health_api_v1_admin_fleet_health_get","parameters":[{"name":"mode","in":"query","required":false,"schema":{"type":"string","default":"quick","title":"Mode"}},{"name":"per_engine_timeout_s","in":"query","required":false,"schema":{"type":"number","default":10.0,"title":"Per Engine Timeout S"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/fleet/integration-report":{"get":{"summary":"Fleet Integration Report","description":"Engine integration closure report.\n\nThis starts with explicit closure batches and is\nintentionally sourced from repo-owned metadata instead of chat history.","operationId":"fleet_integration_report_api_v1_admin_fleet_integration_report_get","parameters":[{"name":"batch","in":"query","required":false,"schema":{"type":"string","default":"first5","title":"Batch"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/engines/eng-036/dataset-types":{"get":{"summary":"Admin Eng036 Dataset Types","description":"s51 ENG-036 live admin probe — Synthetic Data Engine.\n\nReturns the catalogue of dataset types the synth-data engine can\nemit (e.g. SMOTE upsampling, CGAN-trained synthetic mock papers).\nRead-only, no state mutation. Makes ENG-036 active_bff_admin_route\ninstead of dormant — admin / ops can call this to verify the\nsynth engine is wired before kicking off a generate job.","operationId":"admin_eng036_dataset_types_api_v1_admin_engines_eng_036_dataset_types_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/admin/engines/eng-036/generate":{"post":{"summary":"Admin Eng036 Generate","description":"s51 ENG-036 closure — actually trigger synth generation. Pairs\nwith /dataset-types above. Sync (small N) — for large jobs the\ncaller should switch to the pipeline.","operationId":"admin_eng036_generate_api_v1_admin_engines_eng_036_generate_post","parameters":[{"name":"dataset_type","in":"query","required":true,"schema":{"type":"string","description":"Match one of dataset_types","title":"Dataset Type"},"description":"Match one of dataset_types"},{"name":"n_samples","in":"query","required":false,"schema":{"type":"integer","maximum":10000,"minimum":10,"default":100,"title":"N Samples"}},{"name":"seed","in":"query","required":false,"schema":{"type":"integer","description":"Reproducibility seed","default":42,"title":"Seed"},"description":"Reproducibility seed"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/engines/eng-035/bulk-schedule":{"post":{"summary":"Admin Eng035 Bulk Schedule","description":"ENG-035 operator bulk scheduler.\n\nThis is the ops hand-off for the nightly digest cron: the route calls the\nengine's `bulk_schedule` mode, returns queue-ready rows with canonical\n`scheduled_at`, and keeps the engine cap visible to operators.","operationId":"admin_eng035_bulk_schedule_api_v1_admin_engines_eng_035_bulk_schedule_post","requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/engines/eng-022/queue-status":{"get":{"summary":"Admin Eng022 Queue Status","description":"s51 ENG-022 closure — task router queue status. Surfaces the\norchestrator engine's view of in-flight tasks + circuit breaker\nstate to ops, separate from the fire-and-forget probe that runs\non every home composite call.","operationId":"admin_eng022_queue_status_api_v1_admin_engines_eng_022_queue_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/admin/engines/eng-022/router-dashboard":{"get":{"summary":"Admin Eng022 Router Dashboard","description":"ENG-022 ops dashboard: queue, circuits, workflows, task map, recent activity.","operationId":"admin_eng022_router_dashboard_api_v1_admin_engines_eng_022_router_dashboard_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/engines/eng-039/policy-decisions":{"get":{"summary":"Admin Eng039 Policy Decisions","description":"ENG-039 constitutional policy decision inspector.\n\nLists recent decisions with allowed/blocked interventions. This is the\nadmin read path for the policy audit table; it does not mutate decisions.","operationId":"admin_eng039_policy_decisions_api_v1_admin_engines_eng_039_policy_decisions_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":25,"title":"Limit"}},{"name":"gate_status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gate Status"}},{"name":"student_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/engines/eng-039/policy-decisions/{decision_id}":{"get":{"summary":"Admin Eng039 Policy Decision Detail","description":"ENG-039 decision detail with observed outcomes and overrides.","operationId":"admin_eng039_policy_decision_detail_api_v1_admin_engines_eng_039_policy_decisions__decision_id__get","parameters":[{"name":"decision_id","in":"path","required":true,"schema":{"type":"string","title":"Decision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/engines/eng-012/effectiveness":{"get":{"summary":"Admin Eng012 Effectiveness","description":"s51 ENG-012 closure — MAB effectiveness report. Shows reward\nconvergence + per-arm Beta(alpha, beta) state so ops can verify\nThompson Sampling is actually learning (alpha + beta should grow\nas outcomes accumulate, ratio approaches arm true-mean).","operationId":"admin_eng012_effectiveness_api_v1_admin_engines_eng_012_effectiveness_get","parameters":[{"name":"student_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional — restrict to one student","title":"Student Id"},"description":"Optional — restrict to one student"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/engines/eng-006/full-predict":{"post":{"summary":"Admin Eng006 Full Predict","description":"ENG-006 AcesPredict full prediction diagnostic.\n\nThis is the DB-backed ENG-006 path (`full_predict`), unlike the read-only\nrank enrichments used by student dashboards.","operationId":"admin_eng006_full_predict_api_v1_admin_engines_eng_006_full_predict_post","requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/engines/eng-026/predict-outcome":{"post":{"summary":"Admin Eng026 Predict Outcome","description":"ENG-026 DB-backed outcome prediction diagnostic.","operationId":"admin_eng026_predict_outcome_api_v1_admin_engines_eng_026_predict_outcome_post","requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/engines/eng-038/validate-consent":{"post":{"summary":"Admin Eng038 Validate Consent","description":"ENG-038 compliance gate diagnostic.","operationId":"admin_eng038_validate_consent_api_v1_admin_engines_eng_038_validate_consent_post","requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/engines/eng-030/participants":{"get":{"summary":"Admin Eng030 Participants","description":"s51 ENG-030 closure — federated learning participant view.","operationId":"admin_eng030_participants_api_v1_admin_engines_eng_030_participants_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/admin/engines/eng-030/privacy-report":{"get":{"summary":"Admin Eng030 Privacy Report","description":"s51 ENG-030 closure — federated learning DP / privacy budget.","operationId":"admin_eng030_privacy_report_api_v1_admin_engines_eng_030_privacy_report_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/admin/engines/eng-032/segments":{"get":{"summary":"Admin Eng032 Segments","description":"s51 ENG-032 closure — segment distribution + profiles view.","operationId":"admin_eng032_segments_api_v1_admin_engines_eng_032_segments_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/admin/agent/evaluate-student/{student_id}":{"get":{"summary":"Admin Agent Evaluate Student","description":"ENG-060 V2 evaluate_student diagnostic.\n\nRead-only. Combines the AGENT-V01 friction inputs (DPP completion,\ntheta slope, engagement drop, urgency) and returns the friction score\nplus the activated/not-activated decision. Used by the engine closure\naudit (batch ENG-060..064).","operationId":"admin_agent_evaluate_student_api_v1_admin_agent_evaluate_student__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"days_to_exam","in":"query","required":false,"schema":{"type":"integer","default":90,"title":"Days To Exam"}},{"name":"dpp_completion_rate","in":"query","required":false,"schema":{"type":"number","default":0.7,"title":"Dpp Completion Rate"}},{"name":"improvement_per_week","in":"query","required":false,"schema":{"type":"number","default":0.0,"title":"Improvement Per Week"}},{"name":"engagement_drop","in":"query","required":false,"schema":{"type":"number","default":0.0,"title":"Engagement Drop"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/agent/plan-intervention/{student_id}":{"post":{"summary":"Admin Agent Plan Intervention","description":"ENG-060 DB-backed intervention planner diagnostic.","operationId":"admin_agent_plan_intervention_api_v1_admin_agent_plan_intervention__student_id__post","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/agent/autonomy-status":{"get":{"summary":"Admin Agent Autonomy Status","description":"ENG-060 autonomy investigation endpoint.","operationId":"admin_agent_autonomy_status_api_v1_admin_agent_autonomy_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/admin/lineage/transcript/{student_id}":{"get":{"summary":"Admin Lineage Transcript","description":"ENG-061 V1 get_transcript diagnostic.\n\nRead-only. Returns the full hash-chained credential transcript with\nchain integrity verdict. Returns total_credentials=0 for students\nwith no issued credentials yet.","operationId":"admin_lineage_transcript_api_v1_admin_lineage_transcript__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/lineage/issue-credential/{student_id}":{"post":{"summary":"Admin Lineage Issue Credential","description":"ENG-061 diagnostic write path for durable credential-chain proof.","operationId":"admin_lineage_issue_credential_api_v1_admin_lineage_issue_credential__student_id__post","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/tier-gate/check":{"get":{"summary":"Admin Tier Gate Check","description":"Compare the BFF hot-path tier gate with ENG-CAP-001's canonical verdict.","operationId":"admin_tier_gate_check_api_v1_admin_tier_gate_check_get","parameters":[{"name":"student_id","in":"query","required":false,"schema":{"type":"string","default":"admin_probe","title":"Student Id"}},{"name":"tier","in":"query","required":false,"schema":{"type":"string","default":"FREE","title":"Tier"}},{"name":"feature","in":"query","required":false,"schema":{"type":"string","default":"jarvis_doubts","title":"Feature"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/tier-gate/compare":{"get":{"summary":"Admin Tier Gate Compare","description":"ENG-CAP-001 upgrade-conversion diagnostic: what does upgrading unlock?","operationId":"admin_tier_gate_compare_api_v1_admin_tier_gate_compare_get","parameters":[{"name":"from_tier","in":"query","required":false,"schema":{"type":"string","default":"ACE","title":"From Tier"}},{"name":"to_tier","in":"query","required":false,"schema":{"type":"string","default":"GROW","title":"To Tier"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/risk/churn/{student_id}":{"get":{"summary":"Admin Risk Churn","description":"ENG-016 folded diagnostic - ENG-009 predict_churn risk score.","operationId":"admin_risk_churn_api_v1_admin_risk_churn__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"days_since_last_session","in":"query","required":false,"schema":{"type":"number","default":4.0,"title":"Days Since Last Session"}},{"name":"dpp_completion_7d_avg","in":"query","required":false,"schema":{"type":"number","default":0.55,"title":"Dpp Completion 7D Avg"}},{"name":"accuracy_decline_7d","in":"query","required":false,"schema":{"type":"number","default":0.08,"title":"Accuracy Decline 7D"}},{"name":"notification_open_rate_7d","in":"query","required":false,"schema":{"type":"number","default":0.42,"title":"Notification Open Rate 7D"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/provenance/compliance-report":{"get":{"summary":"Admin Provenance Compliance Report","description":"ENG-018 compliance_report diagnostic - read-only DPDP summary.","operationId":"admin_provenance_compliance_report_api_v1_admin_provenance_compliance_report_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/admin/translate/lookup/{term}":{"get":{"summary":"Admin Translate Lookup","description":"ENG-055 terminology_lookup diagnostic - retired-for-launch NCERT glossary.","operationId":"admin_translate_lookup_api_v1_admin_translate_lookup__term__get","parameters":[{"name":"term","in":"path","required":true,"schema":{"type":"string","title":"Term"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/paraphrase/stats":{"get":{"summary":"Admin Paraphrase Stats","description":"ENG-056 engine_stats diagnostic - paraphraser counter snapshot.","operationId":"admin_paraphrase_stats_api_v1_admin_paraphrase_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/admin/examples/contexts/{topic}":{"get":{"summary":"Admin Examples Contexts","description":"ENG-057 context_list diagnostic - India context bank for a topic.","operationId":"admin_examples_contexts_api_v1_admin_examples_contexts__topic__get","parameters":[{"name":"topic","in":"path","required":true,"schema":{"type":"string","title":"Topic"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/visual/stats":{"get":{"summary":"Admin Visual Stats","description":"ENG-058 engine_stats diagnostic - visual explainer counter snapshot.","operationId":"admin_visual_stats_api_v1_admin_visual_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/admin/analogy/{concept}":{"get":{"summary":"Admin Analogy","description":"ENG-059 generate_analogy + ENG-001 JARVIS novel-analogy fallback.\n\n1. Call ENG-059 with the concept. If the analogy bank has an entry,\n   return it (deterministic, no LLM).\n2. If the bank misses (analogy_found=false), call ENG-001 JARVIS\n   'ask' mode with a structured prompt to generate a novel\n   India-context analogy. This is the path that the V1 stub's\n   fallback_suggestion text referenced as future work.","operationId":"admin_analogy_api_v1_admin_analogy__concept__get","parameters":[{"name":"concept","in":"path","required":true,"schema":{"type":"string","title":"Concept"}},{"name":"theta","in":"query","required":false,"schema":{"type":"number","default":0.5,"title":"Theta"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/translate":{"get":{"summary":"Admin Translate","description":"ENG-055 translation is retired for launch per D-38.\n\nThe old fallback-to-JARVIS translation path is intentionally disabled\nwhile Hindi and regional-language support are deferred.","operationId":"admin_translate_api_v1_admin_translate_get","parameters":[{"name":"text","in":"query","required":true,"schema":{"type":"string","title":"Text"}},{"name":"subject","in":"query","required":true,"schema":{"type":"string","title":"Subject"}},{"name":"lang_pair","in":"query","required":false,"schema":{"type":"string","default":"en→hi","title":"Lang Pair"}},{"name":"fallback_to_llm","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Fallback To Llm"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/paraphrase":{"get":{"summary":"Admin Paraphrase","description":"ENG-056 paraphrase mode. Engine handles LLM-first then template fallback.","operationId":"admin_paraphrase_api_v1_admin_paraphrase_get","parameters":[{"name":"text","in":"query","required":true,"schema":{"type":"string","title":"Text"}},{"name":"subject","in":"query","required":true,"schema":{"type":"string","title":"Subject"}},{"name":"complexity_level","in":"query","required":false,"schema":{"type":"string","default":"intermediate","title":"Complexity Level"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/examples/generate":{"get":{"summary":"Admin Examples Generate","description":"ENG-057 generate mode with BFF-level Redis cache (learning across calls).\n\nCache key: bff:eng057:examples:{topic}:{subject}:{theta_bucket}:{n}.\nTTL: 7 days. On hit, returns cached examples with source=cache.\nOn miss, calls the engine (which itself tries LLM, falls back to\nbuilt-in templates) and caches the result.","operationId":"admin_examples_generate_api_v1_admin_examples_generate_get","parameters":[{"name":"topic","in":"query","required":true,"schema":{"type":"string","title":"Topic"}},{"name":"subject","in":"query","required":true,"schema":{"type":"string","title":"Subject"}},{"name":"exam_type","in":"query","required":true,"schema":{"type":"string","title":"Exam Type"}},{"name":"theta","in":"query","required":false,"schema":{"type":"number","default":0.5,"title":"Theta"}},{"name":"n_examples","in":"query","required":false,"schema":{"type":"integer","default":2,"title":"N Examples"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/visual/generate":{"get":{"summary":"Admin Visual Generate","description":"ENG-058 generate_visual mode. Engine handles LLM-first then template fallback.","operationId":"admin_visual_generate_api_v1_admin_visual_generate_get","parameters":[{"name":"topic","in":"query","required":true,"schema":{"type":"string","title":"Topic"}},{"name":"subject","in":"query","required":true,"schema":{"type":"string","title":"Subject"}},{"name":"visual_type","in":"query","required":false,"schema":{"type":"string","default":"concept_map","title":"Visual Type"}},{"name":"text","in":"query","required":false,"schema":{"type":"string","default":"","title":"Text"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/context/session/{session_id}":{"get":{"summary":"Admin Context Session","description":"ENG-050 get_context - read cached JARVIS session context.","operationId":"admin_context_session_api_v1_admin_context_session__session_id__get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/context/build":{"post":{"summary":"Admin Context Build","description":"ENG-050 build_context - build session context from real turns.\n\nBody shape:\n  {\n    \"session_id\": \"...\",            # required\n    \"student_id\": \"...\",            # required\n    \"turns\": [                       # required, non-empty\n      {\"role\": \"student\", \"text\": \"...\", \"topic\": \"...\", ...},\n      {\"role\": \"assistant\", \"text\": \"...\", ...}\n    ],\n    \"student_meta\": { ... }          # optional, free-form\n  }\n\nCalls the real engine with real turns. No mock fallback.","operationId":"admin_context_build_api_v1_admin_context_build_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/quality/score":{"get":{"summary":"Admin Quality Score","description":"D-34: ENG-051 publication gate; ENG-008/010 keep separate quality scopes.","operationId":"admin_quality_score_api_v1_admin_quality_score_get","parameters":[{"name":"content","in":"query","required":true,"schema":{"type":"string","title":"Content"}},{"name":"topic","in":"query","required":true,"schema":{"type":"string","title":"Topic"}},{"name":"subject","in":"query","required":true,"schema":{"type":"string","title":"Subject"}},{"name":"content_type","in":"query","required":false,"schema":{"type":"string","default":"note","title":"Content Type"}},{"name":"use_llm","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Use Llm"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/quality/audit":{"get":{"summary":"Admin Quality Audit","description":"ENG-051 gate-decision audit read-back (mig 218 eng051_quality_score_audit_log).\n\nProves the publication gate: per-decision dimension scores, composite, gate,\nand — critically — which decisions were heuristic-only (NULL llm_accuracy_used,\na weaker decision that should route to SME review). `heuristic_only=true`\nfilters to exactly those follow-up rows.","operationId":"admin_quality_audit_api_v1_admin_quality_audit_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"heuristic_only","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Heuristic Only"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/grader/agreement":{"get":{"summary":"Admin Grader Agreement","description":"Read the human-vs-AI agreement signal written by HITL resolution.\n\nAgreement used to be persisted on ``hitl_jobs`` but had no read surface,\nso the platform could not answer how often the grader was right. This\noperator projection is deliberately aggregate-first and includes a small\nrecent sample for investigation without exposing answer content.","operationId":"admin_grader_agreement_api_v1_admin_grader_agreement_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":200,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/rubric/generate":{"get":{"summary":"Admin Rubric Generate","description":"ENG-003 draft_rubric_llm - LLM-first rubric generation, template fallback.\n\nquestion_text + question_type + exam_type + subject are required.","operationId":"admin_rubric_generate_api_v1_admin_rubric_generate_get","parameters":[{"name":"question_text","in":"query","required":true,"schema":{"type":"string","title":"Question Text"}},{"name":"question_type","in":"query","required":true,"schema":{"type":"string","title":"Question Type"}},{"name":"exam_type","in":"query","required":true,"schema":{"type":"string","title":"Exam Type"}},{"name":"subject","in":"query","required":true,"schema":{"type":"string","title":"Subject"}},{"name":"chapter","in":"query","required":false,"schema":{"type":"string","default":"","title":"Chapter"}},{"name":"total_marks","in":"query","required":false,"schema":{"type":"integer","default":5,"title":"Total Marks"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/mastery/check":{"get":{"summary":"Admin Mastery Check","description":"ENG-053 check - read-only mastery eligibility preview.\n\nPulls REAL evidence from postgres `student_mastery` (theta, accuracy,\nattempt_count) and from ENG-027 check_prereqs via the in-process\ndispatcher. Passes that evidence to ENG-053 as overrides so the\nengine's internal HTTP-call-then-mock fallback never fires.\n\nReturns:\n  - real evidence + ENG-053 verdict when data exists\n  - {\"status\": \"no_data\", \"message\": \"...row missing...\"} when student\n    has no row for that topic in student_mastery (no fake numbers)","operationId":"admin_mastery_check_api_v1_admin_mastery_check_get","parameters":[{"name":"student_id","in":"query","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"topic","in":"query","required":true,"schema":{"type":"string","title":"Topic"}},{"name":"subject","in":"query","required":true,"schema":{"type":"string","title":"Subject"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/summary":{"get":{"summary":"Admin Summary","description":"ENG-054 generate_summary with JARVIS fallback for unknown topics.\n\n- Known topics in ENG-054.TOPIC_CONTENT: bank-backed summary,\n  theta-adaptive length.\n- Unknown topics: ENG-001 JARVIS ask mode with a structured prompt\n  asking for the same shape (concepts, formulas, common mistakes,\n  exam tips). No silent placeholder.","operationId":"admin_summary_api_v1_admin_summary_get","parameters":[{"name":"topic_id","in":"query","required":true,"schema":{"type":"string","title":"Topic Id"}},{"name":"theta","in":"query","required":false,"schema":{"type":"number","default":0.5,"title":"Theta"}},{"name":"length","in":"query","required":false,"schema":{"type":"string","default":"","title":"Length"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/difficulty/{question_id}":{"get":{"summary":"Admin Difficulty Estimate","description":"ENG-042 estimate - real item difficulty from the question bank.","operationId":"admin_difficulty_estimate_api_v1_admin_difficulty__question_id__get","parameters":[{"name":"question_id","in":"path","required":true,"schema":{"type":"string","title":"Question Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/attention/{student_id}":{"get":{"summary":"Admin Attention","description":"ENG-044 track_session - real attention proxy score from dpp_responses.","operationId":"admin_attention_api_v1_admin_attention__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"session_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"}},{"name":"minutes","in":"query","required":false,"schema":{"type":"integer","default":60,"title":"Minutes"}},{"name":"max_events","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Max Events"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/cognitive_load/{student_id}":{"get":{"summary":"Admin Cognitive Load","description":"ENG-045 session_clx - real cognitive load from dpp_responses.","operationId":"admin_cognitive_load_api_v1_admin_cognitive_load__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"session_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"}},{"name":"minutes","in":"query","required":false,"schema":{"type":"integer","default":60,"title":"Minutes"}},{"name":"max_events","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Max Events"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/motivation/{student_id}":{"get":{"summary":"Admin Motivation","description":"ENG-046 profile_student - real motivation profile from dpp_sessions.","operationId":"admin_motivation_api_v1_admin_motivation__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/evolution/{student_id}":{"get":{"summary":"Admin Evolution","description":"ENG-047 report - real evolution report from student_mastery.","operationId":"admin_evolution_api_v1_admin_evolution__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"exam_type","in":"query","required":true,"schema":{"type":"string","title":"Exam Type"}},{"name":"exam_days","in":"query","required":false,"schema":{"type":"integer","default":180,"title":"Exam Days"}},{"name":"days_back","in":"query","required":false,"schema":{"type":"integer","default":90,"title":"Days Back"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/preferences/{student_id}":{"get":{"summary":"Admin Preferences","description":"ENG-048 folded into ENG-012 - refuses cold-start cohort priors.","operationId":"admin_preferences_api_v1_admin_preferences__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":90,"title":"Days"}},{"name":"min_interactions","in":"query","required":false,"schema":{"type":"integer","default":8,"title":"Min Interactions"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/style/{student_id}":{"get":{"summary":"Admin Style","description":"D-32: legacy ENG-049 style admin probe now runs through ENG-040.","operationId":"admin_style_api_v1_admin_style__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/edu/ncert/tag":{"get":{"summary":"Admin Edu Ncert Tag","description":"EDU-001 tag_content - NCERT taxonomy keyword tagger.","operationId":"admin_edu_ncert_tag_api_v1_admin_edu_ncert_tag_get","parameters":[{"name":"text","in":"query","required":true,"schema":{"type":"string","title":"Text"}},{"name":"subject","in":"query","required":false,"schema":{"type":"string","default":"","title":"Subject"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/edu/jee/classify":{"get":{"summary":"Admin Edu Jee Classify","description":"D-50: JEE classifier folded into ENG-010 as classify_jee.\n\ntext + subject are required (no demo defaults). difficulty and\nquestion_type are tuning knobs.","operationId":"admin_edu_jee_classify_api_v1_admin_edu_jee_classify_get","parameters":[{"name":"text","in":"query","required":true,"schema":{"type":"string","title":"Text"}},{"name":"subject","in":"query","required":true,"schema":{"type":"string","title":"Subject"}},{"name":"question_type","in":"query","required":false,"schema":{"type":"string","default":"single_correct","title":"Question Type"}},{"name":"difficulty","in":"query","required":false,"schema":{"type":"string","default":"medium","title":"Difficulty"}},{"name":"year","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Year"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/edu/neet/classify":{"get":{"summary":"Admin Edu Neet Classify","description":"D-50: NEET classifier folded into ENG-010 as classify_neet.\n\ntext + subject are required.","operationId":"admin_edu_neet_classify_api_v1_admin_edu_neet_classify_get","parameters":[{"name":"text","in":"query","required":true,"schema":{"type":"string","title":"Text"}},{"name":"subject","in":"query","required":true,"schema":{"type":"string","title":"Subject"}},{"name":"difficulty","in":"query","required":false,"schema":{"type":"string","default":"medium","title":"Difficulty"}},{"name":"year","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Year"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/edu/cbse/classify":{"get":{"summary":"Admin Edu Cbse Classify","description":"CBSE question classifier owned by ENG-010.","operationId":"admin_edu_cbse_classify_api_v1_admin_edu_cbse_classify_get","parameters":[{"name":"text","in":"query","required":true,"schema":{"type":"string","title":"Text"}},{"name":"subject","in":"query","required":true,"schema":{"type":"string","title":"Subject"}},{"name":"question_type","in":"query","required":false,"schema":{"type":"string","default":"auto","title":"Question Type"}},{"name":"difficulty","in":"query","required":false,"schema":{"type":"string","default":"medium","title":"Difficulty"}},{"name":"exam_class","in":"query","required":false,"schema":{"type":"string","default":"class_12","title":"Exam Class"}},{"name":"marks","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Marks"}},{"name":"year","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Year"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/edu/board/schema":{"get":{"summary":"Admin Edu Board Schema","description":"D-51: board schema now reads extracted content, not the retired EDU-004 service.","operationId":"admin_edu_board_schema_api_v1_admin_edu_board_schema_get","parameters":[{"name":"board","in":"query","required":true,"schema":{"type":"string","title":"Board"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/edu/board/pattern":{"get":{"summary":"Admin Edu Board Pattern","description":"D-51: CBSE pattern lookup from extracted content for ENG-009 absorption.","operationId":"admin_edu_board_pattern_api_v1_admin_edu_board_pattern_get","parameters":[{"name":"subject","in":"query","required":false,"schema":{"type":"string","default":"physics","title":"Subject"}},{"name":"exam_class","in":"query","required":false,"schema":{"type":"string","default":"class_12","title":"Exam Class"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/edu/dependency/prereqs/{concept}":{"get":{"summary":"Admin Edu Dependency Prereqs","description":"EDU-005 get_prerequisites - concept dependency graph traversal.","operationId":"admin_edu_dependency_prereqs_api_v1_admin_edu_dependency_prereqs__concept__get","parameters":[{"name":"concept","in":"path","required":true,"schema":{"type":"string","title":"Concept"}},{"name":"transitive","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Transitive"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/edu/stg":{"get":{"summary":"Admin Edu Stg","description":"EDU-006 short-tricks generator - TRICK_LIBRARY bank + JARVIS real trick.\n\ntopic + subject required. formula is optional context for the LLM.\n\nEngine's _generate mode embeds a literal '[Production: ENG-001 JARVIS\ngenerates trick...]' placeholder string. This route routes around\nthat: calls _get_trick for real bank lookup, then ENG-001 JARVIS to\nactually generate the trick.","operationId":"admin_edu_stg_api_v1_admin_edu_stg_get","parameters":[{"name":"topic","in":"query","required":true,"schema":{"type":"string","title":"Topic"}},{"name":"subject","in":"query","required":true,"schema":{"type":"string","title":"Subject"}},{"name":"formula","in":"query","required":false,"schema":{"type":"string","default":"","title":"Formula"}},{"name":"n_examples","in":"query","required":false,"schema":{"type":"integer","default":2,"title":"N Examples"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/edu/mnemonic":{"get":{"summary":"Admin Edu Mnemonic","description":"EDU-007 fold: mnemonic generation now routes through EDU-006 STG.\n\ntopic + subject required.","operationId":"admin_edu_mnemonic_api_v1_admin_edu_mnemonic_get","parameters":[{"name":"topic","in":"query","required":true,"schema":{"type":"string","title":"Topic"}},{"name":"subject","in":"query","required":true,"schema":{"type":"string","title":"Subject"}},{"name":"n_examples","in":"query","required":false,"schema":{"type":"integer","default":2,"title":"N Examples"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/edu/worksheet":{"get":{"summary":"Admin Edu Worksheet","description":"EDU-008 generate_worksheet - format-backed worksheet spec.\n\ntopic_id + chapter_name + subject are required. format is a tuning knob.","operationId":"admin_edu_worksheet_api_v1_admin_edu_worksheet_get","parameters":[{"name":"topic_id","in":"query","required":true,"schema":{"type":"string","title":"Topic Id"}},{"name":"chapter_name","in":"query","required":true,"schema":{"type":"string","title":"Chapter Name"}},{"name":"subject","in":"query","required":true,"schema":{"type":"string","title":"Subject"}},{"name":"format","in":"query","required":false,"schema":{"type":"string","default":"chapter_practice","title":"Format"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/edu/india-risk":{"post":{"summary":"Admin Edu India Risk","description":"EDU-009 compute_risk - India-specific risk factors.","operationId":"admin_edu_india_risk_api_v1_admin_edu_india_risk_post","requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/edu/answer-grade":{"post":{"summary":"Admin Edu Answer Grade","description":"EDU-010 grade_question - single answer grading.","operationId":"admin_edu_answer_grade_api_v1_admin_edu_answer_grade_post","requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/edu/mcq-grade":{"post":{"summary":"Admin Edu Mcq Grade","description":"EDU-011 grade_response - NTA MCQ response scoring.","operationId":"admin_edu_mcq_grade_api_v1_admin_edu_mcq_grade_post","requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/edu/subjective-evaluate":{"post":{"summary":"Admin Edu Subjective Evaluate","description":"EDU-012 evaluate - subjective answer rubric.","operationId":"admin_edu_subjective_evaluate_api_v1_admin_edu_subjective_evaluate_post","requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/rag/retrieval-audit":{"get":{"summary":"Admin Rag Retrieval Audit","description":"ENG-002 RAG retrieval-audit read-back (mig 184 eng002_rag_retrieval_events).\n\nProves the JARVIS NCERT retrieval stage: per-call grounding_flag, top cosine\nsimilarity, backend (qdrant/faiss), degraded_reason, and latency. Optionally\nscoped to one student. Diagnostic surface for the elite-bar read-back row.","operationId":"admin_rag_retrieval_audit_api_v1_admin_rag_retrieval_audit_get","parameters":[{"name":"student_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Student Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/edu/practical/rubric":{"get":{"summary":"Admin Edu Practical Rubric","description":"EDU-013 get_rubric - practical evaluation rubric and experiments.","operationId":"admin_edu_practical_rubric_api_v1_admin_edu_practical_rubric_get","parameters":[{"name":"experiment","in":"query","required":true,"schema":{"type":"string","title":"Experiment"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/edu/practical/evaluate":{"post":{"summary":"Admin Edu Practical Evaluate","description":"EDU-013 evaluate_report - practical lab report scoring.","operationId":"admin_edu_practical_evaluate_api_v1_admin_edu_practical_evaluate_post","requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/edu/viva/evaluate":{"post":{"summary":"Admin Edu Viva Evaluate","description":"EDU-014 evaluate_viva - transcribed viva response scoring.","operationId":"admin_edu_viva_evaluate_api_v1_admin_edu_viva_evaluate_post","requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/edu/viva/questions":{"get":{"summary":"Admin Edu Viva Questions","description":"EDU-014 get_question_bank - topic viva questions.","operationId":"admin_edu_viva_questions_api_v1_admin_edu_viva_questions_get","parameters":[{"name":"topic","in":"query","required":true,"schema":{"type":"string","title":"Topic"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/edu/derivation":{"get":{"summary":"Admin Edu Derivation","description":"EDU-015 derive_formula - library-backed formula derivation.","operationId":"admin_edu_derivation_api_v1_admin_edu_derivation_get","parameters":[{"name":"formula_id","in":"query","required":true,"schema":{"type":"string","title":"Formula Id"}},{"name":"theta","in":"query","required":false,"schema":{"type":"number","default":0.55,"title":"Theta"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/edu/theorem/{name}":{"get":{"summary":"Admin Edu Theorem","description":"EDU-016 V2 get_theorem - KNOWN_THEOREMS lookup.","operationId":"admin_edu_theorem_api_v1_admin_edu_theorem__name__get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"theta","in":"query","required":false,"schema":{"type":"number","default":0.5,"title":"Theta"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/edu/theorem":{"get":{"summary":"Admin Edu Theorem List","description":"EDU-016 V2 list_theorems - KNOWN_THEOREMS keys + count.","operationId":"admin_edu_theorem_list_api_v1_admin_edu_theorem_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/admin/edu/theorem/verify":{"post":{"summary":"Admin Edu Theorem Verify","description":"EDU-016 verify_proof - DB-backed proof verification audit path.","operationId":"admin_edu_theorem_verify_api_v1_admin_edu_theorem_verify_post","requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/edu/solve/quadratic":{"get":{"summary":"Admin Edu Solve Quadratic","description":"Quadratic solve — D-65 sunset 2026-05-26 redirected from EDU-017 to\nENG-062. URL kept stable for existing admin callers; the request is\nrewritten as a single-variable polynomial in ENG-062's native form.","operationId":"admin_edu_solve_quadratic_api_v1_admin_edu_solve_quadratic_get","parameters":[{"name":"a","in":"query","required":true,"schema":{"type":"number","title":"A"}},{"name":"b","in":"query","required":true,"schema":{"type":"number","title":"B"}},{"name":"c","in":"query","required":true,"schema":{"type":"number","title":"C"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/edu/solve/linear":{"get":{"summary":"Admin Edu Solve Linear","description":"Linear solve ax + b = 0 — D-65 sunset 2026-05-26 redirected from\nEDU-017 to ENG-062.","operationId":"admin_edu_solve_linear_api_v1_admin_edu_solve_linear_get","parameters":[{"name":"a","in":"query","required":true,"schema":{"type":"number","title":"A"}},{"name":"b","in":"query","required":true,"schema":{"type":"number","title":"B"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/edu/strategy":{"get":{"summary":"Admin Edu Strategy","description":"EDU-018 select_strategy - test-taking strategy + time recommendation.\n\nquestion_type + subject are required. time_left_min and difficulty are\ntuning knobs.","operationId":"admin_edu_strategy_api_v1_admin_edu_strategy_get","parameters":[{"name":"question_type","in":"query","required":true,"schema":{"type":"string","title":"Question Type"}},{"name":"subject","in":"query","required":true,"schema":{"type":"string","title":"Subject"}},{"name":"time_left_min","in":"query","required":false,"schema":{"type":"number","default":20.0,"title":"Time Left Min"}},{"name":"difficulty","in":"query","required":false,"schema":{"type":"string","default":"medium","title":"Difficulty"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/edu/style/classify":{"get":{"summary":"Admin Edu Style Classify","description":"Style classification — redirected from EDU-019 to ENG-040 per D-67 fold (2026-05-26).\n\nCalls ENG-040 with `infer_style_edu_variant` mode, which returns\ncanonical VARK + exam-prep PLUS the EDU-019-absorbed\ncoaching_adaptation + revision_pattern + recommended_content_types.\nURL kept stable for existing callers; engine_id in the response will\nshow ENG-040.\n\nThe extra coaching/revision query params surface the dimensions that\nused to be EDU-019-only. Existing callers passing only the original\n6 VARK-flavoured signals still get a valid response (coaching/revision\ndefault to neutral 0.3/0.5).","operationId":"admin_edu_style_classify_api_v1_admin_edu_style_classify_get","parameters":[{"name":"student_id","in":"query","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"video_watch_time","in":"query","required":false,"schema":{"type":"number","default":0.5,"title":"Video Watch Time"}},{"name":"diagram_clicks","in":"query","required":false,"schema":{"type":"number","default":0.5,"title":"Diagram Clicks"}},{"name":"text_read_time","in":"query","required":false,"schema":{"type":"number","default":0.5,"title":"Text Read Time"}},{"name":"step_by_step_views","in":"query","required":false,"schema":{"type":"number","default":0.5,"title":"Step By Step Views"}},{"name":"summary_views","in":"query","required":false,"schema":{"type":"number","default":0.5,"title":"Summary Views"}},{"name":"hands_on_attempts","in":"query","required":false,"schema":{"type":"number","default":0.5,"title":"Hands On Attempts"}},{"name":"teacher_query_rate","in":"query","required":false,"schema":{"type":"number","default":0.3,"title":"Teacher Query Rate"}},{"name":"independent_solve_rate","in":"query","required":false,"schema":{"type":"number","default":0.5,"title":"Independent Solve Rate"}},{"name":"revision_interval_days","in":"query","required":false,"schema":{"type":"number","default":0.5,"title":"Revision Interval Days"}},{"name":"pre_exam_revision_spike","in":"query","required":false,"schema":{"type":"number","default":0.3,"title":"Pre Exam Revision Spike"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/edu/strength/{student_id}":{"get":{"summary":"Admin Edu Strength","description":"EDU-020 fold: real student_mastery from Neon + ENG-009 analytics.\n\nD-68 absorbs the subject-strength satellite into ENG-009 as\n`subject_strength`, keeping the admin route shape stable.","operationId":"admin_edu_strength_api_v1_admin_edu_strength__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"exam_type","in":"query","required":true,"schema":{"type":"string","title":"Exam Type"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/edu/aptitude":{"get":{"summary":"Admin Edu Aptitude","description":"EDU-021 match_pathways - career pathway matcher.","operationId":"admin_edu_aptitude_api_v1_admin_edu_aptitude_get","parameters":[{"name":"student_id","in":"query","required":false,"schema":{"type":"string","default":"edu021_legacy_anon","title":"Student Id"}},{"name":"physics","in":"query","required":false,"schema":{"type":"number","default":0.5,"title":"Physics"}},{"name":"chemistry","in":"query","required":false,"schema":{"type":"number","default":0.5,"title":"Chemistry"}},{"name":"maths","in":"query","required":false,"schema":{"type":"number","default":0.5,"title":"Maths"}},{"name":"biology","in":"query","required":false,"schema":{"type":"number","default":0.5,"title":"Biology"}},{"name":"interests","in":"query","required":false,"schema":{"type":"string","default":"","title":"Interests"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/edu/aptitude/read/{student_id}":{"get":{"summary":"Admin Edu Aptitude Read","description":"Read the latest durable ENG-007 aptitude-vector payload.","operationId":"admin_edu_aptitude_read_api_v1_admin_edu_aptitude_read__student_id__get","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/edu/path":{"get":{"summary":"Admin Edu Path","description":"EDU-022 V2 generate_schedule - day-by-day study schedule.\n\nstudent_id, exam_type, days_to_exam, and the three subject strengths\nare required. daily_available_hours and schedule_days are tunable.\n\nNote: KI-031 on EDU-022 has the known `from app.algorithms.engine\nimport Settings as LearningPathGenerator` bug, so the runtime class\nis whatever fallback the dispatcher finds in algorithms/engine.py.\nModes there: generate_schedule / get_schedule / engine_stats / health.","operationId":"admin_edu_path_api_v1_admin_edu_path_get","parameters":[{"name":"student_id","in":"query","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"exam_type","in":"query","required":true,"schema":{"type":"string","title":"Exam Type"}},{"name":"days_to_exam","in":"query","required":true,"schema":{"type":"integer","title":"Days To Exam"}},{"name":"physics_strength","in":"query","required":true,"schema":{"type":"number","title":"Physics Strength"}},{"name":"chemistry_strength","in":"query","required":true,"schema":{"type":"number","title":"Chemistry Strength"}},{"name":"maths_strength","in":"query","required":true,"schema":{"type":"number","title":"Maths Strength"}},{"name":"daily_available_hours","in":"query","required":false,"schema":{"type":"number","default":6.0,"title":"Daily Available Hours"}},{"name":"schedule_days","in":"query","required":false,"schema":{"type":"integer","default":14,"title":"Schedule Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/edu/schedule":{"get":{"summary":"Admin Edu Schedule","description":"EDU-023 sunset: use EDU-032 revision planner for schedule output.\n\nsubjects (csv), available_hours, days_to_exam required.","operationId":"admin_edu_schedule_api_v1_admin_edu_schedule_get","parameters":[{"name":"subjects","in":"query","required":true,"schema":{"type":"string","title":"Subjects"}},{"name":"available_hours","in":"query","required":true,"schema":{"type":"number","title":"Available Hours"}},{"name":"days_to_exam","in":"query","required":true,"schema":{"type":"integer","title":"Days To Exam"}},{"name":"school_hours","in":"query","required":false,"schema":{"type":"number","default":6,"title":"School Hours"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/edu/doubt":{"get":{"summary":"Admin Edu Doubt","description":"EDU-024 resolve_doubt + JARVIS compose for unknown doubts.","operationId":"admin_edu_doubt_api_v1_admin_edu_doubt_get","parameters":[{"name":"text","in":"query","required":true,"schema":{"type":"string","title":"Text"}},{"name":"theta","in":"query","required":false,"schema":{"type":"number","default":0.45,"title":"Theta"}},{"name":"bilingual","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Bilingual"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/edu/socratic":{"get":{"summary":"Admin Edu Socratic","description":"EDU-025 fold: opens a Socratic dialogue through ENG-001.\n\ntopic, subject, target_concept required. dialogue_mode is a tunable.\n\nReturns session_id, opening_question, bloom_level. Follow-up turns\ncan be sent via the /api/v1/admin/edu/socratic/turn endpoint\n(next_turn mode).","operationId":"admin_edu_socratic_api_v1_admin_edu_socratic_get","parameters":[{"name":"topic","in":"query","required":true,"schema":{"type":"string","title":"Topic"}},{"name":"subject","in":"query","required":true,"schema":{"type":"string","title":"Subject"}},{"name":"target_concept","in":"query","required":true,"schema":{"type":"string","title":"Target Concept"}},{"name":"dialogue_mode","in":"query","required":false,"schema":{"type":"string","default":"guided_discovery","title":"Dialogue Mode"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/edu/socratic/turn":{"get":{"summary":"Admin Edu Socratic Turn","description":"EDU-025 fold: process student answer through ENG-001 Socratic probes.","operationId":"admin_edu_socratic_turn_api_v1_admin_edu_socratic_turn_get","parameters":[{"name":"session_id","in":"query","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"student_response","in":"query","required":true,"schema":{"type":"string","title":"Student Response"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/edu/anxiety/respond":{"post":{"summary":"Admin Edu Anxiety Respond","description":"EDU-026 V2 assess_and_respond - CBT support response.","operationId":"admin_edu_anxiety_respond_api_v1_admin_edu_anxiety_respond_post","requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/edu/peer/groups":{"post":{"summary":"Admin Edu Peer Groups","description":"EDU-027 form_groups - peer study group formation.","operationId":"admin_edu_peer_groups_api_v1_admin_edu_peer_groups_post","requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/edu/college/predict":{"get":{"summary":"Admin Edu College Predict","description":"EDU-028 shortlist_colleges - admission probabilities by band.","operationId":"admin_edu_college_predict_api_v1_admin_edu_college_predict_get","parameters":[{"name":"rank","in":"query","required":true,"schema":{"type":"integer","title":"Rank"}},{"name":"category","in":"query","required":true,"schema":{"type":"string","title":"Category"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/edu/score/predict":{"post":{"summary":"Admin Edu Score Predict","description":"EDU-029 predict_score - mock-to-actual score.","operationId":"admin_edu_score_predict_api_v1_admin_edu_score_predict_post","requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/edu/pyq/frequency":{"get":{"summary":"Admin Edu Pyq Frequency","description":"D-79: PYQ frequency now reads extracted content, not the retired EDU-030 service.","operationId":"admin_edu_pyq_frequency_api_v1_admin_edu_pyq_frequency_get","parameters":[{"name":"exam_type","in":"query","required":false,"schema":{"type":"string","default":"jee_main","title":"Exam Type"}},{"name":"chapter","in":"query","required":false,"schema":{"type":"string","default":"maths_calculus_integration","title":"Chapter"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/edu/mock/analyze":{"post":{"summary":"Admin Edu Mock Analyze","description":"EDU-031 analyze_mock - mock test performance analysis.","operationId":"admin_edu_mock_analyze_api_v1_admin_edu_mock_analyze_post","requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/":{"get":{"summary":"Root","operationId":"root__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/debug/runtime-targets":{"get":{"summary":"Runtime Targets","operationId":"runtime_targets_debug_runtime_targets_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/debug/routes":{"get":{"summary":"List Routes","operationId":"list_routes_debug_routes_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/predict/college-list/{student_id}":{"get":{"tags":["edugraph_release_gate"],"summary":"Signed Authenticated Predictor","operationId":"edugraph_predict_college_list_v1","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}},{"name":"category","in":"query","required":false,"schema":{"type":"string","default":"General","title":"Category"}},{"name":"exam_type","in":"query","required":true,"schema":{"type":"string","title":"Exam Type"}},{"name":"rank","in":"query","required":true,"schema":{"type":"integer","minimum":1,"title":"Rank"}},{"name":"rank_universe","in":"query","required":false,"schema":{"type":"string","default":"CRL","title":"Rank Universe"}},{"name":"rank_qualifier","in":"query","required":false,"schema":{"type":"string","default":"standard","title":"Rank Qualifier"}},{"name":"authority","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authority"}},{"name":"counselling_year","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":2035,"minimum":2015},{"type":"null"}],"title":"Counselling Year"}},{"name":"round_no","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Round No"}},{"name":"quota","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Quota"}},{"name":"gender_code","in":"query","required":false,"schema":{"type":"string","default":"GENDER_NEUTRAL","title":"Gender Code"}},{"name":"domicile_scope","in":"query","required":false,"schema":{"type":"string","default":"not_applicable","title":"Domicile Scope"}},{"name":"domicile_state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Domicile State"}},{"name":"seat_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Seat Type"}},{"name":"candidate_scope","in":"query","required":false,"schema":{"type":"string","default":"all_eligible","title":"Candidate Scope"}},{"name":"college_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"College Type"}},{"name":"nirf_max","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"title":"Nirf Max"}},{"name":"fees_max_lakh","in":"query","required":false,"schema":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Fees Max Lakh"}},{"name":"location_state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location State"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"result_intent","in":"query","required":false,"schema":{"type":"string","default":"college","title":"Result Intent"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/public/predict/college":{"post":{"tags":["edugraph_release_gate"],"summary":"Signed Public Predictor","operationId":"edugraph_public_predict_college_v1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicPredictorBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/public/predict/rank":{"post":{"tags":["edugraph_release_gate"],"summary":"Public Predict Rank","operationId":"acespredict_public_rank_v1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicRankPredictorBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/public/predict/seat":{"post":{"tags":["edugraph_release_gate"],"summary":"Public Predict Seat","operationId":"acespredict_public_seat_v1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicSeatPredictorBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/public/prediction-context":{"post":{"tags":["edugraph_release_gate"],"summary":"Write Public Prediction Context","operationId":"acespredict_public_context_write_v1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicPredictionContextBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/public/prediction-context/{context_id}":{"get":{"tags":["edugraph_release_gate"],"summary":"Read Public Prediction Context","operationId":"acespredict_public_context_read_v1","parameters":[{"name":"context_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Context Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/public/college-cutoffs/{exam_type}/{college_slug}":{"get":{"tags":["edugraph_release_gate"],"summary":"Signed Public Cutoff","operationId":"edugraph_public_college_cutoff_v1","parameters":[{"name":"exam_type","in":"path","required":true,"schema":{"type":"string","title":"Exam Type"}},{"name":"college_slug","in":"path","required":true,"schema":{"type":"string","title":"College Slug"}},{"name":"category","in":"query","required":false,"schema":{"type":"string","default":"General","title":"Category"}},{"name":"rank_universe","in":"query","required":false,"schema":{"type":"string","default":"CRL","title":"Rank Universe"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/parent/{child_id}/rank-trajectory":{"get":{"tags":["edugraph_release_gate"],"summary":"Signed Parent Trajectory","operationId":"edugraph_parent_rank_trajectory_v1","parameters":[{"name":"child_id","in":"path","required":true,"schema":{"type":"string","title":"Child Id"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":365,"minimum":30,"default":90,"title":"Days"}},{"name":"includeColleges","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Includecolleges"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/student/{student_id}/career-guidance":{"get":{"tags":["edugraph_release_gate"],"summary":"Signed Career Guidance","operationId":"edugraph_career_guidance_release_v1","parameters":[{"name":"student_id","in":"path","required":true,"schema":{"type":"string","title":"Student Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/analytics/waveb/edugraph/source-ops/status":{"get":{"tags":["edugraph_release_gate"],"summary":"Signed Source Status","operationId":"edugraph_release_source_status_v1","parameters":[{"name":"x-ops-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/analytics/waveb/edugraph/source-ops/targets":{"get":{"tags":["edugraph_release_gate"],"summary":"Signed Source Targets","operationId":"edugraph_release_source_targets_v1","parameters":[{"name":"target_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Target Type"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/analytics/waveb/edugraph/source-ops/operations":{"get":{"tags":["edugraph_release_gate"],"summary":"Signed Source Operations","operationId":"edugraph_release_source_operations_v1","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Status"}},{"name":"operation_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Operation Type"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/analytics/waveb/edugraph/source-ops/operations/request":{"post":{"tags":["edugraph_release_gate"],"summary":"Signed Source Request","operationId":"edugraph_release_source_request_v1","parameters":[{"name":"x-ops-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceOperationRequestBody"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/analytics/waveb/edugraph/source-ops/operations/{operation_id}/review":{"post":{"tags":["edugraph_release_gate"],"summary":"Signed Source Review","operationId":"edugraph_release_source_review_v1","parameters":[{"name":"operation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Operation Id"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceOperationReviewBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/analytics/waveb/edugraph/source-ops/operations/{operation_id}/execute":{"post":{"tags":["edugraph_release_gate"],"summary":"Signed Source Execute","operationId":"edugraph_release_source_execute_v1","parameters":[{"name":"operation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Operation Id"}},{"name":"x-ops-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Ops-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceOperationExecuteBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/edugraph/release/state":{"get":{"tags":["edugraph_release_gate"],"summary":"Release Gate State","operationId":"edugraph_release_state_v1","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Edugraph Release State V1"}}}}}}},"/api/v1/pathways/admission/status":{"get":{"tags":["pathdata_admission_read_models"],"summary":"Admission Status","operationId":"admission_status_api_v1_pathways_admission_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/pathdata_admission__models__StatusResponse"}}}}}}},"/api/v1/pathways/admission/coverage":{"get":{"tags":["pathdata_admission_read_models"],"summary":"Admission Coverage","operationId":"admission_coverage_api_v1_pathways_admission_coverage_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CoverageResponse"}}}}}}},"/api/v1/pathways/admission/exams":{"get":{"tags":["pathdata_admission_read_models"],"summary":"List Exams","operationId":"list_exams_api_v1_pathways_admission_exams_get","parameters":[{"name":"jurisdiction","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Jurisdiction"}},{"name":"academic_year","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Academic Year"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Q"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/admission/exams/{exam_id}":{"get":{"tags":["pathdata_admission_read_models"],"summary":"Exam Detail","operationId":"exam_detail_api_v1_pathways_admission_exams__exam_id__get","parameters":[{"name":"exam_id","in":"path","required":true,"schema":{"type":"string","title":"Exam Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/admission/routes":{"get":{"tags":["pathdata_admission_read_models"],"summary":"List Admission Routes","operationId":"list_admission_routes_api_v1_pathways_admission_routes_get","parameters":[{"name":"jurisdiction","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Jurisdiction"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Q"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/admission/counselling-systems":{"get":{"tags":["pathdata_admission_read_models"],"summary":"List Counselling Systems","operationId":"list_counselling_systems_api_v1_pathways_admission_counselling_systems_get","parameters":[{"name":"jurisdiction","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Jurisdiction"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Q"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/admission/programmes/{programme_id}/routes":{"get":{"tags":["pathdata_admission_read_models"],"summary":"Programme Routes","operationId":"programme_routes_api_v1_pathways_admission_programmes__programme_id__routes_get","parameters":[{"name":"programme_id","in":"path","required":true,"schema":{"type":"string","title":"Programme Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrosswalkListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/admission/exams/{exam_id}/programmes":{"get":{"tags":["pathdata_admission_read_models"],"summary":"Exam Programmes","operationId":"exam_programmes_api_v1_pathways_admission_exams__exam_id__programmes_get","parameters":[{"name":"exam_id","in":"path","required":true,"schema":{"type":"string","title":"Exam Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrosswalkListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/admission/counselling-systems/{system_id}/programmes":{"get":{"tags":["pathdata_admission_read_models"],"summary":"Counselling Programmes","operationId":"counselling_programmes_api_v1_pathways_admission_counselling_systems__system_id__programmes_get","parameters":[{"name":"system_id","in":"path","required":true,"schema":{"type":"string","title":"System Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrosswalkListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/admission/traverse":{"post":{"tags":["pathdata_admission_read_models"],"summary":"Traverse Admission Graph","operationId":"traverse_admission_graph_api_v1_pathways_admission_traverse_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TraverseRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TraverseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/pathways/admission/product-surfaces/{surface}":{"get":{"tags":["pathdata_admission_read_models"],"summary":"Product Surface","operationId":"product_surface_api_v1_pathways_admission_product_surfaces__surface__get","parameters":[{"name":"surface","in":"path","required":true,"schema":{"type":"string","title":"Surface"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductSurfaceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"AITaskRouteRequest":{"properties":{"task_id":{"type":"string","format":"uuid","title":"Task Id"},"idempotency_key":{"type":"string","maxLength":200,"minLength":8,"title":"Idempotency Key"},"task_type":{"type":"string","enum":["text_tutor","vision_doubt","grading_feedback","content_generation","content_review","search_summarization","rank_reasoning","safety_triage","operator_analysis"],"title":"Task Type"},"modality":{"type":"string","enum":["text","vision","audio","pdf","tool"],"title":"Modality","default":"text"},"privacy_class":{"type":"string","enum":["public","student_private","parent_private","safety_sensitive","pii_restricted","raw_media"],"title":"Privacy Class"},"required_capabilities":{"items":{"type":"string"},"type":"array","maxItems":64,"title":"Required Capabilities"},"input_tokens_estimate":{"type":"integer","maximum":2000000.0,"minimum":0.0,"title":"Input Tokens Estimate"},"output_tokens_estimate":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Output Tokens Estimate","default":1024},"latency_budget_ms":{"type":"integer","maximum":600000.0,"minimum":100.0,"title":"Latency Budget Ms","default":30000},"cost_budget_micro_usd":{"type":"integer","maximum":100000000.0,"minimum":0.0,"title":"Cost Budget Micro Usd","default":100000},"allow_external_provider":{"type":"boolean","title":"Allow External Provider","default":true},"require_offline":{"type":"boolean","title":"Require Offline","default":false},"policy_id":{"type":"string","maxLength":120,"minLength":3,"title":"Policy Id"},"policy_version":{"type":"string","maxLength":80,"minLength":1,"title":"Policy Version"},"source_owner_os":{"type":"string","maxLength":16,"minLength":2,"title":"Source Owner Os"},"source_event_id":{"type":"string","maxLength":180,"minLength":1,"title":"Source Event Id"},"purpose":{"type":"string","maxLength":160,"minLength":2,"title":"Purpose"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"metadata":{"type":"object","title":"Metadata"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os16_ai_routing__models__EvidenceRef"},"type":"array","maxItems":64,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["idempotency_key","task_type","privacy_class","input_tokens_estimate","policy_id","policy_version","source_owner_os","source_event_id","purpose","actor_id","evidence_refs"],"title":"AITaskRouteRequest"},"AcademicContextRef":{"properties":{"context_id":{"type":"string","maxLength":160,"minLength":1,"title":"Context Id"},"context_version":{"type":"string","maxLength":80,"minLength":1,"title":"Context Version"},"exam":{"type":"string","enum":["JEE_MAIN","JEE_ADVANCED","NEET_UG","CBSE"],"title":"Exam"},"subject_id":{"type":"string","maxLength":128,"minLength":1,"title":"Subject Id"},"chapter_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Chapter Id"},"concept_id":{"type":"string","maxLength":128,"minLength":1,"title":"Concept Id"}},"additionalProperties":false,"type":"object","required":["context_id","context_version","exam","subject_id","concept_id"],"title":"AcademicContextRef"},"AcademicTermRef":{"properties":{"term_ref":{"type":"string","title":"Term Ref"},"term_label":{"type":"string","title":"Term Label"},"term_start":{"type":"string","format":"date","title":"Term Start"},"term_end":{"type":"string","format":"date","title":"Term End"}},"additionalProperties":false,"type":"object","required":["term_ref","term_label","term_start","term_end"],"title":"AcademicTermRef"},"AcceptExploration":{"properties":{"launch_id":{"type":"string","maxLength":200,"minLength":1,"title":"Launch Id"},"request_id":{"type":"string","maxLength":128,"minLength":8,"title":"Request Id"}},"additionalProperties":false,"type":"object","required":["launch_id","request_id"],"title":"AcceptExploration"},"AcceptInviteRequest":{"properties":{"token":{"type":"string","maxLength":256,"minLength":16,"title":"Token"},"new_password":{"type":"string","maxLength":200,"minLength":1,"title":"New Password"}},"type":"object","required":["token","new_password"],"title":"AcceptInviteRequest"},"AcceptRecoveryHandoffRequest":{"properties":{"recovery_decision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Recovery Decision Id"}},"additionalProperties":false,"type":"object","title":"AcceptRecoveryHandoffRequest"},"AcceptRevisionBody":{"properties":{"asset_id":{"type":"string","maxLength":200,"minLength":1,"title":"Asset Id","description":"asset id, or the exact row uid shown in the list"},"draft_id":{"type":"integer","minimum":1.0,"title":"Draft Id"},"note":{"type":"string","maxLength":2000,"title":"Note","default":""}},"additionalProperties":false,"type":"object","required":["asset_id","draft_id"],"title":"AcceptRevisionBody"},"AcceptanceStage":{"type":"string","enum":["ENV_FREEZE","HAPPY_PATH","DB_READBACK","API_REPLAY","BROWSER_MOBILE","BROWSER_DESKTOP","NEGATIVE_MATRIX","EXTERNAL","PERF_A11Y","CORRECTION","ROLLBACK","ACCEPT"],"title":"AcceptanceStage"},"AccessReviewCreateRequest":{"properties":{"scope":{"type":"object","minProperties":1,"title":"Scope"},"reviewer_identity_id":{"type":"string","format":"uuid","title":"Reviewer Identity Id"},"due_at":{"type":"string","format":"date-time","title":"Due At"},"reason":{"type":"string","maxLength":2000,"minLength":8,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["scope","reviewer_identity_id","due_at","reason"],"title":"AccessReviewCreateRequest"},"AccessReviewDecisionRequest":{"properties":{"binding_id":{"type":"string","format":"uuid","title":"Binding Id"},"decision":{"type":"string","enum":["RETAIN","REVOKE"],"title":"Decision"},"expected_review_version":{"type":"integer","minimum":1.0,"title":"Expected Review Version"},"reason":{"type":"string","maxLength":2000,"minLength":8,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["binding_id","decision","expected_review_version","reason"],"title":"AccessReviewDecisionRequest"},"AccessibilityProfileCommand":{"properties":{"profile_id":{"type":"string","maxLength":120,"minLength":3,"title":"Profile Id"},"version":{"type":"string","maxLength":80,"minLength":1,"title":"Version"},"surface_class":{"type":"string","enum":["student","parent","teacher","operator","public"],"title":"Surface Class"},"required_classes":{"items":{"type":"string","enum":["keyboard","screen_reader","contrast","reflow","touch","motion","locale","reduced_data","low_end_device"]},"type":"array","maxItems":16,"minItems":1,"title":"Required Classes"},"min_contrast_ratio":{"type":"number","maximum":21.0,"minimum":3.0,"title":"Min Contrast Ratio","default":4.5},"requires_keyboard":{"type":"boolean","title":"Requires Keyboard","default":true},"requires_screen_reader":{"type":"boolean","title":"Requires Screen Reader","default":true},"requires_reflow_200":{"type":"boolean","title":"Requires Reflow 200","default":true},"requires_touch_target":{"type":"boolean","title":"Requires Touch Target","default":true},"requires_reduced_motion_equivalent":{"type":"boolean","title":"Requires Reduced Motion Equivalent","default":true},"requires_reduced_data_equivalent":{"type":"boolean","title":"Requires Reduced Data Equivalent","default":true},"min_touch_target_px":{"type":"integer","maximum":72.0,"minimum":32.0,"title":"Min Touch Target Px","default":44},"state":{"type":"string","enum":["ACTIVE","RETIRED"],"title":"State","default":"ACTIVE"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os19_reach__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["profile_id","version","surface_class","required_classes","actor_id","evidence_refs"],"title":"AccessibilityProfileCommand"},"AccountDeletionCancelCommand":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"reauth_receipt_ref":{"type":"string","maxLength":240,"minLength":8,"title":"Reauth Receipt Ref"},"reason":{"type":"string","maxLength":500,"minLength":3,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["expected_version","reauth_receipt_ref","reason"],"title":"AccountDeletionCancelCommand"},"AccountDeletionCommand":{"properties":{"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version","default":0},"reauth_receipt_ref":{"type":"string","maxLength":240,"minLength":8,"title":"Reauth Receipt Ref"},"reason_code":{"type":"string","enum":["USER_REQUEST","MINOR_WITHDRAWAL","ACCOUNT_REPLACED","OTHER"],"title":"Reason Code"},"reason_detail":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Reason Detail"},"grace_period_days":{"type":"integer","maximum":90.0,"minimum":0.0,"title":"Grace Period Days","default":30}},"additionalProperties":false,"type":"object","required":["reauth_receipt_ref","reason_code"],"title":"AccountDeletionCommand"},"AccountExportCommand":{"properties":{"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version","default":0},"export_scope":{"items":{"type":"string","enum":["profile","learning","receipts","consents","account"]},"type":"array","maxItems":5,"minItems":1,"title":"Export Scope"},"purpose":{"type":"string","enum":["data_portability"],"const":"data_portability","title":"Purpose","default":"data_portability"}},"additionalProperties":false,"type":"object","title":"AccountExportCommand"},"AccountNew":{"properties":{"name":{"type":"string","maxLength":80,"minLength":2,"title":"Name"},"kind":{"type":"string","title":"Kind","default":"other"},"platform_tag":{"type":"string","pattern":"^(aspireace|trututor|both)$","title":"Platform Tag","default":"both"},"used_by":{"type":"string","maxLength":400,"title":"Used By","default":""},"fix_url":{"type":"string","maxLength":300,"title":"Fix Url","default":""}},"type":"object","required":["name"],"title":"AccountNew"},"AccountPatch":{"properties":{"used_by":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}],"title":"Used By"},"holder":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Holder"},"plan":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Plan"},"monthly_cost_minor":{"anyOf":[{"type":"integer","maximum":1000000000000.0,"minimum":0.0},{"type":"null"}],"title":"Monthly Cost Minor"},"clear_cost":{"type":"boolean","title":"Clear Cost","default":false},"cost_currency":{"anyOf":[{"type":"string","pattern":"^(INR|USD)$"},{"type":"null"}],"title":"Cost Currency"},"funded_state":{"anyOf":[{"type":"string","pattern":"^(yes|no|unknown|na)$"},{"type":"null"}],"title":"Funded State"},"missing_text":{"anyOf":[{"type":"string","maxLength":600},{"type":"null"}],"title":"Missing Text"},"renewal_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Renewal Date"},"clear_renewal":{"type":"boolean","title":"Clear Renewal","default":false},"fix_url":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Fix Url"},"kind":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kind"},"platform_tag":{"anyOf":[{"type":"string","pattern":"^(aspireace|trututor|both)$"},{"type":"null"}],"title":"Platform Tag"},"version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Version"}},"type":"object","title":"AccountPatch"},"AchievementCorrectionCommand":{"properties":{"target_decision_id":{"type":"string","format":"uuid","title":"Target Decision Id"},"expected_target_digest":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Expected Target Digest"},"successor_decision_id":{"type":"string","format":"uuid","title":"Successor Decision Id"},"expected_successor_digest":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Expected Successor Digest"}},"additionalProperties":false,"type":"object","required":["target_decision_id","expected_target_digest","successor_decision_id","expected_successor_digest"],"title":"AchievementCorrectionCommand","description":"Link two exact source-minted decisions without creating either award."},"AchievementRevocationCommand":{"properties":{"target_decision_id":{"type":"string","format":"uuid","title":"Target Decision Id"},"expected_target_digest":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Expected Target Digest"}},"additionalProperties":false,"type":"object","required":["target_decision_id","expected_target_digest"],"title":"AchievementRevocationCommand","description":"Record a source revocation against one exact current mint decision."},"AcknowledgeAffordabilityCorrectionRequest":{"properties":{"consumer_id":{"type":"string","maxLength":160,"minLength":2,"title":"Consumer Id"},"state":{"type":"string","enum":["ACKNOWLEDGED","FAILED"],"title":"State"},"receipt_ref":{"type":"string","maxLength":300,"minLength":3,"title":"Receipt Ref"}},"additionalProperties":false,"type":"object","required":["consumer_id","state","receipt_ref"],"title":"AcknowledgeAffordabilityCorrectionRequest"},"AcknowledgeAliasConflictBody":{"properties":{"resolution":{"type":"string","enum":["MERGED","REJECTED"],"title":"Resolution"},"reviewer_note":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Reviewer Note"},"corrected_alias_name":{"anyOf":[{"type":"string","maxLength":160,"minLength":2},{"type":"null"}],"title":"Corrected Alias Name"}},"type":"object","required":["resolution"],"title":"AcknowledgeAliasConflictBody"},"AcknowledgeChoiceAuditFindingRequest":{"properties":{"decision":{"type":"string","enum":["ACCEPTED","KEPT"],"title":"Decision"}},"additionalProperties":false,"type":"object","required":["decision"],"title":"AcknowledgeChoiceAuditFindingRequest","description":"PRD section 7 / part 007's acceptance half.\n\nTwo words only: the family either accepted the finding as read, or\nconsciously kept the position anyway. No reorder is possible from this\nrequest -- it carries no option id, no position and no list reference,\nonly a decision about a finding that already exists on an immutable audit."},"AcknowledgeCompareSourceChangeRequest":{"properties":{"comparison_id":{"type":"string","format":"uuid","title":"Comparison Id"},"source_digest":{"type":"string","title":"Source Digest"},"acknowledgement":{"type":"boolean","enum":[true],"const":true,"title":"Acknowledgement"},"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"}},"additionalProperties":false,"type":"object","required":["comparison_id","source_digest","acknowledgement","expected_version"],"title":"AcknowledgeCompareSourceChangeRequest"},"AcknowledgeCorrectionConsumerRequest":{"properties":{"consumer_id":{"type":"string","maxLength":160,"minLength":1,"title":"Consumer Id"},"state":{"type":"string","enum":["ACKNOWLEDGED","FAILED","RETRY_REQUIRED"],"title":"State"},"receipt_ref":{"type":"string","maxLength":300,"minLength":4,"title":"Receipt Ref"},"receipt_digest":{"type":"string","title":"Receipt Digest"}},"additionalProperties":false,"type":"object","required":["consumer_id","state","receipt_ref","receipt_digest"],"title":"AcknowledgeCorrectionConsumerRequest"},"AcknowledgeSourceChangeRequest":{"properties":{"opportunity_id":{"type":"string","format":"uuid","title":"Opportunity Id"},"source_release":{"type":"string","maxLength":200,"minLength":1,"title":"Source Release"},"source_digest":{"type":"string","title":"Source Digest"},"reason_code":{"type":"string","maxLength":200,"minLength":1,"title":"Reason Code"},"predecessor_version":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Predecessor Version"}},"additionalProperties":false,"type":"object","required":["opportunity_id","source_release","source_digest","reason_code"],"title":"AcknowledgeSourceChangeRequest"},"Acknowledgement":{"properties":{"ack":{"type":"object","title":"Ack"},"ack_signature":{"type":"string","pattern":"^[a-fA-F0-9]{64}$","title":"Ack Signature"}},"additionalProperties":false,"type":"object","required":["ack","ack_signature"],"title":"Acknowledgement"},"AcknowledgementView":{"properties":{"comparison_id":{"type":"string","title":"Comparison Id"},"version_no":{"type":"integer","title":"Version No"},"notice_key":{"type":"string","title":"Notice Key"},"acknowledged_at":{"type":"string","format":"date-time","title":"Acknowledged At"},"newly_acknowledged":{"type":"boolean","title":"Newly Acknowledged"},"message":{"type":"string","title":"Message"}},"additionalProperties":false,"type":"object","required":["comparison_id","version_no","notice_key","acknowledged_at","newly_acknowledged","message"],"title":"AcknowledgementView"},"AcquisitionAttributionCommand":{"properties":{"attribution_id":{"type":"string","format":"uuid","title":"Attribution Id"},"handoff_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Handoff Id"},"anonymous_session_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Anonymous Session Id"},"campaign_id":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Campaign Id"},"source":{"type":"string","maxLength":80,"minLength":1,"title":"Source"},"medium":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Medium"},"consent_status":{"type":"string","enum":["granted","denied","unknown"],"title":"Consent Status","default":"unknown"},"state":{"type":"string","enum":["RECORDED","CONSENT_BLOCKED","PRIVATE_REQUIRED","DROPPED"],"title":"State","default":"RECORDED"},"actor_id":{"type":"string","maxLength":80,"minLength":1,"title":"Actor Id"},"metadata":{"type":"object","title":"Metadata"}},"additionalProperties":false,"type":"object","required":["source","actor_id"],"title":"AcquisitionAttributionCommand"},"AcquisitionHandoffCommand":{"properties":{"handoff_id":{"type":"string","format":"uuid","title":"Handoff Id"},"anonymous_session_id":{"type":"string","format":"uuid","title":"Anonymous Session Id"},"destination_route":{"type":"string","maxLength":240,"minLength":1,"title":"Destination Route"},"preserved_intent_hash":{"type":"string","maxLength":128,"minLength":16,"title":"Preserved Intent Hash"},"private_data_copied":{"type":"boolean","title":"Private Data Copied","default":false},"consent_decision_ref":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Consent Decision Ref"},"actor_id":{"type":"string","maxLength":80,"minLength":1,"title":"Actor Id"},"metadata":{"type":"object","title":"Metadata"}},"additionalProperties":false,"type":"object","required":["anonymous_session_id","destination_route","preserved_intent_hash","actor_id"],"title":"AcquisitionHandoffCommand"},"ActionBody":{"properties":{"content_id":{"type":"string","maxLength":128,"minLength":1,"title":"Content Id"},"request_id":{"type":"string","maxLength":64,"minLength":8,"title":"Request Id"}},"type":"object","required":["content_id","request_id"],"title":"ActionBody"},"ActionInventoryProjection":{"properties":{"decision_id":{"type":"string","format":"uuid","title":"Decision Id"},"decision_version":{"type":"integer","minimum":1.0,"title":"Decision Version"},"decision_rung":{"type":"string","enum":["CANDIDATE","CONFIRMED","STRONG","ABSTAIN"],"title":"Decision Rung"},"state":{"type":"string","enum":["ACTION_AVAILABLE","UNAVAILABLE","BLOCKED"],"title":"State"},"reason_codes":{"items":{"type":"string"},"type":"array","title":"Reason Codes"},"actions":{"items":{"$ref":"#/components/schemas/ActionProjection"},"type":"array","title":"Actions"},"schema_version":{"type":"string","enum":["insights-actions.v1"],"const":"insights-actions.v1","title":"Schema Version","default":"insights-actions.v1"}},"additionalProperties":false,"type":"object","required":["decision_id","decision_version","decision_rung","state","reason_codes","actions"],"title":"ActionInventoryProjection"},"ActionProjection":{"properties":{"action_target_ref":{"type":"string","title":"Action Target Ref"},"concept_ref":{"type":"string","title":"Concept Ref"},"state":{"type":"string","enum":["available","unavailable","locked","unresolved"],"title":"State"},"route":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Route"},"target_product":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Product"},"target_pack":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Pack"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"publication_ready":{"type":"boolean","title":"Publication Ready"},"access_allowed":{"type":"boolean","title":"Access Allowed"},"quota_available":{"type":"boolean","title":"Quota Available"}},"additionalProperties":false,"type":"object","required":["action_target_ref","concept_ref","state","publication_ready","access_allowed","quota_available"],"title":"ActionProjection"},"ActionResponse":{"properties":{"action_kind":{"type":"string","enum":["ai_work_coach_mission_response","ai_work_coach_clarification_response"],"title":"Action Kind"},"object_id":{"type":"string","maxLength":160,"minLength":1,"title":"Object Id"},"need_id":{"type":"string","maxLength":160,"minLength":1,"title":"Need Id"},"revision":{"type":"integer","minimum":1.0,"title":"Revision"},"target_revision":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Target Revision"},"mission":{"anyOf":[{"$ref":"#/components/schemas/MissionResponse"},{"type":"null"}]},"clarification":{"anyOf":[{"$ref":"#/components/schemas/personal_os__trututor_ai_work_coach_proxy__ClarificationResponse"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["action_kind","object_id","need_id","revision"],"title":"ActionResponse"},"ActivatePolicy":{"properties":{"expected_state":{"type":"string","enum":["REVIEWED"],"const":"REVIEWED","title":"Expected State","default":"REVIEWED"},"reason":{"type":"string","maxLength":1000,"minLength":4,"title":"Reason"}},"type":"object","required":["reason"],"title":"ActivatePolicy"},"ActivatePurposePolicy":{"properties":{"reason":{"type":"string","maxLength":1000,"minLength":4,"title":"Reason"}},"type":"object","required":["reason"],"title":"ActivatePurposePolicy"},"ActivateQualityPolicyBody":{"properties":{"acknowledgement":{"type":"string","enum":["activate-reviewed-quality-policy"],"const":"activate-reviewed-quality-policy","title":"Acknowledgement"}},"additionalProperties":false,"type":"object","required":["acknowledgement"],"title":"ActivateQualityPolicyBody"},"ActivateScopedRightRequest":{"properties":{"sponsorship_id":{"type":"string","format":"uuid","title":"Sponsorship Id"}},"additionalProperties":false,"type":"object","required":["sponsorship_id"],"title":"ActivateScopedRightRequest"},"ActivationBody":{"properties":{"activation_receipt_id":{"type":"string","maxLength":120,"minLength":3,"title":"Activation Receipt Id"},"probe_version":{"type":"string","maxLength":120,"minLength":3,"title":"Probe Version"},"probe_payload":{"type":"object","minProperties":1,"title":"Probe Payload"},"valid_for_seconds":{"type":"integer","maximum":86400.0,"minimum":60.0,"title":"Valid For Seconds","default":3600}},"additionalProperties":false,"type":"object","required":["activation_receipt_id","probe_version","probe_payload"],"title":"ActivationBody"},"ActivationRequest":{"properties":{"subject_node_id":{"type":"string","format":"uuid","title":"Subject Node Id"},"term_key":{"type":"string","maxLength":120,"minLength":1,"title":"Term Key"},"term_version":{"type":"integer","minimum":1.0,"title":"Term Version"},"source":{"type":"string","enum":["DOOR","PLAN"],"title":"Source","default":"DOOR"},"request_id":{"type":"string","maxLength":120,"minLength":1,"title":"Request Id"}},"type":"object","required":["subject_node_id","term_key","term_version","request_id"],"title":"ActivationRequest"},"ActivityEvidenceReceiptV1":{"properties":{"receipt_id":{"type":"string","maxLength":300,"minLength":1,"title":"Receipt Id"},"producer_id":{"type":"string","maxLength":80,"minLength":1,"title":"Producer Id"},"learner_subject":{"type":"string","maxLength":64,"minLength":1,"title":"Learner Subject"},"activity_kind":{"type":"string","maxLength":80,"minLength":1,"title":"Activity Kind"},"occurred_at_utc":{"type":"string","format":"date-time","title":"Occurred At Utc"},"learner_timezone":{"type":"string","maxLength":64,"minLength":1,"title":"Learner Timezone"},"source_version":{"type":"string","maxLength":300,"minLength":1,"title":"Source Version"},"evidence_digest":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Evidence Digest"},"sequence":{"type":"integer","minimum":1.0,"title":"Sequence"},"signature":{"type":"string","pattern":"^[A-Za-z0-9._-]{1,64}:[a-f0-9]{64}$","title":"Signature"}},"additionalProperties":false,"type":"object","required":["receipt_id","producer_id","learner_subject","activity_kind","occurred_at_utc","learner_timezone","source_version","evidence_digest","sequence","signature"],"title":"ActivityEvidenceReceiptV1","description":"The PRD's exact ten-field wire contract; no caller-supplied Growth IDs."},"AdapterCheckpointCommand":{"properties":{"adapter_id":{"type":"string","maxLength":100,"minLength":2,"title":"Adapter Id"},"owner_os":{"type":"string","maxLength":16,"minLength":2,"title":"Owner Os"},"entity_types":{"items":{"type":"string","enum":["concept","chapter","product","route","proof","note","report","source","content"]},"type":"array","maxItems":16,"minItems":1,"title":"Entity Types"},"state":{"type":"string","enum":["AVAILABLE","DEPENDENCY_OPEN","DISABLED","DEGRADED"],"title":"State"},"source_version":{"type":"string","maxLength":100,"minLength":1,"title":"Source Version"},"indexed_through":{"type":"string","format":"date-time","title":"Indexed Through"},"stale_after":{"type":"string","format":"date-time","title":"Stale After"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os14_universal_index__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["adapter_id","owner_os","entity_types","state","source_version","indexed_through","stale_after","actor_id","evidence_refs"],"title":"AdapterCheckpointCommand"},"AdaptiveCorrectionRequest":{"properties":{"correction_type":{"type":"string","enum":["SOURCE_RECALL","SOURCE_REVOKE","CONSENT_REVOKE","ACCESS_REVOKE","GRAPH_REMAP","POLICY_SUPERSEDE","VOCABULARY_SUPERSEDE"],"title":"Correction Type"},"reason":{"type":"string","maxLength":500,"minLength":8,"title":"Reason"},"source_receipt_ref":{"type":"string","maxLength":300,"minLength":8,"title":"Source Receipt Ref"},"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"}},"additionalProperties":false,"type":"object","required":["correction_type","reason","source_receipt_ref","expected_version"],"title":"AdaptiveCorrectionRequest"},"AdaptiveDecisionRequest":{"properties":{"purpose_decision_ref":{"type":"string","maxLength":100,"minLength":8,"title":"Purpose Decision Ref"},"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version"},"validity_seconds":{"type":"integer","maximum":900.0,"minimum":60.0,"title":"Validity Seconds","default":300},"entry_mode":{"type":"string","enum":["home","today","resume","return","onboarding","direct_product"],"title":"Entry Mode","default":"home"}},"additionalProperties":false,"type":"object","required":["purpose_decision_ref","expected_version"],"title":"AdaptiveDecisionRequest"},"AdaptiveSimulationRequest":{"properties":{"actor":{"$ref":"#/components/schemas/SimulationActorFixture"},"signals":{"items":{"$ref":"#/components/schemas/SignalCandidate"},"type":"array","title":"Signals"},"evaluated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Evaluated At"}},"additionalProperties":false,"type":"object","required":["actor","signals"],"title":"AdaptiveSimulationRequest"},"AdaptiveTelemetryRequest":{"properties":{"event_type":{"type":"string","enum":["adaptive.decision_rendered","adaptive.object_impression","adaptive.action_invoked","adaptive.return_observed","adaptive.correction_rendered"],"title":"Event Type"},"render_ack_id":{"type":"string","title":"Render Ack Id"},"object_id":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Object Id"},"job_ref":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Job Ref"},"route":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Route"},"entry_mode":{"type":"string","maxLength":120,"minLength":1,"title":"Entry Mode"},"source_ref":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Source Ref"},"state":{"type":"string","maxLength":80,"minLength":1,"title":"State"},"reason_codes":{"items":{"type":"string"},"type":"array","title":"Reason Codes","default":[]},"payload":{"type":"object","title":"Payload"},"idempotency_key":{"type":"string","maxLength":200,"minLength":8,"title":"Idempotency Key"},"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version"}},"additionalProperties":false,"type":"object","required":["event_type","render_ack_id","entry_mode","state","idempotency_key","expected_version"],"title":"AdaptiveTelemetryRequest"},"AddOptionRequest":{"properties":{"option":{"$ref":"#/components/schemas/decision_universe__models_career_capital__OptionIn"}},"additionalProperties":false,"type":"object","required":["option"],"title":"AddOptionRequest"},"AddRouteCostRequest":{"properties":{"label":{"type":"string","maxLength":200,"minLength":1,"title":"Label"},"option_key":{"anyOf":[{"type":"string","maxLength":1200,"minLength":3},{"type":"null"}],"title":"Option Key"},"yearly_fee_minor":{"type":"integer","maximum":1000000000000.0,"minimum":0.0,"title":"Yearly Fee Minor"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","title":"Currency","default":"INR"}},"additionalProperties":false,"type":"object","required":["label","yearly_fee_minor"],"title":"AddRouteCostRequest","description":"A fee from the family's admission or fee letter. Always labelled as theirs."},"AddressBody":{"properties":{"full_name":{"type":"string","maxLength":120,"title":"Full Name","default":""},"phone":{"type":"string","maxLength":20,"title":"Phone","default":""},"line1":{"type":"string","maxLength":200,"title":"Line1","default":""},"line2":{"type":"string","maxLength":200,"title":"Line2","default":""},"city":{"type":"string","maxLength":100,"title":"City","default":""},"state":{"type":"string","maxLength":80,"title":"State","default":""},"pincode":{"type":"string","maxLength":12,"title":"Pincode","default":""}},"additionalProperties":false,"type":"object","title":"AddressBody"},"AddressRefBody":{"properties":{"address_custody_ref":{"type":"string","maxLength":100,"minLength":8,"title":"Address Custody Ref"}},"additionalProperties":false,"type":"object","required":["address_custody_ref"],"title":"AddressRefBody"},"AdmissionCrosswalk":{"properties":{"binding_id":{"type":"string","title":"Binding Id"},"exam_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Exam Id"},"admission_route_id":{"type":"string","title":"Admission Route Id"},"programme_id":{"type":"string","title":"Programme Id"},"counselling_system_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Counselling System Id"},"valid_from":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Valid From"},"attributes":{"type":"object","title":"Attributes"},"source":{"$ref":"#/components/schemas/SourceDisclosure"}},"additionalProperties":false,"type":"object","required":["binding_id","admission_route_id","programme_id","source"],"title":"AdmissionCrosswalk"},"AdmissionDecisionRef":{"properties":{"ref_type":{"type":"string","enum":["CHOICE_LIST","ASSEMBLED_CHOICE_LIST","COUNSELLING_COORDINATION","ROUND_ACTION","SEAT_DECISION"],"title":"Ref Type"},"ref_id":{"type":"string","format":"uuid","title":"Ref Id"},"ref_version":{"type":"integer","minimum":1.0,"title":"Ref Version"},"ref_digest":{"type":"string","title":"Ref Digest"}},"additionalProperties":false,"type":"object","required":["ref_type","ref_id","ref_version","ref_digest"],"title":"AdmissionDecisionRef"},"AdmissionEntity":{"properties":{"canonical_id":{"type":"string","title":"Canonical Id"},"entity_type":{"type":"string","title":"Entity Type"},"code":{"type":"string","title":"Code"},"display_name":{"type":"string","title":"Display Name"},"authority_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authority Code"},"parent_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Id"},"jurisdiction":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Jurisdiction"},"academic_year":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Academic Year"},"session_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Code"},"programme_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Programme Level"},"valid_from":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Valid From"},"attributes":{"type":"object","title":"Attributes"},"source":{"$ref":"#/components/schemas/SourceDisclosure"}},"additionalProperties":false,"type":"object","required":["canonical_id","entity_type","code","display_name","source"],"title":"AdmissionEntity"},"AdmissionRequeueCommand":{"properties":{"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version"},"reason":{"type":"string","maxLength":500,"minLength":3,"title":"Reason"}},"type":"object","required":["expected_version","reason"],"title":"AdmissionRequeueCommand"},"AdmissionRunCommand":{"properties":{"limit":{"type":"integer","maximum":500.0,"minimum":1.0,"title":"Limit","default":50},"scan_limit":{"type":"integer","maximum":5000.0,"minimum":1.0,"title":"Scan Limit","default":500},"lease_seconds":{"type":"integer","maximum":900.0,"minimum":15.0,"title":"Lease Seconds","default":60},"scan":{"type":"boolean","title":"Scan","default":true}},"type":"object","title":"AdmissionRunCommand"},"AdvanceBody":{"properties":{"activation_id":{"type":"string","maxLength":64,"minLength":8,"title":"Activation Id"},"state":{"type":"string","maxLength":32,"minLength":3,"title":"State"},"provider_ref":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Provider Ref"},"failure_reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Failure Reason"}},"type":"object","required":["activation_id","state"],"title":"AdvanceBody"},"AffectedDecision":{"properties":{"decision_record_id":{"type":"string","format":"uuid","title":"Decision Record Id"},"decided_at":{"type":"string","format":"date-time","title":"Decided At"},"decision_kind":{"type":"string","title":"Decision Kind"},"chosen_ref":{"type":"string","title":"Chosen Ref"},"standing":{"type":"string","enum":["STANDS","GROUND_MOVED","DERIVED_FROM_MOVED","UNKNOWN"],"title":"Standing"},"moved_ref_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Moved Ref Type"},"via":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Via"},"reason_given":{"type":"boolean","title":"Reason Given","default":false}},"additionalProperties":false,"type":"object","required":["decision_record_id","decided_at","decision_kind","chosen_ref","standing"],"title":"AffectedDecision","description":"One of the family's own decisions, and what the correction did to it."},"AffectedPathwayRef":{"properties":{"ref_type":{"type":"string","enum":["ELIGIBILITY","PATHWAY_DECISION","RECOVERY","TRANSITION","FRONTIER","PLAN","MODEL_CARD","INSTITUTION_PROJECTION"],"title":"Ref Type"},"ref_id":{"type":"string","format":"uuid","title":"Ref Id"},"ref_version":{"type":"integer","minimum":1.0,"title":"Ref Version"},"ref_digest":{"type":"string","title":"Ref Digest"},"dependency_refs":{"items":{"type":"string"},"type":"array","title":"Dependency Refs"},"consumer_ids":{"items":{"type":"string"},"type":"array","title":"Consumer Ids","default":[]}},"additionalProperties":false,"type":"object","required":["ref_type","ref_id","ref_version","ref_digest","dependency_refs"],"title":"AffectedPathwayRef"},"AffectedReference":{"properties":{"reference":{"$ref":"#/components/schemas/CrossProductReference"},"target_state":{"type":"string","enum":["STALE","HELD","SUPERSEDED"],"title":"Target State"},"successor_ref_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Successor Ref Id"},"successor_ref_digest":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Successor Ref Digest"}},"additionalProperties":false,"type":"object","required":["reference","target_state"],"title":"AffectedReference"},"AffordabilityClarificationIssue":{"properties":{"prompt_class":{"type":"string","enum":["PUBLIC_CONTEXT"],"const":"PUBLIC_CONTEXT","title":"Prompt Class"},"response_schema":{"type":"string","enum":["ACKNOWLEDGE_V1","PUBLIC_TEXT_V1"],"title":"Response Schema"},"prompt_text":{"type":"string","maxLength":1200,"minLength":1,"title":"Prompt Text"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"}},"additionalProperties":false,"type":"object","required":["prompt_class","response_schema","prompt_text","expires_at"],"title":"AffordabilityClarificationIssue"},"AffordabilityClarificationResponse":{"properties":{"clarification_version":{"type":"integer","minimum":1.0,"title":"Clarification Version"},"response_kind":{"type":"string","enum":["ACKNOWLEDGE","PROVIDE_CONTEXT"],"title":"Response Kind"},"response_text":{"anyOf":[{"type":"string","maxLength":1200},{"type":"null"}],"title":"Response Text"},"supersedes_response_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Supersedes Response Id"}},"additionalProperties":false,"type":"object","required":["clarification_version","response_kind"],"title":"AffordabilityClarificationResponse"},"AffordabilityRequestBody":{"properties":{"request_type":{"type":"string","enum":["fee_help","payment_plan","scholarship","discount_review","refund_help"],"title":"Request Type"},"budget_band":{"type":"string","enum":["under_500","500_999","1000_1999","2000_plus","not_disclosed"],"title":"Budget Band","default":"not_disclosed"},"urgency":{"type":"string","enum":["standard","time_sensitive","critical_access"],"title":"Urgency","default":"standard"},"summary":{"type":"string","maxLength":1200,"minLength":3,"title":"Summary"},"relationship_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Relationship Id"}},"type":"object","required":["request_type","summary"],"title":"AffordabilityRequestBody"},"AgeCheckRequest":{"properties":{"birth_month":{"title":"Birth Month"},"birth_year":{"title":"Birth Year"},"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role","default":"student"},"door":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Door"}},"type":"object","title":"AgeCheckRequest"},"AggregateSnapshotPacket":{"properties":{"schema_version":{"type":"string","enum":["aspireace.institution_aggregate_snapshot.v1"],"const":"aspireace.institution_aggregate_snapshot.v1","title":"Schema Version"},"snapshot_id":{"type":"string","pattern":"^p60n_[0-9a-f]{32}$","title":"Snapshot Id"},"scope_id":{"type":"string","pattern":"^p60s_[0-9a-f]{32}$","title":"Scope Id"},"source_id":{"type":"string","pattern":"^source_[0-9a-f]{32}$","title":"Source Id"},"key_id":{"type":"string","pattern":"^aek_[0-9a-f]{32}$","title":"Key Id"},"producer_key":{"type":"string","format":"uuid","title":"Producer Key"},"issuer":{"type":"string","enum":["aspireace-evidence-producer"],"const":"aspireace-evidence-producer","title":"Issuer"},"issued_at":{"type":"string","format":"date-time","title":"Issued At"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"observed_at":{"type":"string","format":"date-time","title":"Observed At"},"evidence_window_start":{"type":"string","format":"date-time","title":"Evidence Window Start"},"evidence_window_end":{"type":"string","format":"date-time","title":"Evidence Window End"},"consented_evidence_count":{"type":"integer","maximum":10000000.0,"minimum":0.0,"title":"Consented Evidence Count"},"mastery_index":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Mastery Index"},"source_state":{"type":"string","enum":["CURRENT","STALE","CONSENT_PARTIAL"],"title":"Source State"},"correction_status":{"type":"string","enum":["CURRENT","REVOKED"],"title":"Correction Status"},"supersedes_snapshot_id":{"anyOf":[{"type":"string","pattern":"^p60n_[0-9a-f]{32}$"},{"type":"null"}],"title":"Supersedes Snapshot Id"},"payload_hash":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Payload Hash"}},"additionalProperties":false,"type":"object","required":["schema_version","snapshot_id","scope_id","source_id","key_id","producer_key","issuer","issued_at","expires_at","observed_at","evidence_window_start","evidence_window_end","consented_evidence_count","source_state","correction_status","payload_hash"],"title":"AggregateSnapshotPacket"},"AlertCreateCommand":{"properties":{"alert_id":{"type":"string","format":"uuid","title":"Alert Id"},"sharing_grant_id":{"type":"string","format":"uuid","title":"Sharing Grant Id"},"alert_type":{"type":"string","maxLength":80,"minLength":2,"title":"Alert Type"},"severity":{"type":"string","enum":["information","check_in","attention","urgent"],"title":"Severity"},"title":{"type":"string","maxLength":240,"minLength":1,"title":"Title"},"summary":{"type":"string","maxLength":1200,"minLength":1,"title":"Summary"},"action":{"type":"object","title":"Action"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os12_parent_safe__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"},"confidence":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Confidence"},"source_created_at":{"type":"string","format":"date-time","title":"Source Created At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"created_by":{"type":"string","maxLength":128,"minLength":1,"title":"Created By"}},"additionalProperties":false,"type":"object","required":["sharing_grant_id","alert_type","severity","title","summary","evidence_refs","confidence","source_created_at","created_by"],"title":"AlertCreateCommand"},"AliasApproval":{"properties":{"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version"},"reviewer_note":{"type":"string","maxLength":1000,"minLength":3,"title":"Reviewer Note"}},"additionalProperties":false,"type":"object","required":["expected_version","reviewer_note"],"title":"AliasApproval"},"AllocateCapacityRequest":{"properties":{"roster_snapshot_ref":{"type":"string","format":"uuid","title":"Roster Snapshot Ref"},"quantity":{"type":"integer","maximum":5000.0,"minimum":1.0,"title":"Quantity"},"capacity_reservation_ref":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Capacity Reservation Ref"}},"additionalProperties":false,"type":"object","required":["roster_snapshot_ref","quantity"],"title":"AllocateCapacityRequest"},"AllocationRequest":{"properties":{"pool_id":{"type":"string","maxLength":160,"minLength":3,"title":"Pool Id"},"mapping_id":{"type":"string","maxLength":160,"minLength":3,"title":"Mapping Id"},"beneficiary_ref":{"type":"string","maxLength":160,"minLength":3,"title":"Beneficiary Ref"},"consent_ref":{"type":"string","maxLength":160,"minLength":3,"title":"Consent Ref"},"roster_ref":{"type":"string","maxLength":160,"minLength":3,"title":"Roster Ref"},"idempotency_key":{"type":"string","maxLength":200,"minLength":8,"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["pool_id","mapping_id","beneficiary_ref","consent_ref","roster_ref","idempotency_key"],"title":"AllocationRequest"},"AnnualStatementPublication":{"properties":{"statement_id":{"type":"string","format":"uuid","title":"Statement Id"},"parent_id":{"type":"string","maxLength":80,"minLength":1,"title":"Parent Id"},"child_id":{"type":"string","maxLength":80,"minLength":1,"title":"Child Id"},"year":{"type":"integer","maximum":2100.0,"minimum":2020.0,"title":"Year"},"version":{"type":"integer","minimum":1.0,"title":"Version"},"receipt_ref":{"type":"string","maxLength":240,"minLength":8,"title":"Receipt Ref"},"generated_at":{"type":"string","format":"date-time","title":"Generated At"},"os21_purpose":{"type":"string","maxLength":100,"minLength":1,"title":"Os21 Purpose"},"source_folio":{"items":{"additionalProperties":{"type":"string"},"type":"object"},"type":"array","maxItems":80,"minItems":1,"title":"Source Folio"},"sections":{"items":{"type":"string"},"type":"array","maxItems":32,"minItems":1,"title":"Sections"},"state":{"type":"string","pattern":"^(PUBLISHED|WITHDRAWN|SUPERSEDED)$","title":"State","default":"PUBLISHED"},"predecessor_version":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Predecessor Version"}},"additionalProperties":false,"type":"object","required":["statement_id","parent_id","child_id","year","version","receipt_ref","generated_at","os21_purpose","source_folio","sections"],"title":"AnnualStatementPublication"},"AnonymousSessionCommand":{"properties":{"anonymous_session_id":{"type":"string","format":"uuid","title":"Anonymous Session Id"},"surface_id":{"type":"string","format":"uuid","title":"Surface Id"},"intent_key":{"type":"string","maxLength":160,"minLength":1,"title":"Intent Key"},"allowed_signals":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Allowed Signals"},"prohibited_signal_summary":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Prohibited Signal Summary"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"actor_id":{"type":"string","title":"Actor Id","default":"anonymous"},"metadata":{"type":"object","title":"Metadata"}},"additionalProperties":false,"type":"object","required":["surface_id","intent_key","expires_at"],"title":"AnonymousSessionCommand"},"AnswerReq":{"properties":{"session_id":{"type":"string","title":"Session Id"},"choice":{"type":"string","pattern":"^[A-D]$","title":"Choice"}},"type":"object","required":["session_id","choice"],"title":"AnswerReq"},"AnswerSection":{"properties":{"section_id":{"type":"string","maxLength":160,"minLength":1,"title":"Section Id"},"kind":{"type":"string","enum":["direct","steps","boundary","study_action"],"title":"Kind"},"body":{"type":"string","maxLength":16000,"minLength":1,"title":"Body"}},"additionalProperties":false,"type":"object","required":["section_id","kind","body"],"title":"AnswerSection"},"AppealReviewCaseRequest":{"properties":{"reason_codes":{"items":{"type":"string"},"type":"array","maxItems":20,"minItems":1,"title":"Reason Codes"},"narrative":{"type":"string","maxLength":500,"minLength":3,"title":"Narrative"}},"additionalProperties":false,"type":"object","required":["reason_codes","narrative"],"title":"AppealReviewCaseRequest"},"AppendPreferenceVersionRequest":{"properties":{"purpose_scopes":{"anyOf":[{"items":{"type":"string","enum":["ADMISSION","PATHWAY","COMBINED"]},"type":"array"},{"type":"null"}],"title":"Purpose Scopes"},"fields":{"items":{"$ref":"#/components/schemas/PreferenceFieldInput"},"type":"array","minItems":1,"title":"Fields"},"consent_ref":{"anyOf":[{"type":"string","maxLength":300,"minLength":4},{"type":"null"}],"title":"Consent Ref"},"change_reason":{"type":"string","maxLength":240,"minLength":3,"title":"Change Reason"}},"additionalProperties":false,"type":"object","required":["fields","change_reason"],"title":"AppendPreferenceVersionRequest"},"ApplicationBody":{"properties":{"kind":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kind"},"legal_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Legal Name"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"},"evidence_refs":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Evidence Refs"},"declared_scale":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Declared Scale"}},"type":"object","title":"ApplicationBody"},"AppliedBody":{"properties":{"sha":{"type":"string","maxLength":40,"minLength":7,"title":"Sha"},"note":{"type":"string","maxLength":300,"title":"Note","default":""}},"type":"object","required":["sha"],"title":"AppliedBody"},"ApplyBody":{"properties":{"display_name":{"type":"string","maxLength":120,"minLength":2,"title":"Display Name"},"kind":{"type":"string","maxLength":10,"title":"Kind"},"source":{"type":"string","maxLength":12,"title":"Source","default":"ASPIREACE"},"tt_teacher_ref":{"anyOf":[{"type":"string","maxLength":96},{"type":"null"}],"title":"Tt Teacher Ref"},"subjects":{"items":{},"type":"array","title":"Subjects"},"exams":{"items":{},"type":"array","title":"Exams"},"qualification":{"type":"string","maxLength":600,"minLength":10,"title":"Qualification"},"years_experience":{"type":"integer","maximum":60.0,"minimum":0.0,"title":"Years Experience"},"sample_marking":{"type":"string","maxLength":4000,"minLength":40,"title":"Sample Marking"},"adult_declared":{"type":"boolean","title":"Adult Declared","default":false},"idempotency_key":{"anyOf":[{"type":"string","maxLength":160,"minLength":8},{"type":"null"}],"title":"Idempotency Key"}},"type":"object","required":["display_name","kind","qualification","years_experience","sample_marking"],"title":"ApplyBody"},"ApplyInsightsCorrectionRequest":{"properties":{"expected_decision_version":{"type":"integer","minimum":1.0,"title":"Expected Decision Version"}},"additionalProperties":false,"type":"object","required":["expected_decision_version"],"title":"ApplyInsightsCorrectionRequest"},"ApprovalCreateRequest":{"properties":{"target_ref":{"$ref":"#/components/schemas/EntityRef"},"action_code":{"type":"string","maxLength":160,"minLength":3,"title":"Action Code"},"risk_class":{"$ref":"#/components/schemas/RiskLevel"},"scope":{"type":"object","minProperties":1,"title":"Scope"},"impact":{"type":"object","minProperties":1,"title":"Impact"},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":100,"minItems":1,"title":"Evidence Refs"},"required_roles":{"items":{"type":"string"},"type":"array","maxItems":20,"minItems":1,"title":"Required Roles"},"required_count":{"type":"integer","maximum":10.0,"minimum":1.0,"title":"Required Count","default":1},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"reason":{"type":"string","maxLength":1000,"minLength":8,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["target_ref","action_code","risk_class","scope","impact","evidence_refs","required_roles","expires_at","reason"],"title":"ApprovalCreateRequest"},"ApprovalDecision":{"properties":{"request_revision":{"type":"integer","minimum":1.0,"title":"Request Revision"},"decision":{"type":"string","pattern":"^(APPROVE|DECLINE)$","title":"Decision"},"idempotency_key":{"type":"string","maxLength":160,"minLength":8,"title":"Idempotency Key"},"decline_reason":{"anyOf":[{"type":"string","maxLength":500,"minLength":1},{"type":"null"}],"title":"Decline Reason"}},"additionalProperties":false,"type":"object","required":["request_revision","decision","idempotency_key"],"title":"ApprovalDecision"},"ApprovalDecisionRequest":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"decision":{"type":"string","enum":["APPROVE","REJECT"],"title":"Decision"},"reason":{"type":"string","maxLength":2000,"minLength":8,"title":"Reason"},"conditions":{"items":{"type":"object"},"type":"array","maxItems":20,"title":"Conditions"}},"additionalProperties":false,"type":"object","required":["expected_version","decision","reason"],"title":"ApprovalDecisionRequest"},"ApprovalRequestPublication":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"request_revision":{"type":"integer","minimum":1.0,"title":"Request Revision"},"child_id":{"type":"string","maxLength":80,"minLength":1,"title":"Child Id"},"requested_by_product":{"type":"string","maxLength":100,"minLength":1,"title":"Requested By Product"},"request_class":{"type":"string","maxLength":80,"minLength":1,"title":"Request Class"},"reason":{"type":"string","maxLength":1000,"minLength":1,"title":"Reason"},"amount":{"anyOf":[{"type":"number"},{"type":"string"},{"type":"null"}],"title":"Amount"},"currency":{"anyOf":[{"type":"string","maxLength":3,"minLength":3},{"type":"null"}],"title":"Currency"},"do_nothing_outcome":{"type":"string","maxLength":500,"minLength":1,"title":"Do Nothing Outcome"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"os21_purpose":{"type":"string","maxLength":100,"minLength":1,"title":"Os21 Purpose"},"source_policy_version":{"type":"string","maxLength":80,"minLength":1,"title":"Source Policy Version"},"source_state":{"type":"string","pattern":"^(PENDING|WITHDRAWN)$","title":"Source State","default":"PENDING"}},"additionalProperties":false,"type":"object","required":["request_id","request_revision","child_id","requested_by_product","request_class","reason","do_nothing_outcome","expires_at","os21_purpose","source_policy_version"],"title":"ApprovalRequestPublication"},"ApprovalTransitionRequest":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"reason":{"type":"string","maxLength":2000,"minLength":8,"title":"Reason"},"approval_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Approval Id"}},"additionalProperties":false,"type":"object","required":["expected_version","reason"],"title":"ApprovalTransitionRequest"},"ApprovalValidateRequest":{"properties":{"execution_actor_id":{"type":"string","format":"uuid","title":"Execution Actor Id"},"target_ref":{"$ref":"#/components/schemas/EntityRef"},"action_code":{"type":"string","maxLength":160,"minLength":3,"title":"Action Code"},"scope":{"type":"object","minProperties":1,"title":"Scope"},"consume":{"type":"boolean","title":"Consume","default":false},"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"}},"additionalProperties":false,"type":"object","required":["execution_actor_id","target_ref","action_code","scope","expected_version"],"title":"ApprovalValidateRequest"},"ApproveBody":{"properties":{"reviewer_name":{"type":"string","maxLength":80,"minLength":2,"title":"Reviewer Name"},"edited_text":{"anyOf":[{"type":"string","maxLength":12000},{"type":"null"}],"title":"Edited Text"}},"type":"object","required":["reviewer_name"],"title":"ApproveBody"},"ApprovedOfferBody":{"properties":{"offer_label":{"type":"string","maxLength":200,"minLength":3,"title":"Offer Label"},"authority":{"type":"string","maxLength":120,"minLength":2,"title":"Authority"},"source_snapshot_id":{"type":"string","maxLength":36,"minLength":36,"title":"Source Snapshot Id"},"source_ref":{"type":"string","maxLength":300,"minLength":3,"title":"Source Ref"},"criteria_summary":{"type":"string","maxLength":4000,"minLength":3,"title":"Criteria Summary"},"effective_from":{"anyOf":[{"type":"string","maxLength":10},{"type":"null"}],"title":"Effective From"},"effective_to":{"anyOf":[{"type":"string","maxLength":10},{"type":"null"}],"title":"Effective To"}},"additionalProperties":false,"type":"object","required":["offer_label","authority","source_snapshot_id","source_ref","criteria_summary"],"title":"ApprovedOfferBody"},"ArtifactCreateRequest":{"properties":{"artifact_name":{"type":"string","maxLength":200,"minLength":1,"title":"Artifact Name"},"request_id":{"type":"string","maxLength":128,"minLength":1,"title":"Request Id"}},"additionalProperties":false,"type":"object","required":["artifact_name","request_id"],"title":"ArtifactCreateRequest"},"ArtifactRef":{"properties":{"owner_os":{"type":"string","maxLength":16,"minLength":2,"title":"Owner Os"},"object_type":{"type":"string","maxLength":80,"minLength":2,"title":"Object Type"},"object_id":{"type":"string","maxLength":160,"minLength":1,"title":"Object Id"},"version":{"type":"string","maxLength":64,"minLength":1,"title":"Version"},"receipt_id":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Receipt Id"}},"additionalProperties":false,"type":"object","required":["owner_os","object_type","object_id","version"],"title":"ArtifactRef"},"ArtifactVersionRequest":{"properties":{"content_text":{"type":"string","maxLength":200000,"minLength":1,"title":"Content Text"},"media_type":{"type":"string","maxLength":80,"title":"Media Type","default":"text/plain"},"assistance_declared":{"anyOf":[{"type":"string","maxLength":1000,"minLength":1},{"type":"null"}],"title":"Assistance Declared"},"client_event_id":{"type":"string","maxLength":128,"minLength":1,"title":"Client Event Id"}},"additionalProperties":false,"type":"object","required":["content_text","client_event_id"],"title":"ArtifactVersionRequest","description":"A save. Text is kept inline; a file upload needs object storage, which is not attached yet.\n\nUnlike the other requests this one does NOT strip whitespace: the stored text, its hash and its\nsize must be exactly what the learner saved."},"AskBody":{"properties":{"doc_id":{"type":"string","title":"Doc Id"},"canonical_pdf_id":{"type":"string","maxLength":160,"minLength":4,"title":"Canonical Pdf Id"},"question":{"type":"string","maxLength":2000,"minLength":1,"title":"Question"},"top_k":{"type":"integer","maximum":10.0,"minimum":1.0,"title":"Top K","default":5}},"additionalProperties":false,"type":"object","required":["doc_id","canonical_pdf_id","question"],"title":"AskBody"},"AskConsentDecision":{"properties":{"notice_version":{"type":"string","maxLength":80,"minLength":1,"title":"Notice Version","default":"os21-ask-v2"},"retention_choice":{"anyOf":[{"type":"string","maxLength":60},{"type":"null"}],"title":"Retention Choice"}},"additionalProperties":false,"type":"object","title":"AskConsentDecision"},"AskContextConfirmation":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"context":{"anyOf":[{"$ref":"#/components/schemas/ConfirmedContextInput"},{"type":"null"}]},"confirmed_context_ref":{"anyOf":[{"type":"string","maxLength":240,"minLength":8},{"type":"null"}],"title":"Confirmed Context Ref"},"input_text":{"type":"string","maxLength":12000,"minLength":1,"title":"Input Text"},"retention_choice":{"anyOf":[{"type":"string","enum":["30_days","365_days"]},{"type":"null"}],"title":"Retention Choice"}},"additionalProperties":false,"type":"object","required":["expected_version","input_text"],"title":"AskContextConfirmation"},"AskIn":{"properties":{"ref":{"type":"string","maxLength":120,"title":"Ref"}},"additionalProperties":false,"type":"object","required":["ref"],"title":"AskIn"},"AskSourceCorrectionCommand":{"properties":{"student_id":{"type":"string","maxLength":200,"minLength":1,"title":"Student Id"},"predecessor_release_id":{"type":"string","maxLength":200,"minLength":1,"title":"Predecessor Release Id"},"successor_release_id":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Successor Release Id"},"affected_source_ref":{"type":"string","maxLength":2000,"minLength":1,"title":"Affected Source Ref"},"source_recall_ref":{"type":"string","maxLength":300,"minLength":1,"title":"Source Recall Ref"},"source_recall_digest":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Source Recall Digest"},"source_owner_operation":{"type":"string","enum":["OS10_CORRECTION_EVENT","OS10_PUBLICATION_RECALL"],"title":"Source Owner Operation"},"correction_type":{"type":"string","enum":["corrected","revoked"],"title":"Correction Type"},"reason":{"type":"string","maxLength":1000,"minLength":1,"title":"Reason"},"policy_id":{"type":"string","maxLength":160,"minLength":1,"title":"Policy Id"},"policy_version":{"type":"string","maxLength":120,"minLength":1,"title":"Policy Version"}},"additionalProperties":false,"type":"object","required":["student_id","predecessor_release_id","affected_source_ref","source_recall_ref","source_recall_digest","source_owner_operation","correction_type","reason","policy_id","policy_version"],"title":"AskSourceCorrectionCommand"},"AskSourceDigestReconciliation":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"input_text":{"type":"string","maxLength":12000,"minLength":1,"title":"Input Text"},"confirmed_context_ref":{"type":"string","format":"uuid","title":"Confirmed Context Ref"}},"additionalProperties":false,"type":"object","required":["expected_version","input_text","confirmed_context_ref"],"title":"AskSourceDigestReconciliation"},"AskTurnCreate":{"properties":{"input_text":{"type":"string","maxLength":12000,"minLength":1,"title":"Input Text"},"input_mode":{"type":"string","enum":["text","voice","pdf","image"],"title":"Input Mode","default":"text"},"purpose":{"type":"string","enum":["learning_support","practice_help","planning","source_question"],"title":"Purpose","default":"learning_support"},"context":{"$ref":"#/components/schemas/askimgimp_pr01_authority__AcademicContext"},"context_required":{"type":"boolean","title":"Context Required","default":false},"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version","default":0},"entry_mode":{"type":"string","maxLength":120,"minLength":2,"title":"Entry Mode","default":"text_doubt"},"return_ref":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Return Ref"},"retention_choice":{"anyOf":[{"type":"string","enum":["30_days","365_days"]},{"type":"null"}],"title":"Retention Choice"}},"additionalProperties":false,"type":"object","required":["input_text"],"title":"AskTurnCreate"},"AssembledItem":{"properties":{"option_key":{"type":"string","title":"Option Key"},"college_key":{"type":"string","title":"College Key"},"institute_name":{"type":"string","title":"Institute Name"},"branch":{"type":"string","title":"Branch"},"quota":{"type":"string","title":"Quota","default":""},"category":{"type":"string","title":"Category","default":""},"gender":{"type":"string","title":"Gender","default":""},"placement":{"type":"string","enum":["PLACED","NOT_PLACED"],"title":"Placement"},"position":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Position"},"layer":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Layer"},"hard_locked":{"type":"boolean","title":"Hard Locked","default":false},"tie_group":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tie Group"},"reason_codes":{"items":{"type":"string"},"type":"array","title":"Reason Codes","default":[]},"reference":{"allOf":[{"$ref":"#/components/schemas/ReferenceFigure"}],"default":{"closings_held":0}},"band":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Band"},"band_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Band Note"},"margin":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Margin"},"fees":{"type":"string","enum":["NOT_PUBLISHED"],"const":"NOT_PUBLISHED","title":"Fees","default":"NOT_PUBLISHED"},"unplaced_reason":{"anyOf":[{"type":"string","enum":["NO_CUTOFF_HISTORY","SOURCES_DISAGREE","NO_COMPARABLE_OBJECTIVE","FEES_NOT_PUBLISHED"]},{"type":"null"}],"title":"Unplaced Reason"},"missing_evidence":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Missing Evidence"},"reason":{"type":"string","title":"Reason","default":""}},"additionalProperties":false,"type":"object","required":["option_key","college_key","institute_name","branch","placement"],"title":"AssembledItem"},"AssembledListRead":{"properties":{"choice_list_id":{"type":"string","format":"uuid","title":"Choice List Id"},"series_id":{"type":"string","format":"uuid","title":"Series Id"},"version_no":{"type":"integer","minimum":1.0,"title":"Version No"},"predecessor_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Predecessor Id"},"current_version_no":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Current Version No"},"state":{"type":"string","title":"State"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"order":{"$ref":"#/components/schemas/AssembledOrder"}},"additionalProperties":false,"type":"object","required":["choice_list_id","series_id","version_no","state","order"],"title":"AssembledListRead"},"AssembledListSummary":{"properties":{"choice_list_id":{"type":"string","format":"uuid","title":"Choice List Id"},"series_id":{"type":"string","format":"uuid","title":"Series Id"},"version_no":{"type":"integer","title":"Version No"},"state":{"type":"string","title":"State"},"exam_type":{"type":"string","title":"Exam Type"},"body_key":{"type":"string","title":"Body Key"},"year":{"type":"integer","title":"Year"},"placed_count":{"type":"integer","title":"Placed Count"},"unplaced_count":{"type":"integer","title":"Unplaced Count"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"}},"additionalProperties":false,"type":"object","required":["choice_list_id","series_id","version_no","state","exam_type","body_key","year","placed_count","unplaced_count"],"title":"AssembledListSummary"},"AssembledOrder":{"properties":{"exam_type":{"type":"string","title":"Exam Type"},"body_key":{"type":"string","title":"Body Key"},"body_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body Label"},"year":{"type":"integer","title":"Year"},"read_at":{"type":"string","title":"Read At"},"inputs":{"$ref":"#/components/schemas/FamilyInputs"},"locks":{"items":{"$ref":"#/components/schemas/OrderLock"},"type":"array","title":"Locks","default":[]},"precedence":{"items":{"$ref":"#/components/schemas/OrderPrecedence"},"type":"array","title":"Precedence","default":[]},"placed":{"items":{"$ref":"#/components/schemas/AssembledItem"},"type":"array","title":"Placed","default":[]},"unplaced":{"items":{"$ref":"#/components/schemas/AssembledItem"},"type":"array","title":"Unplaced","default":[]},"tie_groups":{"items":{"items":{"type":"string"},"type":"array"},"type":"array","title":"Tie Groups","default":[]},"order_digest":{"type":"string","title":"Order Digest"},"notes":{"items":{"type":"string"},"type":"array","title":"Notes","default":[]}},"additionalProperties":false,"type":"object","required":["exam_type","body_key","year","read_at","inputs","order_digest"],"title":"AssembledOrder","description":"The result of ordering: placed in order, then the options that could not be."},"AssessmentAttemptCommand":{"properties":{"attempt_id":{"type":"string","format":"uuid","title":"Attempt Id"},"student_id":{"type":"string","maxLength":128,"minLength":1,"title":"Student Id"},"mode":{"type":"string","enum":["objective","subjective","dpp","mock","chapter_test","quick_check","work_check","work_baseline"],"title":"Mode"},"source_route":{"type":"string","maxLength":128,"minLength":1,"title":"Source Route"},"assessment_id":{"type":"string","maxLength":128,"minLength":1,"title":"Assessment Id"},"question_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Question Id"},"answer_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Answer Ref"},"observable_answer":{"type":"object","title":"Observable Answer"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os06_assessment_evidence__models__EvidenceRef"},"type":"array","title":"Evidence Refs"},"submitted_at":{"type":"string","format":"date-time","title":"Submitted At"}},"type":"object","required":["student_id","mode","source_route","assessment_id"],"title":"AssessmentAttemptCommand"},"AssessmentIn":{"properties":{"display_name":{"type":"string","maxLength":80,"minLength":1,"title":"Display Name"},"assessed_on":{"type":"string","format":"date","title":"Assessed On"},"max_marks":{"type":"number","maximum":1000.0,"exclusiveMinimum":0.0,"title":"Max Marks"}},"type":"object","required":["display_name","assessed_on","max_marks"],"title":"AssessmentIn"},"AssetBindingCommand":{"properties":{"publication_id":{"type":"string","format":"uuid","title":"Publication Id"},"publication_version":{"type":"integer","minimum":1.0,"title":"Publication Version"},"payload_hash":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Payload Hash"},"asset_object_ref":{"type":"string","maxLength":500,"minLength":1,"title":"Asset Object Ref"},"storage_alias":{"type":"string","pattern":"^assets$","title":"Storage Alias"},"object_key":{"type":"string","maxLength":1024,"minLength":1,"title":"Object Key"},"object_version_id":{"anyOf":[{"type":"string","maxLength":1024},{"type":"null"}],"title":"Object Version Id"},"expected_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Expected Sha256"},"expected_bytes":{"type":"integer","maximum":134217728.0,"minimum":1.0,"title":"Expected Bytes"}},"additionalProperties":false,"type":"object","required":["publication_id","publication_version","payload_hash","asset_object_ref","storage_alias","object_key","expected_sha256","expected_bytes"],"title":"AssetBindingCommand"},"AssignBody":{"properties":{"person_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Person Id"}},"type":"object","title":"AssignBody"},"AssignCohortInstancesRequest":{"properties":{"roster_snapshot_ref":{"type":"string","format":"uuid","title":"Roster Snapshot Ref"},"allocation_ref":{"type":"string","format":"uuid","title":"Allocation Ref"},"learner_ids":{"items":{"type":"string"},"type":"array","maxItems":5000,"minItems":1,"title":"Learner Ids"},"activity_definition_ref":{"type":"string","maxLength":200,"minLength":1,"title":"Activity Definition Ref"},"assignment_version":{"type":"integer","minimum":1.0,"title":"Assignment Version"}},"additionalProperties":false,"type":"object","required":["roster_snapshot_ref","allocation_ref","learner_ids","activity_definition_ref","assignment_version"],"title":"AssignCohortInstancesRequest"},"AssignPersonaReq":{"properties":{"persona":{"type":"string","pattern":"^P-(AARAV|DIYA|RAJESH)$","title":"Persona"},"source":{"type":"string","pattern":"^(signup_intent|behaviour|manual_override|system_reevaluate)$","title":"Source","default":"manual_override"},"confidence":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Confidence","default":0.9},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},"type":"object","required":["persona"],"title":"AssignPersonaReq"},"AssignRequest":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"}},"additionalProperties":false,"type":"object","required":["expected_version"],"title":"AssignRequest"},"AssignedWorkCreate":{"properties":{"student_id":{"type":"string","maxLength":128,"minLength":1,"title":"Student Id"},"source_ref":{"type":"string","maxLength":200,"minLength":1,"title":"Source Ref"},"assignment_kind":{"type":"string","enum":["practice","dpp","test","chapter","revision","follow_up"],"title":"Assignment Kind"},"title":{"type":"string","maxLength":160,"minLength":1,"title":"Title"},"learning_object_ref":{"type":"string","maxLength":200,"minLength":1,"title":"Learning Object Ref"},"learner_route":{"type":"string","maxLength":500,"pattern":"^/","title":"Learner Route"},"due_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Due At"},"source_proof_ref":{"type":"string","maxLength":240,"minLength":1,"title":"Source Proof Ref"},"metadata":{"type":"object","title":"Metadata"}},"type":"object","required":["student_id","source_ref","assignment_kind","title","learning_object_ref","learner_route","source_proof_ref"],"title":"AssignedWorkCreate"},"AssignedWorkStatusUpdate":{"properties":{"status":{"type":"string","enum":["assigned","in_progress","completed"],"title":"Status"}},"type":"object","required":["status"],"title":"AssignedWorkStatusUpdate"},"AssuranceLevel":{"type":"string","enum":["AAL1","AAL2","AAL3"],"title":"AssuranceLevel"},"AtlasItem":{"properties":{"entity_id":{"type":"string","format":"uuid","title":"Entity Id"},"entity_version_id":{"type":"string","format":"uuid","title":"Entity Version Id"},"entity_type":{"type":"string","enum":["DEGREE","CREDENTIAL","PROGRAMME","SKILL","OCCUPATION","INSTITUTION","APPRENTICESHIP","VOCATIONAL_ROUTE","PROFESSIONAL_ROUTE","CAREER_FAMILY","OCCUPATIONAL_CLASSIFICATION_NODE","JOB_ROLE","QUALIFICATION_PACK","PROFESSION","REGULATORY_CLASS","EDUCATION_STAGE","SUBJECT_COMBINATION","CAPABILITY","TASK","TOOL"],"title":"Entity Type"},"canonical_label":{"type":"string","title":"Canonical Label"},"aliases":{"items":{"type":"string"},"type":"array","title":"Aliases","default":[]},"attributes":{"type":"object","title":"Attributes"},"source_refs":{"items":{"type":"object"},"type":"array","title":"Source Refs"}},"additionalProperties":false,"type":"object","required":["entity_id","entity_version_id","entity_type","canonical_label","attributes","source_refs"],"title":"AtlasItem"},"AtlasPage":{"properties":{"graph_release_id":{"type":"string","format":"uuid","title":"Graph Release Id"},"entity_type":{"type":"string","enum":["DEGREE","CREDENTIAL","PROGRAMME","SKILL","OCCUPATION","INSTITUTION","APPRENTICESHIP","VOCATIONAL_ROUTE","PROFESSIONAL_ROUTE","CAREER_FAMILY","OCCUPATIONAL_CLASSIFICATION_NODE","JOB_ROLE","QUALIFICATION_PACK","PROFESSION","REGULATORY_CLASS","EDUCATION_STAGE","SUBJECT_COMBINATION","CAPABILITY","TASK","TOOL"],"title":"Entity Type"},"query":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Query"},"items":{"items":{"$ref":"#/components/schemas/AtlasItem"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"source_thin":{"type":"boolean","title":"Source Thin","default":false}},"additionalProperties":false,"type":"object","required":["graph_release_id","entity_type","items"],"title":"AtlasPage"},"AtlasProduct":{"type":"string","enum":["custom-test","ncert-mastery-map","notes-builder","pyq-atlas","visualisers","concept-capsule","flashcards","mindmap","videos","derived-artifacts"],"title":"AtlasProduct"},"AtlasState":{"type":"string","enum":["LOADING","READY","PARTIAL","EMPTY","DEGRADED","STALE","REVOKED","LOCKED","PERMISSION","CONFLICT"],"title":"AtlasState"},"AtomicallyHoldSeatRequest":{"properties":{"sponsorship_id":{"type":"string","format":"uuid","title":"Sponsorship Id"},"offer_version_id":{"type":"string","format":"uuid","title":"Offer Version Id"},"preflight_digest":{"type":"string","title":"Preflight Digest"},"hold_ttl_seconds":{"type":"integer","maximum":3600.0,"minimum":60.0,"title":"Hold Ttl Seconds","default":900}},"additionalProperties":false,"type":"object","required":["sponsorship_id","offer_version_id","preflight_digest"],"title":"AtomicallyHoldSeatRequest"},"AttachBody":{"properties":{"exam_type":{"type":"string","title":"Exam Type"},"body_key":{"type":"string","title":"Body Key"},"college_key":{"type":"string","title":"College Key"},"branch":{"type":"string","title":"Branch"},"quota":{"type":"string","title":"Quota"},"category":{"type":"string","title":"Category"},"gender":{"type":"string","title":"Gender"}},"type":"object","required":["exam_type","body_key","college_key","branch","quota","category","gender"],"title":"AttachBody"},"AttachThreadReferenceRequest":{"properties":{"ref_type":{"type":"string","enum":["PREDICTION_CONTEXT","RANK_DECISION","COLLEGE_DECISION","SEAT_DECISION","CHOICE_LIST_DECISION","ROUND_ACTION_DECISION","PATHWAY_CONTEXT","PATHWAY_DECISION","PATHWAY_PLAN","PARENT_PROJECTION","COUNSELLOR_CASE","OUTCOME_EVIDENCE","CORRECTION_RECEIPT","COST_DECISION","SCHEDULE_REF","RULE_RELEASE","CHOICE_BUILDER_LIST"],"title":"Ref Type"},"ref_id":{"type":"string","format":"uuid","title":"Ref Id"},"ref_version":{"type":"integer","minimum":1.0,"title":"Ref Version","default":1},"ref_digest":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ref Digest"},"ref_status":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Ref Status"},"predecessor_thread_ref_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Predecessor Thread Ref Id"},"product_receipt_ref":{"type":"string","maxLength":300,"minLength":4,"title":"Product Receipt Ref"}},"additionalProperties":false,"type":"object","required":["ref_type","ref_id","product_receipt_ref"],"title":"AttachThreadReferenceRequest"},"Audience":{"properties":{"kind":{"type":"string","pattern":"^(person|cohort)$","title":"Kind"},"student_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Student Id"},"cohort_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Cohort Id"}},"type":"object","required":["kind"],"title":"Audience"},"AuditAssembledListRequest":{"properties":{},"additionalProperties":false,"type":"object","title":"AuditAssembledListRequest","description":"No fields. The audit policy is pinned on the server (AUDIT_POLICY_VERSION);\na client cannot choose it, and any field sent is refused."},"AuditChoiceListRequest":{"properties":{"audit_policy_version":{"type":"string","maxLength":100,"minLength":3,"title":"Audit Policy Version"}},"additionalProperties":false,"type":"object","required":["audit_policy_version"],"title":"AuditChoiceListRequest"},"AuthorityBoundary":{"properties":{"source_release_approval_and_load":{"type":"string","title":"Source Release Approval And Load","default":"DATAIMP_EDUGRAPH_ONLY"},"graph_publication_and_pathway_decisions":{"type":"string","title":"Graph Publication And Pathway Decisions","default":"PATHIMP_ONLY"},"rank_college_seat_decisions":{"type":"string","title":"Rank College Seat Decisions","default":"PREDIMP_ONLY"},"comparison_choice_counselling_decisions":{"type":"string","title":"Comparison Choice Counselling Decisions","default":"PREDNEXT_ONLY"},"this_api":{"type":"string","title":"This Api","default":"SOURCE_FACT_READ_MODEL_ONLY"}},"type":"object","title":"AuthorityBoundary"},"AuthoritySeasonStatus":{"properties":{"authority":{"type":"string","title":"Authority"},"state":{"type":"string","enum":["OPEN","NOT_YET_OPEN","ENDED","NOT_PUBLISHED"],"title":"State"},"season_year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Season Year"},"message":{"type":"string","title":"Message"},"rounds":{"items":{"$ref":"#/components/schemas/RoundSeasonStatus"},"type":"array","title":"Rounds","default":[]}},"additionalProperties":false,"type":"object","required":["authority","state","message"],"title":"AuthoritySeasonStatus"},"AuthorityType":{"type":"string","enum":["OFFICIAL","OWNED","LICENSED","PUBLIC_DOMAIN","OER","UNKNOWN"],"title":"AuthorityType"},"AuthorityWithoutRules":{"properties":{"authority":{"type":"string","title":"Authority"},"note":{"type":"string","title":"Note"},"message":{"type":"string","title":"Message"}},"additionalProperties":false,"type":"object","required":["authority","note","message"],"title":"AuthorityWithoutRules","description":"A counselling body the product knows families use but for which no round rules are published here yet.\nListed so the gap is visible and honest; it disappears by itself the moment a reviewed release is published."},"AuthorizationRequest":{"properties":{"purpose":{"type":"string","maxLength":120,"minLength":2,"title":"Purpose"},"action":{"type":"string","maxLength":160,"minLength":3,"title":"Action"},"environment":{"type":"string","maxLength":40,"minLength":2,"title":"Environment"},"tenant_id":{"type":"string","maxLength":128,"minLength":1,"title":"Tenant Id"},"entity":{"$ref":"#/components/schemas/EntityRef"},"requested_risk":{"anyOf":[{"$ref":"#/components/schemas/RiskLevel"},{"type":"null"}]},"target_version":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Target Version"},"approval_receipt_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Approval Receipt Id"},"requester_identity_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Requester Identity Id"},"incident_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Incident Ref"},"context":{"type":"object","title":"Context"}},"additionalProperties":false,"type":"object","required":["purpose","action","environment","tenant_id","entity"],"title":"AuthorizationRequest"},"Availability":{"type":"string","enum":["AVAILABLE","PARTIAL","UNAVAILABLE"],"title":"Availability"},"AvailabilityDay":{"properties":{"day_of_week":{"type":"integer","maximum":6.0,"minimum":0.0,"title":"Day Of Week"},"enabled":{"type":"boolean","title":"Enabled","default":true},"window_start":{"type":"string","pattern":"^(?:[01]\\d|2[0-3]):[0-5]\\d$","title":"Window Start","default":"18:00"},"window_end":{"type":"string","pattern":"^(?:[01]\\d|2[0-3]):[0-5]\\d$","title":"Window End","default":"21:30"},"max_minutes":{"anyOf":[{"type":"integer","maximum":360.0,"minimum":30.0},{"type":"null"}],"title":"Max Minutes"}},"type":"object","required":["day_of_week"],"title":"AvailabilityDay"},"AvailabilityView":{"properties":{"available":{"type":"boolean","title":"Available"},"state":{"type":"string","enum":["AVAILABLE","UNAVAILABLE"],"title":"State"},"reason_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason Code"},"message":{"type":"string","title":"Message"},"saving_enabled":{"type":"boolean","title":"Saving Enabled"},"max_routes":{"type":"integer","title":"Max Routes","default":12},"min_routes":{"type":"integer","title":"Min Routes","default":2},"release":{"anyOf":[{"$ref":"#/components/schemas/ReleaseView"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["available","state","message","saving_enabled"],"title":"AvailabilityView"},"AwardBody":{"properties":{"badge_id":{"type":"string","maxLength":64,"minLength":1,"title":"Badge Id"},"evidence_ref":{"type":"string","maxLength":512,"minLength":3,"title":"Evidence Ref"}},"type":"object","required":["badge_id","evidence_ref"],"title":"AwardBody"},"BandEntry":{"properties":{"institution_name":{"type":"string","title":"Institution Name"},"programme_name":{"type":"string","title":"Programme Name"},"campus_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Campus Name"},"offering_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Offering Name"},"domicile_scope":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Domicile Scope"},"rank_universe":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rank Universe"},"rank_qualifier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rank Qualifier"},"quota_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Quota Code"},"category_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category Code"},"gender_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gender Code"},"seat_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Seat Type"},"closing_rank":{"type":"integer","minimum":1.0,"title":"Closing Rank"},"opening_rank":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Opening Rank"},"round_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Round Label"},"rounds_observed":{"type":"integer","minimum":1.0,"title":"Rounds Observed","default":1},"counselling_body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Counselling Body"},"source_authority":{"type":"string","title":"Source Authority"},"published_at":{"anyOf":[{"type":"string","format":"date"},{"type":"string","format":"date-time"}],"title":"Published At"},"evidence_class":{"type":"string","enum":["HISTORICAL_EVIDENCE"],"const":"HISTORICAL_EVIDENCE","title":"Evidence Class","default":"HISTORICAL_EVIDENCE"}},"additionalProperties":false,"type":"object","required":["institution_name","programme_name","closing_rank","source_authority","published_at"],"title":"BandEntry","description":"One observed closing rank. Every field here is a published fact."},"BandKey":{"properties":{"exam":{"type":"string","maxLength":40,"minLength":2,"title":"Exam"},"year":{"type":"integer","maximum":2100.0,"minimum":2000.0,"title":"Year"},"band_low":{"type":"integer","minimum":1.0,"title":"Band Low"},"band_high":{"type":"integer","minimum":1.0,"title":"Band High"},"rank_list":{"anyOf":[{"type":"string","maxLength":250},{"type":"null"}],"title":"Rank List"}},"additionalProperties":false,"type":"object","required":["exam","year","band_low","band_high"],"title":"BandKey"},"BandPage":{"properties":{"key":{"$ref":"#/components/schemas/BandKey"},"rank_list":{"$ref":"#/components/schemas/RankList"},"other_rank_lists":{"items":{"$ref":"#/components/schemas/RankList"},"type":"array","title":"Other Rank Lists","default":[]},"generated_at":{"type":"string","format":"date-time","title":"Generated At"},"entries":{"items":{"$ref":"#/components/schemas/BandEntry"},"type":"array","title":"Entries","default":[]},"seat_offset":{"type":"integer","minimum":0.0,"title":"Seat Offset","default":0},"next_seat_offset":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Next Seat Offset"},"institution_count":{"type":"integer","minimum":0.0,"title":"Institution Count","default":0},"programme_count":{"type":"integer","minimum":0.0,"title":"Programme Count","default":0},"latest_publication":{"anyOf":[{"type":"string","format":"date"},{"type":"string","format":"date-time"},{"type":"null"}],"title":"Latest Publication"},"rounds_covered":{"items":{"type":"string"},"type":"array","title":"Rounds Covered","default":[]},"what_this_is":{"type":"string","title":"What This Is"},"what_this_is_not":{"type":"string","title":"What This Is Not"},"reason_codes":{"items":{"type":"string"},"type":"array","title":"Reason Codes","default":[]},"contains_personal_data":{"type":"boolean","enum":[false],"const":false,"title":"Contains Personal Data","default":false},"is_a_prediction":{"type":"boolean","enum":[false],"const":false,"title":"Is A Prediction","default":false}},"additionalProperties":false,"type":"object","required":["key","rank_list","generated_at","what_this_is","what_this_is_not"],"title":"BandPage"},"BannerDefinition":{"properties":{"kind":{"type":"string","enum":["banner","season"],"title":"Kind","default":"banner"},"text":{"type":"string","maxLength":140,"minLength":1,"title":"Text"},"text_hi":{"type":"string","maxLength":240,"minLength":1,"title":"Text Hi"},"product_ids":{"items":{"type":"string"},"type":"array","maxItems":4,"title":"Product Ids"},"exams":{"items":{"type":"string"},"type":"array","maxItems":11,"title":"Exams"},"starts_on":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Starts On"},"ends_on":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Ends On"},"source_ref":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Source Ref"},"source_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Source Date"}},"additionalProperties":false,"type":"object","required":["text","text_hi"],"title":"BannerDefinition"},"BannerSave":{"properties":{"banner_id":{"type":"string","title":"Banner Id"},"definition":{"$ref":"#/components/schemas/BannerDefinition"},"reason":{"type":"string","maxLength":500,"minLength":3,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["banner_id","definition","reason"],"title":"BannerSave"},"BatchBody":{"properties":{"reviewer_name":{"type":"string","maxLength":80,"minLength":2,"title":"Reviewer Name"},"decisions":{"items":{"$ref":"#/components/schemas/BatchDecision"},"type":"array","maxItems":50,"minItems":1,"title":"Decisions"}},"type":"object","required":["reviewer_name","decisions"],"title":"BatchBody"},"BatchDecision":{"properties":{"draft_id":{"type":"integer","minimum":1.0,"title":"Draft Id"},"action":{"type":"string","enum":["approve","reject"],"title":"Action"},"edited_text":{"anyOf":[{"type":"string","maxLength":12000},{"type":"null"}],"title":"Edited Text"},"reason":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Reason"},"acknowledge_flags":{"type":"boolean","title":"Acknowledge Flags","default":false}},"type":"object","required":["draft_id","action"],"title":"BatchDecision"},"BatchEnvelope":{"properties":{"events":{"items":{"$ref":"#/components/schemas/EventEnvelope"},"type":"array","maxItems":100,"minItems":1,"title":"Events"}},"additionalProperties":false,"type":"object","required":["events"],"title":"BatchEnvelope"},"BatchReferenceRequest":{"properties":{"operation":{"type":"string","enum":["MOVE","REMOVE"],"title":"Operation"},"reference_ids":{"items":{"type":"string","maxLength":240,"minLength":1},"type":"array","maxItems":100,"minItems":1,"title":"Reference Ids"},"collection_versions":{"items":{"$ref":"#/components/schemas/CollectionVersion"},"type":"array","maxItems":51,"title":"Collection Versions","default":[]},"destination_collection_id":{"anyOf":[{"type":"string","maxLength":240,"minLength":1},{"type":"null"}],"title":"Destination Collection Id"}},"additionalProperties":false,"type":"object","required":["operation","reference_ids"],"title":"BatchReferenceRequest"},"BatchWithdraw":{"properties":{"reason":{"type":"string","maxLength":200,"minLength":3,"title":"Reason"}},"type":"object","required":["reason"],"title":"BatchWithdraw"},"BindBody":{"properties":{"objects":{"items":{"type":"string"},"type":"array","maxItems":50,"minItems":1,"title":"Objects"},"basis":{"type":"string","enum":["founder","board_row","question","inferred"],"title":"Basis","default":"founder"}},"type":"object","required":["objects"],"title":"BindBody"},"BindCitationsRequest":{"properties":{"owner_id":{"type":"string","maxLength":160,"minLength":1,"title":"Owner Id"},"decision_record_id":{"type":"string","format":"uuid","title":"Decision Record Id"},"citations":{"items":{"$ref":"#/components/schemas/CitationInput"},"type":"array","maxItems":50,"minItems":1,"title":"Citations"},"written_under_entitlement":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Written Under Entitlement"}},"additionalProperties":false,"type":"object","required":["owner_id","decision_record_id","citations"],"title":"BindCitationsRequest","description":"Written by the deciding product at the moment it answers. Never by a screen."},"BindingApprovalRequest":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"reason":{"type":"string","maxLength":2000,"minLength":8,"title":"Reason"},"approval_receipt_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Approval Receipt Id"},"decision":{"type":"string","enum":["APPROVE","REJECT"],"title":"Decision","default":"APPROVE"}},"additionalProperties":false,"type":"object","required":["expected_version","reason"],"title":"BindingApprovalRequest"},"BindingProposal":{"properties":{"os01_concept_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Os01 Concept Id"},"legacy_graph_concept_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Legacy Graph Concept Id"},"object_namespace":{"anyOf":[{"type":"string","enum":["question","ncert","pyq","note","asset","drill","mock","plan","route","repair_treatment","tutor_speciality"]},{"type":"null"}],"title":"Object Namespace"},"object_id":{"anyOf":[{"type":"string","maxLength":512,"minLength":1},{"type":"null"}],"title":"Object Id"},"release_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Release Id"},"relationship_type":{"type":"string","enum":["EQUIVALENT","BROADER_THAN","NARROWER_THAN","SUPPORTING"],"title":"Relationship Type","default":"EQUIVALENT"},"method":{"type":"string","enum":["EXACT_ID","EXACT_CANONICAL_KEY","EXACT_SCOPED_LABEL","MANUAL_REVIEW","EXACT_LEGACY_GRAPH","EXACT_OS01_ID","INVENTORY"],"title":"Method"},"graph_snapshot_id":{"anyOf":[{"type":"string","maxLength":512,"minLength":8},{"type":"null"}],"title":"Graph Snapshot Id"},"structural_label":{"type":"object","title":"Structural Label"},"evidence":{"type":"object","title":"Evidence"},"reason":{"type":"string","maxLength":1000,"minLength":3,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["method","reason"],"title":"BindingProposal"},"BindingReview":{"properties":{"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version"},"decision":{"type":"string","enum":["APPROVED","REJECTED","RETIRED","UNMAPPED","AMBIGUOUS","OUT_OF_SCOPE","CONFLICT"],"title":"Decision"},"reason":{"type":"string","maxLength":1000,"minLength":3,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["expected_version","decision","reason"],"title":"BindingReview"},"Bindings":{"properties":{"offer_ref":{"type":"string","maxLength":200,"minLength":1,"title":"Offer Ref"},"payer_ref":{"type":"string","maxLength":200,"minLength":1,"title":"Payer Ref"},"consent_ref":{"type":"string","maxLength":200,"minLength":1,"title":"Consent Ref"},"authority_ref":{"type":"string","maxLength":200,"minLength":1,"title":"Authority Ref"},"commerce_authority_ref":{"type":"string","maxLength":200,"minLength":1,"title":"Commerce Authority Ref"}},"additionalProperties":false,"type":"object","required":["offer_ref","payer_ref","consent_ref","authority_ref","commerce_authority_ref"],"title":"Bindings","description":"The five commercial decisions. All typed by the owner; none has a default."},"BiologyDiagramReq":{"properties":{"diagram_name":{"type":"string","title":"Diagram Name"}},"type":"object","required":["diagram_name"],"title":"BiologyDiagramReq"},"BlockBody":{"properties":{"add":{"items":{},"type":"array","maxItems":20,"title":"Add"},"remove":{"items":{},"type":"array","maxItems":20,"title":"Remove"},"reason":{"type":"string","maxLength":200,"title":"Reason","default":""}},"type":"object","title":"BlockBody"},"BlockCommand":{"type":"string","enum":["start","complete","skip"],"title":"BlockCommand"},"BlockCompleteBody":{"properties":{"student_id":{"type":"string","maxLength":64,"minLength":1,"title":"Student Id"},"time_ms":{"anyOf":[{"type":"integer","maximum":86400000.0,"minimum":0.0},{"type":"null"}],"title":"Time Ms"},"adherence_score":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Adherence Score"},"evidence_ref":{"anyOf":[{"type":"string","maxLength":160,"minLength":1},{"type":"null"}],"title":"Evidence Ref"}},"type":"object","required":["student_id"],"title":"BlockCompleteBody"},"BlockDeferBody":{"properties":{"student_id":{"type":"string","maxLength":64,"minLength":1,"title":"Student Id"},"reason":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Reason"}},"type":"object","required":["student_id"],"title":"BlockDeferBody"},"BlockReorderBody":{"properties":{"student_id":{"type":"string","maxLength":64,"minLength":1,"title":"Student Id"},"new_order":{"items":{"type":"integer"},"type":"array","maxItems":20,"minItems":1,"title":"New Order","description":"Permutation of the existing block_orders. Must contain exactly the same set of integers as today's plan currently has. e.g. if plan has blocks at orders [0, 1, 2, 3], new_order=[2, 0, 1, 3] moves the third block to the front."}},"type":"object","required":["student_id","new_order"],"title":"BlockReorderBody"},"BlockSkipBody":{"properties":{"student_id":{"type":"string","maxLength":64,"minLength":1,"title":"Student Id"},"reason":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Reason"}},"type":"object","required":["student_id"],"title":"BlockSkipBody"},"BlockStartBody":{"properties":{"student_id":{"type":"string","maxLength":64,"minLength":1,"title":"Student Id"},"session_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Session Id"}},"type":"object","required":["student_id"],"title":"BlockStartBody"},"BlockerEscalation":{"properties":{"reason":{"type":"string","maxLength":1000,"minLength":8,"title":"Reason"},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Evidence Refs"},"summary":{"type":"string","maxLength":1000,"minLength":8,"title":"Summary"},"requested_decision":{"type":"string","maxLength":1000,"minLength":8,"title":"Requested Decision"},"owner_role":{"type":"string","maxLength":120,"minLength":2,"title":"Owner Role"},"severity":{"type":"string","enum":["SEV1","SEV2","SEV3","SEV4"],"title":"Severity"},"deadline":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Deadline"}},"additionalProperties":false,"type":"object","required":["reason","summary","requested_decision","owner_role","severity"],"title":"BlockerEscalation"},"BoardEditBody":{"properties":{"reason":{"type":"string","maxLength":500,"minLength":3,"title":"Reason"},"field":{"type":"string","title":"Field"},"value":{"type":"string","maxLength":600,"minLength":3,"title":"Value"}},"type":"object","required":["reason","field","value"],"title":"BoardEditBody"},"BoardUpdate":{"properties":{"field":{"type":"string","pattern":"^(now|next|blocked|stands|built|focus|plan|team|public_works|public_next)$","title":"Field"},"value":{"type":"string","maxLength":600,"minLength":3,"title":"Value"},"note":{"type":"string","maxLength":400,"title":"Note","default":""}},"type":"object","required":["field","value"],"title":"BoardUpdate"},"Body_activate_review_policy_api_v1_ops_your_rank_review_tasks_policies__policy_id__activate_post":{"properties":{"body":{"$ref":"#/components/schemas/PolicyActivateBody"},"ctx":{"$ref":"#/components/schemas/StudentCtx"}},"type":"object","required":["body","ctx"],"title":"Body_activate_review_policy_api_v1_ops_your_rank_review_tasks_policies__policy_id__activate_post"},"Body_cl120_upload_api_v1_clusters_cl_120_imports_post":{"properties":{"image":{"type":"string","format":"binary","title":"Image"}},"type":"object","required":["image"],"title":"Body_cl120_upload_api_v1_clusters_cl_120_imports_post"},"Body_cl260_pdf_ingest_api_v1_clusters_cl_260_pdf_ingest_post":{"properties":{"pdf":{"type":"string","format":"binary","title":"Pdf"}},"type":"object","required":["pdf"],"title":"Body_cl260_pdf_ingest_api_v1_clusters_cl_260_pdf_ingest_post"},"Body_cl260_pr730_note_capture_photo":{"properties":{"image":{"type":"string","format":"binary","title":"Image","description":"JPG/PNG image of the note"},"title":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Title"},"source_object_namespace":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Object Namespace"},"source_object_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Object Id"},"product_context_receipt_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Context Receipt Id"},"product_context_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Context Hash"},"purpose_consent_ref":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Purpose Consent Ref"}},"type":"object","required":["image"],"title":"Body_cl260_pr730_note_capture_photo"},"Body_cl260_pr745_pdf_upload":{"properties":{"pdf":{"type":"string","format":"binary","title":"Pdf","description":"PDF file"},"title":{"type":"string","maxLength":255,"minLength":1,"title":"Title"},"source_object_namespace":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Object Namespace"},"source_object_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Object Id"},"product_context_receipt_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Context Receipt Id"},"product_context_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Context Hash"},"purpose_consent_ref":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Purpose Consent Ref"}},"type":"object","required":["pdf","title"],"title":"Body_cl260_pr745_pdf_upload"},"Body_create_import_api_v1_notebook_import_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_create_import_api_v1_notebook_import_post"},"Body_handoff_evaluation_internal_v1_cross_pack_handoffs_evaluate_post":{"properties":{"body":{"$ref":"#/components/schemas/cross_pack_convergence__models__HandoffRequest"},"flags":{"additionalProperties":{"type":"boolean"},"type":"object","title":"Flags"}},"type":"object","required":["body","flags"],"title":"Body_handoff_evaluation_internal_v1_cross_pack_handoffs_evaluate_post"},"Body_notes_voice_transcribe":{"properties":{"audio":{"type":"string","format":"binary","title":"Audio","description":"the recording"},"consent":{"type":"string","title":"Consent","default":""},"language":{"type":"string","maxLength":8,"title":"Language","default":"auto"},"duration_ms":{"anyOf":[{"type":"integer","maximum":86400000.0,"minimum":0.0},{"type":"null"}],"title":"Duration Ms"}},"type":"object","required":["audio"],"title":"Body_notes_voice_transcribe"},"Body_pdfchat_upload":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_pdfchat_upload"},"Body_publish_review_task_api_v1_ops_your_rank_review_tasks_publish_post":{"properties":{"body":{"$ref":"#/components/schemas/ReviewTaskPublishBody"},"ctx":{"$ref":"#/components/schemas/StudentCtx"}},"type":"object","required":["body","ctx"],"title":"Body_publish_review_task_api_v1_ops_your_rank_review_tasks_publish_post"},"Body_retire_review_policy_api_v1_ops_your_rank_review_tasks_policies__policy_id__retire_post":{"properties":{"body":{"$ref":"#/components/schemas/PolicyRetireBody"},"ctx":{"$ref":"#/components/schemas/StudentCtx"}},"type":"object","required":["body","ctx"],"title":"Body_retire_review_policy_api_v1_ops_your_rank_review_tasks_policies__policy_id__retire_post"},"Body_stage_review_policy_api_v1_ops_your_rank_review_tasks_policies_post":{"properties":{"body":{"$ref":"#/components/schemas/PolicyStageBody"},"ctx":{"$ref":"#/components/schemas/StudentCtx"}},"type":"object","required":["body","ctx"],"title":"Body_stage_review_policy_api_v1_ops_your_rank_review_tasks_policies_post"},"Body_withdraw_review_task_api_v1_ops_your_rank_review_tasks__review_task_id__withdraw_post":{"properties":{"body":{"$ref":"#/components/schemas/ReviewTaskWithdrawBody"},"ctx":{"$ref":"#/components/schemas/StudentCtx"}},"type":"object","required":["body","ctx"],"title":"Body_withdraw_review_task_api_v1_ops_your_rank_review_tasks__review_task_id__withdraw_post"},"BreakGlassRequest":{"properties":{"operation":{"type":"string","enum":["REQUEST","APPROVE","ACTIVATE","REVOKE","REVIEW"],"title":"Operation","default":"REQUEST"},"grant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Grant Id"},"incident_ref":{"type":"string","maxLength":256,"minLength":3,"title":"Incident Ref"},"tenant_scope":{"anyOf":[{"$ref":"#/components/schemas/TenantScope"},{"type":"null"}]},"entity_scope":{"anyOf":[{"$ref":"#/components/schemas/EntityScope"},{"type":"null"}]},"risk_ceiling":{"anyOf":[{"$ref":"#/components/schemas/RiskLevel"},{"type":"null"}]},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"expected_version":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Expected Version"},"reason":{"type":"string","maxLength":2000,"minLength":8,"title":"Reason"},"approval_receipt_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Approval Receipt Id"}},"additionalProperties":false,"type":"object","required":["incident_ref","reason"],"title":"BreakGlassRequest"},"BridgeDimensions":{"properties":{"channel":{"type":"string","enum":["C3"],"const":"C3","title":"Channel","default":"C3"},"mode":{"type":"string","enum":["standalone","embedded"],"title":"Mode"},"surface":{"type":"string","maxLength":64,"minLength":1,"title":"Surface"},"locale":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Locale"},"exam_track":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Exam Track"},"subject_bucket":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Subject Bucket"},"concept_cluster":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Concept Cluster"},"cohort_bucket":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Cohort Bucket"}},"additionalProperties":false,"type":"object","required":["mode","surface"],"title":"BridgeDimensions"},"BridgeEpisodeCreate":{"properties":{"purpose":{"title":"Purpose"},"consent_grant_id":{"type":"string","format":"uuid","title":"Consent Grant Id"},"expires_in_seconds":{"type":"integer","maximum":86400.0,"minimum":60.0,"title":"Expires In Seconds","default":3600},"retention_days":{"type":"integer","maximum":30.0,"minimum":1.0,"title":"Retention Days","default":30}},"additionalProperties":false,"type":"object","required":["purpose","consent_grant_id"],"title":"BridgeEpisodeCreate"},"BridgeEpisodeEnvelope":{"properties":{"contract_id":{"type":"string","enum":["xpr11.shared_telemetry_bridge_ref_governance"],"const":"xpr11.shared_telemetry_bridge_ref_governance","title":"Contract Id","default":"xpr11.shared_telemetry_bridge_ref_governance"},"contract_version":{"type":"string","enum":["xpr11-bridge-telemetry/v1"],"const":"xpr11-bridge-telemetry/v1","title":"Contract Version","default":"xpr11-bridge-telemetry/v1"},"contract_sha256":{"type":"string","enum":["8b5e89b64d771933d84693e37162add16ba4d48ed1d67aa5127e66b07a856d44"],"const":"8b5e89b64d771933d84693e37162add16ba4d48ed1d67aa5127e66b07a856d44","title":"Contract Sha256","default":"8b5e89b64d771933d84693e37162add16ba4d48ed1d67aa5127e66b07a856d44"},"bridge_ref":{"type":"string","pattern":"^brg1_[a-f0-9]{64}$","title":"Bridge Ref"},"issuer":{"$ref":"#/components/schemas/BridgeProduct"},"purpose":{"$ref":"#/components/schemas/BridgePurpose"},"consent_scope":{"type":"string","enum":["shared_bridge_telemetry"],"const":"shared_bridge_telemetry","title":"Consent Scope","default":"shared_bridge_telemetry"},"consent_purpose":{"type":"string","enum":["cross_product_funnel_measurement"],"const":"cross_product_funnel_measurement","title":"Consent Purpose","default":"cross_product_funnel_measurement"},"consent_receipt_hash":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Consent Receipt Hash"},"consent_version":{"type":"string","maxLength":80,"minLength":1,"title":"Consent Version"},"issued_at":{"type":"string","format":"date-time","title":"Issued At"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"retention_until":{"type":"string","format":"date-time","title":"Retention Until"},"key_id":{"type":"string","maxLength":80,"minLength":3,"pattern":"^[a-zA-Z0-9._:-]+$","title":"Key Id"},"signature":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Signature"}},"additionalProperties":false,"type":"object","required":["bridge_ref","issuer","purpose","consent_receipt_hash","consent_version","issued_at","expires_at","retention_until","key_id","signature"],"title":"BridgeEpisodeEnvelope"},"BridgeEventName":{"type":"string","enum":["bridge.demand_return.shown","bridge.demand_return.taken","bridge.demand_return.overridden","bridge.handoff.started","bridge.handoff.completed","bridge.handoff.blocked","bridge.match.presented","bridge.booking.requested","bridge.session.completed","bridge.outcome.received","bridge.support.opened","bridge.sme.delivered"],"title":"BridgeEventName"},"BridgeGrantRequest":{"properties":{"purpose":{"type":"string","enum":["LEARNER_PROGRESS_READ"],"const":"LEARNER_PROGRESS_READ","title":"Purpose"},"confirmed":{"type":"boolean","title":"Confirmed"}},"type":"object","required":["purpose","confirmed"],"title":"BridgeGrantRequest"},"BridgeMaterialiseRequest":{"properties":{"decision_id":{"type":"string","maxLength":240,"minLength":8,"title":"Decision Id"},"decision_digest":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Decision Digest"},"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version"},"preferred_job_ref":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Preferred Job Ref"}},"additionalProperties":false,"type":"object","required":["decision_id","decision_digest","expected_version"],"title":"BridgeMaterialiseRequest"},"BridgeOutcome":{"type":"string","enum":["shown","taken","overridden","started","completed","blocked","suppressed","failed","accepted"],"title":"BridgeOutcome"},"BridgeProduct":{"type":"string","enum":["aspireace","trututor"],"title":"BridgeProduct"},"BridgePurpose":{"type":"string","enum":["demand_return","embedded_handoff","teacher_match","booking","session_outcome","parent_support","sme_review"],"title":"BridgePurpose"},"BridgeSubjectBindRequest":{"properties":{"shared_student_id":{"type":"string","pattern":"^sha256:[a-f0-9]{64}$","title":"Shared Student Id"},"consent_id":{"type":"string","maxLength":160,"minLength":1,"title":"Consent Id"},"consent_version":{"type":"string","maxLength":80,"minLength":1,"title":"Consent Version"},"consent_expires_at":{"type":"string","format":"date-time","title":"Consent Expires At"},"scope":{"type":"string","enum":["assigned_work_delivery","teacher_need_delivery"],"title":"Scope","default":"assigned_work_delivery"},"purpose":{"type":"string","enum":["home_assigned_work","trututor_teacher_match"],"title":"Purpose","default":"home_assigned_work"},"confirmed":{"type":"boolean","title":"Confirmed","default":true}},"type":"object","required":["shared_student_id","consent_id","consent_version","consent_expires_at"],"title":"BridgeSubjectBindRequest"},"BridgeTelemetryEvent":{"properties":{"schema_version":{"type":"string","enum":["bridge.telemetry.event.v1"],"const":"bridge.telemetry.event.v1","title":"Schema Version","default":"bridge.telemetry.event.v1"},"event_id":{"type":"string","pattern":"^bte_[a-f0-9]{32}$","title":"Event Id"},"episode":{"$ref":"#/components/schemas/BridgeEpisodeEnvelope"},"source_product":{"$ref":"#/components/schemas/BridgeProduct"},"event_name":{"$ref":"#/components/schemas/BridgeEventName"},"outcome":{"$ref":"#/components/schemas/BridgeOutcome"},"object_key":{"type":"string","maxLength":64,"minLength":1,"title":"Object Key"},"dimensions":{"$ref":"#/components/schemas/BridgeDimensions"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"},"idempotency_key":{"type":"string","maxLength":160,"minLength":8,"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["episode","source_product","event_name","outcome","object_key","dimensions","occurred_at","idempotency_key"],"title":"BridgeTelemetryEvent"},"BriefWithdrawRequest":{"properties":{"reason":{"type":"string","pattern":"^(RIGHTS_WITHDRAWN|CONFIDENTIALITY_LAPSED|WRONG_WORK_CLASS|REVIEWER_SOURCE_WITHDRAWN)$","title":"Reason"}},"additionalProperties":false,"type":"object","required":["reason"],"title":"BriefWithdrawRequest"},"BriefingCreate":{"properties":{"exam_context":{"type":"string","enum":["NEET","JEE","CUET"],"title":"Exam Context"},"exam_year":{"type":"integer","maximum":2100.0,"minimum":2024.0,"title":"Exam Year"},"source_title":{"type":"string","maxLength":240,"minLength":3,"title":"Source Title","description":"name of the official notice"},"source_link":{"type":"string","maxLength":400,"minLength":4,"title":"Source Link","description":"web address or notice number"},"source_portal":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Source Portal","description":"the NTA page the notice is published on"},"sections":{"items":{"$ref":"#/components/schemas/SectionIn"},"type":"array","maxItems":30,"minItems":1,"title":"Sections"}},"additionalProperties":false,"type":"object","required":["exam_context","exam_year","source_title","source_link","sections"],"title":"BriefingCreate"},"BriefingEdit":{"properties":{"source_title":{"type":"string","maxLength":240,"minLength":3,"title":"Source Title"},"source_link":{"type":"string","maxLength":400,"minLength":4,"title":"Source Link"},"source_portal":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Source Portal"},"sections":{"items":{"$ref":"#/components/schemas/SectionIn"},"type":"array","maxItems":30,"minItems":1,"title":"Sections"}},"additionalProperties":false,"type":"object","required":["source_title","source_link","sections"],"title":"BriefingEdit"},"BuddyMomentEvaluate":{"properties":{"source_event_id":{"type":"string","maxLength":160,"minLength":1,"title":"Source Event Id"}},"additionalProperties":false,"type":"object","required":["source_event_id"],"title":"BuddyMomentEvaluate"},"BuddyMomentResponseCreate":{"properties":{"action":{"type":"string","enum":["ACKNOWLEDGED","DISMISSED","MUTE"],"title":"Action"},"expected_preference_version":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Expected Preference Version"}},"additionalProperties":false,"type":"object","required":["action"],"title":"BuddyMomentResponseCreate"},"BuddyPreferencesPut":{"properties":{"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version"},"expected_resolver_version":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Expected Resolver Version"},"language":{"type":"string","maxLength":8,"minLength":2,"title":"Language","default":"en"},"archetype":{"type":"string","maxLength":32,"minLength":3,"title":"Archetype","default":"calm_coach"},"display_name":{"type":"string","maxLength":32,"minLength":1,"title":"Display Name","default":"Ari"},"muted":{"type":"boolean","title":"Muted","default":false},"memory_enabled":{"type":"boolean","title":"Memory Enabled","default":true},"allowed_trigger_types":{"items":{"type":"string"},"type":"array","maxItems":8,"title":"Allowed Trigger Types"},"frequency_cap_per_day":{"type":"integer","maximum":12.0,"minimum":0.0,"title":"Frequency Cap Per Day","default":2},"purpose":{"type":"string","enum":["support"],"const":"support","title":"Purpose","default":"support"}},"additionalProperties":false,"type":"object","required":["expected_version"],"title":"BuddyPreferencesPut"},"BudgetBody":{"properties":{"month":{"type":"string","title":"Month"},"group_name":{"type":"string","title":"Group Name"},"budget_minor":{"anyOf":[{"type":"integer","maximum":10000000000000.0,"minimum":0.0},{"type":"null"}],"title":"Budget Minor"}},"type":"object","required":["month","group_name"],"title":"BudgetBody"},"BuilderLine":{"properties":{"college_key":{"type":"string","maxLength":300,"minLength":3,"title":"College Key"},"branch":{"type":"string","maxLength":300,"minLength":1,"title":"Branch"},"quota":{"type":"string","maxLength":80,"title":"Quota","default":""},"category":{"type":"string","maxLength":80,"title":"Category","default":""},"gender":{"type":"string","maxLength":80,"title":"Gender","default":""}},"additionalProperties":false,"type":"object","required":["college_key","branch"],"title":"BuilderLine","description":"One seat line, identified exactly as the published table prints it.\n\n`college_key` comes from the almanac college search; branch, quota, category\nand gender are the line's own printed values (the almanac's `lines`). The\nserver re-reads the table for each one and ignores any name the browser may\nsend, so a list can only ever hold lines that exist in the published data."},"BuilderStatus":{"properties":{"saving_open":{"type":"boolean","title":"Saving Open"},"checking_open":{"type":"boolean","title":"Checking Open"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"additionalProperties":false,"type":"object","required":["saving_open","checking_open"],"title":"BuilderStatus","description":"Whether saving is open, said in words a family can read."},"BulkApproveBody":{"properties":{"scope":{"type":"string","enum":["page","filter"],"title":"Scope"},"uids":{"items":{"type":"string"},"type":"array","maxItems":100,"title":"Uids"},"status":{"type":"string","title":"Status","default":"pending"},"subject":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Subject"},"chapter":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Chapter"},"concept":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Concept"},"confirm":{"type":"boolean","title":"Confirm","default":false},"expected_count":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Expected Count"}},"additionalProperties":false,"type":"object","required":["scope"],"title":"BulkApproveBody"},"BulkEntry":{"properties":{"client_event_id":{"type":"string","maxLength":128,"minLength":1,"title":"Client Event Id"},"member_id":{"type":"string","title":"Member Id"},"value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Value"},"absent":{"type":"boolean","title":"Absent","default":false},"record_state":{"type":"string","enum":["draft","final"],"title":"Record State"}},"type":"object","required":["client_event_id","member_id","record_state"],"title":"BulkEntry"},"BulkIn":{"properties":{"class_id":{"type":"string","title":"Class Id"},"assessment_id":{"type":"string","title":"Assessment Id"},"entries":{"items":{"$ref":"#/components/schemas/BulkEntry"},"type":"array","maxItems":300,"title":"Entries"}},"type":"object","required":["class_id","assessment_id","entries"],"title":"BulkIn"},"BulkWeakTopicsRequest":{"properties":{"user_ids":{"items":{"type":"string"},"type":"array","title":"User Ids"},"top_n":{"type":"integer","title":"Top N","default":5}},"type":"object","required":["user_ids"],"title":"BulkWeakTopicsRequest","description":"Bulk fetch weak topics for multiple students (nightly DPP generation)."},"BundleBody":{"properties":{"bundle":{"type":"string","maxLength":20,"title":"Bundle"}},"type":"object","required":["bundle"],"title":"BundleBody"},"BundleComponentConfirmationBody":{"properties":{"component_ref":{"type":"string","maxLength":80,"minLength":1,"title":"Component Ref"},"requested_quantity":{"type":"integer","maximum":3.0,"minimum":1.0,"title":"Requested Quantity"}},"additionalProperties":false,"type":"object","required":["component_ref","requested_quantity"],"title":"BundleComponentConfirmationBody","description":"`accepted_quantity` and anything else the server fills is rejected as an extra field (422)."},"BundleConfirmBody":{"properties":{"bundle_ref":{"type":"string","maxLength":80,"minLength":1,"title":"Bundle Ref"},"component_confirmations":{"items":{"$ref":"#/components/schemas/BundleComponentConfirmationBody"},"type":"array","maxItems":3,"minItems":1,"title":"Component Confirmations"},"request_id":{"anyOf":[{"type":"string","maxLength":200,"minLength":8},{"type":"null"}],"title":"Request Id"}},"additionalProperties":false,"type":"object","required":["bundle_ref","component_confirmations"],"title":"BundleConfirmBody"},"BurstKitActivateReq":{"properties":{"exam_date":{"type":"string","format":"date-time","title":"Exam Date","description":"Target exam date — drives T-7 trigger"},"arc_days":{"type":"integer","maximum":14.0,"minimum":3.0,"title":"Arc Days","default":7}},"type":"object","required":["exam_date"],"title":"BurstKitActivateReq"},"BurstKitReviewResponseReq":{"properties":{"item_id":{"type":"string","minLength":1,"title":"Item Id"},"subject":{"type":"string","minLength":1,"title":"Subject","default":"physics"},"chapter":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chapter"},"topic":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Topic"},"item_type":{"type":"string","minLength":1,"title":"Item Type","default":"question"},"quality":{"anyOf":[{"type":"integer","maximum":5.0,"minimum":0.0},{"type":"null"}],"title":"Quality"},"is_correct":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Correct"},"response_time_sec":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Response Time Sec"},"expected_time_sec":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Expected Time Sec"},"days_to_exam":{"anyOf":[{"type":"integer","maximum":3650.0,"minimum":0.0},{"type":"null"}],"title":"Days To Exam"},"burnout_risk":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Burnout Risk"},"bloom_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bloom Level"},"irt_b":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Irt B"}},"type":"object","required":["item_id"],"title":"BurstKitReviewResponseReq"},"BuyerUpdate":{"properties":{"description":{"type":"string","maxLength":1000,"minLength":1,"title":"Description"},"assumed_want":{"type":"string","maxLength":1000,"minLength":1,"title":"Assumed Want"},"assumption_source":{"anyOf":[{"type":"string","enum":["MY_OWN_CONVERSATION","MY_OWN_OBSERVATION","MY_GUESS"]},{"type":"null"}],"title":"Assumption Source"},"expected_version":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Expected Version"}},"additionalProperties":false,"type":"object","required":["description","assumed_want"],"title":"BuyerUpdate"},"CacheInvalidationPlan":{"properties":{"plan_id":{"type":"string","format":"uuid","title":"Plan Id"},"products":{"items":{"type":"string"},"type":"array","title":"Products"},"scopes":{"items":{"type":"string"},"type":"array","title":"Scopes"},"reason_refs":{"items":{"$ref":"#/components/schemas/ConvergenceRef"},"type":"array","title":"Reason Refs"},"state":{"type":"string","enum":["PLANNED","NOT_REQUIRED"],"title":"State"},"plan_digest":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Plan Digest"}},"additionalProperties":false,"type":"object","required":["plan_id","products","scopes","reason_refs","state","plan_digest"],"title":"CacheInvalidationPlan"},"CalendarConflict":{"properties":{"conflict_group_id":{"type":"string","format":"uuid","title":"Conflict Group Id"},"item_ids":{"items":{"type":"string","format":"uuid"},"type":"array","minItems":2,"title":"Item Ids"},"authorities":{"items":{"type":"string"},"type":"array","minItems":2,"title":"Authorities"},"window_opens_at":{"type":"string","format":"date-time","title":"Window Opens At"},"window_closes_at":{"type":"string","format":"date-time","title":"Window Closes At"},"involves_an_irreversible_action":{"type":"boolean","title":"Involves An Irreversible Action"},"reversibility_by_item":{"additionalProperties":{"type":"string","enum":["REVERSIBLE","COSTLY","IRREVERSIBLE","UNKNOWN"]},"type":"object","title":"Reversibility By Item"},"resolution":{"type":"string","enum":["THE_FAMILY_DECIDES"],"const":"THE_FAMILY_DECIDES","title":"Resolution","default":"THE_FAMILY_DECIDES"}},"additionalProperties":false,"type":"object","required":["conflict_group_id","item_ids","authorities","window_opens_at","window_closes_at","involves_an_irreversible_action","reversibility_by_item"],"title":"CalendarConflict","description":"Two authorities wanting something in the same window.\n\nThere is no `recommended` field and there will not be one. The conflict is\nreported; the family decides."},"CalendarEventCreate":{"properties":{"student_id":{"type":"string","maxLength":64,"minLength":1,"title":"Student Id"},"event_type":{"type":"string","maxLength":32,"minLength":1,"title":"Event Type"},"event_date":{"type":"string","format":"date","title":"Event Date"},"event_time":{"anyOf":[{"type":"string","format":"time"},{"type":"null"}],"title":"Event Time","description":"HH:MM[:SS] (24h)"},"event_duration_min":{"anyOf":[{"type":"integer","maximum":1440.0,"minimum":0.0},{"type":"null"}],"title":"Event Duration Min"},"title":{"type":"string","maxLength":200,"minLength":1,"title":"Title"},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description"},"event_meta":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Event Meta"}},"type":"object","required":["student_id","event_type","event_date","title"],"title":"CalendarEventCreate"},"CalendarEventUpdate":{"properties":{"student_id":{"type":"string","maxLength":64,"minLength":1,"title":"Student Id"},"status":{"anyOf":[{"type":"string","pattern":"^(scheduled|completed|skipped|cancelled)$"},{"type":"null"}],"title":"Status"},"title":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description"},"event_time":{"anyOf":[{"type":"string","format":"time"},{"type":"null"}],"title":"Event Time"},"event_duration_min":{"anyOf":[{"type":"integer","maximum":1440.0,"minimum":0.0},{"type":"null"}],"title":"Event Duration Min"}},"type":"object","required":["student_id"],"title":"CalendarEventUpdate"},"CalendarItem":{"properties":{"calendar_item_id":{"type":"string","format":"uuid","title":"Calendar Item Id"},"authority":{"type":"string","maxLength":120,"minLength":2,"title":"Authority"},"event_id":{"type":"string","maxLength":160,"minLength":1,"title":"Event Id"},"event_kind":{"type":"string","maxLength":80,"minLength":1,"title":"Event Kind"},"fact_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Fact Version Id"},"source_ref":{"type":"string","maxLength":300,"minLength":3,"title":"Source Ref"},"starts_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Starts At"},"deadline_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deadline At"},"schedule_state":{"type":"string","enum":["PUBLISHED","STALE","RECALLED","UNPUBLISHED"],"title":"Schedule State"},"reversibility":{"type":"string","enum":["REVERSIBLE","COSTLY","IRREVERSIBLE","UNKNOWN"],"title":"Reversibility"},"acknowledged_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Acknowledged At"}},"additionalProperties":false,"type":"object","required":["calendar_item_id","authority","event_id","event_kind","source_ref","schedule_state","reversibility"],"title":"CalendarItem"},"CalendarView":{"properties":{"owner_id":{"type":"string","title":"Owner Id"},"generated_at":{"type":"string","format":"date-time","title":"Generated At"},"upcoming":{"items":{"$ref":"#/components/schemas/CalendarItem"},"type":"array","title":"Upcoming","default":[]},"passed":{"items":{"$ref":"#/components/schemas/CalendarItem"},"type":"array","title":"Passed","default":[]},"undated":{"items":{"$ref":"#/components/schemas/CalendarItem"},"type":"array","title":"Undated","default":[]},"conflicts":{"items":{"$ref":"#/components/schemas/CalendarConflict"},"type":"array","title":"Conflicts","default":[]},"reason_codes":{"items":{"type":"string"},"type":"array","title":"Reason Codes","default":[]}},"additionalProperties":false,"type":"object","required":["owner_id","generated_at"],"title":"CalendarView"},"CalibrationProvenance":{"properties":{"schema_version":{"type":"string","enum":["insights-calibration-provenance.v1"],"const":"insights-calibration-provenance.v1","title":"Schema Version","default":"insights-calibration-provenance.v1"},"state":{"type":"string","enum":["READY","UNAVAILABLE","STALE","MISMATCH","DEGRADED"],"title":"State"},"accepted":{"type":"boolean","title":"Accepted"},"reason_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason Code"},"calibration_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Calibration Ref"},"policy_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Policy Version"},"segment":{"anyOf":[{"$ref":"#/components/schemas/CalibrationSegment"},{"type":"null"}]},"valid_until":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Valid Until"}},"additionalProperties":false,"type":"object","required":["state","accepted"],"title":"CalibrationProvenance"},"CalibrationRecordCommand":{"properties":{"signal_type":{"type":"string","title":"Signal Type"},"model_version":{"type":"string","title":"Model Version"},"population":{"type":"string","title":"Population"},"metric":{"type":"string","title":"Metric"},"calibration_version_id":{"anyOf":[{"type":"string","maxLength":240,"minLength":1},{"type":"null"}],"title":"Calibration Version Id"},"rank_universe":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Rank Universe"},"horizon_days":{"anyOf":[{"type":"integer","maximum":730.0,"minimum":1.0},{"type":"null"}],"title":"Horizon Days"},"observed_value":{"type":"number","title":"Observed Value"},"target_value":{"type":"number","title":"Target Value"},"sample_size":{"type":"integer","minimum":1.0,"title":"Sample Size"},"window_start":{"type":"string","format":"date-time","title":"Window Start"},"window_end":{"type":"string","format":"date-time","title":"Window End"}},"type":"object","required":["signal_type","model_version","population","metric","observed_value","target_value","sample_size","window_start","window_end"],"title":"CalibrationRecordCommand"},"CalibrationRunRequest":{"properties":{"exam":{"type":"string","maxLength":64,"minLength":1,"title":"Exam"},"subject_family":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Subject Family"},"board":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Board"},"os15_record_set_ref":{"type":"string","maxLength":200,"minLength":1,"title":"Os15 Record Set Ref"},"os15_record_set_digest":{"type":"string","maxLength":200,"minLength":1,"title":"Os15 Record Set Digest"},"expert_approval_refs":{"items":{"type":"string"},"type":"array","title":"Expert Approval Refs"},"window_days":{"type":"integer","maximum":730.0,"minimum":1.0,"title":"Window Days","default":90},"model_digest":{"type":"string","maxLength":200,"title":"Model Digest","default":"no-model/counting-only/v1"},"effect_estimate":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Effect Estimate"},"dry_run":{"type":"boolean","title":"Dry Run","default":false}},"additionalProperties":false,"type":"object","required":["exam","os15_record_set_ref","os15_record_set_digest"],"title":"CalibrationRunRequest"},"CalibrationSegment":{"properties":{"exam":{"type":"string","title":"Exam"},"subject":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"}},"additionalProperties":false,"type":"object","required":["exam"],"title":"CalibrationSegment"},"CancelRequestCommand":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"reason_codes":{"items":{"type":"string"},"type":"array","maxItems":16,"minItems":1,"title":"Reason Codes"},"rationale":{"type":"string","maxLength":2000,"minLength":1,"title":"Rationale"}},"additionalProperties":false,"type":"object","required":["request_id","actor_id","expected_version","reason_codes","rationale"],"title":"CancelRequestCommand"},"CancelSponsorshipRequest":{"properties":{"sponsorship_id":{"type":"string","format":"uuid","title":"Sponsorship Id"},"reason_code":{"type":"string","maxLength":200,"minLength":2,"title":"Reason Code"}},"additionalProperties":false,"type":"object","required":["sponsorship_id","reason_code"],"title":"CancelSponsorshipRequest"},"CandidateAuthorityBindingCommand":{"properties":{"passport_id":{"type":"string","format":"uuid","title":"Passport Id"},"rights_decision_id":{"type":"string","format":"uuid","title":"Rights Decision Id"},"curriculum_mapping_id":{"type":"string","format":"uuid","title":"Curriculum Mapping Id"},"quality_receipt_ref":{"type":"string","maxLength":300,"minLength":4,"title":"Quality Receipt Ref"},"safe_projection":{"type":"boolean","title":"Safe Projection","default":true}},"additionalProperties":false,"type":"object","required":["passport_id","rights_decision_id","curriculum_mapping_id","quality_receipt_ref"],"title":"CandidateAuthorityBindingCommand"},"CandidateCreateCommand":{"properties":{"candidate_id":{"type":"string","format":"uuid","title":"Candidate Id"},"content_key":{"type":"string","maxLength":160,"minLength":3,"title":"Content Key"},"candidate_kind":{"type":"string","enum":["question","note","explanation","worksheet","hint","rubric","solution","other"],"title":"Candidate Kind"},"title":{"type":"string","maxLength":240,"minLength":1,"title":"Title"},"payload":{"type":"object","title":"Payload"},"source_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os10_content_ops__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Source Refs"},"provenance_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os10_content_ops__models__EvidenceRef"},"type":"array","maxItems":32,"title":"Provenance Refs"},"concept_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Concept Id"},"subject_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Subject Id"},"created_by":{"type":"string","maxLength":128,"minLength":1,"title":"Created By"},"generator_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Generator Id"},"generator_version":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Generator Version"},"schema_version":{"type":"string","maxLength":80,"title":"Schema Version","default":"os10-content-candidate-v1"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"legacy_record_id":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Legacy Record Id"},"metadata":{"type":"object","title":"Metadata"}},"type":"object","required":["content_key","candidate_kind","title","payload","source_refs","created_by"],"title":"CandidateCreateCommand"},"CandidatePublicationCommand":{"properties":{"candidate":{"$ref":"#/components/schemas/FirstValueCandidate"},"publication_version":{"type":"integer","minimum":1.0,"title":"Publication Version","default":1},"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version","default":0}},"additionalProperties":false,"type":"object","required":["candidate"],"title":"CandidatePublicationCommand"},"CandidateValidationCommand":{"properties":{"candidate_id":{"type":"string","format":"uuid","title":"Candidate Id"},"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"validator_id":{"type":"string","maxLength":128,"minLength":1,"title":"Validator Id"},"schema_valid":{"type":"boolean","title":"Schema Valid"},"source_refs_valid":{"type":"boolean","title":"Source Refs Valid"},"provenance_valid":{"type":"boolean","title":"Provenance Valid"},"educational_quality_valid":{"type":"boolean","title":"Educational Quality Valid"},"safety_valid":{"type":"boolean","title":"Safety Valid"},"reason_codes":{"items":{"type":"string"},"type":"array","maxItems":24,"minItems":1,"title":"Reason Codes"},"validation_notes":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Validation Notes"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os10_content_ops__models__EvidenceRef"},"type":"array","maxItems":32,"title":"Evidence Refs"},"quality_findings":{"type":"object","title":"Quality Findings"}},"type":"object","required":["candidate_id","expected_version","validator_id","schema_valid","source_refs_valid","provenance_valid","educational_quality_valid","safety_valid","reason_codes"],"title":"CandidateValidationCommand"},"CanonicalNoteSaveBody":{"properties":{"note_id":{"anyOf":[{"type":"string","maxLength":300,"minLength":1},{"type":"null"}],"title":"Note Id"},"canonical_note_id":{"anyOf":[{"type":"string","maxLength":300,"minLength":1},{"type":"null"}],"title":"Canonical Note Id"},"product_context_receipt_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Context Receipt Id"},"product_context_hash":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}],"title":"Product Context Hash"}},"type":"object","title":"CanonicalNoteSaveBody"},"CapabilityDigestConsentDecision":{"properties":{"parent_id":{"type":"string","maxLength":128,"minLength":1,"title":"Parent Id"},"granted":{"type":"boolean","title":"Granted"}},"type":"object","required":["parent_id","granted"],"title":"CapabilityDigestConsentDecision"},"CapacityConfigWrite":{"properties":{"expected_config_version":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Expected Config Version"},"source_reference":{"type":"string","maxLength":500,"minLength":1,"title":"Source Reference"},"source_version":{"type":"string","maxLength":100,"minLength":1,"title":"Source Version"},"source_state":{"type":"string","enum":["UNVERIFIED","ACCEPTED"],"title":"Source State","default":"UNVERIFIED"},"acceptance_reference":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Acceptance Reference"},"available_operator_minutes":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Available Operator Minutes"},"minutes_already_committed":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Minutes Already Committed"},"accepted_safety_reserve_minutes":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Accepted Safety Reserve Minutes"},"accepted_handling_minutes_per_case":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Accepted Handling Minutes Per Case"},"committed_workloads":{"anyOf":[{"items":{"$ref":"#/components/schemas/CapacityWorkload"},"type":"array"},{"type":"null"}],"title":"Committed Workloads"},"primary_available":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Primary Available"},"accepted_backup_available":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Accepted Backup Available"},"backup_capacity_minutes":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Backup Capacity Minutes"},"critical_workload_minutes":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Critical Workload Minutes"}},"type":"object","required":["source_reference","source_version"],"title":"CapacityConfigWrite"},"CapacityOwnerBody":{"properties":{"desk":{"type":"string","maxLength":30,"minLength":3,"title":"Desk"},"owner_name":{"type":"string","maxLength":120,"minLength":2,"title":"Owner Name"},"team":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Team"},"operator_ref":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Operator Ref"},"max_open_cases":{"type":"integer","maximum":500.0,"minimum":1.0,"title":"Max Open Cases"},"active_from":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Active From"},"active_to":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Active To"}},"additionalProperties":false,"type":"object","required":["desk","owner_name","max_open_cases"],"title":"CapacityOwnerBody"},"CapacityUpdate":{"properties":{"declared_capacity_hours":{"type":"integer","maximum":168.0,"minimum":0.0,"title":"Declared Capacity Hours"},"expected_version":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Expected Version"}},"additionalProperties":false,"type":"object","required":["declared_capacity_hours"],"title":"CapacityUpdate"},"CapacityWorkload":{"properties":{"id":{"type":"string","maxLength":100,"minLength":1,"title":"Id"},"resource_class":{"type":"string","enum":["planning","teaching_provider","support","safeguarding","finance","technical_incident"],"title":"Resource Class"},"minutes":{"type":"integer","minimum":0.0,"title":"Minutes"}},"type":"object","required":["id","resource_class","minutes"],"title":"CapacityWorkload"},"CapsuleAssemblyRequest":{"properties":{"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"concept_ref":{"type":"string","maxLength":240,"minLength":3,"title":"Concept Ref"},"academic_scope":{"$ref":"#/components/schemas/os_runtime__os10_content_ops__cntimp_pr01__AcademicScope"},"required_block_types":{"items":{"$ref":"#/components/schemas/CapsuleBlockType"},"type":"array","title":"Required Block Types","default":["formula","practice"]}},"additionalProperties":false,"type":"object","required":["idempotency_key","concept_ref","academic_scope"],"title":"CapsuleAssemblyRequest"},"CapsuleBlockType":{"type":"string","enum":["formula","derivation","trap","practice","media","flashcard","mind_map","video"],"title":"CapsuleBlockType"},"CardIn":{"properties":{"front":{"type":"string","maxLength":600,"minLength":1,"title":"Front"},"back":{"type":"string","maxLength":1200,"minLength":1,"title":"Back"},"subject":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Subject"},"client_ref":{"anyOf":[{"type":"string","maxLength":64,"minLength":8},{"type":"null"}],"title":"Client Ref"}},"additionalProperties":false,"type":"object","required":["front","back"],"title":"CardIn"},"CardPayload":{"properties":{"product_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Id"},"title":{"type":"string","title":"Title"},"subtitle":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subtitle"},"icon_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icon Name"},"cta":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Cta"},"badge":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Badge"},"state":{"type":"string","title":"State","default":"active"},"meta":{"type":"object","title":"Meta","default":{}}},"type":"object","required":["title"],"title":"CardPayload"},"CardSwitchChange":{"properties":{"off":{"type":"boolean","title":"Off"},"reason":{"type":"string","maxLength":500,"minLength":3,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["off","reason"],"title":"CardSwitchChange"},"CaseAct":{"properties":{"action":{"type":"string","pattern":"^(take|note|action|escalate_owner|close|reopen)$","title":"Action"},"note":{"type":"string","maxLength":3000,"title":"Note","default":""}},"type":"object","required":["action"],"title":"CaseAct"},"CaseAdvanceBody":{"properties":{"to_state":{"type":"string","title":"To State"},"remedy":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Remedy"},"remedy_note":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Remedy Note"}},"additionalProperties":false,"type":"object","required":["to_state"],"title":"CaseAdvanceBody"},"CaseCommunicationRequest":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"reason":{"type":"string","maxLength":2000,"minLength":8,"title":"Reason"},"approval_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Approval Id"},"channel":{"type":"string","enum":["EMAIL","SMS","IN_APP","STATUS_PAGE","MANUAL"],"title":"Channel"},"recipient_ref":{"$ref":"#/components/schemas/EntityRef"},"template_version":{"type":"string","maxLength":80,"minLength":2,"title":"Template Version"},"approved_copy_ref":{"type":"string","maxLength":512,"minLength":3,"title":"Approved Copy Ref"}},"additionalProperties":false,"type":"object","required":["expected_version","reason","channel","recipient_ref","template_version","approved_copy_ref"],"title":"CaseCommunicationRequest"},"CaseCreateRequest":{"properties":{"case_type":{"type":"string","maxLength":80,"minLength":3,"title":"Case Type"},"subject_ref":{"$ref":"#/components/schemas/EntityRef"},"tenant_id":{"type":"string","maxLength":128,"minLength":1,"title":"Tenant Id"},"severity":{"type":"string","enum":["SEV1","SEV2","SEV3","SEV4"],"title":"Severity"},"owner_role":{"type":"string","maxLength":80,"minLength":3,"title":"Owner Role"},"privacy_class":{"$ref":"#/components/schemas/PrivacyClass"},"summary":{"type":"string","maxLength":4000,"minLength":8,"title":"Summary"},"reason":{"type":"string","maxLength":1000,"minLength":8,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["case_type","subject_ref","tenant_id","severity","owner_role","privacy_class","summary","reason"],"title":"CaseCreateRequest"},"CaseLinkRequest":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"reason":{"type":"string","maxLength":2000,"minLength":8,"title":"Reason"},"approval_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Approval Id"},"relation":{"type":"string","enum":["RELATED_TO","CAUSED_BY","MITIGATED_BY","DUPLICATE_OF","EVIDENCED_BY"],"title":"Relation"},"entity_ref":{"$ref":"#/components/schemas/EntityRef"}},"additionalProperties":false,"type":"object","required":["expected_version","reason","relation","entity_ref"],"title":"CaseLinkRequest"},"CaseNew":{"properties":{"summary":{"type":"string","maxLength":3000,"minLength":20,"title":"Summary"},"severity":{"type":"string","pattern":"^(urgent|high|normal)$","title":"Severity","default":"high"},"source_kind":{"type":"string","pattern":"^(manual|message|grievance|moderation|report|trututor)$","title":"Source Kind","default":"manual"},"source_ref":{"type":"string","maxLength":200,"title":"Source Ref","default":""},"minor_involved":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Minor Involved"}},"type":"object","required":["summary"],"title":"CaseNew"},"CaseNoteRequest":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"note_type":{"type":"string","enum":["PUBLIC","INTERNAL","PROTECTED","CORRECTION"],"title":"Note Type"},"body_ref":{"type":"string","maxLength":1000,"minLength":3,"title":"Body Ref"},"privacy_class":{"$ref":"#/components/schemas/PrivacyClass"},"supersedes_note_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Supersedes Note Id"},"reason":{"type":"string","maxLength":1000,"minLength":8,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["expected_version","note_type","body_ref","privacy_class","reason"],"title":"CaseNoteRequest"},"CaseRequest":{"properties":{"season_id":{"type":"string","maxLength":36,"minLength":36,"title":"Season Id"},"question_text":{"type":"string","maxLength":2000,"minLength":3,"title":"Question Text"},"round_label":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Round Label"},"offer_id":{"anyOf":[{"type":"string","maxLength":36,"minLength":36},{"type":"null"}],"title":"Offer Id"}},"additionalProperties":false,"type":"object","required":["season_id","question_text"],"title":"CaseRequest"},"CaseResolveRequest":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"reason":{"type":"string","maxLength":2000,"minLength":8,"title":"Reason"},"approval_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Approval Id"},"resolution_code":{"type":"string","maxLength":80,"minLength":3,"title":"Resolution Code"},"summary":{"type":"string","maxLength":4000,"minLength":8,"title":"Summary"},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":100,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["expected_version","reason","resolution_code","summary","evidence_refs"],"title":"CaseResolveRequest"},"CatalogueReviewCreate":{"properties":{"catalogue_version":{"type":"string","maxLength":64,"minLength":1,"title":"Catalogue Version"},"decision":{"type":"string","enum":["APPROVED","CHANGES_REQUESTED"],"title":"Decision"},"reviewed_by":{"type":"string","maxLength":120,"minLength":3,"title":"Reviewed By"},"reviewer_role":{"type":"string","maxLength":120,"minLength":3,"title":"Reviewer Role"},"reviewed_at":{"type":"string","format":"date","title":"Reviewed At"},"recheck_due":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Recheck Due"},"entry_ids":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":50,"minItems":1},{"type":"null"}],"title":"Entry Ids"},"note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Note"}},"additionalProperties":false,"type":"object","required":["catalogue_version","decision","reviewed_by","reviewer_role","reviewed_at"],"title":"CatalogueReviewCreate"},"CauseCitation":{"properties":{"rule_id":{"anyOf":[{"type":"string","maxLength":160,"minLength":2},{"type":"null"}],"title":"Rule Id"},"rule_version":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Rule Version"},"result_ref":{"anyOf":[{"type":"string","maxLength":200,"minLength":2},{"type":"null"}],"title":"Result Ref"},"correction_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Correction Id"}},"additionalProperties":false,"type":"object","title":"CauseCitation","description":"Exactly one citation shape: rule id + version, a result ref, or a correction id."},"CellView":{"properties":{"route_id":{"type":"string","title":"Route Id"},"state":{"type":"string","enum":["KNOWN","PARTIAL","UNKNOWN"],"title":"State"},"lines":{"items":{"$ref":"#/components/schemas/LineView"},"type":"array","title":"Lines","default":[]},"sources":{"items":{"$ref":"#/components/schemas/SourceView"},"type":"array","title":"Sources","default":[]},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"}},"additionalProperties":false,"type":"object","required":["route_id","state"],"title":"CellView"},"ChainBody":{"properties":{"steps":{"items":{"$ref":"#/components/schemas/ChainStepBody"},"type":"array","maxItems":9,"minItems":1,"title":"Steps"},"reason":{"type":"string","maxLength":500,"minLength":3,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["steps","reason"],"title":"ChainBody","description":"A whole new version of the chain. The founder alone may publish one."},"ChainStepBody":{"properties":{"step_no":{"type":"integer","maximum":9.0,"minimum":1.0,"title":"Step No"},"role":{"type":"string","enum":["ASSIGNED_COUNSELLOR","SAFEGUARDING_LEAD","EMERGENCY_HELPLINES"],"title":"Role"},"owner_kind":{"type":"string","enum":["ASSIGNED_COUNSELLOR","NAMED_PERSON","PUBLIC_HELPLINE"],"title":"Owner Kind"},"owner_ref":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Owner Ref"},"owner_label":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Owner Label"},"response_minutes":{"anyOf":[{"type":"integer","maximum":10080.0,"minimum":0.0},{"type":"null"}],"title":"Response Minutes"},"response_time_state":{"type":"string","enum":["PROPOSED","FOUNDER_APPROVED"],"title":"Response Time State","default":"PROPOSED"},"next_step_no":{"anyOf":[{"type":"integer","maximum":9.0,"minimum":2.0},{"type":"null"}],"title":"Next Step No"},"source_refs":{"items":{"type":"object"},"type":"array","title":"Source Refs","default":[]}},"additionalProperties":false,"type":"object","required":["step_no","role","owner_kind"],"title":"ChainStepBody"},"ChallengeCommand":{"properties":{"attempt_id":{"type":"string","format":"uuid","title":"Attempt Id"},"score_version_id":{"type":"string","format":"uuid","title":"Score Version Id"},"challenged_by":{"type":"string","maxLength":128,"minLength":1,"title":"Challenged By"},"reason":{"type":"string","maxLength":2000,"minLength":1,"title":"Reason"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os06_assessment_evidence__models__EvidenceRef"},"type":"array","title":"Evidence Refs"}},"type":"object","required":["attempt_id","score_version_id","challenged_by","reason"],"title":"ChallengeCommand"},"ChangeApprovalRequest":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"reason":{"type":"string","maxLength":2000,"minLength":8,"title":"Reason"},"approval_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Approval Id"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"}},"additionalProperties":false,"type":"object","required":["expected_version","reason","expires_at"],"title":"ChangeApprovalRequest"},"ChangeAssessRequest":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"reason":{"type":"string","maxLength":2000,"minLength":8,"title":"Reason"},"approval_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Approval Id"},"affected_entities":{"items":{"$ref":"#/components/schemas/EntityRef"},"type":"array","maxItems":200,"minItems":1,"title":"Affected Entities"},"estimated_users":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Estimated Users"},"dependencies":{"items":{"type":"string"},"type":"array","maxItems":100,"title":"Dependencies"},"risks":{"items":{"type":"string"},"type":"array","maxItems":100,"minItems":1,"title":"Risks"},"confidence":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Confidence"},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":100,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["expected_version","reason","affected_entities","risks","confidence","evidence_refs"],"title":"ChangeAssessRequest"},"ChangeCreateRequest":{"properties":{"change_type":{"type":"string","maxLength":80,"minLength":3,"title":"Change Type"},"target_refs":{"items":{"$ref":"#/components/schemas/EntityRef"},"type":"array","maxItems":100,"minItems":1,"title":"Target Refs"},"environment":{"$ref":"#/components/schemas/Environment"},"risk":{"$ref":"#/components/schemas/RiskLevel"},"reason":{"type":"string","maxLength":2000,"minLength":8,"title":"Reason"},"planned_from":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Planned From"},"planned_to":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Planned To"},"manifest":{"type":"object","minProperties":1,"title":"Manifest"}},"additionalProperties":false,"type":"object","required":["change_type","target_refs","environment","risk","reason","manifest"],"title":"ChangeCreateRequest"},"ChangeDetail":{"properties":{"change_event_id":{"type":"string","format":"uuid","title":"Change Event Id"},"change_kind":{"type":"string","enum":["CREATED","UPDATED","RECALLED","EFFECTIVE_PERIOD_CHANGED","VALUE_CHANGED","RULE_VERSION_SUPERSEDED","DEADLINE_MOVED"],"title":"Change Kind"},"change_statement":{"type":"string","title":"Change Statement"},"detected_at":{"type":"string","format":"date-time","title":"Detected At"},"prior":{"anyOf":[{"$ref":"#/components/schemas/VersionStamp"},{"type":"null"}]},"prior_digest_short":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prior Digest Short"},"current":{"$ref":"#/components/schemas/VersionStamp"},"current_digest_short":{"type":"string","title":"Current Digest Short"},"source":{"$ref":"#/components/schemas/SourceStamp"},"impacts":{"$ref":"#/components/schemas/ImpactLists"},"coverage":{"$ref":"#/components/schemas/CoverageSeal"},"note":{"type":"string","title":"Note","default":"Your earlier records are unchanged."}},"additionalProperties":false,"type":"object","required":["change_event_id","change_kind","change_statement","detected_at","current","current_digest_short","source","impacts","coverage"],"title":"ChangeDetail"},"ChangeExecuteRequest":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"reason":{"type":"string","maxLength":2000,"minLength":8,"title":"Reason"},"approval_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Approval Id"},"manifest_hash":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Manifest Hash"},"execution_steps":{"items":{"type":"object"},"type":"array","maxItems":200,"minItems":1,"title":"Execution Steps"}},"additionalProperties":false,"type":"object","required":["expected_version","reason","manifest_hash","execution_steps"],"title":"ChangeExecuteRequest"},"ChangeList":{"properties":{"changes":{"items":{"$ref":"#/components/schemas/ChangeRow"},"type":"array","title":"Changes","default":[]},"coverage":{"$ref":"#/components/schemas/CoverageSeal"},"generated_at":{"type":"string","format":"date-time","title":"Generated At"}},"additionalProperties":false,"type":"object","required":["coverage","generated_at"],"title":"ChangeList"},"ChangePasswordRequest":{"properties":{"current_password":{"type":"string","maxLength":200,"minLength":1,"title":"Current Password"},"new_password":{"type":"string","maxLength":200,"minLength":1,"title":"New Password"}},"type":"object","required":["current_password","new_password"],"title":"ChangePasswordRequest"},"ChangeReadbackRequest":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"reason":{"type":"string","maxLength":2000,"minLength":8,"title":"Reason"},"approval_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Approval Id"},"checks":{"items":{"type":"object"},"type":"array","maxItems":200,"minItems":1,"title":"Checks"},"result":{"type":"string","enum":["PASS","FAIL","PARTIAL"],"title":"Result"},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":100,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["expected_version","reason","checks","result","evidence_refs"],"title":"ChangeReadbackRequest"},"ChangeRollbackRequest":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"reason":{"type":"string","maxLength":2000,"minLength":8,"title":"Reason"},"approval_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Approval Id"},"rollback_steps":{"items":{"type":"object"},"type":"array","maxItems":200,"minItems":1,"title":"Rollback Steps"},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":100,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["expected_version","reason","rollback_steps","evidence_refs"],"title":"ChangeRollbackRequest"},"ChangeRow":{"properties":{"change_event_id":{"type":"string","format":"uuid","title":"Change Event Id"},"source_authority":{"type":"string","title":"Source Authority"},"source_key":{"type":"string","title":"Source Key"},"change_kind":{"type":"string","enum":["CREATED","UPDATED","RECALLED","EFFECTIVE_PERIOD_CHANGED","VALUE_CHANGED","RULE_VERSION_SUPERSEDED","DEADLINE_MOVED"],"title":"Change Kind"},"change_statement":{"type":"string","title":"Change Statement"},"detected_at":{"type":"string","format":"date-time","title":"Detected At"},"supported_impact_count":{"type":"integer","minimum":0.0,"title":"Supported Impact Count"},"unsupported_impact_count":{"type":"integer","minimum":0.0,"title":"Unsupported Impact Count"},"touched":{"allOf":[{"$ref":"#/components/schemas/TouchedDecisions"}],"default":{"supported":[],"unsupported":[]}}},"additionalProperties":false,"type":"object","required":["change_event_id","source_authority","source_key","change_kind","change_statement","detected_at","supported_impact_count","unsupported_impact_count"],"title":"ChangeRow"},"ChangeSince":{"properties":{"has_looked_before":{"type":"boolean","title":"Has Looked Before"},"since":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Since"},"new_calendar_items":{"items":{"type":"string","format":"uuid"},"type":"array","title":"New Calendar Items","default":[]},"moved_calendar_items":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Moved Calendar Items","default":[]},"withdrawn_calendar_items":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Withdrawn Calendar Items","default":[]},"chain_versions_added":{"type":"integer","minimum":0.0,"title":"Chain Versions Added","default":0},"reason_codes":{"items":{"type":"string"},"type":"array","title":"Reason Codes","default":[]}},"additionalProperties":false,"type":"object","required":["has_looked_before","since"],"title":"ChangeSince","description":"The honest answer to \"what moved?\".\n\n`has_looked_before` is the field that stops the two lies this can tell. With\nno cursor, showing everything as new is a lie on a family's tenth visit and\nshowing nothing as new is a lie on their first. So it says which case it is\nrather than picking one."},"Channel":{"type":"string","enum":["HOME","DISCOVER","SHOWROOM","WEBSITE","INBOX","PUSH"],"title":"Channel"},"ChannelBody":{"properties":{"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enabled"},"default_owner_person_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Default Owner Person Id"},"address_or_route":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Address Or Route"},"clear_owner":{"type":"boolean","title":"Clear Owner","default":false}},"type":"object","title":"ChannelBody"},"ChannelConsentType":{"type":"string","enum":["service_notifications","marketing","dpdp_blanket"],"title":"ChannelConsentType"},"ChannelIntentDraft":{"properties":{"channel":{"$ref":"#/components/schemas/Channel"},"product_id":{"type":"string","pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","title":"Product Id"},"object_id":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Object Id"},"campaign_id":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Campaign Id"},"decision_id":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Decision Id"},"impression_id":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Impression Id"},"route":{"type":"string","maxLength":500,"minLength":1,"title":"Route"},"consent_type":{"$ref":"#/components/schemas/ChannelConsentType"},"consent_receipt_ref":{"type":"string","pattern":"^consent_grants:[0-9]+:v[0-9]+$","title":"Consent Receipt Ref"},"timezone":{"type":"string","maxLength":80,"minLength":3,"title":"Timezone","default":"Asia/Kolkata"},"quiet_start_minute":{"type":"integer","maximum":1439.0,"minimum":0.0,"title":"Quiet Start Minute","default":1320},"quiet_end_minute":{"type":"integer","maximum":1439.0,"minimum":0.0,"title":"Quiet End Minute","default":420},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"idempotency_key":{"type":"string","maxLength":160,"minLength":8,"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["channel","product_id","route","consent_type","consent_receipt_ref","expires_at","idempotency_key"],"title":"ChannelIntentDraft"},"ChannelIntentInput":{"properties":{"campaign_id":{"anyOf":[{"type":"string","pattern":"^hmc_[0-9a-f]{32}$"},{"type":"null"}],"title":"Campaign Id"},"product_id":{"type":"string","pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","title":"Product Id"},"object_id":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Object Id"},"channel":{"$ref":"#/components/schemas/ChannelKind"},"route":{"type":"string","title":"Route"},"consent_receipt_ref":{"type":"string","maxLength":300,"minLength":8,"title":"Consent Receipt Ref"},"timezone_offset_minutes":{"type":"integer","maximum":840.0,"minimum":-840.0,"title":"Timezone Offset Minutes"},"quiet_hours_start":{"type":"integer","maximum":23.0,"minimum":0.0,"title":"Quiet Hours Start","default":21},"quiet_hours_end":{"type":"integer","maximum":23.0,"minimum":0.0,"title":"Quiet Hours End","default":7},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"metadata":{"type":"object","title":"Metadata"},"idempotency_key":{"type":"string","maxLength":160,"minLength":8,"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["product_id","channel","route","consent_receipt_ref","timezone_offset_minutes","expires_at","idempotency_key"],"title":"ChannelIntentInput"},"ChannelKind":{"type":"string","enum":["HOME","DISCOVER","SHOWROOM","WEBSITE","DEEP_LINK","PUSH","INBOX"],"title":"ChannelKind"},"ChannelPreferenceUpdate":{"properties":{"channel":{"$ref":"#/components/schemas/Channel"},"enabled":{"type":"boolean","title":"Enabled"},"timezone":{"type":"string","maxLength":80,"minLength":3,"title":"Timezone","default":"Asia/Kolkata"},"quiet_start_minute":{"type":"integer","maximum":1439.0,"minimum":0.0,"title":"Quiet Start Minute","default":1320},"quiet_end_minute":{"type":"integer","maximum":1439.0,"minimum":0.0,"title":"Quiet End Minute","default":420},"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version","default":0},"idempotency_key":{"type":"string","maxLength":160,"minLength":8,"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["channel","enabled","idempotency_key"],"title":"ChannelPreferenceUpdate"},"ChapterMasteryStartReq":{"properties":{"chapter_id":{"type":"string","title":"Chapter Id"},"subject":{"type":"string","title":"Subject","default":"Physics"},"chapter":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chapter"},"arc_days":{"type":"integer","maximum":14.0,"minimum":5.0,"title":"Arc Days","default":7}},"type":"object","required":["chapter_id"],"title":"ChapterMasteryStartReq"},"ChatQuestion":{"properties":{"platform":{"type":"string","pattern":"^(aspireace|trututor|company)$","title":"Platform"},"row":{"anyOf":[{"type":"integer","maximum":100000.0,"minimum":1.0},{"type":"null"}],"title":"Row"},"title":{"type":"string","maxLength":200,"minLength":5,"title":"Title"},"question":{"type":"string","maxLength":1500,"minLength":5,"title":"Question"},"recommendation":{"type":"string","maxLength":600,"title":"Recommendation","default":""},"options":{"items":{"type":"string","maxLength":120},"type":"array","maxItems":6,"title":"Options"},"urgency":{"type":"string","pattern":"^(low|normal|high)$","title":"Urgency","default":"normal"},"source_chat":{"type":"string","maxLength":80,"minLength":2,"title":"Source Chat"},"idempotency_key":{"type":"string","maxLength":100,"minLength":4,"title":"Idempotency Key"}},"type":"object","required":["platform","title","question","source_chat","idempotency_key"],"title":"ChatQuestion"},"CheckCreateRequest":{"properties":{"contract_version":{"type":"string","maxLength":40,"title":"Contract Version","default":"career-refresh/v1"},"purpose":{"type":"string","maxLength":40,"title":"Purpose","default":"FRESHNESS_CHECK"},"request_id":{"type":"string","maxLength":120,"minLength":8,"title":"Request Id"},"scope":{"anyOf":[{"$ref":"#/components/schemas/CheckScope"},{"type":"null"}]},"beneficiary_id":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Beneficiary Id"}},"additionalProperties":false,"type":"object","required":["request_id"],"title":"CheckCreateRequest"},"CheckLaunchRequest":{"properties":{"assembly_receipt_id":{"type":"string","maxLength":64,"minLength":8,"title":"Assembly Receipt Id"},"item_count":{"type":"integer","maximum":3.0,"minimum":2.0,"title":"Item Count","default":3}},"additionalProperties":false,"type":"object","required":["assembly_receipt_id"],"title":"CheckLaunchRequest","description":"Operation 7. The capsule does not name questions; it asks the Practice\nowner for a short check on this concept. The spec asks for 2..3 items; the\nChapter Drill authority's floor is 3 (MIN_DRILL_SIZE), so a request for 2\nis honoured as 3 and the response says so in `item_count`."},"CheckPatch":{"properties":{"blocking":{"type":"boolean","title":"Blocking"},"version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Version"}},"type":"object","required":["blocking"],"title":"CheckPatch"},"CheckScope":{"properties":{"capability_refs":{"items":{"type":"string"},"type":"array","maxItems":200,"title":"Capability Refs"}},"additionalProperties":false,"type":"object","title":"CheckScope","description":"May only NARROW the person's own set of capabilities; it can never name someone else's evidence."},"CheckoutCancelBody":{"properties":{"reason":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Reason"}},"additionalProperties":false,"type":"object","title":"CheckoutCancelBody"},"CheckoutCreateBody":{"properties":{"public_slug":{"type":"string","maxLength":160,"minLength":1,"title":"Public Slug"},"continuity_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Continuity Id"}},"additionalProperties":false,"type":"object","required":["public_slug"],"title":"CheckoutCreateBody"},"CheckoutLinkBody":{"properties":{"checkout_id":{"type":"string","format":"uuid","title":"Checkout Id"},"responsibility":{"type":"string","enum":["payer","sponsor","billing_contact"],"title":"Responsibility"}},"type":"object","required":["checkout_id","responsibility"],"title":"CheckoutLinkBody"},"CheckoutRetryBody":{"properties":{"reason":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Reason"}},"additionalProperties":false,"type":"object","title":"CheckoutRetryBody"},"CheckpointRequest":{"properties":{"checkpoint_type":{"type":"string","title":"Checkpoint Type"},"source_route":{"type":"string","title":"Source Route"},"payload":{"type":"object","title":"Payload"},"evidence_refs":{"items":{"type":"object"},"type":"array","title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["checkpoint_type","source_route"],"title":"CheckpointRequest"},"ChildDobBody":{"properties":{"dob":{"type":"string","format":"date","title":"Dob"}},"additionalProperties":false,"type":"object","required":["dob"],"title":"ChildDobBody"},"ChildObjectBody":{"properties":{"audience":{"type":"string","title":"Audience","default":"LEARNER"},"entry_mode":{"type":"string","title":"Entry Mode","default":"DIRECT"},"scope_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scope Ref"},"source_release_refs":{"items":{"type":"string"},"type":"array","title":"Source Release Refs","default":[]},"rule_release_refs":{"items":{"type":"string"},"type":"array","title":"Rule Release Refs","default":[]},"expected_revision":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expected Revision"},"payload_digest":{"type":"string","title":"Payload Digest"},"correlation_id":{"type":"string","title":"Correlation Id"},"purpose_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Purpose Code"},"consent_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Consent Ref"},"definition_body":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Definition Body"}},"additionalProperties":false,"type":"object","required":["payload_digest","correlation_id"],"title":"ChildObjectBody","description":"The client's half of the envelope.\n\nIdentity is absent on purpose. There is no `beneficiary_ref` here to forge,\nbecause the server takes it from the session and the shape of this model is\nwhere that becomes impossible rather than merely checked."},"ChoiceAuditAcknowledgementProjection":{"properties":{"choice_audit_acknowledgement_id":{"type":"string","format":"uuid","title":"Choice Audit Acknowledgement Id"},"owner_id":{"type":"string","title":"Owner Id"},"choice_audit_id":{"type":"string","format":"uuid","title":"Choice Audit Id"},"finding_index":{"type":"integer","minimum":0.0,"title":"Finding Index"},"finding_code":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{2,79}$","title":"Finding Code"},"decision":{"type":"string","enum":["ACCEPTED","KEPT"],"title":"Decision"},"acknowledgement_digest":{"type":"string","title":"Acknowledgement Digest"},"persisted":{"type":"boolean","title":"Persisted","default":false},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"}},"additionalProperties":false,"type":"object","required":["choice_audit_acknowledgement_id","owner_id","choice_audit_id","finding_index","finding_code","decision","acknowledgement_digest"],"title":"ChoiceAuditAcknowledgementProjection"},"ChoiceAuditCheckCoverage":{"properties":{"code":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{2,79}$","title":"Code"},"examines":{"type":"string","maxLength":300,"minLength":3,"title":"Examines"},"ran":{"type":"boolean","title":"Ran"},"requires":{"type":"string","title":"Requires","default":""},"findings":{"type":"integer","title":"Findings","default":0},"positions_checked":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Positions Checked"},"positions_unchecked":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Positions Unchecked"}},"additionalProperties":false,"type":"object","required":["code","examines","ran"],"title":"ChoiceAuditCheckCoverage","description":"One check, and whether this audit was able to make it."},"ChoiceAuditCorrection":{"properties":{"correction_id":{"type":"string","format":"uuid","title":"Correction Id"},"choice_audit_id":{"type":"string","format":"uuid","title":"Choice Audit Id"},"choice_list_id":{"type":"string","format":"uuid","title":"Choice List Id"},"finding_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Finding Id"},"finding_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Finding Code"},"reason_code":{"type":"string","enum":["MY_DETAILS_WERE_WRONG","A_FIGURE_LOOKS_WRONG","THIS_DOES_NOT_APPLY_TO_ME","I_HAVE_CHANGED_THE_LIST","SOMETHING_ELSE"],"title":"Reason Code"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"state":{"type":"string","enum":["RECORDED","RECHECKED"],"title":"State"},"successor_audit_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Successor Audit Id"},"hold_reason":{"anyOf":[{"type":"string","enum":["NO_NEWER_VERSION"],"const":"NO_NEWER_VERSION"},{"type":"null"}],"title":"Hold Reason"},"message":{"type":"string","title":"Message"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"replayed":{"type":"boolean","title":"Replayed","default":false}},"additionalProperties":false,"type":"object","required":["correction_id","choice_audit_id","choice_list_id","reason_code","state","message"],"title":"ChoiceAuditCorrection"},"ChoiceAuditCoverageProjection":{"properties":{"choice_audit_id":{"type":"string","format":"uuid","title":"Choice Audit Id"},"choice_list_id":{"type":"string","format":"uuid","title":"Choice List Id"},"choice_list_digest":{"type":"string","title":"Choice List Digest"},"audit_policy_version":{"type":"string","title":"Audit Policy Version"},"positions_total":{"type":"integer","title":"Positions Total"},"positions_unchecked_by_some_check":{"type":"integer","title":"Positions Unchecked By Some Check"},"checks_total":{"type":"integer","title":"Checks Total"},"checks_ran":{"type":"integer","title":"Checks Ran"},"checks_could_not_run":{"type":"integer","title":"Checks Could Not Run"},"fully_covered":{"type":"boolean","title":"Fully Covered"},"checks":{"items":{"$ref":"#/components/schemas/ChoiceAuditCheckCoverage"},"type":"array","title":"Checks"},"coverage_source":{"type":"string","enum":["PER_POSITION_RECORDED","DECLARED_INVENTORY"],"title":"Coverage Source","default":"DECLARED_INVENTORY"}},"additionalProperties":false,"type":"object","required":["choice_audit_id","choice_list_id","choice_list_digest","audit_policy_version","positions_total","positions_unchecked_by_some_check","checks_total","checks_ran","checks_could_not_run","fully_covered","checks"],"title":"ChoiceAuditCoverageProjection","description":"What this audit checked, and what it could not.\n\nPRD R04 exists so that \"could not check\" can never be collapsed into a\nclean result, even by a future layout change. That is a statement about\nthe read model too, not only the screen: the counts below are computed\nfrom the declared check inventory rather than from the findings, because\na list with no findings and a list nothing could be checked on produce\nthe same empty findings array and must never read the same way."},"ChoiceAuditEligibilityProjection":{"properties":{"near_final_list_state":{"type":"string","title":"Near Final List State"},"near_final_list_exists":{"type":"boolean","title":"Near Final List Exists"},"eligible":{"type":"boolean","title":"Eligible","default":true},"reason_codes":{"items":{"type":"string"},"type":"array","title":"Reason Codes","default":[]}},"additionalProperties":false,"type":"object","required":["near_final_list_state","near_final_list_exists"],"title":"ChoiceAuditEligibilityProjection","description":"Can this family check their order right now.\n\nFree and unmetered by founder decision of 2026-09-03, recorded in PRD\nS23.1(3) and carried as S32 D-6: \"Auditing a list you own is free and\nunmetered. Checking your own list for mistakes is safety, not a paid\nfeature.\" So there is no tier here, no used count, no cap, no reset and no\noffer -- a gate and a quota projection were built on 2026-09-21 against S11\nand removed the same day when the decision above was re-confirmed.\n\nThe one thing that can still stop a family is not having an order to check,\nwhich is what this reports."},"ChoiceAuditExport":{"properties":{"export_id":{"type":"string","format":"uuid","title":"Export Id"},"choice_audit_id":{"type":"string","format":"uuid","title":"Choice Audit Id"},"format":{"type":"string","enum":["JSON"],"const":"JSON","title":"Format","default":"JSON"},"state":{"type":"string","enum":["READY","REVOKED","EXPIRED"],"title":"State"},"digest":{"type":"string","title":"Digest"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"expires_at":{"type":"string","title":"Expires At"},"replayed":{"type":"boolean","title":"Replayed","default":false},"document":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Document"}},"additionalProperties":false,"type":"object","required":["export_id","choice_audit_id","state","digest","expires_at"],"title":"ChoiceAuditExport","description":"The receipt for a copy. `document` is present when the copy is fetched or\nhas just been made, and is absent (with state REVOKED or EXPIRED) once the\ncopy has been removed."},"ChoiceAuditExportRemoved":{"properties":{"export_id":{"type":"string","format":"uuid","title":"Export Id"},"choice_audit_id":{"type":"string","format":"uuid","title":"Choice Audit Id"},"state":{"type":"string","enum":["READY","REVOKED","EXPIRED"],"title":"State"},"message":{"type":"string","title":"Message"}},"additionalProperties":false,"type":"object","required":["export_id","choice_audit_id","state","message"],"title":"ChoiceAuditExportRemoved"},"ChoiceAuditFinding":{"properties":{"code":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{2,79}$","title":"Code"},"severity":{"type":"string","enum":["INFO","WARNING","BLOCKING"],"title":"Severity"},"option_ids":{"items":{"type":"string"},"type":"array","title":"Option Ids","default":[]},"detail":{"type":"string","maxLength":500,"minLength":3,"title":"Detail"},"source_refs":{"items":{"type":"string"},"type":"array","title":"Source Refs","default":[]},"positions":{"items":{"$ref":"#/components/schemas/ChoiceAuditFindingPosition"},"type":"array","title":"Positions","default":[]},"consequence":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}],"title":"Consequence"},"rule_source":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}],"title":"Rule Source"},"rule_read_at":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Rule Read At"}},"additionalProperties":false,"type":"object","required":["code","severity","detail"],"title":"ChoiceAuditFinding"},"ChoiceAuditFindingPosition":{"properties":{"option_id":{"type":"string","title":"Option Id"},"position":{"type":"integer","minimum":1.0,"title":"Position"}},"additionalProperties":false,"type":"object","required":["option_id","position"],"title":"ChoiceAuditFindingPosition","description":"One (option_id, position) pairing for a finding.\n\nA finding's `option_ids` names WHICH options a check is about; this names\nWHERE each one sat in the order at audit time, so a screen never has to\nre-derive position by re-joining option_ids against the list itself (and\ncan render correctly even if the list has since changed). Paired rather\nthan zipped against `option_ids` on purpose: algorithms_choice_list's\n`_stamp_positions` builds exactly this pairing today and skips any\noption_id whose position could not be resolved, so a naive zip would\nsilently misalign the remaining pairs the moment one is skipped."},"ChoiceAuditProjection":{"properties":{"choice_audit_id":{"type":"string","format":"uuid","title":"Choice Audit Id"},"owner_id":{"type":"string","title":"Owner Id"},"choice_list_id":{"type":"string","format":"uuid","title":"Choice List Id"},"choice_list_digest":{"type":"string","title":"Choice List Digest"},"audit_policy_version":{"type":"string","title":"Audit Policy Version"},"state":{"type":"string","enum":["CLEAR","FINDINGS","REVIEW_REQUIRED","INCOMPLETE"],"title":"State"},"findings":{"items":{"$ref":"#/components/schemas/ChoiceAuditFinding"},"type":"array","title":"Findings"},"audit_digest":{"type":"string","title":"Audit Digest"},"persisted":{"type":"boolean","title":"Persisted","default":false},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"}},"additionalProperties":false,"type":"object","required":["choice_audit_id","owner_id","choice_list_id","choice_list_digest","audit_policy_version","state","findings","audit_digest"],"title":"ChoiceAuditProjection"},"ChoiceAuditView":{"properties":{"choice_audit_id":{"type":"string","format":"uuid","title":"Choice Audit Id"},"choice_list_id":{"type":"string","format":"uuid","title":"Choice List Id"},"version_no":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Version No"},"current_version_no":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Current Version No"},"audited_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Audited At"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"choice_list_digest":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Choice List Digest"},"state":{"type":"string","title":"State"},"outcome":{"type":"string","enum":["CLEAN","FINDINGS","INCOMPLETE","FINDINGS_INCOMPLETE"],"title":"Outcome"},"findings":{"items":{"$ref":"#/components/schemas/ChoiceAuditViewFinding"},"type":"array","title":"Findings","default":[]},"positions":{"items":{"$ref":"#/components/schemas/ChoiceAuditViewPosition"},"type":"array","title":"Positions","default":[]},"coverage":{"$ref":"#/components/schemas/ChoiceAuditViewCoverage"}},"additionalProperties":false,"type":"object","required":["choice_audit_id","choice_list_id","state","outcome","coverage"],"title":"ChoiceAuditView"},"ChoiceAuditViewCoverage":{"properties":{"total_positions":{"type":"integer","title":"Total Positions"},"checked_count":{"type":"integer","title":"Checked Count"},"unchecked":{"items":{"$ref":"#/components/schemas/ChoiceAuditViewUnchecked"},"type":"array","title":"Unchecked","default":[]}},"additionalProperties":false,"type":"object","required":["total_positions","checked_count"],"title":"ChoiceAuditViewCoverage"},"ChoiceAuditViewFinding":{"properties":{"finding_id":{"type":"integer","minimum":0.0,"title":"Finding Id"},"code":{"type":"string","title":"Code"},"severity":{"type":"string","enum":["INFO","WARNING","BLOCKING"],"title":"Severity"},"position":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Position"},"related_positions":{"items":{"type":"integer"},"type":"array","title":"Related Positions","default":[]},"option_ids":{"items":{"type":"string"},"type":"array","title":"Option Ids","default":[]},"reason":{"type":"string","title":"Reason"},"consequence":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Consequence"},"rule_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rule Source"},"source_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Ref"},"source_read_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Read At"}},"additionalProperties":false,"type":"object","required":["finding_id","code","severity","reason"],"title":"ChoiceAuditViewFinding"},"ChoiceAuditViewPosition":{"properties":{"position":{"type":"integer","minimum":1.0,"title":"Position"},"option_id":{"type":"string","title":"Option Id"},"institution_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Institution Id"},"programme_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Programme Id"},"quota":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Quota"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"}},"additionalProperties":false,"type":"object","required":["position","option_id"],"title":"ChoiceAuditViewPosition"},"ChoiceAuditViewUnchecked":{"properties":{"position":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Position"},"option_id":{"type":"string","title":"Option Id"},"institution_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Institution Id"},"programme_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Programme Id"},"missing_evidence":{"type":"string","title":"Missing Evidence"},"missing_checks":{"items":{"type":"string"},"type":"array","title":"Missing Checks","default":[]}},"additionalProperties":false,"type":"object","required":["option_id","missing_evidence"],"title":"ChoiceAuditViewUnchecked"},"ChoiceListEligibility":{"properties":{"choice_list_id":{"type":"string","format":"uuid","title":"Choice List Id"},"lane":{"type":"string","enum":["COLLEGE_DECISION","FAMILY_BUILT"],"title":"Lane"},"version_no":{"type":"integer","title":"Version No"},"positions_total":{"type":"integer","title":"Positions Total"},"checked_count":{"type":"integer","title":"Checked Count"},"not_checked_count":{"type":"integer","title":"Not Checked Count"},"positions":{"items":{"$ref":"#/components/schemas/PositionEligibility"},"type":"array","title":"Positions","default":[]},"note":{"type":"string","title":"Note"},"read_at":{"type":"string","format":"date-time","title":"Read At"}},"additionalProperties":false,"type":"object","required":["choice_list_id","lane","version_no","positions_total","checked_count","not_checked_count","note","read_at"],"title":"ChoiceListEligibility"},"ChoiceListExport":{"properties":{"export_id":{"type":"string","format":"uuid","title":"Export Id"},"choice_list_id":{"type":"string","format":"uuid","title":"Choice List Id"},"lane":{"type":"string","enum":["COLLEGE_DECISION","FAMILY_BUILT"],"title":"Lane"},"list_version_no":{"type":"integer","title":"List Version No"},"list_digest":{"type":"string","title":"List Digest"},"target":{"type":"string","enum":["SEAT_PATH","DECISION_CHAIN"],"title":"Target"},"target_ref":{"type":"string","title":"Target Ref","default":""},"state":{"type":"string","enum":["ACTIVE","WITHDRAWN"],"title":"State"},"handoff_digest":{"type":"string","title":"Handoff Digest"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"withdrawn_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Withdrawn At"},"already_exported":{"type":"boolean","title":"Already Exported","default":false},"receiver_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Receiver Note"}},"additionalProperties":false,"type":"object","required":["export_id","choice_list_id","lane","list_version_no","list_digest","target","state","handoff_digest","created_at"],"title":"ChoiceListExport"},"ChoiceListExports":{"properties":{"choice_list_id":{"type":"string","format":"uuid","title":"Choice List Id"},"exports":{"items":{"$ref":"#/components/schemas/ChoiceListExport"},"type":"array","title":"Exports","default":[]},"read_at":{"type":"string","format":"date-time","title":"Read At"}},"additionalProperties":false,"type":"object","required":["choice_list_id","read_at"],"title":"ChoiceListExports"},"ChoiceListMutationEnvelope":{"properties":{"receipt":{"type":"object","title":"Receipt"},"resource":{"type":"object","title":"Resource"}},"additionalProperties":false,"type":"object","required":["receipt","resource"],"title":"ChoiceListMutationEnvelope"},"ChoiceListRead":{"properties":{"choice_list_id":{"type":"string","format":"uuid","title":"Choice List Id"},"choice_list_series_id":{"type":"string","format":"uuid","title":"Choice List Series Id"},"choice_set_id":{"type":"string","format":"uuid","title":"Choice Set Id"},"college_decision_id":{"type":"string","format":"uuid","title":"College Decision Id"},"ranking_policy_version":{"type":"string","title":"Ranking Policy Version"},"version_no":{"type":"integer","minimum":1.0,"title":"Version No"},"predecessor_choice_list_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Predecessor Choice List Id"},"state":{"type":"string","title":"State"},"items":{"items":{"$ref":"#/components/schemas/ChoiceListReadItem"},"type":"array","title":"Items"},"unresolved_tie_groups":{"items":{"items":{"type":"string"},"type":"array"},"type":"array","title":"Unresolved Tie Groups","default":[]},"options_resolved":{"type":"boolean","title":"Options Resolved"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"ledger_citation":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Ledger Citation"}},"additionalProperties":false,"type":"object","required":["choice_list_id","choice_list_series_id","choice_set_id","college_decision_id","ranking_policy_version","version_no","state","items","options_resolved"],"title":"ChoiceListRead","description":"A saved choice list, reopened.\n\nPart 005 of the product is \"saved as a version that can be re-opened and\nre-run\". It was saved and could not be reopened: there was no read on a\nchoice list at all, so the screen rendered an empty instrument on every\nvisit and a family could never see the order again after closing the tab.\n\n`options_resolved` is false when the choice set could not be read. The order\nis still true in that case -- it is this product's own durable object -- so\nthe list is returned with option ids and without invented names, rather than\nfailing the whole read for a missing display join."},"ChoiceListReadItem":{"properties":{"position":{"type":"integer","minimum":1.0,"title":"Position"},"option_id":{"type":"string","title":"Option Id"},"institution_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Institution Id"},"programme_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Programme Id"},"source_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Ref"},"pareto_layer":{"type":"integer","minimum":1.0,"title":"Pareto Layer"},"hard_locked":{"type":"boolean","title":"Hard Locked","default":false},"tie_group":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tie Group"},"reason_codes":{"items":{"type":"string"},"type":"array","title":"Reason Codes","default":[]},"reason":{"type":"string","title":"Reason"}},"additionalProperties":false,"type":"object","required":["position","option_id","pareto_layer","reason"],"title":"ChoiceListReadItem","description":"One position, as a person reads it rather than as the table stores it.\n\n`predict_choice_list_items` holds only an `option_id`. The institute, branch\nand source that a family needs in order to check a position live in the\nchoice set, and PRD section 4.3 item 5 records that the read path joining\nthem did not exist. These four fields are that join; they are never written\nback, per section 4.2 (\"tables this product reads and must never write\").\n\n`reason` is generated from `reason_codes` in one place on purpose. Section\n4.3 item 4 names the risk of leaving it ungenerated: two renderings of the\nsame list could explain the same position differently."},"ChoiceListSources":{"properties":{"choice_list_id":{"type":"string","format":"uuid","title":"Choice List Id"},"lane":{"type":"string","enum":["COLLEGE_DECISION","FAMILY_BUILT"],"title":"Lane"},"version_no":{"type":"integer","title":"Version No"},"positions_total":{"type":"integer","title":"Positions Total"},"positions_with_source":{"type":"integer","title":"Positions With Source"},"positions_unknown":{"type":"integer","title":"Positions Unknown"},"positions":{"items":{"$ref":"#/components/schemas/PositionSource"},"type":"array","title":"Positions","default":[]},"ledger":{"items":{"$ref":"#/components/schemas/LedgerSource"},"type":"array","title":"Ledger","default":[]},"read_at":{"type":"string","format":"date-time","title":"Read At"}},"additionalProperties":false,"type":"object","required":["choice_list_id","lane","version_no","positions_total","positions_with_source","positions_unknown","read_at"],"title":"ChoiceListSources"},"ChoicePrecedenceRule":{"properties":{"before_option_id":{"type":"string","maxLength":180,"minLength":1,"title":"Before Option Id"},"after_option_id":{"type":"string","maxLength":180,"minLength":1,"title":"After Option Id"}},"additionalProperties":false,"type":"object","required":["before_option_id","after_option_id"],"title":"ChoicePrecedenceRule"},"ChoiceRef":{"properties":{"institution_name":{"type":"string","maxLength":200,"minLength":1,"title":"Institution Name"},"programme_name":{"type":"string","maxLength":200,"minLength":1,"title":"Programme Name"}},"additionalProperties":false,"type":"object","required":["institution_name","programme_name"],"title":"ChoiceRef"},"ChooseActionRequest":{"properties":{"request_id":{"type":"string","maxLength":120,"minLength":8,"title":"Request Id"},"beneficiary_id":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Beneficiary Id"}},"additionalProperties":false,"type":"object","required":["request_id"],"title":"ChooseActionRequest"},"CitationInput":{"properties":{"source_authority":{"type":"string","maxLength":120,"minLength":1,"title":"Source Authority"},"source_key":{"type":"string","maxLength":300,"minLength":1,"title":"Source Key"},"source_label":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Source Label"},"publisher":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Publisher"},"published_on":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Published On"},"rule_id":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Rule Id"},"rule_version":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Rule Version"},"cited_digest":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Cited Digest"},"cited_at":{"type":"string","format":"date-time","title":"Cited At"},"read_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Read At"},"citation_state":{"type":"string","enum":["RESOLVED","PARTIAL","UNRESOLVED"],"title":"Citation State","default":"RESOLVED"}},"additionalProperties":false,"type":"object","required":["source_authority","source_key","cited_digest","cited_at"],"title":"CitationInput"},"CitationView":{"properties":{"citation_id":{"type":"string","format":"uuid","title":"Citation Id"},"source_authority":{"type":"string","title":"Source Authority"},"source_key":{"type":"string","title":"Source Key"},"source_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Label"},"publisher":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Publisher"},"published_on":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Published On"},"rule_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rule Id"},"rule_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rule Version"},"cited_digest":{"type":"string","title":"Cited Digest"},"cited_digest_short":{"type":"string","title":"Cited Digest Short"},"cited_at":{"type":"string","format":"date-time","title":"Cited At"},"read_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Read At"},"citation_state":{"type":"string","enum":["RESOLVED","PARTIAL","UNRESOLVED"],"title":"Citation State"}},"additionalProperties":false,"type":"object","required":["citation_id","source_authority","source_key","cited_digest","cited_digest_short","cited_at","citation_state"],"title":"CitationView","description":"Read from the frozen row. Never re-evaluated against today's source."},"CitedReference":{"properties":{"ref_type":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{2,40}$","title":"Ref Type"},"ref_id":{"type":"string","format":"uuid","title":"Ref Id"},"ref_version":{"type":"integer","minimum":1.0,"title":"Ref Version"}},"additionalProperties":false,"type":"object","required":["ref_type","ref_id","ref_version"],"title":"CitedReference","description":"A pointer to one product reference on this chain that the decision stood on.\n\nOnly a pointer. The source versions behind it are read on the server from the\nowning product's own row, so a screen can never supply a digest or a version."},"ClaimCandidate":{"properties":{"claim_id":{"type":"string","maxLength":160,"minLength":1,"title":"Claim Id"},"section_id":{"type":"string","maxLength":160,"minLength":1,"title":"Section Id"},"claim_type":{"type":"string","enum":["explanation","fact","formula","numeric","recommendation"],"title":"Claim Type"},"claim_class":{"anyOf":[{"type":"string","enum":["factual","derivation","example","numeric","recommendation","limitation"]},{"type":"null"}],"title":"Claim Class"},"untyped_material":{"type":"boolean","title":"Untyped Material","default":false},"text_digest":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Text Digest"},"source_refs":{"items":{"type":"string"},"type":"array","title":"Source Refs"},"source_support":{"type":"string","enum":["SUPPORTED","PARTIAL","UNSUPPORTED","NOT_REQUIRED"],"title":"Source Support","default":"NOT_REQUIRED"},"contradiction_resolved":{"type":"boolean","title":"Contradiction Resolved","default":true},"context_matches":{"type":"boolean","title":"Context Matches","default":true},"numeric_owner_ref":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Numeric Owner Ref"},"safe":{"type":"boolean","title":"Safe","default":true}},"additionalProperties":false,"type":"object","required":["claim_id","section_id","claim_type","text_digest"],"title":"ClaimCandidate"},"ClaimMarkBody":{"properties":{"status":{"type":"string","title":"Status"},"source_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Source Id"},"block_digest":{"anyOf":[{"type":"string","maxLength":32,"minLength":8,"pattern":"^[0-9a-f]+$"},{"type":"null"}],"title":"Block Digest"}},"type":"object","required":["status"],"title":"ClaimMarkBody","description":"The learner marks one block. OWN_WORDS = \"these are my words\"; UNVERIFIED = \"I am not\nsure of this\"; CITED = \"this comes from that source\" and needs a source_id of a real,\nready source on this note."},"ClaimResponse":{"properties":{"job_id":{"type":"integer","title":"Job Id"},"grading_job_id":{"type":"string","title":"Grading Job Id"},"subject":{"type":"string","title":"Subject"},"topic":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Topic"},"ai_confidence":{"type":"number","title":"Ai Confidence"},"ai_grade":{"type":"object","title":"Ai Grade"},"answer_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Answer Url"},"extracted_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Extracted Text"},"claim_expires_at":{"type":"string","title":"Claim Expires At"},"sla_due_at":{"type":"string","title":"Sla Due At"}},"type":"object","required":["job_id","grading_job_id","subject","topic","ai_confidence","ai_grade","answer_url","extracted_text","claim_expires_at","sla_due_at"],"title":"ClaimResponse"},"ClaimReviewCaseRequest":{"properties":{"lease_seconds":{"type":"integer","maximum":3600.0,"minimum":60.0,"title":"Lease Seconds","default":900}},"additionalProperties":false,"type":"object","title":"ClaimReviewCaseRequest"},"ClassExportIn":{"properties":{"format":{"type":"string","enum":["csv"],"const":"csv","title":"Format","default":"csv"},"scope":{"anyOf":[{"$ref":"#/components/schemas/ExportScope"},{"type":"null"}]}},"type":"object","title":"ClassExportIn"},"ClassIn":{"properties":{"display_name":{"type":"string","maxLength":80,"minLength":1,"title":"Display Name"},"subject":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Subject"},"term_label":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Term Label"}},"type":"object","required":["display_name"],"title":"ClassIn"},"ClearBody":{"properties":{"row_n":{"type":"integer","maximum":999.0,"minimum":1.0,"title":"Row N"}},"type":"object","required":["row_n"],"title":"ClearBody"},"ClockBody":{"properties":{"ack_hours":{"type":"integer","maximum":720.0,"minimum":1.0,"title":"Ack Hours"},"decision_days":{"anyOf":[{"type":"integer","maximum":365.0,"minimum":1.0},{"type":"null"}],"title":"Decision Days"},"reason":{"type":"string","maxLength":300,"minLength":3,"title":"Reason"}},"type":"object","required":["ack_hours","reason"],"title":"ClockBody"},"CloseParentAccountBody":{"properties":{"reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Reason"}},"type":"object","title":"CloseParentAccountBody"},"CloseProgrammeRequest":{"properties":{"programme_ref":{"type":"string","format":"uuid","title":"Programme Ref"},"completion_refs":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Completion Refs","default":[]},"unserved_count":{"type":"integer","minimum":0.0,"title":"Unserved Count"},"remedy_refs":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Remedy Refs","default":[]}},"additionalProperties":false,"type":"object","required":["programme_ref","unserved_count"],"title":"CloseProgrammeRequest"},"CloseRequest":{"properties":{"ending":{"type":"string","pattern":"^(COMPLETED|WITHDRAWN)$","title":"Ending"},"request_id":{"type":"string","maxLength":128,"minLength":1,"title":"Request Id"}},"additionalProperties":false,"type":"object","required":["ending","request_id"],"title":"CloseRequest"},"CloseRequestCommand":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"review_id":{"type":"string","format":"uuid","title":"Review Id"},"writeback_id":{"type":"string","format":"uuid","title":"Writeback Id"},"closed_by":{"type":"string","maxLength":128,"minLength":1,"title":"Closed By"},"expected_request_version":{"type":"integer","minimum":1.0,"title":"Expected Request Version"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os11_teacher_hitl__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["request_id","review_id","writeback_id","closed_by","expected_request_version","evidence_refs"],"title":"CloseRequestCommand"},"CoachingStartBody":{"properties":{"student_id":{"type":"string","maxLength":64,"minLength":1,"title":"Student Id"},"mode":{"type":"string","title":"Mode","description":"mental_prep | pattern_explain | post_drill | milestone_coach"},"context":{"type":"object","title":"Context"},"resume":{"type":"boolean","title":"Resume","default":false}},"type":"object","required":["student_id","mode"],"title":"CoachingStartBody"},"CoachingTurnBody":{"properties":{"student_id":{"type":"string","maxLength":64,"minLength":1,"title":"Student Id"},"session_id":{"type":"string","maxLength":64,"minLength":1,"title":"Session Id"},"message":{"type":"string","maxLength":4000,"minLength":1,"title":"Message"}},"type":"object","required":["student_id","session_id","message"],"title":"CoachingTurnBody"},"CodeSendRequest":{"properties":{"purpose":{"type":"string","pattern":"^(sign_in|step_up)$","title":"Purpose","default":"sign_in"}},"type":"object","title":"CodeSendRequest"},"CodeVerifyRequest":{"properties":{"code":{"type":"string","maxLength":6,"minLength":6,"pattern":"^\\d{6}$","title":"Code"},"remember_device":{"type":"boolean","title":"Remember Device","default":false},"purpose":{"type":"string","pattern":"^(sign_in|step_up)$","title":"Purpose","default":"sign_in"}},"type":"object","required":["code"],"title":"CodeVerifyRequest"},"CohortFilter":{"properties":{"exam_target":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Exam Target"},"class_grade":{"anyOf":[{"type":"integer","maximum":14.0,"minimum":1.0},{"type":"null"}],"title":"Class Grade"},"onboarded":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Onboarded"}},"type":"object","title":"CohortFilter"},"CohortNew":{"properties":{"name":{"type":"string","maxLength":80,"minLength":3,"title":"Name"},"kind":{"type":"string","pattern":"^(test|segment)$","title":"Kind"},"members":{"items":{"$ref":"#/components/schemas/Member"},"type":"array","maxItems":200,"title":"Members"},"filter":{"$ref":"#/components/schemas/CohortFilter"}},"type":"object","required":["name","kind"],"title":"CohortNew"},"CollectionCreate":{"properties":{"name":{"type":"string","maxLength":60,"minLength":1,"title":"Name"}},"additionalProperties":false,"type":"object","required":["name"],"title":"CollectionCreate"},"CollectionOrderRequest":{"properties":{"collection_ids":{"items":{"type":"string","maxLength":240,"minLength":1},"type":"array","maxItems":50,"title":"Collection Ids"}},"additionalProperties":false,"type":"object","required":["collection_ids"],"title":"CollectionOrderRequest"},"CollectionRename":{"properties":{"operation":{"type":"string","enum":["RENAME"],"const":"RENAME","title":"Operation"},"name":{"type":"string","maxLength":60,"minLength":1,"title":"Name"}},"additionalProperties":false,"type":"object","required":["operation","name"],"title":"CollectionRename"},"CollectionVersion":{"properties":{"collection_id":{"type":"string","maxLength":240,"minLength":1,"title":"Collection Id"},"revision":{"type":"integer","maximum":9007199254740991.0,"minimum":1.0,"title":"Revision"}},"additionalProperties":false,"type":"object","required":["collection_id","revision"],"title":"CollectionVersion"},"CollegeDecisionCreateRequest":{"properties":{"rank_decision_id":{"type":"string","maxLength":64,"minLength":8,"title":"Rank Decision Id"},"exam_type":{"type":"string","maxLength":48,"minLength":2,"title":"Exam Type"},"dimensions":{"type":"object","minProperties":1,"title":"Dimensions"},"limit":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Limit","default":50}},"additionalProperties":false,"type":"object","required":["rank_decision_id","exam_type","dimensions"],"title":"CollegeDecisionCreateRequest","description":"Request canonical College truth for an owned Rank decision."},"CommandBody":{"properties":{"command_key":{"type":"string","maxLength":160,"title":"Command Key"}},"type":"object","required":["command_key"],"title":"CommandBody"},"CommandReceipt":{"properties":{"receipt_id":{"type":"string","format":"uuid","title":"Receipt Id"},"scope":{"type":"string","title":"Scope"},"command_name":{"type":"string","title":"Command Name"},"idempotency_key":{"type":"string","title":"Idempotency Key"},"actor_id":{"type":"string","title":"Actor Id"},"tenant_id":{"type":"string","title":"Tenant Id"},"request_digest":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Request Digest"},"state":{"type":"string","enum":["CLAIMED","COMMITTED","REPLAYED","CONFLICT","REJECTED"],"title":"State"},"resource_type":{"type":"string","title":"Resource Type"},"resource_id":{"type":"string","title":"Resource Id"},"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version"},"resource_version":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Resource Version"},"outbox_event_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Outbox Event Id"},"result":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Result"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"replayed":{"type":"boolean","title":"Replayed","default":false}},"additionalProperties":false,"type":"object","required":["receipt_id","scope","command_name","idempotency_key","actor_id","tenant_id","request_digest","state","resource_type","resource_id","expected_version","created_at"],"title":"CommandReceipt"},"CommandReceiptProjection":{"properties":{"receipt_id":{"type":"string","format":"uuid","title":"Receipt Id"},"scope":{"type":"string","title":"Scope"},"command_name":{"type":"string","title":"Command Name"},"state":{"type":"string","title":"State"},"replayed":{"type":"boolean","title":"Replayed"},"resource_type":{"type":"string","title":"Resource Type"},"resource_id":{"type":"string","title":"Resource Id"},"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version"},"resource_version":{"type":"integer","minimum":1.0,"title":"Resource Version"},"outbox_event_id":{"type":"string","format":"uuid","title":"Outbox Event Id"},"request_digest":{"type":"string","title":"Request Digest"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"additionalProperties":false,"type":"object","required":["receipt_id","scope","command_name","state","replayed","resource_type","resource_id","expected_version","resource_version","outbox_event_id","request_digest","created_at"],"title":"CommandReceiptProjection"},"CommercePreflightCommand":{"properties":{"student_id":{"type":"string","maxLength":128,"minLength":1,"title":"Student Id"},"product_key":{"type":"string","maxLength":128,"minLength":1,"title":"Product Key"},"sku_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Sku Id"},"feature_key":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Feature Key"},"current_tier":{"type":"string","enum":["FREE","ACE","GROW","SCALE","INSTITUTIONAL"],"title":"Current Tier","default":"FREE"},"desired_units":{"type":"integer","maximum":10000.0,"minimum":1.0,"title":"Desired Units","default":1},"thread_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Thread Id"},"thread_candidate_id":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Thread Candidate Id"},"thread_candidate_kind":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Thread Candidate Kind"},"required_action":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Required Action"},"fallback_action_label":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Fallback Action Label"},"fallback_action_route":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Fallback Action Route"},"context":{"type":"object","title":"Context"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os09_commerce__models__EvidenceRef"},"type":"array","maxItems":32,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["student_id","product_key"],"title":"CommercePreflightCommand"},"CommercePurposeAssentDecision":{"properties":{"granted":{"type":"boolean","title":"Granted"},"purpose_contract_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Purpose Contract Version"},"copy_digest":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Copy Digest"}},"type":"object","required":["granted"],"title":"CommercePurposeAssentDecision"},"CommercePurposeDecision":{"properties":{"granted":{"type":"boolean","title":"Granted"},"relationship_ref":{"type":"string","title":"Relationship Ref"},"purpose_contract_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Purpose Contract Version"},"copy_digest":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Copy Digest"}},"type":"object","required":["granted","relationship_ref"],"title":"CommercePurposeDecision"},"CommercialContext":{"properties":{"plan_ref":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Plan Ref"},"product_ref":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Product Ref"},"offer_ref":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Offer Ref"},"bundle_ref":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Bundle Ref"},"exact_app_route":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Exact App Route"},"entry_mode":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Entry Mode"}},"type":"object","title":"CommercialContext"},"CompareBody":{"properties":{"student_id":{"type":"string","title":"Student Id"},"scenarios":{"items":{"type":"object"},"type":"array","title":"Scenarios"}},"type":"object","required":["student_id","scenarios"],"title":"CompareBody"},"CompareRoutesRequest":{"properties":{"route_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":12,"minItems":2,"title":"Route Ids"},"priority":{"items":{"type":"string","enum":["duration","cost","gates","opens","closes"]},"type":"array","title":"Priority","default":[]},"save":{"type":"boolean","title":"Save","default":true}},"additionalProperties":false,"type":"object","required":["route_ids"],"title":"CompareRoutesRequest"},"ComparisonDeletedView":{"properties":{"comparison_id":{"type":"string","title":"Comparison Id"},"deleted_versions":{"type":"integer","title":"Deleted Versions"},"state":{"type":"string","enum":["DELETED"],"const":"DELETED","title":"State","default":"DELETED"},"message":{"type":"string","title":"Message"}},"additionalProperties":false,"type":"object","required":["comparison_id","deleted_versions","message"],"title":"ComparisonDeletedView"},"ComparisonView":{"properties":{"comparison_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comparison Id"},"version_no":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Version No"},"predecessor_version_no":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Predecessor Version No"},"state":{"type":"string","enum":["READY","PARTIAL_SOURCE","STALE","HELD"],"title":"State"},"saved":{"type":"boolean","title":"Saved","default":false},"not_saved_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Not Saved Reason"},"compared_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Compared At"},"release":{"anyOf":[{"$ref":"#/components/schemas/ReleaseView"},{"type":"null"}]},"routes":{"items":{"$ref":"#/components/schemas/RouteColumn"},"type":"array","title":"Routes","default":[]},"rows":{"items":{"$ref":"#/components/schemas/RowView"},"type":"array","title":"Rows","default":[]},"suppressed_count":{"type":"integer","title":"Suppressed Count","default":0},"suppressed_keys":{"items":{"type":"string"},"type":"array","title":"Suppressed Keys","default":[]},"priority":{"items":{"type":"string"},"type":"array","title":"Priority","default":[]},"priority_note":{"type":"string","title":"Priority Note"},"corrections":{"items":{"$ref":"#/components/schemas/CorrectionNotice"},"type":"array","title":"Corrections","default":[]},"reason_codes":{"items":{"type":"string"},"type":"array","title":"Reason Codes","default":[]},"honesty":{"items":{"type":"string"},"type":"array","title":"Honesty","default":[]},"receipt_handoff":{"type":"object","title":"Receipt Handoff"}},"additionalProperties":false,"type":"object","required":["state","priority_note"],"title":"ComparisonView"},"CompatStart":{"properties":{"student_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Student Id"},"subject":{"type":"string","maxLength":80,"minLength":2,"title":"Subject"},"chapter":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"Chapter"},"topic":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"Topic"},"mode":{"type":"string","maxLength":80,"title":"Mode","default":"standard"},"count":{"anyOf":[{"type":"integer","maximum":20.0,"minimum":3.0},{"type":"null"}],"title":"Count"},"question_count":{"anyOf":[{"type":"integer","maximum":20.0,"minimum":3.0},{"type":"null"}],"title":"Question Count"},"repair_episode_ref":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Repair Episode Ref"},"replay_request_id":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Replay Request Id"},"product_thread_ref":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Product Thread Ref"},"return_contract_ref":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Return Contract Ref"},"entry_mode":{"type":"string","maxLength":120,"minLength":1,"title":"Entry Mode","default":"legacy_drill_start"},"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version","default":0},"os01_concept_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Os01 Concept Id"},"product_context_receipt_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Product Context Receipt Id"},"product_context_hash":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}],"title":"Product Context Hash"}},"additionalProperties":false,"type":"object","required":["subject"],"title":"CompatStart"},"CompatibilityAnswerRequest":{"properties":{"session_id":{"type":"string","title":"Session Id"},"question_id":{"type":"string","title":"Question Id"},"student_answer":{"type":"string","title":"Student Answer"},"time_taken_s":{"type":"integer","minimum":0.0,"title":"Time Taken S","default":0},"student_id":{"type":"string","title":"Student Id","default":""},"confidence":{"anyOf":[{"type":"integer","maximum":5.0,"minimum":1.0},{"type":"null"}],"title":"Confidence"},"device_type":{"type":"string","title":"Device Type","default":"web"},"client_event_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Event Id"},"expected_session_version":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Expected Session Version"}},"additionalProperties":false,"type":"object","required":["session_id","question_id","student_answer"],"title":"CompatibilityAnswerRequest"},"CompatibilityBatchSubmitRequest":{"properties":{"student_id":{"type":"string","title":"Student Id","default":""},"session_id":{"type":"string","title":"Session Id"},"answers":{"type":"object","title":"Answers"},"item_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Item Id"},"question_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Question Id"},"answer":{"anyOf":[{},{"type":"null"}],"title":"Answer"},"time_taken_seconds":{"type":"integer","minimum":0.0,"title":"Time Taken Seconds","default":0},"pack_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pack Id"},"offline_replayed":{"type":"boolean","title":"Offline Replayed","default":false},"idempotency_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency Key"},"pending_client_event_ids":{"items":{"type":"string"},"type":"array","title":"Pending Client Event Ids","default":[]}},"additionalProperties":false,"type":"object","required":["session_id"],"title":"CompatibilityBatchSubmitRequest"},"CompatibilityCompleteRequest":{"properties":{"session_id":{"type":"string","title":"Session Id"},"student_id":{"type":"string","title":"Student Id","default":""},"completed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completed At"},"expected_session_version":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Expected Session Version"},"pending_client_event_ids":{"items":{"type":"string"},"type":"array","title":"Pending Client Event Ids","default":[]}},"additionalProperties":false,"type":"object","required":["session_id"],"title":"CompatibilityCompleteRequest"},"CompatibilityStartRequest":{"properties":{"student_id":{"type":"string","title":"Student Id","default":""},"subject":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"},"chapter":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chapter"},"mode":{"type":"string","title":"Mode","default":"adaptive"},"question_count":{"anyOf":[{"type":"integer","maximum":30.0,"minimum":3.0},{"type":"null"}],"title":"Question Count"},"product_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Id"},"chapters":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Chapters"}},"additionalProperties":false,"type":"object","title":"CompatibilityStartRequest"},"CompileInstitutionProjectionRequest":{"properties":{"institution_id":{"type":"string","format":"uuid","title":"Institution Id"},"purpose":{"type":"string","enum":["CASE_COORDINATION","OUTCOME_OPERATIONS","PATHWAY_SUPPORT"],"title":"Purpose"},"projection_policy_version":{"type":"string","maxLength":100,"minLength":3,"title":"Projection Policy Version"},"relationship_grant_ref":{"type":"string","maxLength":300,"minLength":4,"title":"Relationship Grant Ref"},"consent_grant_ref":{"anyOf":[{"type":"string","maxLength":300,"minLength":4},{"type":"null"}],"title":"Consent Grant Ref"}},"additionalProperties":false,"type":"object","required":["institution_id","purpose","projection_policy_version","relationship_grant_ref"],"title":"CompileInstitutionProjectionRequest"},"CompleteBody":{"properties":{"purpose":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Purpose"},"contract_version":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Contract Version"},"expected_version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expected Version"},"idempotency_key":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Idempotency Key"},"reason_code":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Reason Code"},"completion_evidence_ref":{"anyOf":[{"type":"string","maxLength":600},{"type":"null"}],"title":"Completion Evidence Ref"},"completion_evidence_digest":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Completion Evidence Digest"},"occurred_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Occurred At"}},"additionalProperties":false,"type":"object","title":"CompleteBody"},"CompleteDppRequest":{"properties":{"expected_session_version":{"type":"integer","minimum":1.0,"title":"Expected Session Version"},"pending_client_event_ids":{"items":{"type":"string"},"type":"array","title":"Pending Client Event Ids","default":[]},"learner_timezone":{"anyOf":[{"type":"string","maxLength":64,"minLength":1},{"type":"null"}],"title":"Learner Timezone"}},"additionalProperties":false,"type":"object","required":["expected_session_version"],"title":"CompleteDppRequest"},"ComposeDegreeCostReportRequest":{"properties":{"degree_entity_id":{"type":"string","format":"uuid","title":"Degree Entity Id"},"start_year":{"type":"integer","maximum":2200.0,"minimum":1900.0,"title":"Start Year"},"graph_release_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Graph Release Id"},"route_set_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Route Set Id"},"institution_entity_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Institution Entity Id"},"institute_key":{"anyOf":[{"type":"string","maxLength":130,"minLength":2},{"type":"null"}],"title":"Institute Key"},"ownership_type":{"anyOf":[{"type":"string","enum":["GOVERNMENT","GOVERNMENT_AIDED","PRIVATE","DEEMED","CENTRAL_INSTITUTE"]},{"type":"null"}],"title":"Ownership Type"},"learner_duration_years":{"anyOf":[{"type":"integer","maximum":10.0,"minimum":1.0},{"type":"null"}],"title":"Learner Duration Years"},"learner_entries":{"items":{"$ref":"#/components/schemas/LearnerFeeEntry"},"type":"array","maxItems":60,"title":"Learner Entries","default":[]},"policy_version":{"type":"string","maxLength":100,"minLength":3,"title":"Policy Version","default":"pathdegree-v2"},"predecessor_report_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Predecessor Report Id"}},"additionalProperties":false,"type":"object","required":["degree_entity_id","start_year"],"title":"ComposeDegreeCostReportRequest","description":"What the caller may say. Fees are looked up on the server, never asserted here."},"ComposeRequest":{"properties":{"student_id":{"type":"string","title":"Student Id"},"subject":{"type":"string","title":"Subject","default":"Physics"},"chapters":{"items":{"type":"string"},"type":"array","title":"Chapters"},"question_count":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Question Count","default":20},"difficulty":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Difficulty"},"q_types":{"items":{"type":"string"},"type":"array","title":"Q Types"},"exam_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Exam Id"}},"type":"object","required":["student_id"],"title":"ComposeRequest"},"ConceptLifecycleChange":{"properties":{"action":{"$ref":"#/components/schemas/SemanticLifecycleAction"},"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version"},"maker_id":{"type":"string","maxLength":256,"minLength":1,"title":"Maker Id"},"reason":{"type":"string","maxLength":1000,"minLength":3,"title":"Reason"},"evidence_hash":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Evidence Hash"},"successor_os01_concept_ids":{"items":{"type":"string"},"type":"array","maxItems":32,"title":"Successor Os01 Concept Ids"},"additional_predecessor_os01_concept_ids":{"items":{"type":"string"},"type":"array","maxItems":32,"title":"Additional Predecessor Os01 Concept Ids"}},"additionalProperties":false,"type":"object","required":["action","expected_version","maker_id","reason","evidence_hash"],"title":"ConceptLifecycleChange","description":"Approved semantic lifecycle command.\n\nThe authenticated caller is the checker.  `maker_id` is persisted in the\nimmutable lineage record and must identify a different operator."},"ConfirmExternalMockReq":{"properties":{"edits":{"items":{"type":"object"},"type":"array","title":"Edits"}},"type":"object","title":"ConfirmExternalMockReq"},"ConfirmSponsorAndBeneficiaryRequest":{"properties":{"sponsorship_id":{"type":"string","format":"uuid","title":"Sponsorship Id"},"hold_id":{"type":"string","format":"uuid","title":"Hold Id"}},"additionalProperties":false,"type":"object","required":["sponsorship_id","hold_id"],"title":"ConfirmSponsorAndBeneficiaryRequest"},"ConfirmWritebackCommand":{"properties":{"writeback_id":{"type":"string","format":"uuid","title":"Writeback Id"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"target_owner_os":{"type":"string","enum":["OS06","OS10","OS21","EXTERNAL"],"title":"Target Owner Os"},"state":{"type":"string","enum":["APPLIED","REJECTED"],"title":"State"},"resulting_artifact_ref":{"anyOf":[{"$ref":"#/components/schemas/ArtifactRef"},{"type":"null"}]},"reason_codes":{"items":{"type":"string"},"type":"array","maxItems":16,"minItems":1,"title":"Reason Codes"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os11_teacher_hitl__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"},"expected_writeback_version":{"type":"integer","minimum":1.0,"title":"Expected Writeback Version"}},"additionalProperties":false,"type":"object","required":["writeback_id","actor_id","target_owner_os","state","reason_codes","evidence_refs","expected_writeback_version"],"title":"ConfirmWritebackCommand"},"ConfirmedContextInput":{"properties":{"exam":{"type":"string","maxLength":80,"minLength":1,"title":"Exam"},"subject":{"type":"string","maxLength":80,"minLength":1,"title":"Subject"},"class_grade":{"anyOf":[{"type":"integer","maximum":14.0,"minimum":1.0},{"type":"null"}],"title":"Class Grade"},"chapter":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Chapter"},"topic":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Topic"}},"additionalProperties":false,"type":"object","required":["exam","subject"],"title":"ConfirmedContextInput"},"ConflictAcknowledgeRequest":{"properties":{"chosen_system_id":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Chosen System Id"},"chosen_note":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Chosen Note"},"clear_note":{"type":"boolean","title":"Clear Note","default":false}},"additionalProperties":false,"type":"object","title":"ConflictAcknowledgeRequest","description":"What the family tells us. Both fields are theirs; neither is a recommendation."},"ConflictRecordCommand":{"properties":{"conflict_id":{"type":"string","format":"uuid","title":"Conflict Id"},"queue_id":{"type":"string","format":"uuid","title":"Queue Id"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"conflict_type":{"type":"string","maxLength":120,"minLength":2,"title":"Conflict Type"},"state":{"type":"string","enum":["OPEN","RESOLVED","ABANDONED"],"title":"State","default":"OPEN"},"resolution_options":{"items":{"type":"string"},"type":"array","maxItems":12,"minItems":1,"title":"Resolution Options"},"selected_resolution":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Selected Resolution"},"reason":{"type":"string","maxLength":500,"minLength":1,"title":"Reason"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os20_offline_sync__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["queue_id","actor_id","conflict_type","resolution_options","reason","evidence_refs"],"title":"ConflictRecordCommand"},"ConflictReportBody":{"properties":{"alias_name":{"type":"string","maxLength":200,"minLength":1,"title":"Alias Name"},"suggested_college_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Suggested College Id"},"note":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Note"}},"type":"object","required":["alias_name"],"title":"ConflictReportBody"},"ConsentBindingRequest":{"properties":{"sponsorship_id":{"type":"string","format":"uuid","title":"Sponsorship Id"},"consent_role":{"type":"string","enum":["BENEFICIARY_SELF","GUARDIAN"],"title":"Consent Role"},"consent_ref":{"type":"string","format":"uuid","title":"Consent Ref"},"consenting_student_id":{"type":"string","maxLength":160,"minLength":1,"title":"Consenting Student Id"},"beneficiary_is_minor":{"type":"boolean","title":"Beneficiary Is Minor"},"beneficiary_age_established":{"type":"boolean","title":"Beneficiary Age Established"}},"additionalProperties":false,"type":"object","required":["sponsorship_id","consent_role","consent_ref","consenting_student_id","beneficiary_is_minor","beneficiary_age_established"],"title":"ConsentBindingRequest"},"ConsentGrantCommand":{"properties":{"grant_id":{"type":"string","format":"uuid","title":"Grant Id"},"subject_id":{"type":"string","maxLength":128,"minLength":1,"title":"Subject Id"},"subject_age_years":{"anyOf":[{"type":"integer","maximum":120.0,"minimum":1.0},{"type":"null"}],"title":"Subject Age Years"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"actor_class":{"type":"string","enum":["student","parent","teacher","operator","system"],"title":"Actor Class"},"guardian_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Guardian Id"},"scope_id":{"type":"string","maxLength":120,"minLength":3,"title":"Scope Id"},"purpose":{"type":"string","maxLength":120,"minLength":2,"title":"Purpose"},"data_categories":{"items":{"type":"string"},"type":"array","maxItems":64,"minItems":1,"title":"Data Categories"},"state":{"type":"string","enum":["REQUESTED","GRANTED","DENIED","REVOKED","EXPIRED"],"title":"State"},"source_surface":{"type":"string","maxLength":120,"minLength":2,"title":"Source Surface"},"policy_version":{"type":"string","maxLength":80,"minLength":1,"title":"Policy Version"},"issued_at":{"type":"string","format":"date-time","title":"Issued At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os21_privacy_safety__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["subject_id","actor_id","actor_class","scope_id","purpose","data_categories","state","source_surface","policy_version","evidence_refs"],"title":"ConsentGrantCommand"},"ConsentRequestDecision":{"properties":{"request_id":{"type":"string","maxLength":64,"minLength":1,"title":"Request Id"},"action":{"type":"string","pattern":"^(approve|deny)$","title":"Action"}},"type":"object","required":["request_id","action"],"title":"ConsentRequestDecision","description":"A learner's answer to one request for extra access."},"ConsentScopeCommand":{"properties":{"scope_id":{"type":"string","maxLength":120,"minLength":3,"title":"Scope Id"},"purpose":{"type":"string","maxLength":120,"minLength":2,"title":"Purpose"},"data_categories":{"items":{"type":"string"},"type":"array","maxItems":64,"minItems":1,"title":"Data Categories"},"allowed_actor_classes":{"items":{"type":"string"},"type":"array","maxItems":32,"title":"Allowed Actor Classes"},"minor_guardian_required":{"type":"boolean","title":"Minor Guardian Required","default":false},"expires_after_days":{"anyOf":[{"type":"integer","maximum":3650.0,"minimum":1.0},{"type":"null"}],"title":"Expires After Days"},"policy_version":{"type":"string","maxLength":80,"minLength":1,"title":"Policy Version"},"state":{"type":"string","enum":["ACTIVE","DEPRECATED"],"title":"State","default":"ACTIVE"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os21_privacy_safety__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["scope_id","purpose","data_categories","policy_version","actor_id","evidence_refs"],"title":"ConsentScopeCommand"},"ConsentSnapshotCommand":{"properties":{"snapshot_id":{"type":"string","format":"uuid","title":"Snapshot Id"},"recipient_id":{"type":"string","maxLength":128,"minLength":1,"title":"Recipient Id"},"audience":{"type":"string","enum":["student","parent","guardian","teacher","operator"],"title":"Audience"},"authority":{"type":"string","enum":["OS21","XPR01"],"title":"Authority"},"consent_id":{"type":"string","maxLength":160,"minLength":1,"title":"Consent Id"},"consent_version":{"type":"string","maxLength":64,"minLength":1,"title":"Consent Version"},"purpose":{"type":"string","maxLength":80,"minLength":2,"title":"Purpose"},"scopes":{"items":{"type":"string"},"type":"array","maxItems":32,"minItems":1,"title":"Scopes"},"allowed_channels":{"items":{"type":"string","enum":["in_app","push","email","sms","whatsapp"]},"type":"array","maxItems":5,"minItems":1,"title":"Allowed Channels"},"state":{"type":"string","enum":["GRANTED","REVOKED","EXPIRED"],"title":"State","default":"GRANTED"},"granted_at":{"type":"string","format":"date-time","title":"Granted At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os13_intervention_timing__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["recipient_id","audience","authority","consent_id","consent_version","purpose","scopes","allowed_channels","granted_at","actor_id","evidence_refs"],"title":"ConsentSnapshotCommand"},"ConsentUpdate":{"properties":{"consent_type":{"type":"string","title":"Consent Type"},"granted":{"type":"boolean","title":"Granted"},"student_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Student Id"}},"type":"object","required":["consent_type","granted"],"title":"ConsentUpdate"},"ConsoleStateResponse":{"properties":{"student_id":{"type":"string","title":"Student Id"},"jarvis_greeting":{"type":"string","title":"Jarvis Greeting","default":""},"jarvis_message":{"type":"string","title":"Jarvis Message","default":""},"rank_prediction":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Rank Prediction"},"todays_dpp":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Todays Dpp"},"streak":{"type":"object","title":"Streak"},"priority_directive":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Priority Directive"},"unread_notifications":{"type":"integer","title":"Unread Notifications","default":0},"wellness_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Wellness Status"},"spre_summary":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Spre Summary"},"timestamp":{"type":"string","title":"Timestamp","default":""}},"type":"object","required":["student_id"],"title":"ConsoleStateResponse","description":"Everything the Console (S5) screen needs — single API call."},"ConstraintsIn":{"properties":{"hours_per_week":{"type":"number","maximum":168.0,"exclusiveMinimum":0.0,"title":"Hours Per Week"},"budget_minor":{"type":"integer","maximum":1000000000000.0,"minimum":0.0,"title":"Budget Minor"},"budget_currency":{"type":"string","pattern":"^[A-Z]{3}$","title":"Budget Currency"},"risk_tolerance":{"type":"string","enum":["LOW","MEDIUM","HIGH"],"title":"Risk Tolerance"},"horizon_months":{"anyOf":[{"type":"integer","maximum":120.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Horizon Months"}},"additionalProperties":false,"type":"object","required":["hours_per_week","budget_minor","budget_currency","risk_tolerance"],"title":"ConstraintsIn","description":"All three constraints are required: a comparison with none returns the\nexpensive answer every time (part 002)."},"ConsumerDisposition":{"type":"string","enum":["CUTOVER_READY","RETAINED_CURRENT","DEFERRED_WITH_OWNER","BLOCKED"],"title":"ConsumerDisposition"},"ConsumerDispositionCommand":{"properties":{"disposition_id":{"type":"string","format":"uuid","title":"Disposition Id"},"release_scope":{"type":"string","maxLength":120,"minLength":2,"title":"Release Scope"},"route_path":{"type":"string","maxLength":240,"minLength":1,"title":"Route Path"},"owner_os":{"type":"string","maxLength":16,"minLength":4,"title":"Owner Os"},"consumer_name":{"type":"string","maxLength":120,"minLength":2,"title":"Consumer Name"},"disposition":{"$ref":"#/components/schemas/ConsumerDisposition"},"owner":{"type":"string","maxLength":120,"minLength":2,"title":"Owner"},"reason":{"type":"string","maxLength":500,"minLength":4,"title":"Reason"},"proof_refs":{"items":{"type":"string"},"type":"array","title":"Proof Refs"},"metadata":{"type":"object","title":"Metadata"}},"type":"object","required":["release_scope","route_path","owner_os","consumer_name","disposition","owner","reason"],"title":"ConsumerDispositionCommand"},"ConsumerRoute":{"properties":{"consumer_id":{"type":"string","maxLength":128,"minLength":1,"title":"Consumer Id"},"stream":{"type":"string","maxLength":128,"minLength":1,"title":"Stream"},"max_attempts":{"type":"integer","maximum":20.0,"minimum":1.0,"title":"Max Attempts","default":3},"purpose":{"type":"string","enum":["learning","assessment","support","analytics","operations","audit"],"title":"Purpose"}},"additionalProperties":false,"type":"object","required":["consumer_id","stream","purpose"],"title":"ConsumerRoute"},"ContentDependencyCommand":{"properties":{"consumer_id":{"type":"string","maxLength":160,"minLength":2,"title":"Consumer Id"},"object_ref":{"type":"string","maxLength":300,"minLength":3,"title":"Object Ref"},"purge_required":{"type":"boolean","title":"Purge Required","default":false},"legal_preservation_required":{"type":"boolean","title":"Legal Preservation Required","default":false}},"additionalProperties":false,"type":"object","required":["consumer_id","object_ref"],"title":"ContentDependencyCommand"},"ContentPilotQuestionReview":{"properties":{"draft_key":{"type":"string","enum":["DRAFT_NC_001","DRAFT_NC_002","DRAFT_NC_003","DRAFT_NC_004","DRAFT_NC_005","DRAFT_NC_006","DRAFT_NC_007"],"title":"Draft Key"},"payload_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Payload Sha256"},"reviewed_answer":{"type":"string","enum":["A","B","C","D"],"title":"Reviewed Answer"},"answer_key_checked":{"type":"boolean","title":"Answer Key Checked"},"rubric_checks":{"$ref":"#/components/schemas/ContentPilotRubricChecks"},"unresolved_disagreements":{"items":{"type":"string"},"type":"array","maxItems":12,"title":"Unresolved Disagreements"},"rationale":{"type":"string","maxLength":4000,"minLength":5,"title":"Rationale"}},"additionalProperties":false,"type":"object","required":["draft_key","payload_sha256","reviewed_answer","answer_key_checked","rubric_checks","unresolved_disagreements","rationale"],"title":"ContentPilotQuestionReview","description":"A single nonblind per-question check bound to one immutable pilot hash."},"ContentPilotRubricChecks":{"properties":{"scientific_correctness":{"type":"boolean","title":"Scientific Correctness"},"notation":{"type":"boolean","title":"Notation"},"wording_and_ambiguity":{"type":"boolean","title":"Wording And Ambiguity"},"distractor_validity":{"type":"boolean","title":"Distractor Validity"},"worked_solution_correctness":{"type":"boolean","title":"Worked Solution Correctness"},"academic_scope":{"type":"boolean","title":"Academic Scope"}},"additionalProperties":false,"type":"object","required":["scientific_correctness","notation","wording_and_ambiguity","distractor_validity","worked_solution_correctness","academic_scope"],"title":"ContentPilotRubricChecks"},"ContentReviewDecision":{"properties":{"status":{"type":"string","title":"Status"},"reviewer_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reviewer Id"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"rejection_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rejection Reason"},"app_live_allowed":{"type":"boolean","title":"App Live Allowed","default":false},"training_allowed":{"type":"boolean","title":"Training Allowed","default":false}},"additionalProperties":false,"type":"object","required":["status"],"title":"ContentReviewDecision","description":"Accepted only to return a typed retirement response to old clients."},"ContextBody":{"properties":{"stage":{"anyOf":[{"type":"string","enum":["SCHOOL","COLLEGE_UG","COLLEGE_PG","BETWEEN","OTHER"]},{"type":"null"}],"title":"Stage"},"hours_per_week":{"anyOf":[{"type":"integer","maximum":60.0,"minimum":0.0},{"type":"null"}],"title":"Hours Per Week"},"city_region":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"City Region"},"intended_route_id":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Intended Route Id"}},"type":"object","title":"ContextBody"},"ContextReturnRequest":{"properties":{"context":{"$ref":"#/components/schemas/TraversalContext"}},"additionalProperties":false,"type":"object","required":["context"],"title":"ContextReturnRequest"},"ContextSelection":{"properties":{"selection_ref":{"type":"string","maxLength":240,"minLength":1,"title":"Selection Ref"}},"additionalProperties":false,"type":"object","required":["selection_ref"],"title":"ContextSelection","description":"Choosing who to look at. One field, and it must be one you were offered."},"ContextSnapshotCreate":{"properties":{"context":{"$ref":"#/components/schemas/OperatorContext"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"purpose":{"type":"string","maxLength":120,"minLength":3,"title":"Purpose"},"reason":{"type":"string","maxLength":1000,"minLength":8,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["context","expires_at","purpose","reason"],"title":"ContextSnapshotCreate"},"ContextTransitionRequest":{"properties":{"context":{"$ref":"#/components/schemas/TraversalContext"},"target_node":{"$ref":"#/components/schemas/SyllabusNodeRef"},"target":{"$ref":"#/components/schemas/TraversalTarget"},"return_label":{"type":"string","maxLength":80,"minLength":1,"title":"Return Label"}},"additionalProperties":false,"type":"object","required":["context","target_node","target","return_label"],"title":"ContextTransitionRequest"},"ContextValidationRequest":{"properties":{"context":{"$ref":"#/components/schemas/OperatorContext"},"required_dimensions":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Required Dimensions"}},"additionalProperties":false,"type":"object","required":["context"],"title":"ContextValidationRequest"},"ContinueRecoveryStepRequest":{"properties":{"transition_decision_id":{"type":"string","format":"uuid","title":"Transition Decision Id"},"transition_decision_digest":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Transition Decision Digest"},"position":{"type":"integer","minimum":1.0,"title":"Position"},"step_digest":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Step Digest"},"accepted":{"type":"boolean","title":"Accepted"}},"additionalProperties":false,"type":"object","required":["transition_decision_id","transition_decision_digest","position","step_digest","accepted"],"title":"ContinueRecoveryStepRequest"},"ContinuityBody":{"properties":{"exam":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"Exam"},"touched":{"items":{"$ref":"#/components/schemas/Touch"},"type":"array","maxItems":10,"title":"Touched"},"result_refs":{"items":{"$ref":"#/components/schemas/ResultRef"},"type":"array","maxItems":8,"title":"Result Refs"},"utm":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Utm"},"landing":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Landing"},"commercial_context":{"anyOf":[{"$ref":"#/components/schemas/CommercialContext"},{"type":"null"}]},"intended_action":{"anyOf":[{"type":"string","maxLength":96},{"type":"null"}],"title":"Intended Action"}},"type":"object","title":"ContinuityBody"},"ContinuityConsume":{"properties":{"token":{"type":"string","maxLength":4096,"minLength":64,"title":"Token"},"idempotency_key":{"type":"string","maxLength":160,"minLength":8,"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["token","idempotency_key"],"title":"ContinuityConsume"},"ContinuityVerify":{"properties":{"token":{"type":"string","maxLength":4096,"minLength":40,"title":"Token"}},"additionalProperties":false,"type":"object","required":["token"],"title":"ContinuityVerify"},"ContributionBody":{"properties":{"object_id":{"type":"string","maxLength":2048,"minLength":1,"title":"Object Id"},"object_kind":{"type":"string","enum":["node","edge"],"title":"Object Kind","default":"node"},"snapshot_sha":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Snapshot Sha"},"kind":{"type":"string","enum":["note","question","correction"],"title":"Kind"},"text":{"type":"string","maxLength":8000,"minLength":1,"title":"Text"}},"additionalProperties":false,"type":"object","required":["object_id","snapshot_sha","kind","text"],"title":"ContributionBody"},"ContributionEdit":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"text":{"type":"string","maxLength":8000,"minLength":1,"title":"Text"}},"additionalProperties":false,"type":"object","required":["expected_version","text"],"title":"ContributionEdit"},"ControlAction":{"type":"string","enum":["PIN","UNPIN","HIDE","UNHIDE","NOT_RELEVANT","CLEAR_NOT_RELEVANT","RESET_PERSONALIZATION"],"title":"ControlAction"},"ControlMutation":{"properties":{"action":{"$ref":"#/components/schemas/ControlAction"},"product_id":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Product Id"},"object_id":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Object Id"},"impression_id":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Impression Id"},"reason_code":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Reason Code"},"idempotency_key":{"type":"string","maxLength":160,"minLength":8,"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["action","idempotency_key"],"title":"ControlMutation"},"ConvergenceCommand":{"properties":{"run_id":{"type":"string","format":"uuid","title":"Run Id"},"route_requests":{"items":{"$ref":"#/components/schemas/cross_pack_convergence__models__RouteRequest"},"type":"array","maxItems":128,"minItems":1,"title":"Route Requests"},"handoff_requests":{"items":{"$ref":"#/components/schemas/cross_pack_convergence__models__HandoffRequest"},"type":"array","maxItems":128,"title":"Handoff Requests"},"feature_flags":{"$ref":"#/components/schemas/FeatureFlagSnapshot"},"correction":{"anyOf":[{"$ref":"#/components/schemas/CorrectionReceiptSummary"},{"type":"null"}]},"telemetry":{"items":{"$ref":"#/components/schemas/TelemetryEnvelope"},"type":"array","maxItems":256,"title":"Telemetry"},"simulation":{"$ref":"#/components/schemas/JourneySimulation"},"evidence_refs":{"items":{"$ref":"#/components/schemas/ConvergenceRef"},"type":"array","maxItems":128,"minItems":1,"title":"Evidence Refs"},"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version"}},"additionalProperties":false,"type":"object","required":["run_id","route_requests","feature_flags","simulation","evidence_refs","expected_version"],"title":"ConvergenceCommand"},"ConvergenceMutationEnvelope":{"properties":{"receipt":{"type":"object","title":"Receipt"},"resource":{"type":"object","title":"Resource"}},"additionalProperties":false,"type":"object","required":["receipt","resource"],"title":"ConvergenceMutationEnvelope"},"ConvergenceRef":{"properties":{"owner":{"type":"string","maxLength":80,"minLength":2,"title":"Owner"},"object_type":{"type":"string","pattern":"^[a-z][a-z0-9._-]{1,119}$","title":"Object Type"},"object_id":{"type":"string","maxLength":200,"minLength":1,"title":"Object Id"},"version":{"type":"string","maxLength":80,"minLength":1,"title":"Version"},"receipt_id":{"type":"string","maxLength":220,"minLength":4,"title":"Receipt Id"},"state":{"type":"string","maxLength":64,"minLength":1,"title":"State"}},"additionalProperties":false,"type":"object","required":["owner","object_type","object_id","version","receipt_id","state"],"title":"ConvergenceRef"},"CoreLearningChainCommand":{"properties":{"idempotency_key":{"type":"string","maxLength":200,"minLength":8,"title":"Idempotency Key"},"run_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Run Id"},"loop_id":{"type":"string","format":"uuid","title":"Loop Id"},"os02_source_event_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":20,"minItems":1,"title":"Os02 Source Event Ids"},"student_id":{"type":"string","maxLength":128,"minLength":1,"title":"Student Id"},"academic_subject_id":{"type":"string","maxLength":128,"minLength":1,"title":"Academic Subject Id"},"concept_id":{"type":"string","maxLength":160,"minLength":1,"title":"Concept Id"},"product_id":{"type":"string","maxLength":96,"minLength":1,"title":"Product Id","default":"ai-grader"},"source_route":{"type":"string","maxLength":128,"minLength":1,"title":"Source Route"},"assessment_id":{"type":"string","maxLength":128,"minLength":1,"title":"Assessment Id"},"assessment_submitted_at":{"type":"string","format":"date-time","title":"Assessment Submitted At"},"assessment_mode":{"type":"string","enum":["objective","subjective","dpp","mock","chapter_test","quick_check","work_check","work_baseline"],"title":"Assessment Mode","default":"quick_check"},"question_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Question Id"},"answer_ref":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Answer Ref"},"observable_answer":{"type":"object","title":"Observable Answer"},"rubric_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Rubric Id"},"rubric_version":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Rubric Version"},"scorer_id":{"type":"string","maxLength":128,"minLength":1,"title":"Scorer Id"},"finalized_by":{"type":"string","maxLength":128,"minLength":1,"title":"Finalized By"},"criterion_scores":{"items":{"$ref":"#/components/schemas/CriterionScore"},"type":"array","maxItems":100,"minItems":1,"title":"Criterion Scores"},"provenance_snapshot_ids":{"items":{"type":"string"},"type":"array","maxItems":100,"minItems":1,"title":"Provenance Snapshot Ids"},"quality_population":{"type":"string","maxLength":120,"minLength":1,"title":"Quality Population"},"quality_signals":{"items":{"$ref":"#/components/schemas/QualitySignal"},"type":"array","maxItems":100,"minItems":5,"title":"Quality Signals"},"release_scope":{"type":"string","maxLength":120,"minLength":2,"title":"Release Scope","default":"aosint-pr03-core-learning-chain"},"commit_sha":{"type":"string","maxLength":64,"minLength":7,"title":"Commit Sha"},"environment":{"type":"string","maxLength":120,"minLength":2,"title":"Environment"},"artifact_uri":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Artifact Uri"}},"additionalProperties":false,"type":"object","required":["idempotency_key","loop_id","os02_source_event_ids","student_id","academic_subject_id","concept_id","source_route","assessment_id","assessment_submitted_at","scorer_id","finalized_by","criterion_scores","provenance_snapshot_ids","quality_population","quality_signals","commit_sha","environment"],"title":"CoreLearningChainCommand","description":"One resumable, proof-producing core-learning journey.\n\nRaw learner answer material is accepted only for the OS06 command and is never\npersisted into the AOSINT saga ledger or its OS17 step events."},"CorrectAffordabilityEnvelopeRequest":{"properties":{"source_digest":{"type":"string","title":"Source Digest"},"reason_code":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{2,59}$","title":"Reason Code"},"predecessor_version":{"type":"integer","minimum":1.0,"title":"Predecessor Version"},"correction_digest":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Correction Digest"}},"additionalProperties":false,"type":"object","required":["source_digest","reason_code","predecessor_version"],"title":"CorrectAffordabilityEnvelopeRequest","description":"Raise a correction on an envelope that no longer matches what it was built from."},"CorrectAptitudeReportRequest":{"properties":{"reason_code":{"type":"string","maxLength":120,"minLength":1,"title":"Reason Code"},"corrected_evidence_refs":{"items":{"$ref":"#/components/schemas/EvidenceRefInput"},"type":"array","maxItems":30,"minItems":1,"title":"Corrected Evidence Refs"},"predecessor_version":{"type":"integer","minimum":1.0,"title":"Predecessor Version"},"correction_digest":{"type":"string","title":"Correction Digest"}},"additionalProperties":false,"type":"object","required":["reason_code","corrected_evidence_refs","predecessor_version","correction_digest"],"title":"CorrectAptitudeReportRequest"},"CorrectChoiceAuditRequest":{"properties":{"reason_code":{"type":"string","enum":["MY_DETAILS_WERE_WRONG","A_FIGURE_LOOKS_WRONG","THIS_DOES_NOT_APPLY_TO_ME","I_HAVE_CHANGED_THE_LIST","SOMETHING_ELSE"],"title":"Reason Code"},"finding_id":{"anyOf":[{"type":"integer","maximum":500.0,"minimum":0.0},{"type":"null"}],"title":"Finding Id"},"note":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Note"}},"additionalProperties":false,"type":"object","required":["reason_code"],"title":"CorrectChoiceAuditRequest","description":"What the family says is wrong. `finding_id` is the finding's position in\nthe check's findings (the `finding_id` its view shows); leave it out to\ncorrect the check as a whole."},"CorrectFamilyRecordRequest":{"properties":{"predecessor_record_id":{"type":"string","format":"uuid","title":"Predecessor Record Id"},"reason_code":{"type":"string","enum":["I_PICKED_THE_WRONG_ACTION","I_DID_SOMETHING_ELSE","MY_NOTE_WAS_WRONG","SOMETHING_ELSE"],"title":"Reason Code"},"corrected_action_code":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Corrected Action Code"},"note":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Note"}},"additionalProperties":false,"type":"object","required":["predecessor_record_id","reason_code"],"title":"CorrectFamilyRecordRequest","description":"`predecessor_record_id` is the statement being corrected: it must be the\nfamily's current one for this round, so a correction made from a stale screen\nis refused rather than applied to the wrong statement. Leave\n`corrected_action_code` out to keep the action and correct only the note;\nleave `note` out to keep the note."},"CorrectReceiptRequest":{"properties":{"correction_reason":{"type":"string","maxLength":1000,"minLength":2,"title":"Correction Reason"},"corrected_fields":{"$ref":"#/components/schemas/decision_universe__service_decision_receipt__CorrectedFields"}},"additionalProperties":false,"type":"object","required":["correction_reason","corrected_fields"],"title":"CorrectReceiptRequest"},"CorrectRepeatYearContextRequest":{"properties":{"source_decision_id":{"type":"string","format":"uuid","title":"Source Decision Id"},"source_decision_digest":{"type":"string","title":"Source Decision Digest"},"reason_code":{"type":"string","maxLength":200,"minLength":1,"title":"Reason Code"},"predecessor_version":{"type":"integer","minimum":1.0,"title":"Predecessor Version"},"correction_digest":{"type":"string","title":"Correction Digest"}},"additionalProperties":false,"type":"object","required":["source_decision_id","source_decision_digest","reason_code","predecessor_version","correction_digest"],"title":"CorrectRepeatYearContextRequest"},"CorrectReplanEventRequest":{"properties":{"correction_reason":{"type":"string","maxLength":280,"minLength":3,"title":"Correction Reason"},"corrected_fields":{"$ref":"#/components/schemas/decision_universe__models_replan_events__CorrectedFields"}},"additionalProperties":false,"type":"object","required":["correction_reason","corrected_fields"],"title":"CorrectReplanEventRequest","description":"P08. Corrects the stated assumption or the cited cause. Never touches the scope lists."},"CorrectReportRequest":{"properties":{"source_snapshot_id":{"type":"string","format":"uuid","title":"Source Snapshot Id"},"reason_code":{"type":"string","enum":["SOURCE_RECALLED","SOURCE_UPDATED","SOURCE_EXPIRED"],"title":"Reason Code"},"predecessor_version":{"type":"integer","minimum":1.0,"title":"Predecessor Version"},"correction_digest":{"type":"string","title":"Correction Digest"}},"additionalProperties":false,"type":"object","required":["source_snapshot_id","reason_code","predecessor_version","correction_digest"],"title":"CorrectReportRequest"},"CorrectResultRequest":{"properties":{"student_id":{"type":"string","maxLength":64,"minLength":1,"title":"Student Id"},"score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Score"},"rank_value":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Rank Value"},"percentile":{"anyOf":[{"type":"number","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Percentile"},"evidence_ref":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Evidence Ref"},"correction_reason":{"type":"string","maxLength":500,"minLength":1,"title":"Correction Reason"},"expected_version":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Expected Version"}},"type":"object","required":["student_id","correction_reason"],"title":"CorrectResultRequest"},"CorrectionAckCommand":{"properties":{"correction_id":{"type":"string","format":"uuid","title":"Correction Id"},"consumer_id":{"type":"string","pattern":"^[A-Z][A-Z0-9_-]{1,31}$","title":"Consumer Id"},"delivery_id":{"type":"string","format":"uuid","title":"Delivery Id"},"state":{"type":"string","enum":["ACKNOWLEDGED","FAILED","RETRY"],"title":"State"},"reason_codes":{"items":{"type":"string"},"type":"array","maxItems":24,"minItems":1,"title":"Reason Codes"},"successor_ref":{"anyOf":[{"$ref":"#/components/schemas/ObjectRef"},{"type":"null"}]},"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"}},"additionalProperties":false,"type":"object","required":["correction_id","consumer_id","delivery_id","state","reason_codes","expected_version"],"title":"CorrectionAckCommand"},"CorrectionCause":{"properties":{"cause_type":{"type":"string","enum":["SOURCE_RECALL","GRAPH_RECALL","RULE_RECALL","ENTITY_SPLIT","ENTITY_MERGE"],"title":"Cause Type"},"source_ref":{"type":"string","maxLength":500,"minLength":3,"title":"Source Ref"},"source_digest":{"type":"string","title":"Source Digest"},"prior_graph_release_id":{"type":"string","format":"uuid","title":"Prior Graph Release Id"},"last_good_graph_release_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Last Good Graph Release Id"},"reason_code":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{2,79}$","title":"Reason Code"}},"additionalProperties":false,"type":"object","required":["cause_type","source_ref","source_digest","prior_graph_release_id","reason_code"],"title":"CorrectionCause"},"CorrectionCommand":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"correction_type":{"type":"string","pattern":"^(SOURCE_RECALL|CONTRADICTION|CONTEXT_CHANGE|ACCESS_REVOKED|PROVIDER_INVALIDATION)$","title":"Correction Type"},"reason":{"type":"string","maxLength":1000,"minLength":3,"title":"Reason"},"source_receipt_ref":{"type":"string","maxLength":300,"minLength":8,"title":"Source Receipt Ref"}},"additionalProperties":false,"type":"object","required":["expected_version","correction_type","reason","source_receipt_ref"],"title":"CorrectionCommand"},"CorrectionDecision":{"properties":{"correction_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Correction Id"},"state":{"type":"string","enum":["PASS","HELD","NO_GO","NOT_REQUIRED"],"title":"State"},"mandatory_consumers":{"items":{"type":"string"},"type":"array","title":"Mandatory Consumers"},"pending_consumers":{"items":{"type":"string"},"type":"array","title":"Pending Consumers"},"successor_refs":{"items":{"$ref":"#/components/schemas/ConvergenceRef"},"type":"array","title":"Successor Refs"},"reason_codes":{"items":{"type":"string"},"type":"array","minItems":1,"title":"Reason Codes"},"decision_digest":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Decision Digest"}},"additionalProperties":false,"type":"object","required":["correction_id","state","mandatory_consumers","pending_consumers","successor_refs","reason_codes","decision_digest"],"title":"CorrectionDecision"},"CorrectionImpact":{"properties":{"correction_id":{"type":"string","format":"uuid","title":"Correction Id"},"thread_id":{"type":"string","format":"uuid","title":"Thread Id"},"owner_id":{"type":"string","title":"Owner Id"},"source_correction_ref":{"type":"string","title":"Source Correction Ref"},"correction_state":{"type":"string","title":"Correction State"},"generated_at":{"type":"string","format":"date-time","title":"Generated At"},"directly_corrected_ref_types":{"items":{"type":"string"},"type":"array","title":"Directly Corrected Ref Types","default":[]},"downstream_ref_types":{"items":{"type":"string"},"type":"array","title":"Downstream Ref Types","default":[]},"affected":{"items":{"$ref":"#/components/schemas/AffectedDecision"},"type":"array","title":"Affected","default":[]},"unaffected_count":{"type":"integer","minimum":0.0,"title":"Unaffected Count","default":0},"consumers_outstanding":{"items":{"type":"string"},"type":"array","title":"Consumers Outstanding","default":[]},"consumers_failed":{"items":{"type":"string"},"type":"array","title":"Consumers Failed","default":[]},"reason_codes":{"items":{"type":"string"},"type":"array","title":"Reason Codes","default":[]}},"additionalProperties":false,"type":"object","required":["correction_id","thread_id","owner_id","source_correction_ref","correction_state","generated_at"],"title":"CorrectionImpact","description":"The whole answer to \"a source changed — what does that mean for me?\"."},"CorrectionIn":{"properties":{"client_event_id":{"type":"string","maxLength":128,"minLength":1,"title":"Client Event Id"},"value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Value"},"absent":{"type":"boolean","title":"Absent","default":false},"reason":{"type":"string","maxLength":200,"minLength":1,"title":"Reason"},"reason_class":{"anyOf":[{"type":"string","enum":["entry_error","regrade","late_submission","other"]},{"type":"null"}],"title":"Reason Class"}},"type":"object","required":["client_event_id","reason"],"title":"CorrectionIn"},"CorrectionNotice":{"properties":{"kind":{"type":"string","enum":["SOURCE_RECALLED","RELEASE_RECALLED"],"title":"Kind"},"text":{"type":"string","title":"Text"},"source_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Name"},"recalled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Recalled At"},"notice_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notice Key"},"acknowledged_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Acknowledged At"}},"additionalProperties":false,"type":"object","required":["kind","text"],"title":"CorrectionNotice"},"CorrectionOpenCommand":{"properties":{"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"candidate_id":{"type":"string","format":"uuid","title":"Candidate Id"},"publication_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Publication Id"},"expected_candidate_version":{"type":"integer","minimum":1.0,"title":"Expected Candidate Version"},"issue_kind":{"type":"string","maxLength":80,"minLength":2,"title":"Issue Kind"},"severity":{"$ref":"#/components/schemas/CorrectionSeverity"},"reason_codes":{"items":{"type":"string"},"type":"array","maxItems":24,"minItems":1,"title":"Reason Codes"},"rationale":{"type":"string","maxLength":4000,"minLength":3,"title":"Rationale"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os10_content_ops__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"},"proposed_payload":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Proposed Payload"},"requested_serving_action":{"allOf":[{"$ref":"#/components/schemas/ServingAction"}],"default":"NONE"}},"additionalProperties":false,"type":"object","required":["candidate_id","expected_candidate_version","issue_kind","severity","reason_codes","rationale","evidence_refs"],"title":"CorrectionOpenCommand"},"CorrectionOverlay":{"properties":{"thread_id":{"type":"string","format":"uuid","title":"Thread Id"},"corrections":{"items":{"$ref":"#/components/schemas/CorrectionOverlayItem"},"type":"array","title":"Corrections","default":[]},"generated_at":{"type":"string","format":"date-time","title":"Generated At"}},"additionalProperties":false,"type":"object","required":["thread_id","generated_at"],"title":"CorrectionOverlay"},"CorrectionOverlayItem":{"properties":{"correction_id":{"type":"string","format":"uuid","title":"Correction Id"},"source_correction_ref":{"type":"string","title":"Source Correction Ref"},"state":{"type":"string","title":"State"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"closed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Closed At"},"targets":{"items":{"$ref":"#/components/schemas/CorrectionTarget"},"type":"array","title":"Targets","default":[]},"consumers_outstanding":{"items":{"type":"string"},"type":"array","title":"Consumers Outstanding","default":[]},"consumers_failed":{"items":{"type":"string"},"type":"array","title":"Consumers Failed","default":[]},"reason_codes":{"items":{"type":"string"},"type":"array","title":"Reason Codes","default":[]}},"additionalProperties":false,"type":"object","required":["correction_id","source_correction_ref","state","created_at"],"title":"CorrectionOverlayItem"},"CorrectionRebuildRequeueCommand":{"properties":{"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version"},"reason":{"type":"string","maxLength":500,"minLength":3,"title":"Reason"}},"type":"object","required":["expected_version","reason"],"title":"CorrectionRebuildRequeueCommand"},"CorrectionRebuildRunCommand":{"properties":{"limit":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Limit","default":20},"scan_limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Scan Limit","default":100},"lease_seconds":{"type":"integer","maximum":3600.0,"minimum":30.0,"title":"Lease Seconds","default":120},"scan":{"type":"boolean","title":"Scan","default":true}},"type":"object","title":"CorrectionRebuildRunCommand"},"CorrectionReceiptSummary":{"properties":{"correction_id":{"type":"string","format":"uuid","title":"Correction Id"},"state":{"type":"string","enum":["NOT_REQUIRED","CLOSED","WAITING_ACK","NO_GO","STALE","REVOKED"],"title":"State"},"source_ref":{"$ref":"#/components/schemas/ConvergenceRef"},"targets":{"items":{"$ref":"#/components/schemas/CorrectionTargetSummary"},"type":"array","maxItems":128,"title":"Targets"},"version":{"type":"integer","minimum":1.0,"title":"Version"}},"additionalProperties":false,"type":"object","required":["correction_id","state","source_ref","version"],"title":"CorrectionReceiptSummary"},"CorrectionReselectionCommand":{"properties":{"candidate_id":{"type":"string","format":"uuid","title":"Candidate Id"},"correction_hold_id":{"type":"string","format":"uuid","title":"Correction Hold Id"},"student_id":{"type":"string","maxLength":128,"minLength":1,"title":"Student Id"},"policy_id":{"type":"string","maxLength":128,"minLength":3,"title":"Policy Id"},"policy_version":{"type":"string","maxLength":32,"minLength":1,"title":"Policy Version"},"max_steps":{"anyOf":[{"type":"integer","maximum":12.0,"minimum":1.0},{"type":"null"}],"title":"Max Steps"}},"type":"object","required":["candidate_id","correction_hold_id","student_id","policy_id","policy_version"],"title":"CorrectionReselectionCommand"},"CorrectionResolveCommand":{"properties":{"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"correction_id":{"type":"string","format":"uuid","title":"Correction Id"},"expected_correction_version":{"type":"integer","minimum":1.0,"title":"Expected Correction Version"},"resolution":{"type":"string","enum":["RESOLVED","DISMISSED"],"title":"Resolution"},"reason_codes":{"items":{"type":"string"},"type":"array","maxItems":24,"minItems":1,"title":"Reason Codes"},"rationale":{"type":"string","maxLength":4000,"minLength":3,"title":"Rationale"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os10_content_ops__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"},"replacement_publication_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Replacement Publication Id"}},"additionalProperties":false,"type":"object","required":["correction_id","expected_correction_version","resolution","reason_codes","rationale","evidence_refs"],"title":"CorrectionResolveCommand"},"CorrectionSeverity":{"type":"string","enum":["LOW","MEDIUM","HIGH","CRITICAL"],"title":"CorrectionSeverity"},"CorrectionStartCommand":{"properties":{"correction_id":{"type":"string","format":"uuid","title":"Correction Id"},"source_ref":{"$ref":"#/components/schemas/ObjectRef"},"reason_codes":{"items":{"type":"string"},"type":"array","maxItems":24,"minItems":1,"title":"Reason Codes"},"requester_ref":{"$ref":"#/components/schemas/ObjectRef"},"replacement_source_ref":{"anyOf":[{"$ref":"#/components/schemas/ObjectRef"},{"type":"null"}]},"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version"}},"additionalProperties":false,"type":"object","required":["correction_id","source_ref","reason_codes","requester_ref","expected_version"],"title":"CorrectionStartCommand"},"CorrectionSuccessorCommand":{"properties":{"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"correction_id":{"type":"string","format":"uuid","title":"Correction Id"},"expected_correction_version":{"type":"integer","minimum":1.0,"title":"Expected Correction Version"},"expected_candidate_version":{"type":"integer","minimum":1.0,"title":"Expected Candidate Version"},"content_key":{"anyOf":[{"type":"string","maxLength":160,"minLength":3},{"type":"null"}],"title":"Content Key"},"title":{"anyOf":[{"type":"string","maxLength":240,"minLength":1},{"type":"null"}],"title":"Title"},"corrected_payload":{"type":"object","title":"Corrected Payload"},"source_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os10_content_ops__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Source Refs"},"provenance_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os10_content_ops__models__EvidenceRef"},"type":"array","maxItems":32,"title":"Provenance Refs"}},"additionalProperties":false,"type":"object","required":["correction_id","expected_correction_version","expected_candidate_version","corrected_payload","source_refs"],"title":"CorrectionSuccessorCommand"},"CorrectionTarget":{"properties":{"ref_type":{"type":"string","title":"Ref Type"},"ref_id":{"type":"string","format":"uuid","title":"Ref Id"},"ref_version":{"type":"integer","minimum":1.0,"title":"Ref Version"},"authority":{"type":"string","title":"Authority"},"target_state":{"type":"string","enum":["STALE","HELD","SUPERSEDED"],"title":"Target State"},"successor_ref_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Successor Ref Id"}},"additionalProperties":false,"type":"object","required":["ref_type","ref_id","ref_version","authority","target_state"],"title":"CorrectionTarget"},"CorrectionTargetSummary":{"properties":{"consumer_id":{"type":"string","maxLength":80,"minLength":2,"title":"Consumer Id"},"mandatory":{"type":"boolean","title":"Mandatory"},"state":{"type":"string","enum":["PENDING","ACKNOWLEDGED","FAILED","RETRY"],"title":"State"},"successor_ref":{"anyOf":[{"$ref":"#/components/schemas/ConvergenceRef"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["consumer_id","mandatory","state"],"title":"CorrectionTargetSummary"},"CostComponent":{"properties":{"component_key":{"type":"string","pattern":"^[a-z0-9][a-z0-9._:-]{1,119}$","title":"Component Key"},"label":{"type":"string","maxLength":180,"minLength":2,"title":"Label"},"component_type":{"type":"string","enum":["TUITION","LIVING","EXAM","EQUIPMENT","TRAVEL","DEPOSIT","FINANCING","APPLICATION","OTHER"],"title":"Component Type"},"state":{"type":"string","enum":["KNOWN","UNKNOWN","CONTESTED","EXCLUDED"],"title":"State"},"minimum_minor":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Minimum Minor"},"expected_minor":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Expected Minor"},"maximum_minor":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Maximum Minor"},"currency":{"anyOf":[{"type":"string","pattern":"^[A-Z]{3}$"},{"type":"null"}],"title":"Currency"},"period":{"type":"string","enum":["ONE_TIME","MONTHLY","TERM","SEMESTER","YEAR","TOTAL_ROUTE"],"title":"Period","default":"TOTAL_ROUTE"},"quantity":{"type":"number","maximum":1000.0,"exclusiveMinimum":0.0,"title":"Quantity","default":1.0},"geography_ref":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Geography Ref"},"source_refs":{"items":{"$ref":"#/components/schemas/SourceFactReference"},"type":"array","title":"Source Refs","default":[]}},"additionalProperties":false,"type":"object","required":["component_key","label","component_type","state"],"title":"CostComponent"},"CostComponentInput":{"properties":{"kind":{"type":"string","enum":["TUITION","APPLICATION_FEE","COUNSELLING_FEE","SEAT_ACCEPTANCE_FEE","DEPOSIT","HOSTEL","MESS","ONE_TIME_FEE","REFUNDABLE_CAUTION","LIVING","EXAM_FEE","REGISTRATION","EQUIPMENT","TRAVEL","INSURANCE","OTHER"],"title":"Kind"},"state":{"type":"string","enum":["KNOWN","UNKNOWN","WITHHELD"],"title":"State"},"minimum_minor":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Minimum Minor"},"expected_minor":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Expected Minor"},"maximum_minor":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Maximum Minor"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","title":"Currency"},"period":{"type":"string","maxLength":80,"minLength":2,"title":"Period"},"refund_state":{"type":"string","enum":["REFUNDABLE","PARTIAL","NON_REFUNDABLE","UNKNOWN"],"title":"Refund State","default":"UNKNOWN"},"refund_rule_ref":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Refund Rule Ref"},"due_on":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Due On"},"source_refs":{"items":{"$ref":"#/components/schemas/SourceVersionRef"},"type":"array","title":"Source Refs","default":[]},"refund_deadline":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Refund Deadline"},"refund_deadline_state":{"type":"string","enum":["PUBLISHED","NOT_PUBLISHED"],"title":"Refund Deadline State","default":"NOT_PUBLISHED"}},"additionalProperties":false,"type":"object","required":["kind","state","currency","period"],"title":"CostComponentInput"},"CostEnvelopeProjection":{"properties":{"state":{"type":"string","enum":["READY","PARTIAL_SOURCE","SOURCE_STALE","HELD"],"title":"State"},"value":{"$ref":"#/components/schemas/RangeProjection"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency"},"components":{"items":{"$ref":"#/components/schemas/CostComponent"},"type":"array","title":"Components"},"scholarship_adjustments":{"items":{"$ref":"#/components/schemas/ScholarshipAdjustment"},"type":"array","title":"Scholarship Adjustments","default":[]},"applied_scholarship_refs":{"items":{"type":"string"},"type":"array","title":"Applied Scholarship Refs","default":[]},"unknown_components":{"items":{"type":"string"},"type":"array","title":"Unknown Components","default":[]},"stale_source_refs":{"items":{"type":"string"},"type":"array","title":"Stale Source Refs","default":[]},"reason_codes":{"items":{"type":"string"},"type":"array","title":"Reason Codes","default":[]}},"additionalProperties":false,"type":"object","required":["state","value","components"],"title":"CostEnvelopeProjection"},"CostOrderBasis":{"properties":{"key":{"type":"string","title":"Key"},"kind":{"type":"string","title":"Kind"},"period":{"type":"string","title":"Period"},"label":{"type":"string","title":"Label"}},"additionalProperties":false,"type":"object","required":["key","kind","period","label"],"title":"CostOrderBasis"},"CostOrderBasisChoice":{"properties":{"key":{"type":"string","title":"Key"},"label":{"type":"string","title":"Label"}},"additionalProperties":false,"type":"object","required":["key","label"],"title":"CostOrderBasisChoice"},"CostOrderRow":{"properties":{"family_position":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Family Position"},"option_key":{"type":"string","title":"Option Key"},"institute_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Institute Name"},"branch":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Branch"},"quota":{"type":"string","title":"Quota","default":""},"category":{"type":"string","title":"Category","default":""},"cost_place":{"type":"integer","minimum":1.0,"title":"Cost Place"},"same_amount_as_above":{"type":"boolean","title":"Same Amount As Above"},"institute_key":{"type":"string","title":"Institute Key"},"programme":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Programme"},"fee_category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fee Category"},"amount_minor":{"type":"integer","minimum":0.0,"title":"Amount Minor"},"currency":{"type":"string","enum":["INR"],"const":"INR","title":"Currency"},"period":{"type":"string","title":"Period"},"kind":{"type":"string","title":"Kind"},"refund_state":{"type":"string","title":"Refund State"},"source":{"$ref":"#/components/schemas/CostOrderSource"}},"additionalProperties":false,"type":"object","required":["option_key","cost_place","same_amount_as_above","institute_key","amount_minor","currency","period","kind","refund_state","source"],"title":"CostOrderRow"},"CostOrderSource":{"properties":{"institute_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Institute Name"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url"},"clause_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Clause Ref"},"page":{"anyOf":[{"type":"integer"},{"type":"string"},{"type":"null"}],"title":"Page"},"academic_year":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Academic Year"},"read_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Read At"},"published_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Published At"},"publication_date_stated":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Publication Date Stated"},"snapshot_id":{"type":"string","title":"Snapshot Id"}},"additionalProperties":false,"type":"object","required":["snapshot_id"],"title":"CostOrderSource"},"CostOrderUnknownRow":{"properties":{"family_position":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Family Position"},"option_key":{"type":"string","title":"Option Key"},"institute_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Institute Name"},"branch":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Branch"},"quota":{"type":"string","title":"Quota","default":""},"category":{"type":"string","title":"Category","default":""},"institute_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Institute Key"},"reason_code":{"type":"string","enum":["NO_FEE_DOCUMENT","FEE_DOCUMENT_WAITING","SOURCE_RECALLED","LINE_NOT_PUBLISHED","NEEDS_INCOME_BAND","NEEDS_PROGRAMME_OR_CATEGORY","SEVERAL_FIGURES","OTHER_CURRENCY"],"title":"Reason Code"},"reason":{"type":"string","title":"Reason"}},"additionalProperties":false,"type":"object","required":["option_key","reason_code","reason"],"title":"CostOrderUnknownRow"},"CostOrderView":{"properties":{"view":{"type":"string","enum":["COST_ORDER"],"const":"COST_ORDER","title":"View"},"label":{"type":"string","title":"Label"},"notes":{"items":{"type":"string"},"type":"array","title":"Notes"},"choice_list_id":{"type":"string","title":"Choice List Id"},"version_no":{"type":"integer","minimum":1.0,"title":"Version No"},"exam_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Exam Type"},"body_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body Key"},"year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Year"},"basis":{"$ref":"#/components/schemas/CostOrderBasis"},"bases":{"items":{"$ref":"#/components/schemas/CostOrderBasisChoice"},"type":"array","title":"Bases"},"income_band":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Income Band"},"income_bands":{"items":{"type":"string"},"type":"array","title":"Income Bands"},"needs_income_band_count":{"type":"integer","minimum":0.0,"title":"Needs Income Band Count"},"ordered":{"items":{"$ref":"#/components/schemas/CostOrderRow"},"type":"array","title":"Ordered"},"unknown":{"items":{"$ref":"#/components/schemas/CostOrderUnknownRow"},"type":"array","title":"Unknown"},"placed_count":{"type":"integer","minimum":0.0,"title":"Placed Count"},"not_placed_count":{"type":"integer","minimum":0.0,"title":"Not Placed Count"},"family_order_unchanged":{"type":"boolean","enum":[true],"const":true,"title":"Family Order Unchanged"},"uses_fit_or_chance":{"type":"boolean","enum":[false],"const":false,"title":"Uses Fit Or Chance"},"total_computed":{"type":"boolean","enum":[false],"const":false,"title":"Total Computed"},"as_of":{"type":"string","title":"As Of"},"read_at":{"type":"string","title":"Read At"},"view_digest":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"View Digest"}},"additionalProperties":false,"type":"object","required":["view","label","notes","choice_list_id","version_no","basis","bases","income_bands","needs_income_band_count","ordered","unknown","placed_count","not_placed_count","family_order_unchanged","uses_fit_or_chance","total_computed","as_of","read_at","view_digest"],"title":"CostOrderView"},"CostProfileVersionReference":{"properties":{"cost_profile_version_id":{"type":"string","format":"uuid","title":"Cost Profile Version Id"},"content_digest":{"type":"string","title":"Content Digest"}},"additionalProperties":false,"type":"object","required":["cost_profile_version_id","content_digest"],"title":"CostProfileVersionReference"},"CostRouteSetRequest":{"properties":{"route_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":50,"minItems":1,"title":"Route Ids"},"decision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Decision Id"},"graph_release_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Graph Release Id"},"geography_ref":{"type":"string","maxLength":120,"minLength":2,"title":"Geography Ref"},"horizon_years":{"type":"integer","maximum":10.0,"minimum":1.0,"title":"Horizon Years","default":4}},"additionalProperties":false,"type":"object","required":["route_ids","geography_ref"],"title":"CostRouteSetRequest"},"CounsellingEventInput":{"properties":{"event_id":{"type":"string","maxLength":160,"minLength":1,"title":"Event Id"},"system_id":{"type":"string","maxLength":80,"minLength":1,"title":"System Id"},"authority":{"type":"string","maxLength":120,"minLength":2,"title":"Authority"},"kind":{"type":"string","enum":["REGISTRATION","CHOICE_LOCK","ALLOTMENT","ACCEPTANCE","DEPOSIT","WITHDRAWAL","REPORTING","OTHER"],"title":"Kind"},"starts_at":{"type":"string","format":"date-time","title":"Starts At"},"deadline_at":{"type":"string","format":"date-time","title":"Deadline At"},"reversibility":{"type":"string","enum":["REVERSIBLE","COSTLY","IRREVERSIBLE","UNKNOWN"],"title":"Reversibility"},"amount_minor":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Amount Minor"},"currency":{"anyOf":[{"type":"string","pattern":"^[A-Z]{3}$"},{"type":"null"}],"title":"Currency"},"source_ref":{"type":"string","maxLength":300,"minLength":3,"title":"Source Ref"},"source_digest":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Source Digest"},"schedule_state":{"type":"string","enum":["PUBLISHED","STALE","RECALLED","UNPUBLISHED"],"title":"Schedule State","default":"PUBLISHED"}},"additionalProperties":false,"type":"object","required":["event_id","system_id","authority","kind","starts_at","deadline_at","reversibility","source_ref","source_digest"],"title":"CounsellingEventInput"},"CounsellingMutationEnvelope":{"properties":{"receipt":{"type":"object","title":"Receipt"},"resource":{"type":"object","title":"Resource"}},"additionalProperties":false,"type":"object","required":["receipt","resource"],"title":"CounsellingMutationEnvelope"},"CounsellingServiceAssentDecision":{"properties":{"granted":{"type":"boolean","title":"Granted"},"purpose_contract_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Purpose Contract Version"},"copy_digest":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Copy Digest"}},"type":"object","required":["granted"],"title":"CounsellingServiceAssentDecision"},"CounsellingSystemInput":{"properties":{"system_id":{"type":"string","maxLength":80,"minLength":1,"title":"System Id"},"authority":{"type":"string","maxLength":120,"minLength":2,"title":"Authority"},"priority":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Priority"},"registration_state":{"type":"string","enum":["ACTIVE","INACTIVE","UNKNOWN"],"title":"Registration State"},"events":{"items":{"$ref":"#/components/schemas/CounsellingEventInput"},"type":"array","maxItems":200,"title":"Events"}},"additionalProperties":false,"type":"object","required":["system_id","authority","priority","registration_state","events"],"title":"CounsellingSystemInput"},"CounsellorCaseProjection":{"properties":{"review_case_id":{"type":"string","format":"uuid","title":"Review Case Id"},"purpose":{"type":"string","enum":["ADMISSION","PATHWAY","COMBINED"],"title":"Purpose"},"state":{"type":"string","enum":["OPEN","CLAIMED","DECIDED","APPEALED","CLOSED"],"title":"State"},"subject_ref_type":{"type":"string","enum":["RANK_DECISION","COLLEGE_DECISION","SEAT_DECISION","PATHWAY_DECISION","PATHWAY_PLAN","OUTCOME_EVIDENCE"],"title":"Subject Ref Type"},"subject_ref_id":{"type":"string","format":"uuid","title":"Subject Ref Id"},"evidence_docket":{"items":{"$ref":"#/components/schemas/ReviewEvidenceRef"},"type":"array","title":"Evidence Docket"},"advisory_receipt":{"anyOf":[{"$ref":"#/components/schemas/ReviewDecisionReceiptProjection"},{"type":"null"}]},"omitted_fields":{"items":{"type":"string"},"type":"array","title":"Omitted Fields"},"projection_digest":{"type":"string","title":"Projection Digest"},"generated_at":{"type":"string","format":"date-time","title":"Generated At"}},"additionalProperties":false,"type":"object","required":["review_case_id","purpose","state","subject_ref_type","subject_ref_id","evidence_docket","omitted_fields","projection_digest","generated_at"],"title":"CounsellorCaseProjection"},"CounsellorLinkBody":{"properties":{"confirmed":{"type":"boolean","title":"Confirmed","default":true}},"type":"object","title":"CounsellorLinkBody","description":"PR-360 SCALE-only optional 'connect me' confirmation. The link itself\nis just a deep-link URL returned by the GET endpoint; this POST records\nthe student opted in so wellness.counsellor_linked fires."},"CountMetrics":{"properties":{"originated_booking_count":{"type":"integer","minimum":0.0,"title":"Originated Booking Count","default":0},"completed_booking_count":{"type":"integer","minimum":0.0,"title":"Completed Booking Count","default":0},"review_count":{"type":"integer","minimum":0.0,"title":"Review Count","default":0},"support_case_count":{"type":"integer","minimum":0.0,"title":"Support Case Count","default":0},"refund_count":{"type":"integer","minimum":0.0,"title":"Refund Count","default":0}},"additionalProperties":false,"type":"object","title":"CountMetrics"},"CountRequest":{"properties":{"force_reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Force Reason"}},"additionalProperties":false,"type":"object","title":"CountRequest"},"CouponBody":{"properties":{"code":{"type":"string","maxLength":40,"minLength":4,"title":"Code"},"kind":{"type":"string","title":"Kind"},"percent":{"anyOf":[{"type":"number","maximum":100.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Percent"},"amount_inr":{"anyOf":[{"type":"integer","maximum":1000000.0,"minimum":1.0},{"type":"null"}],"title":"Amount Inr"},"sku_ids":{"items":{},"type":"array","maxItems":50,"title":"Sku Ids"},"max_uses":{"anyOf":[{"type":"integer","maximum":1000000.0,"minimum":1.0},{"type":"null"}],"title":"Max Uses"},"valid_days":{"anyOf":[{"type":"integer","maximum":730.0,"minimum":1.0},{"type":"null"}],"title":"Valid Days"},"reason":{"type":"string","maxLength":500,"minLength":3,"title":"Reason"}},"type":"object","required":["code","kind","reason"],"title":"CouponBody"},"CoverageAttestation":{"properties":{"source_owner":{"type":"string","maxLength":32,"minLength":2,"title":"Source Owner"},"issuer_id":{"type":"string","maxLength":100,"minLength":1,"title":"Issuer Id"},"key_id":{"type":"string","maxLength":100,"minLength":1,"title":"Key Id"},"source_ref":{"type":"string","maxLength":200,"minLength":1,"title":"Source Ref"},"source_revision":{"type":"string","maxLength":80,"minLength":1,"title":"Source Revision"},"universe_ref":{"type":"string","maxLength":200,"minLength":1,"title":"Universe Ref"},"universe_revision":{"type":"string","maxLength":80,"minLength":1,"title":"Universe Revision"},"viewer_id":{"type":"string","maxLength":128,"minLength":1,"title":"Viewer Id"},"child_id":{"type":"string","maxLength":128,"minLength":1,"title":"Child Id"},"surface":{"type":"string","enum":["HOME_FAMILY","MY"],"title":"Surface"},"purpose":{"type":"string","maxLength":128,"minLength":3,"title":"Purpose"},"state":{"type":"string","enum":["COMPLETE","PARTIAL","UNKNOWN"],"title":"State"},"issued_at":{"type":"string","format":"date-time","title":"Issued At"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"signature":{"type":"string","maxLength":512,"minLength":32,"title":"Signature"}},"additionalProperties":false,"type":"object","required":["source_owner","issuer_id","key_id","source_ref","source_revision","universe_ref","universe_revision","viewer_id","child_id","surface","purpose","state","issued_at","expires_at","signature"],"title":"CoverageAttestation","description":"Signed by the source owner and bound to a defined source universe."},"CoverageCommand":{"properties":{"academic_scope":{"$ref":"#/components/schemas/os_runtime__os10_content_ops__cntimp_pr01__AcademicScope"},"snapshot_ref":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Snapshot Ref"},"numerators":{"additionalProperties":{"type":"integer"},"type":"object","title":"Numerators"},"denominators":{"additionalProperties":{"type":"integer"},"type":"object","title":"Denominators"},"duplicate_count":{"type":"integer","minimum":0.0,"title":"Duplicate Count","default":0},"quality_pass_count":{"type":"integer","minimum":0.0,"title":"Quality Pass Count","default":0},"observed_count":{"type":"integer","minimum":0.0,"title":"Observed Count","default":0},"dedupe_policy_version":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Dedupe Policy Version"}},"additionalProperties":false,"type":"object","required":["academic_scope"],"title":"CoverageCommand"},"CoverageDisclosure":{"properties":{"release_ids":{"items":{"type":"string"},"type":"array","title":"Release Ids"},"blocker_count":{"type":"integer","title":"Blocker Count","default":0},"completeness_claimed":{"type":"boolean","title":"Completeness Claimed","default":false},"denominator_state":{"type":"string","title":"Denominator State","default":"UNKNOWN_OR_PARTIAL"},"metadata":{"items":{"type":"object"},"type":"array","title":"Metadata"},"limitations":{"items":{"type":"string"},"type":"array","title":"Limitations"}},"type":"object","title":"CoverageDisclosure"},"CoverageProjection":{"properties":{"graph_release_id":{"type":"string","format":"uuid","title":"Graph Release Id"},"scope_kind":{"type":"string","enum":["RELEASE","ENTITY_TYPE","EDGE_TYPE"],"title":"Scope Kind"},"scope_value":{"type":"string","title":"Scope Value"},"unit":{"type":"string","enum":["ENTITIES","EDGES"],"title":"Unit"},"covered_count":{"type":"integer","minimum":0.0,"title":"Covered Count"},"denominator_count":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Denominator Count"},"denominator_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Denominator Source"},"coverage_sentence":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Coverage Sentence"}},"additionalProperties":false,"type":"object","required":["graph_release_id","scope_kind","scope_value","unit","covered_count"],"title":"CoverageProjection"},"CoverageResponse":{"properties":{"availability":{"$ref":"#/components/schemas/Availability"},"publication_state":{"$ref":"#/components/schemas/PublicationState"},"coverage":{"$ref":"#/components/schemas/CoverageDisclosure"},"source_disclosure":{"items":{"$ref":"#/components/schemas/SourceDisclosure"},"type":"array","title":"Source Disclosure"},"limitations":{"items":{"type":"string"},"type":"array","title":"Limitations"},"authority_boundary":{"$ref":"#/components/schemas/AuthorityBoundary"},"promoted_releases":{"items":{"type":"object"},"type":"array","title":"Promoted Releases"}},"additionalProperties":false,"type":"object","required":["availability","publication_state","coverage"],"title":"CoverageResponse"},"CoverageSeal":{"properties":{"watching":{"type":"integer","minimum":0.0,"title":"Watching"},"stopped":{"type":"integer","minimum":0.0,"title":"Stopped"},"never_watched":{"type":"integer","minimum":0.0,"title":"Never Watched"},"set_last_checked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Set Last Checked At"},"every_watch_has_stopped":{"type":"boolean","title":"Every Watch Has Stopped","default":false}},"additionalProperties":false,"type":"object","required":["watching","stopped","never_watched"],"title":"CoverageSeal"},"CoverageView":{"properties":{"watching":{"items":{"$ref":"#/components/schemas/WatchRow"},"type":"array","title":"Watching","default":[]},"stopped":{"items":{"$ref":"#/components/schemas/WatchRow"},"type":"array","title":"Stopped","default":[]},"never_watched":{"items":{"$ref":"#/components/schemas/WatchRow"},"type":"array","title":"Never Watched","default":[]},"set_last_checked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Set Last Checked At"},"newest_check_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Newest Check At"},"generated_at":{"type":"string","format":"date-time","title":"Generated At"}},"additionalProperties":false,"type":"object","required":["generated_at"],"title":"CoverageView","description":"Three lists. Never merged, never counted as one number."},"CreateAdmissionCalibrationRequest":{"properties":{"dataset_key":{"type":"string","pattern":"^[a-z0-9][a-z0-9._-]{2,119}$","title":"Dataset Key"},"outcome_family":{"type":"string","enum":["EXAM_RANK","ADMISSION_ALLOTMENT","PROGRAMME_ENROLMENT"],"title":"Outcome Family"},"authority_scope":{"type":"string","maxLength":160,"minLength":2,"title":"Authority Scope"},"as_of_date":{"type":"string","format":"date","title":"As Of Date"},"train_cutoff":{"type":"string","format":"date","title":"Train Cutoff"},"test_start":{"type":"string","format":"date","title":"Test Start"},"test_end":{"type":"string","format":"date","title":"Test End"},"minimum_sample":{"type":"integer","maximum":100000.0,"minimum":4.0,"title":"Minimum Sample","default":40},"minimum_slice":{"type":"integer","maximum":10000.0,"minimum":2.0,"title":"Minimum Slice","default":10},"maturity_horizon_days":{"type":"integer","maximum":3650.0,"minimum":7.0,"title":"Maturity Horizon Days","default":180},"cohort_policy_version":{"type":"string","maxLength":100,"minLength":3,"title":"Cohort Policy Version"},"censoring_policy_version":{"type":"string","maxLength":100,"minLength":3,"title":"Censoring Policy Version"},"split_policy_version":{"type":"string","maxLength":100,"minLength":3,"title":"Split Policy Version"},"methodology_version":{"type":"string","maxLength":100,"minLength":3,"title":"Methodology Version"},"independent_review_ref":{"anyOf":[{"type":"string","maxLength":300,"minLength":4},{"type":"null"}],"title":"Independent Review Ref"},"legal_approval_ref":{"anyOf":[{"type":"string","maxLength":300,"minLength":4},{"type":"null"}],"title":"Legal Approval Ref"},"privacy_approval_ref":{"anyOf":[{"type":"string","maxLength":300,"minLength":4},{"type":"null"}],"title":"Privacy Approval Ref"},"accessibility_approval_ref":{"anyOf":[{"type":"string","maxLength":300,"minLength":4},{"type":"null"}],"title":"Accessibility Approval Ref"},"predecessor_calibration_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Predecessor Calibration Id"}},"additionalProperties":false,"type":"object","required":["dataset_key","outcome_family","authority_scope","as_of_date","train_cutoff","test_start","test_end","cohort_policy_version","censoring_policy_version","split_policy_version","methodology_version"],"title":"CreateAdmissionCalibrationRequest"},"CreateAdmissionCostDecisionRequest":{"properties":{"owner_context_id":{"type":"string","format":"uuid","title":"Owner Context Id"},"institution_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Institution Id"},"programme_offering_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Programme Offering Id"},"admission_cycle":{"type":"string","maxLength":100,"minLength":2,"title":"Admission Cycle"},"decision_refs":{"items":{"$ref":"#/components/schemas/AdmissionDecisionRef"},"type":"array","maxItems":20,"minItems":1,"title":"Decision Refs"},"components":{"items":{"$ref":"#/components/schemas/CostComponentInput"},"type":"array","maxItems":50,"minItems":1,"title":"Components"},"policy_version":{"type":"string","maxLength":100,"minLength":3,"title":"Policy Version"},"predecessor_decision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Predecessor Decision Id"},"authority":{"anyOf":[{"type":"string","maxLength":120,"minLength":2},{"type":"null"}],"title":"Authority"},"category":{"anyOf":[{"type":"string","enum":["OPEN","GEN_EWS","OBC_NCL","SC","ST","OPEN_PWD","GEN_EWS_PWD","OBC_NCL_PWD","SC_PWD","ST_PWD","OTHER"]},{"type":"null"}],"title":"Category"},"round_no":{"anyOf":[{"type":"integer","maximum":20.0,"minimum":1.0},{"type":"null"}],"title":"Round No"},"choice_list_option_id":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Choice List Option Id"}},"additionalProperties":false,"type":"object","required":["owner_context_id","admission_cycle","decision_refs","components","policy_version"],"title":"CreateAdmissionCostDecisionRequest"},"CreateAptitudeReportRequest":{"properties":{"evidence_instance_ref":{"type":"string","format":"uuid","title":"Evidence Instance Ref"},"context_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Context Id"},"graph_release_id":{"type":"string","maxLength":200,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:\\-]{0,199}$","title":"Graph Release Id","default":"UNLINKED"},"requested_stream_codes":{"items":{"type":"string","enum":["SCIENCE_PCM","SCIENCE_PCB","COMMERCE","HUMANITIES","VOCATIONAL"]},"type":"array","maxItems":12,"minItems":1,"title":"Requested Stream Codes","default":["SCIENCE_PCM","SCIENCE_PCB","COMMERCE","HUMANITIES","VOCATIONAL"]}},"additionalProperties":false,"type":"object","required":["evidence_instance_ref"],"title":"CreateAptitudeReportRequest"},"CreateBatchBody":{"properties":{"source_bulk_batch_id":{"type":"string","maxLength":64,"minLength":1,"title":"Source Bulk Batch Id"},"response_ids":{"items":{"type":"string"},"type":"array","maxItems":200,"minItems":1,"title":"Response Ids"},"buyer_kind":{"type":"string","maxLength":16,"title":"Buyer Kind"},"institution_scope_ref":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Institution Scope Ref"},"command_key":{"type":"string","maxLength":160,"title":"Command Key"}},"type":"object","required":["source_bulk_batch_id","response_ids","buyer_kind","command_key"],"title":"CreateBatchBody"},"CreateCalibrationRequest":{"properties":{"dataset_key":{"type":"string","pattern":"^[a-z0-9][a-z0-9._-]{2,119}$","title":"Dataset Key"},"outcome_family":{"type":"string","enum":["PROGRAMME_ENROLMENT","PROGRAMME_COMPLETION","CREDENTIAL_AWARD","APPRENTICESHIP","EDUCATION_TRANSITION","EMPLOYMENT_TRANSITION","SELF_EMPLOYMENT","HIGHER_STUDY","PATHWAY_OVERRIDE"],"title":"Outcome Family"},"graph_release_id":{"type":"string","format":"uuid","title":"Graph Release Id"},"as_of_date":{"type":"string","format":"date","title":"As Of Date"},"train_cutoff":{"type":"string","format":"date","title":"Train Cutoff"},"test_start":{"type":"string","format":"date","title":"Test Start"},"test_end":{"type":"string","format":"date","title":"Test End"},"minimum_sample":{"type":"integer","minimum":1.0,"title":"Minimum Sample","default":20},"maturity_horizon_days":{"type":"integer","maximum":3650.0,"minimum":30.0,"title":"Maturity Horizon Days","default":365},"censoring_policy_version":{"type":"string","maxLength":100,"minLength":3,"title":"Censoring Policy Version"},"selection_policy_version":{"type":"string","maxLength":100,"minLength":3,"title":"Selection Policy Version"},"methodology_version":{"type":"string","maxLength":100,"minLength":3,"title":"Methodology Version"},"independent_review_ref":{"anyOf":[{"type":"string","maxLength":300,"minLength":4},{"type":"null"}],"title":"Independent Review Ref"},"legal_approval_ref":{"anyOf":[{"type":"string","maxLength":300,"minLength":4},{"type":"null"}],"title":"Legal Approval Ref"},"privacy_approval_ref":{"anyOf":[{"type":"string","maxLength":300,"minLength":4},{"type":"null"}],"title":"Privacy Approval Ref"},"accessibility_approval_ref":{"anyOf":[{"type":"string","maxLength":300,"minLength":4},{"type":"null"}],"title":"Accessibility Approval Ref"},"predecessor_calibration_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Predecessor Calibration Id"}},"additionalProperties":false,"type":"object","required":["dataset_key","outcome_family","graph_release_id","as_of_date","train_cutoff","test_start","test_end","censoring_policy_version","selection_policy_version","methodology_version"],"title":"CreateCalibrationRequest"},"CreateChoiceListDecisionRequest":{"properties":{"choice_set_id":{"type":"string","format":"uuid","title":"Choice Set Id"},"pareto_decision_id":{"type":"string","format":"uuid","title":"Pareto Decision Id"},"ranking_policy_version":{"type":"string","maxLength":100,"minLength":3,"title":"Ranking Policy Version"},"hard_locked_positions":{"items":{"$ref":"#/components/schemas/HardLockedPosition"},"type":"array","title":"Hard Locked Positions","default":[]},"precedence_rules":{"items":{"$ref":"#/components/schemas/ChoicePrecedenceRule"},"type":"array","title":"Precedence Rules","default":[]}},"additionalProperties":false,"type":"object","required":["choice_set_id","pareto_decision_id","ranking_policy_version"],"title":"CreateChoiceListDecisionRequest"},"CreateChoiceSetRequest":{"properties":{"college_decision_id":{"type":"string","format":"uuid","title":"College Decision Id"},"objective_policy_version":{"type":"string","maxLength":100,"minLength":3,"title":"Objective Policy Version"},"objectives":{"items":{"$ref":"#/components/schemas/ObjectiveSpec"},"type":"array","maxItems":12,"minItems":1,"title":"Objectives"},"included_option_ids":{"items":{"type":"string"},"type":"array","title":"Included Option Ids","default":[]},"canonical_option_successor_of":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Canonical Option Successor Of"}},"additionalProperties":false,"type":"object","required":["college_decision_id","objective_policy_version","objectives"],"title":"CreateChoiceSetRequest"},"CreateChoiceSuccessorRequest":{"properties":{"ordered_option_ids":{"items":{"type":"string"},"type":"array","maxItems":500,"minItems":1,"title":"Ordered Option Ids"},"change_reason_code":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{2,79}$","title":"Change Reason Code"},"override_reason_code":{"anyOf":[{"type":"string","pattern":"^[A-Z][A-Z0-9_]{2,79}$"},{"type":"null"}],"title":"Override Reason Code"},"review_decision_receipt_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Review Decision Receipt Id"},"review_receipt_digest":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Review Receipt Digest"}},"additionalProperties":false,"type":"object","required":["ordered_option_ids","change_reason_code"],"title":"CreateChoiceSuccessorRequest"},"CreateComparisonRequest":{"properties":{"title":{"type":"string","maxLength":120,"minLength":1,"title":"Title"},"constraints":{"$ref":"#/components/schemas/ConstraintsIn"},"options":{"items":{"$ref":"#/components/schemas/decision_universe__models_career_capital__OptionIn"},"type":"array","maxItems":8,"minItems":1,"title":"Options"},"declared_capabilities":{"items":{"type":"string"},"type":"array","maxItems":30,"title":"Declared Capabilities"}},"additionalProperties":false,"type":"object","required":["title","constraints","options"],"title":"CreateComparisonRequest"},"CreateCoordinationDecisionRequest":{"properties":{"choice_list_id":{"type":"string","format":"uuid","title":"Choice List Id"},"choice_list_digest":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Choice List Digest"},"timezone":{"type":"string","maxLength":80,"minLength":1,"title":"Timezone"},"coordination_policy_version":{"type":"string","maxLength":100,"minLength":3,"title":"Coordination Policy Version"},"systems":{"items":{"$ref":"#/components/schemas/CounsellingSystemInput"},"type":"array","maxItems":20,"minItems":1,"title":"Systems"},"protected_primary_system_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Protected Primary System Id"}},"additionalProperties":false,"type":"object","required":["choice_list_id","choice_list_digest","timezone","coordination_policy_version","systems"],"title":"CreateCoordinationDecisionRequest"},"CreateDecisionRecordRequest":{"properties":{"decision_kind":{"type":"string","enum":["SHORTLIST","ORDER","ACCEPT","FLOAT","FREEZE","WITHDRAW","DEPOSIT","DEFER","OTHER"],"title":"Decision Kind"},"chosen_ref":{"type":"string","maxLength":300,"minLength":1,"title":"Chosen Ref"},"alternatives":{"items":{"$ref":"#/components/schemas/DecisionAlternative"},"type":"array","maxItems":100,"title":"Alternatives","default":[]},"reason_text":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Reason Text"},"reason_author":{"type":"string","enum":["STUDENT","PARENT","COUNSELLOR"],"title":"Reason Author"},"evidence_classes":{"additionalProperties":{"type":"string","enum":["FACT","RULE_OR_OFFICIAL_SOURCE","HISTORICAL_EVIDENCE","PREDICTION","SIMULATION","PREFERENCE","HUMAN_JUDGEMENT","OFFICIAL_ACTION","UNKNOWN"]},"type":"object","title":"Evidence Classes"},"rested_on_ref_types":{"items":{"type":"string"},"type":"array","title":"Rested On Ref Types","default":[]},"cited_refs":{"items":{"$ref":"#/components/schemas/CitedReference"},"type":"array","maxItems":20,"title":"Cited Refs","default":[]},"reversibility":{"type":"string","enum":["REVERSIBLE","COSTLY","IRREVERSIBLE","UNKNOWN"],"title":"Reversibility"},"decided_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Decided At"},"receipt_ref":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Receipt Ref"},"supersedes_decision_record_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Supersedes Decision Record Id"}},"additionalProperties":false,"type":"object","required":["decision_kind","chosen_ref","reason_author","reversibility"],"title":"CreateDecisionRecordRequest"},"CreateDecisionThreadRequest":{"properties":{"thread_type":{"type":"string","enum":["ADMISSION","PATHWAY","COMBINED"],"title":"Thread Type"},"preference_passport_version_id":{"type":"string","format":"uuid","title":"Preference Passport Version Id"}},"additionalProperties":false,"type":"object","required":["thread_type","preference_passport_version_id"],"title":"CreateDecisionThreadRequest"},"CreateDppSessionRequest":{"properties":{"subject":{"anyOf":[{"type":"string","maxLength":80,"minLength":2},{"type":"null"}],"title":"Subject"},"chapter":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Chapter"},"topic":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Topic"},"question_count":{"anyOf":[{"type":"integer","maximum":30.0,"minimum":3.0},{"type":"null"}],"title":"Question Count"},"plan_block_id":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Plan Block Id"},"allow_scope_widening":{"type":"boolean","title":"Allow Scope Widening","default":false},"os01_concept_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Os01 Concept Id"},"product_context_receipt_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Product Context Receipt Id"},"product_context_hash":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}],"title":"Product Context Hash"}},"additionalProperties":false,"type":"object","title":"CreateDppSessionRequest"},"CreateDraftBody":{"properties":{"series_key":{"type":"string","maxLength":80,"minLength":3,"pattern":"^[a-z0-9][a-z0-9\\-]+$","title":"Series Key"},"exam":{"type":"string","pattern":"^(JEE|NEET|jee|neet)$","title":"Exam"},"subject":{"type":"string","maxLength":16,"minLength":2,"title":"Subject"},"allowed_rights_states":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Allowed Rights States"},"min_cleared_solved":{"type":"integer","maximum":500.0,"minimum":1.0,"title":"Min Cleared Solved","default":10},"official_signoff_note":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Official Signoff Note"}},"type":"object","required":["series_key","exam","subject"],"title":"CreateDraftBody"},"CreateEditionBody":{"properties":{"kind":{"type":"string","title":"Kind"},"edition_ref":{"type":"string","title":"Edition Ref"},"title":{"type":"string","maxLength":160,"minLength":1,"title":"Title"},"manifest":{"type":"object","title":"Manifest"},"rights_ref":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Rights Ref"},"capacity":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Capacity"},"locale":{"type":"string","title":"Locale","default":"en-IN"}},"additionalProperties":false,"type":"object","required":["kind","edition_ref","title","manifest"],"title":"CreateEditionBody"},"CreateMentorLinkRequest":{"properties":{"report_id":{"type":"string","format":"uuid","title":"Report Id"},"consent":{"type":"boolean","title":"Consent","default":false},"pages":{"items":{"type":"string"},"type":"array","title":"Pages"},"expires_in_days":{"type":"integer","title":"Expires In Days","default":14},"mentor_label":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Mentor Label"}},"additionalProperties":false,"type":"object","required":["report_id"],"title":"CreateMentorLinkRequest"},"CreateMentorShareRequest":{"properties":{"report_id":{"type":"string","format":"uuid","title":"Report Id"},"mentor_email":{"type":"string","maxLength":274,"minLength":1,"title":"Mentor Email"},"consent":{"type":"boolean","title":"Consent","default":false},"pages":{"items":{"type":"string"},"type":"array","title":"Pages"},"expires_in_days":{"type":"integer","title":"Expires In Days","default":14},"mentor_label":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Mentor Label"}},"additionalProperties":false,"type":"object","required":["report_id","mentor_email"],"title":"CreateMentorShareRequest"},"CreateOrgBody":{"properties":{"kind":{"type":"string","title":"Kind"},"display_name":{"type":"string","title":"Display Name"},"external_refs":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"External Refs"}},"type":"object","required":["kind","display_name"],"title":"CreateOrgBody"},"CreateOutcomeRecordRequest":{"properties":{"outcome_family":{"type":"string","enum":["EXAM_RANK","ADMISSION_ALLOTMENT","PROGRAMME_ENROLMENT","PROGRAMME_COMPLETION","CREDENTIAL_AWARD","APPRENTICESHIP","EDUCATION_TRANSITION","EMPLOYMENT_TRANSITION","SELF_EMPLOYMENT","HIGHER_STUDY","PATHWAY_OVERRIDE"],"title":"Outcome Family"},"outcome_type":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{2,79}$","title":"Outcome Type"},"occurred_on":{"type":"string","format":"date","title":"Occurred On"},"subject_ref_type":{"type":"string","enum":["RANK_DECISION","COLLEGE_DECISION","SEAT_DECISION","PATHWAY_DECISION","PATHWAY_PLAN"],"title":"Subject Ref Type"},"subject_ref_id":{"type":"string","format":"uuid","title":"Subject Ref Id"},"subject_ref_version":{"type":"integer","minimum":1.0,"title":"Subject Ref Version","default":1},"subject_ref_digest":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject Ref Digest"},"outcome_value":{"type":"object","title":"Outcome Value"},"unit":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Unit"},"artifact_ref":{"anyOf":[{"type":"string","maxLength":300,"minLength":4},{"type":"null"}],"title":"Artifact Ref"},"source_refs":{"items":{"$ref":"#/components/schemas/OutcomeSourceRefInput"},"type":"array","title":"Source Refs","default":[]},"consent_ref":{"anyOf":[{"type":"string","maxLength":300,"minLength":4},{"type":"null"}],"title":"Consent Ref"},"pii_class":{"type":"string","enum":["MINIMAL","PERSONAL","SENSITIVE"],"title":"Pii Class","default":"PERSONAL"}},"additionalProperties":false,"type":"object","required":["outcome_family","outcome_type","occurred_on","subject_ref_type","subject_ref_id","outcome_value"],"title":"CreateOutcomeRecordRequest"},"CreateParetoDecisionRequest":{"properties":{"choice_set_id":{"type":"string","format":"uuid","title":"Choice Set Id"},"objective_policy_version":{"type":"string","maxLength":100,"minLength":3,"title":"Objective Policy Version"}},"additionalProperties":false,"type":"object","required":["choice_set_id","objective_policy_version"],"title":"CreateParetoDecisionRequest"},"CreatePathwayFrontierDecisionRequest":{"properties":{"pathway_context_id":{"type":"string","format":"uuid","title":"Pathway Context Id"},"graph_release_id":{"type":"string","format":"uuid","title":"Graph Release Id"},"route_refs":{"items":{"$ref":"#/components/schemas/RouteFrontierReference"},"type":"array","maxItems":12,"minItems":2,"title":"Route Refs"},"preference_version_ref":{"$ref":"#/components/schemas/PreferenceVersionReference"},"spre_projection_ref":{"anyOf":[{"$ref":"#/components/schemas/SPREProjectionReference"},{"type":"null"}]},"priority_preset":{"type":"string","enum":["BALANCED","TIME_FIRST","COST_FIRST","FIT_FIRST","CUSTOM"],"title":"Priority Preset","default":"BALANCED"},"priority_order":{"items":{"type":"string","enum":["TIME_MONTHS","COST_MINOR","FIT_INTEREST","FIT_APTITUDE_EVIDENCE","FIT_LEARNING_MODE","FIT_ENVIRONMENT","FIT_TIME_RISK","FIT_CONSTRAINT_ALIGNMENT","OPTIONALITY","SOURCE_QUALITY","OUTCOME_EVIDENCE"]},"type":"array","title":"Priority Order","default":[]},"comparison_policy_version":{"type":"string","maxLength":100,"minLength":3,"title":"Comparison Policy Version"},"predecessor_frontier_decision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Predecessor Frontier Decision Id"}},"additionalProperties":false,"type":"object","required":["pathway_context_id","graph_release_id","route_refs","preference_version_ref","comparison_policy_version"],"title":"CreatePathwayFrontierDecisionRequest"},"CreatePathwayPlanRequest":{"properties":{"pathway_context_id":{"type":"string","format":"uuid","title":"Pathway Context Id"},"graph_release_id":{"type":"string","format":"uuid","title":"Graph Release Id"},"route_ref":{"$ref":"#/components/schemas/RoutePlanReference"},"plan_policy_version":{"type":"string","maxLength":100,"minLength":3,"title":"Plan Policy Version"},"labour_geography_code":{"anyOf":[{"type":"string","pattern":"^[A-Z0-9][A-Z0-9._:-]{1,79}$"},{"type":"null"}],"title":"Labour Geography Code"},"predecessor_plan_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Predecessor Plan Id"},"replan":{"anyOf":[{"$ref":"#/components/schemas/ReplanCauseInput"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["pathway_context_id","graph_release_id","route_ref","plan_policy_version"],"title":"CreatePathwayPlanRequest"},"CreatePaymentOrderRequest":{"properties":{"sponsorship_id":{"type":"string","format":"uuid","title":"Sponsorship Id"}},"additionalProperties":false,"type":"object","required":["sponsorship_id"],"title":"CreatePaymentOrderRequest"},"CreatePersonRequest":{"properties":{"email":{"type":"string","maxLength":128,"minLength":3,"title":"Email"},"name":{"type":"string","maxLength":128,"minLength":1,"title":"Name"},"role":{"type":"string","maxLength":16,"minLength":3,"title":"Role"},"exam_target":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Exam Target"},"student_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Student Ref"}},"type":"object","required":["email","name","role"],"title":"CreatePersonRequest"},"CreatePreferencePassportRequest":{"properties":{"purpose_scopes":{"items":{"type":"string","enum":["ADMISSION","PATHWAY","COMBINED"]},"type":"array","minItems":1,"title":"Purpose Scopes"},"fields":{"items":{"$ref":"#/components/schemas/PreferenceFieldInput"},"type":"array","minItems":1,"title":"Fields"},"consent_ref":{"anyOf":[{"type":"string","maxLength":300,"minLength":4},{"type":"null"}],"title":"Consent Ref"}},"additionalProperties":false,"type":"object","required":["purpose_scopes","fields"],"title":"CreatePreferencePassportRequest"},"CreateProjectionGrantRequest":{"properties":{"thread_id":{"type":"string","format":"uuid","title":"Thread Id"},"review_case_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Review Case Id"},"audience_type":{"type":"string","enum":["PARENT","COUNSELLOR"],"title":"Audience Type"},"audience_id":{"type":"string","maxLength":160,"minLength":1,"title":"Audience Id"},"purpose":{"type":"string","enum":["ADMISSION","PATHWAY","COMBINED"],"title":"Purpose"},"relationship_ref":{"type":"string","maxLength":300,"minLength":4,"title":"Relationship Ref"},"consent_ref":{"type":"string","maxLength":300,"minLength":4,"title":"Consent Ref"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"}},"additionalProperties":false,"type":"object","required":["thread_id","audience_type","audience_id","purpose","relationship_ref","consent_ref","expires_at"],"title":"CreateProjectionGrantRequest"},"CreateReceiptRequest":{"properties":{"receipt_domain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Receipt Domain"},"decision_kind":{"type":"string","maxLength":120,"minLength":1,"title":"Decision Kind"},"capture_mode":{"type":"string","title":"Capture Mode"},"subject":{"$ref":"#/components/schemas/SubjectIn"},"decided_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Decided At"},"decision_statement":{"anyOf":[{"type":"string","maxLength":2000,"minLength":1},{"type":"null"}],"title":"Decision Statement"},"decision_authority":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Decision Authority"},"decision_round_ref":{"anyOf":[{"type":"string","maxLength":127,"minLength":2},{"type":"null"}],"title":"Decision Round Ref"},"options":{"items":{"$ref":"#/components/schemas/decision_universe__service_decision_receipt__OptionIn"},"type":"array","maxItems":100,"title":"Options","default":[]},"options_complete":{"type":"boolean","title":"Options Complete","default":false},"stated_reason":{"anyOf":[{"$ref":"#/components/schemas/ReasonIn"},{"type":"null"}]},"source_release":{"anyOf":[{"$ref":"#/components/schemas/ReleaseIn"},{"type":"null"}]},"rule_release":{"anyOf":[{"$ref":"#/components/schemas/ReleaseIn"},{"type":"null"}]},"priorities":{"anyOf":[{"$ref":"#/components/schemas/PrioritiesIn"},{"type":"null"}]},"graph_release_id":{"anyOf":[{"type":"string","maxLength":127},{"type":"null"}],"title":"Graph Release Id"},"rule_release_ref":{"anyOf":[{"type":"string","maxLength":127},{"type":"null"}],"title":"Rule Release Ref"},"context_id":{"anyOf":[{"type":"string","maxLength":127},{"type":"null"}],"title":"Context Id"},"after_the_fact_basis":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"After The Fact Basis"}},"additionalProperties":false,"type":"object","required":["decision_kind","capture_mode","subject"],"title":"CreateReceiptRequest"},"CreateRecoveryDecisionRequest":{"properties":{"prediction_ref":{"$ref":"#/components/schemas/PredictionRecoveryRef"},"trigger":{"type":"string","enum":["NO_SEAT","UNACCEPTABLE_SEAT","LEARNER_REQUEST","RULE_CHANGE"],"title":"Trigger"},"learner_confirmed":{"type":"boolean","title":"Learner Confirmed"},"pathway_context_id":{"type":"string","format":"uuid","title":"Pathway Context Id"},"source_route_decision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Source Route Decision Id"},"recovery_policy_version":{"type":"string","maxLength":100,"minLength":3,"title":"Recovery Policy Version"},"goals":{"items":{"$ref":"#/components/schemas/RecoveryGoal"},"type":"array","maxItems":20,"minItems":1,"title":"Goals"},"candidate_target_entity_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":100,"title":"Candidate Target Entity Ids","default":[]},"predecessor_recovery_decision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Predecessor Recovery Decision Id"},"predecessor_recovery_digest":{"anyOf":[{"type":"string","pattern":"^[a-f0-9]{64}$"},{"type":"null"}],"title":"Predecessor Recovery Digest"},"supersession_reason_ref":{"anyOf":[{"type":"string","maxLength":300,"minLength":3},{"type":"null"}],"title":"Supersession Reason Ref"}},"additionalProperties":false,"type":"object","required":["prediction_ref","trigger","learner_confirmed","pathway_context_id","recovery_policy_version","goals"],"title":"CreateRecoveryDecisionRequest"},"CreateRequest":{"properties":{"thread_id":{"type":"string","maxLength":160,"minLength":1,"title":"Thread Id"},"turn_id":{"type":"string","maxLength":160,"minLength":1,"title":"Turn Id"},"consent_receipt_id":{"type":"string","format":"uuid","title":"Consent Receipt Id"}},"additionalProperties":false,"type":"object","required":["thread_id","turn_id","consent_receipt_id"],"title":"CreateRequest"},"CreateRoundActionDecisionRequest":{"properties":{"seat_decision_id":{"type":"string","format":"uuid","title":"Seat Decision Id"},"seat_decision_digest":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Seat Decision Digest"},"seat_decision_version":{"type":"integer","minimum":1.0,"title":"Seat Decision Version"},"choice_list_id":{"type":"string","format":"uuid","title":"Choice List Id"},"choice_list_digest":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Choice List Digest"},"coordination_decision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Coordination Decision Id"},"authority":{"type":"string","maxLength":120,"minLength":2,"title":"Authority"},"round_id":{"type":"string","maxLength":80,"minLength":1,"title":"Round Id"},"allotment_ref":{"type":"string","maxLength":240,"minLength":3,"title":"Allotment Ref"},"allotment_digest":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Allotment Digest"},"allotment_verified":{"type":"boolean","title":"Allotment Verified"},"action_deadline_at":{"type":"string","format":"date-time","title":"Action Deadline At"},"authority_rule_version":{"type":"string","maxLength":100,"minLength":3,"title":"Authority Rule Version"},"rule_source_ref":{"type":"string","maxLength":300,"minLength":3,"title":"Rule Source Ref"},"rule_source_digest":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Rule Source Digest"},"rule_state":{"type":"string","enum":["PUBLISHED","STALE","RECALLED","UNPUBLISHED"],"title":"Rule State","default":"PUBLISHED"},"risk_tolerance":{"type":"string","enum":["CONSERVATIVE","BALANCED","AGGRESSIVE"],"title":"Risk Tolerance","default":"BALANCED"},"options":{"items":{"$ref":"#/components/schemas/RoundActionOption"},"type":"array","maxItems":20,"minItems":1,"title":"Options"},"user_override_action_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Override Action Code"},"allotted_option_id":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Allotted Option Id"}},"additionalProperties":false,"type":"object","required":["seat_decision_id","seat_decision_digest","seat_decision_version","choice_list_id","choice_list_digest","authority","round_id","allotment_ref","allotment_digest","allotment_verified","action_deadline_at","authority_rule_version","rule_source_ref","rule_source_digest","options"],"title":"CreateRoundActionDecisionRequest"},"CreateShareBody":{"properties":{"mentor_email":{"type":"string","maxLength":274,"minLength":1,"title":"Mentor Email"},"recipient_kind":{"type":"string","maxLength":12,"title":"Recipient Kind","default":"MENTOR"},"expires_in_days":{"type":"integer","title":"Expires In Days","default":7},"consent":{"type":"boolean","title":"Consent","default":false}},"additionalProperties":false,"type":"object","required":["mentor_email"],"title":"CreateShareBody"},"CreateSourceImpactRequest":{"properties":{"prior":{"anyOf":[{"$ref":"#/components/schemas/SourceSnapshotInput"},{"type":"null"}]},"current":{"$ref":"#/components/schemas/SourceSnapshotInput"},"affected_refs":{"items":{"$ref":"#/components/schemas/AdmissionDecisionRef"},"type":"array","title":"Affected Refs","default":[]},"mandatory_consumers":{"items":{"type":"string"},"type":"array","maxItems":20,"minItems":1,"title":"Mandatory Consumers"},"policy_version":{"type":"string","maxLength":100,"minLength":3,"title":"Policy Version"}},"additionalProperties":false,"type":"object","required":["current","mandatory_consumers","policy_version"],"title":"CreateSourceImpactRequest"},"CreateTransitionDecisionRequest":{"properties":{"pathway_context_id":{"type":"string","format":"uuid","title":"Pathway Context Id"},"source_route_decision_id":{"type":"string","format":"uuid","title":"Source Route Decision Id"},"source_entity_id":{"type":"string","format":"uuid","title":"Source Entity Id"},"target_entity_id":{"type":"string","format":"uuid","title":"Target Entity Id"},"transition_policy_version":{"type":"string","maxLength":100,"minLength":3,"title":"Transition Policy Version"},"candidate":{"$ref":"#/components/schemas/TransitionCandidate"},"learner_confirmed":{"type":"boolean","title":"Learner Confirmed"},"predecessor_transition_decision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Predecessor Transition Decision Id"},"predecessor_transition_digest":{"anyOf":[{"type":"string","pattern":"^[a-f0-9]{64}$"},{"type":"null"}],"title":"Predecessor Transition Digest"},"supersession_reason_ref":{"anyOf":[{"type":"string","maxLength":300,"minLength":3},{"type":"null"}],"title":"Supersession Reason Ref"}},"additionalProperties":false,"type":"object","required":["pathway_context_id","source_route_decision_id","source_entity_id","target_entity_id","transition_policy_version","candidate","learner_confirmed"],"title":"CreateTransitionDecisionRequest"},"CriterionScore":{"properties":{"criterion_id":{"type":"string","title":"Criterion Id"},"awarded":{"type":"number","minimum":0.0,"title":"Awarded"},"max_marks":{"type":"number","minimum":0.0,"title":"Max Marks"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os06_assessment_evidence__models__EvidenceRef"},"type":"array","title":"Evidence Refs"},"reason_codes":{"items":{"type":"string"},"type":"array","title":"Reason Codes"}},"type":"object","required":["criterion_id","awarded","max_marks"],"title":"CriterionScore"},"CrossChannelExposure":{"properties":{"channel":{"$ref":"#/components/schemas/Channel"},"product_id":{"type":"string","pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","title":"Product Id"},"object_id":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Object Id"},"campaign_id":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Campaign Id"},"qualified":{"type":"boolean","title":"Qualified","default":true},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"},"idempotency_key":{"type":"string","maxLength":160,"minLength":8,"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["channel","product_id","idempotency_key"],"title":"CrossChannelExposure"},"CrossChannelExposureInput":{"properties":{"impression_id":{"type":"string","maxLength":160,"minLength":3,"title":"Impression Id"},"decision_id":{"type":"string","maxLength":160,"minLength":3,"title":"Decision Id"},"product_id":{"type":"string","pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","title":"Product Id"},"object_id":{"type":"string","maxLength":240,"minLength":1,"title":"Object Id"},"channel":{"$ref":"#/components/schemas/ChannelKind"},"visible_ratio":{"type":"number","maximum":1.0,"minimum":0.5,"title":"Visible Ratio"},"visible_ms":{"type":"integer","maximum":3600000.0,"minimum":1000.0,"title":"Visible Ms"},"idempotency_key":{"type":"string","maxLength":160,"minLength":8,"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["impression_id","decision_id","product_id","object_id","channel","visible_ratio","visible_ms","idempotency_key"],"title":"CrossChannelExposureInput"},"CrossPackConvergenceReceipt":{"properties":{"run_id":{"type":"string","format":"uuid","title":"Run Id"},"tenant_id":{"type":"string","title":"Tenant Id"},"state":{"type":"string","enum":["READY_FOR_RELEASE","HELD_RELEASE","HELD","NO_GO"],"title":"State"},"route_resolutions":{"items":{"$ref":"#/components/schemas/RouteResolution"},"type":"array","title":"Route Resolutions"},"handoff_decisions":{"items":{"$ref":"#/components/schemas/HandoffDecision"},"type":"array","title":"Handoff Decisions"},"correction_decision":{"$ref":"#/components/schemas/CorrectionDecision"},"cache_plan":{"$ref":"#/components/schemas/CacheInvalidationPlan"},"stage_receipts":{"items":{"$ref":"#/components/schemas/StageReceipt"},"type":"array","title":"Stage Receipts"},"simulation_digest":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Simulation Digest"},"terminal_reason_codes":{"items":{"type":"string"},"type":"array","maxItems":32,"minItems":1,"title":"Terminal Reason Codes"},"convergence_digest":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Convergence Digest"},"version":{"type":"integer","minimum":1.0,"title":"Version"},"command_receipt_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Command Receipt Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"additionalProperties":false,"type":"object","required":["run_id","tenant_id","state","route_resolutions","handoff_decisions","correction_decision","cache_plan","stage_receipts","simulation_digest","terminal_reason_codes","convergence_digest","version","created_at"],"title":"CrossPackConvergenceReceipt"},"CrossProductReference":{"properties":{"thread_id":{"type":"string","format":"uuid","title":"Thread Id"},"owner_id":{"type":"string","maxLength":160,"minLength":1,"title":"Owner Id"},"ref_type":{"type":"string","enum":["PREFERENCE_PASSPORT_VERSION","DECISION_THREAD","RANK_DECISION","COLLEGE_DECISION","SEAT_DECISION","CHOICE_LIST_DECISION","ROUND_ACTION_DECISION","ADMISSION_COST_DECISION","PATHWAY_CONTEXT","PATHWAY_DECISION","PATHWAY_FRONTIER_DECISION","PATHWAY_PLAN","OUTCOME_EVIDENCE","REVIEW_CASE","REVIEW_DECISION","PATHWAY_PRODUCT_RECEIPT","PREDNEXT_PRODUCT_RECEIPT","CORRECTION_RECEIPT"],"title":"Ref Type"},"ref_id":{"type":"string","format":"uuid","title":"Ref Id"},"ref_version":{"type":"integer","minimum":1.0,"title":"Ref Version"},"ref_digest":{"type":"string","title":"Ref Digest"},"authority":{"type":"string","enum":["DUIMP","PREDIMP","PREDNEXT","PATHIMP","PATHDATA","DATAIMP"],"title":"Authority"},"state":{"type":"string","enum":["ACTIVE","CURRENT","PUBLISHED","VERIFIED","READY","HELD","STALE","SUPERSEDED","REVOKED","CORRECTION_PENDING","UNKNOWN"],"title":"State"},"is_current":{"type":"boolean","title":"Is Current","default":true},"predecessor_ref_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Predecessor Ref Id"},"source_receipt_ref":{"type":"string","maxLength":300,"minLength":4,"title":"Source Receipt Ref"},"effective_at":{"type":"string","format":"date-time","title":"Effective At"}},"additionalProperties":false,"type":"object","required":["thread_id","owner_id","ref_type","ref_id","ref_version","ref_digest","authority","state","source_receipt_ref","effective_at"],"title":"CrossProductReference"},"CrosswalkListResponse":{"properties":{"availability":{"$ref":"#/components/schemas/Availability"},"publication_state":{"$ref":"#/components/schemas/PublicationState"},"coverage":{"$ref":"#/components/schemas/CoverageDisclosure"},"source_disclosure":{"items":{"$ref":"#/components/schemas/SourceDisclosure"},"type":"array","title":"Source Disclosure"},"limitations":{"items":{"type":"string"},"type":"array","title":"Limitations"},"authority_boundary":{"$ref":"#/components/schemas/AuthorityBoundary"},"items":{"items":{"$ref":"#/components/schemas/AdmissionCrosswalk"},"type":"array","title":"Items"},"related_entities":{"items":{"$ref":"#/components/schemas/AdmissionEntity"},"type":"array","title":"Related Entities"},"page":{"$ref":"#/components/schemas/PageInfo"}},"additionalProperties":false,"type":"object","required":["availability","publication_state","coverage","page"],"title":"CrosswalkListResponse"},"CsabContrastIn":{"properties":{"options":{"items":{"$ref":"#/components/schemas/CsabOptionIn"},"type":"array","maxItems":10,"minItems":1,"title":"Options"}},"additionalProperties":false,"type":"object","required":["options"],"title":"CsabContrastIn"},"CsabOptionIn":{"properties":{"college_key":{"type":"string","maxLength":200,"title":"College Key"},"branch":{"type":"string","maxLength":300,"title":"Branch"},"quota":{"type":"string","maxLength":120,"title":"Quota"},"category":{"type":"string","maxLength":120,"title":"Category"},"gender":{"type":"string","maxLength":120,"title":"Gender"}},"additionalProperties":false,"type":"object","required":["college_key","branch","quota","category","gender"],"title":"CsabOptionIn","description":"One seat line. Strict strings: a number or null is a 422, never a 500."},"CurriculumCandidate":{"properties":{"node_ref":{"type":"string","maxLength":240,"minLength":3,"title":"Node Ref"},"lane":{"type":"string","maxLength":120,"minLength":2,"title":"Lane"},"score":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Score"},"graph_release_ref":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Graph Release Ref"},"evidence_refs":{"items":{"type":"string"},"type":"array","title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["node_ref","lane","score"],"title":"CurriculumCandidate"},"CurriculumImportRequest":{"properties":{"expected_release_version":{"type":"integer","minimum":0.0,"title":"Expected Release Version"},"source_snapshot_id":{"anyOf":[{"type":"string","maxLength":512,"minLength":8},{"type":"null"}],"title":"Source Snapshot Id"},"reason":{"type":"string","maxLength":1000,"minLength":3,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["expected_release_version","reason"],"title":"CurriculumImportRequest","description":"A deterministic Topic Registry import command; production writes stay off."},"CurriculumMappingCommand":{"properties":{"object_ref":{"type":"string","maxLength":300,"minLength":3,"title":"Object Ref"},"expected_lane":{"type":"string","maxLength":120,"minLength":2,"title":"Expected Lane"},"academic_scope":{"$ref":"#/components/schemas/os_runtime__os10_content_ops__cntimp_pr01__AcademicScope"},"candidates":{"items":{"$ref":"#/components/schemas/CurriculumCandidate"},"type":"array","title":"Candidates"},"minimum_score":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Minimum Score","default":0.72},"minimum_margin":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Minimum Margin","default":0.1},"exact_identity":{"anyOf":[{"$ref":"#/components/schemas/ExactCurriculumIdentity"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["object_ref","expected_lane","academic_scope"],"title":"CurriculumMappingCommand"},"CurriculumReleaseCreate":{"properties":{"release_id":{"type":"string","title":"Release Id"},"version":{"type":"string","maxLength":64,"minLength":1,"title":"Version"},"scope":{"$ref":"#/components/schemas/Scope"},"source_snapshot_id":{"type":"string","maxLength":256,"minLength":1,"title":"Source Snapshot Id"},"state":{"allOf":[{"$ref":"#/components/schemas/ReleaseState"}],"default":"DRAFT_RELEASE"}},"additionalProperties":false,"type":"object","required":["release_id","version","scope","source_snapshot_id"],"title":"CurriculumReleaseCreate"},"CustomTestBlueprintRequest":{"properties":{"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"academic_scope":{"$ref":"#/components/schemas/os_runtime__os10_content_ops__cntimp_pr01__AcademicScope"},"requested_count":{"type":"integer","maximum":200.0,"minimum":1.0,"title":"Requested Count"},"difficulty_mix":{"additionalProperties":{"type":"number"},"type":"object","title":"Difficulty Mix"},"question_types":{"items":{"type":"string"},"type":"array","title":"Question Types","default":["mcq"]},"chapter_minimums":{"additionalProperties":{"type":"integer"},"type":"object","title":"Chapter Minimums"},"arc_rule":{"type":"string","title":"Arc Rule","default":"warmup_easy_to_hard_v1"}},"additionalProperties":false,"type":"object","required":["idempotency_key","academic_scope","requested_count"],"title":"CustomTestBlueprintRequest"},"CustomTestLaunchRequest":{"properties":{"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"blueprint_receipt_ref":{"type":"string","format":"uuid","title":"Blueprint Receipt Ref"}},"additionalProperties":false,"type":"object","required":["idempotency_key","blueprint_receipt_ref"],"title":"CustomTestLaunchRequest"},"CycleCreate":{"properties":{"series_ref":{"type":"string","maxLength":120,"minLength":1,"title":"Series Ref"},"cycle_kind":{"type":"string","pattern":"^(WEEKLY|MONTHLY|FULL_MOCK)$","title":"Cycle Kind"},"exam_lane":{"type":"string","maxLength":120,"minLength":1,"title":"Exam Lane"},"rank_universe":{"type":"string","maxLength":120,"minLength":1,"title":"Rank Universe"},"sequence_no":{"type":"integer","minimum":1.0,"title":"Sequence No"},"term_ref":{"type":"string","maxLength":120,"minLength":1,"title":"Term Ref"},"title":{"type":"string","maxLength":160,"minLength":1,"title":"Title"},"snapshot_id":{"type":"string","maxLength":200,"minLength":1,"title":"Snapshot Id"},"registration_opens_at":{"type":"string","format":"date-time","title":"Registration Opens At"},"sitting_opens_at":{"type":"string","format":"date-time","title":"Sitting Opens At"},"sitting_closes_at":{"type":"string","format":"date-time","title":"Sitting Closes At"},"counting_closes_at":{"type":"string","format":"date-time","title":"Counting Closes At"},"publication_threshold":{"type":"integer","minimum":1.0,"title":"Publication Threshold"},"threshold_policy_version":{"type":"string","maxLength":120,"minLength":1,"title":"Threshold Policy Version"},"late_sitting_allowed":{"type":"boolean","title":"Late Sitting Allowed","default":true},"entitlement_policy_ref":{"type":"string","maxLength":200,"minLength":1,"title":"Entitlement Policy Ref"}},"additionalProperties":false,"type":"object","required":["series_ref","cycle_kind","exam_lane","rank_universe","sequence_no","term_ref","title","snapshot_id","registration_opens_at","sitting_opens_at","sitting_closes_at","counting_closes_at","publication_threshold","threshold_policy_version","entitlement_policy_ref"],"title":"CycleCreate"},"DPPAnswerSubmit":{"properties":{"session_id":{"type":"string","title":"Session Id"},"question_id":{"type":"string","title":"Question Id"},"student_answer":{"type":"string","title":"Student Answer"},"time_taken_s":{"type":"integer","title":"Time Taken S"},"student_id":{"type":"string","title":"Student Id","default":""},"confidence":{"anyOf":[{"type":"integer","maximum":5.0,"minimum":1.0},{"type":"null"}],"title":"Confidence"},"device_type":{"type":"string","title":"Device Type","default":"web"}},"type":"object","required":["session_id","question_id","student_answer","time_taken_s"],"title":"DPPAnswerSubmit"},"DPPBuildRequest":{"properties":{"teacher_id":{"type":"string","title":"Teacher Id","default":"teacher_001"},"subject":{"type":"string","title":"Subject"},"chapter":{"type":"string","title":"Chapter"},"question_count":{"type":"integer","title":"Question Count","default":10},"difficulty_mix":{"additionalProperties":{"type":"integer"},"type":"object","title":"Difficulty Mix","default":{"easy":30,"medium":50,"hard":20}},"question_types":{"items":{"type":"string"},"type":"array","title":"Question Types","default":["mcq","numerical"]},"schedule":{"type":"string","title":"Schedule","default":"today"},"batch_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Batch Id"}},"type":"object","required":["subject","chapter"],"title":"DPPBuildRequest"},"DPPGenerateRequest":{"properties":{"student_id":{"type":"string","title":"Student Id"},"subject":{"type":"string","title":"Subject"},"topic":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Topic"},"question_count":{"type":"integer","title":"Question Count","default":10},"difficulty_target":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Difficulty Target"}},"type":"object","required":["student_id","subject"],"title":"DPPGenerateRequest"},"DPPSessionComplete":{"properties":{"session_id":{"type":"string","title":"Session Id"},"student_id":{"type":"string","title":"Student Id","default":""},"completed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completed At"}},"type":"object","required":["session_id"],"title":"DPPSessionComplete"},"DataMode":{"type":"string","enum":["NORMAL","DATA_LITE","OFFLINE"],"title":"DataMode"},"DataRightsFulfillmentCommand":{"properties":{"state":{"type":"string","enum":["IN_PROGRESS","COMPLETED","DENIED","PARTIALLY_COMPLETED"],"title":"State"},"exclusion_reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Exclusion Reason"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os21_privacy_safety__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["state","evidence_refs"],"title":"DataRightsFulfillmentCommand","description":"Operator-only state transition for an existing rights request."},"DataRightsRequestCommand":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"subject_id":{"type":"string","maxLength":128,"minLength":1,"title":"Subject Id"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"request_type":{"type":"string","enum":["EXPORT","DELETE","RECTIFY","RESTRICT_PROCESSING","WITHDRAW_CONSENT"],"title":"Request Type"},"scope":{"type":"string","maxLength":160,"minLength":2,"title":"Scope"},"state":{"type":"string","enum":["REQUESTED","IN_PROGRESS","COMPLETED","DENIED","PARTIALLY_COMPLETED"],"title":"State","default":"REQUESTED"},"requested_at":{"type":"string","format":"date-time","title":"Requested At"},"due_at":{"type":"string","format":"date-time","title":"Due At"},"exclusion_reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Exclusion Reason"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os21_privacy_safety__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["subject_id","actor_id","request_type","scope","due_at","evidence_refs"],"title":"DataRightsRequestCommand"},"DateChanges":{"properties":{"thread_id":{"type":"string","format":"uuid","title":"Thread Id"},"thread_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thread Type"},"has_looked_before":{"type":"boolean","title":"Has Looked Before"},"since":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Since"},"new_items":{"items":{"$ref":"#/components/schemas/MovedDateItem"},"type":"array","title":"New Items","default":[]},"moved_items":{"items":{"$ref":"#/components/schemas/MovedDateItem"},"type":"array","title":"Moved Items","default":[]},"withdrawn_items":{"items":{"$ref":"#/components/schemas/MovedDateItem"},"type":"array","title":"Withdrawn Items","default":[]}},"additionalProperties":false,"type":"object","required":["thread_id","has_looked_before"],"title":"DateChanges","description":"Dates that moved on the family's calendar, from the existing change watch."},"DayEvidenceClass":{"type":"string","enum":["event_fabric","timing_posture","loop_receipt","assessment_evidence","provenance","proof_receipt","confidence","repair_evidence","memory_update","thread_graph","night_calm_non_event","parent_safe_digest","consent_scope","discord_degradation","replay","rollback"],"title":"DayEvidenceClass"},"DayEvidenceCommand":{"properties":{"run_id":{"type":"string","format":"uuid","title":"Run Id"},"evidence_id":{"type":"string","format":"uuid","title":"Evidence Id"},"evidence_class":{"$ref":"#/components/schemas/DayEvidenceClass"},"evidence_key":{"type":"string","maxLength":96,"minLength":1,"pattern":"^[a-z0-9][a-z0-9_.:-]*$","title":"Evidence Key","default":"primary"},"result":{"$ref":"#/components/schemas/os_runtime__aos_golden_slice_c_day__models__EvidenceResult"},"executed":{"type":"boolean","title":"Executed","default":false},"executed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Executed At"},"artifact_refs":{"items":{"type":"string"},"type":"array","title":"Artifact Refs"},"emitted_events":{"type":"integer","minimum":0.0,"title":"Emitted Events","default":0},"readback_events":{"type":"integer","minimum":0.0,"title":"Readback Events","default":0},"metadata":{"type":"object","title":"Metadata"}},"type":"object","required":["run_id","evidence_class","result"],"title":"DayEvidenceCommand"},"DayRunState":{"type":"string","enum":["COLLECTING","BLOCKED","PASSED"],"title":"DayRunState"},"DayStep":{"type":"string","enum":["MORNING_HOME","MORNING_DPP","MIDDAY_REPAIR","MIDDAY_DOUBT","DISCORD_OS05_OFF","DISCORD_DEGRADED_SERVE","DISCORD_OS05_RESTORED","EVENING_REPAIR","NIGHT_CALM","SUNDAY_DIGEST","REPLAY"],"title":"DayStep"},"DayStepCommand":{"properties":{"run_id":{"type":"string","format":"uuid","title":"Run Id"},"step_id":{"type":"string","format":"uuid","title":"Step Id"},"step":{"$ref":"#/components/schemas/DayStep"},"result":{"$ref":"#/components/schemas/os_runtime__aos_golden_slice_c_day__models__EvidenceResult"},"organ_ids":{"items":{"type":"string"},"type":"array","minItems":1,"title":"Organ Ids"},"event_names":{"items":{"type":"string"},"type":"array","title":"Event Names"},"receipt_refs":{"items":{"type":"string"},"type":"array","title":"Receipt Refs"},"artifact_refs":{"items":{"type":"string"},"type":"array","title":"Artifact Refs"},"recorded_at":{"type":"string","format":"date-time","title":"Recorded At"}},"type":"object","required":["run_id","step","result","organ_ids"],"title":"DayStepCommand"},"DebateBody":{"properties":{"motion":{"type":"string","minLength":1,"title":"Motion"},"side":{"type":"string","title":"Side","description":"for | against — the side the tutor takes"},"thread_id":{"type":"string","title":"Thread Id"},"context_receipt_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Context Receipt Id"}},"additionalProperties":false,"type":"object","required":["motion","side","thread_id"],"title":"DebateBody"},"DecideReviewCommand":{"properties":{"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version"},"expected_requirement_revision":{"type":"integer","minimum":1.0,"title":"Expected Requirement Revision"},"definition_version":{"type":"string","maxLength":80,"minLength":1,"title":"Definition Version"},"decision":{"type":"string","enum":["GRANT","REFUSE"],"title":"Decision"}},"additionalProperties":false,"type":"object","required":["expected_version","expected_requirement_revision","definition_version","decision"],"title":"DecideReviewCommand"},"DecisionAlternative":{"properties":{"ref":{"type":"string","maxLength":300,"minLength":1,"title":"Ref"},"label":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Label"},"set_aside_reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Set Aside Reason"}},"additionalProperties":false,"type":"object","required":["ref"],"title":"DecisionAlternative","description":"One option that was on the table and not taken.\n\nA decision without its alternatives is a preference. With them it is a trade\na family can be reminded they made — which is the whole point of keeping it."},"DecisionIn":{"properties":{"decision":{"type":"string","enum":["approve","decline"],"title":"Decision"}},"additionalProperties":false,"type":"object","required":["decision"],"title":"DecisionIn"},"DecisionMemoryView":{"properties":{"decision":{"$ref":"#/components/schemas/DecisionSummary"},"citations_state":{"type":"string","enum":["RECORDED","NOT_RECORDED"],"title":"Citations State"},"citations_note":{"type":"string","title":"Citations Note"},"citations_note_date":{"type":"string","format":"date-time","title":"Citations Note Date"},"citations":{"items":{"$ref":"#/components/schemas/CitationView"},"type":"array","title":"Citations","default":[]},"moved":{"items":{"$ref":"#/components/schemas/MovedSince"},"type":"array","title":"Moved","default":[]},"watch_summary":{"$ref":"#/components/schemas/WatchSummary"}},"additionalProperties":false,"type":"object","required":["decision","citations_state","citations_note","citations_note_date","watch_summary"],"title":"DecisionMemoryView"},"DecisionRebuildRequest":{"properties":{"context":{"$ref":"#/components/schemas/insights_decision_core__AcademicContext"},"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version","default":0},"purpose":{"type":"string","enum":["student_insight"],"const":"student_insight","title":"Purpose","default":"student_insight"},"window_days":{"type":"integer","maximum":90.0,"minimum":1.0,"title":"Window Days","default":30},"timezone_name":{"type":"string","maxLength":64,"minLength":1,"title":"Timezone Name","default":"Asia/Kolkata"},"graph_max_depth":{"type":"integer","maximum":4.0,"minimum":1.0,"title":"Graph Max Depth","default":4}},"additionalProperties":false,"type":"object","required":["context"],"title":"DecisionRebuildRequest"},"DecisionRecordChain":{"properties":{"thread_id":{"type":"string","format":"uuid","title":"Thread Id"},"owner_id":{"type":"string","title":"Owner Id"},"records":{"items":{"$ref":"#/components/schemas/DecisionRecordProjection"},"type":"array","title":"Records","default":[]},"current_count":{"type":"integer","minimum":0.0,"title":"Current Count","default":0},"superseded_count":{"type":"integer","minimum":0.0,"title":"Superseded Count","default":0},"reasons_given":{"type":"integer","minimum":0.0,"title":"Reasons Given","default":0},"generated_at":{"type":"string","format":"date-time","title":"Generated At"}},"additionalProperties":false,"type":"object","required":["thread_id","owner_id","generated_at"],"title":"DecisionRecordChain","description":"A thread's records, newest first, with the superseded ones kept."},"DecisionRecordProjection":{"properties":{"decision_record_id":{"type":"string","format":"uuid","title":"Decision Record Id"},"thread_id":{"type":"string","format":"uuid","title":"Thread Id"},"owner_id":{"type":"string","title":"Owner Id"},"decided_at":{"type":"string","format":"date-time","title":"Decided At"},"decision_kind":{"type":"string","enum":["SHORTLIST","ORDER","ACCEPT","FLOAT","FREEZE","WITHDRAW","DEPOSIT","DEFER","OTHER"],"title":"Decision Kind"},"chosen_ref":{"type":"string","title":"Chosen Ref"},"alternatives":{"items":{"$ref":"#/components/schemas/DecisionAlternative"},"type":"array","title":"Alternatives"},"reason_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason Text"},"reason_author":{"type":"string","enum":["STUDENT","PARENT","COUNSELLOR"],"title":"Reason Author"},"evidence_classes":{"additionalProperties":{"type":"string","enum":["FACT","RULE_OR_OFFICIAL_SOURCE","HISTORICAL_EVIDENCE","PREDICTION","SIMULATION","PREFERENCE","HUMAN_JUDGEMENT","OFFICIAL_ACTION","UNKNOWN"]},"type":"object","title":"Evidence Classes"},"rested_on_ref_types":{"items":{"type":"string"},"type":"array","title":"Rested On Ref Types","default":[]},"reversibility":{"type":"string","enum":["REVERSIBLE","COSTLY","IRREVERSIBLE","UNKNOWN"],"title":"Reversibility"},"state":{"type":"string","enum":["CURRENT","SUPERSEDED","REVOKED"],"title":"State"},"superseded_by":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Superseded By"},"receipt_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Receipt Ref"},"decision_digest":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Decision Digest"},"reason_given":{"type":"boolean","title":"Reason Given","default":false},"persisted":{"type":"boolean","title":"Persisted","default":false},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"}},"additionalProperties":false,"type":"object","required":["decision_record_id","thread_id","owner_id","decided_at","decision_kind","chosen_ref","alternatives","reason_text","reason_author","evidence_classes","reversibility","state","decision_digest"],"title":"DecisionRecordProjection"},"DecisionReq":{"properties":{"options":{"items":{"type":"object"},"type":"array","title":"Options","description":"Candidate actions to rank"},"context":{"type":"object","title":"Context"}},"type":"object","required":["options"],"title":"DecisionReq"},"DecisionSummary":{"properties":{"decision_record_id":{"type":"string","format":"uuid","title":"Decision Record Id"},"thread_id":{"type":"string","format":"uuid","title":"Thread Id"},"thread_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thread Type"},"owner_product":{"type":"string","title":"Owner Product"},"decision_kind":{"type":"string","title":"Decision Kind"},"title":{"type":"string","title":"Title"},"decided_at":{"type":"string","format":"date-time","title":"Decided At"},"state":{"type":"string","title":"State"},"reason_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason Text"},"reason_author":{"type":"string","title":"Reason Author"},"reversibility":{"type":"string","title":"Reversibility"},"receipt_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Receipt Ref"},"decision_digest_short":{"type":"string","title":"Decision Digest Short"},"alternatives_count":{"type":"integer","minimum":0.0,"title":"Alternatives Count"}},"additionalProperties":false,"type":"object","required":["decision_record_id","thread_id","owner_product","decision_kind","title","decided_at","state","reason_author","reversibility","decision_digest_short","alternatives_count"],"title":"DecisionSummary"},"DecisionViewEvent":{"properties":{"event_name":{"type":"string","maxLength":64,"title":"Event Name"},"fields":{"type":"object","maxProperties":12,"title":"Fields"}},"type":"object","required":["event_name"],"title":"DecisionViewEvent","description":"One screen view. Counts and codes only; the server adds who and how."},"DeclareResultRequest":{"properties":{"student_id":{"type":"string","maxLength":64,"minLength":1,"title":"Student Id"},"exam_ref":{"type":"string","maxLength":120,"minLength":1,"title":"Exam Ref"},"board_ref":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Board Ref"},"school_ref":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"School Ref"},"release_id":{"type":"string","maxLength":160,"minLength":1,"title":"Release Id"},"score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Score"},"rank_value":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Rank Value"},"percentile":{"anyOf":[{"type":"number","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Percentile"},"evidence_ref":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Evidence Ref"}},"type":"object","required":["student_id","exam_ref","release_id"],"title":"DeclareResultRequest"},"DeclareSkillRequest":{"properties":{"label":{"type":"string","maxLength":80,"minLength":1,"title":"Label"}},"additionalProperties":false,"type":"object","required":["label"],"title":"DeclareSkillRequest"},"DeclaredBody":{"properties":{"word":{"type":"string","title":"Word"}},"type":"object","required":["word"],"title":"DeclaredBody"},"DefinitionCreateRequest":{"properties":{"definition":{"type":"object","minProperties":1,"title":"Definition"},"reason":{"type":"string","maxLength":1000,"minLength":8,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["definition","reason"],"title":"DefinitionCreateRequest"},"DefinitionPublishRequest":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"approval_receipt_id":{"type":"string","maxLength":120,"minLength":8,"title":"Approval Receipt Id"},"reason":{"type":"string","maxLength":1000,"minLength":8,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["expected_version","approval_receipt_id","reason"],"title":"DefinitionPublishRequest"},"DelegateRouteCompareRequest":{"properties":{"selection_id":{"type":"string","format":"uuid","title":"Selection Id"},"receiver_contract_version":{"type":"string","maxLength":100,"minLength":1,"title":"Receiver Contract Version"},"return_nonce":{"type":"string","maxLength":200,"minLength":8,"title":"Return Nonce"}},"additionalProperties":false,"type":"object","required":["selection_id","receiver_contract_version","return_nonce"],"title":"DelegateRouteCompareRequest"},"DelegationBody":{"properties":{"value":{"type":"boolean","title":"Value"},"version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Version"}},"type":"object","required":["value"],"title":"DelegationBody"},"DeleteAccountBody":{"properties":{"reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Reason"}},"type":"object","title":"DeleteAccountBody"},"DeleteReceipt":{"properties":{"instance_ref":{"type":"string","title":"Instance Ref"},"state":{"type":"string","enum":["REDACTED","LEGAL_HOLD","RECONCILIATION_REQUIRED"],"title":"State"},"receipt_ref":{"type":"string","title":"Receipt Ref"},"redacted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Redacted At"},"reason_code":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Reason Code"}},"additionalProperties":false,"type":"object","required":["instance_ref","state","receipt_ref"],"title":"DeleteReceipt","description":"Erasure is redaction in place. The lineage seal survives it.\n\nA family may have their content removed. They may not remove the fact that a\ndecision was taken, because the receipt is also the counsellor's and the\nauthority's record, and a chain with a hole in it cannot be checked."},"DeletionReauthCommand":{"properties":{"purpose":{"type":"string","enum":["REQUEST","CANCEL"],"title":"Purpose"},"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version"},"deletion_id":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Deletion Id"},"current_password":{"type":"string","maxLength":200,"minLength":1,"format":"password","title":"Current Password","writeOnly":true}},"additionalProperties":false,"type":"object","required":["purpose","expected_version","current_password"],"title":"DeletionReauthCommand","description":"A fresh password proof scoped to one exact deletion operation."},"DeliverBody":{"properties":{"expected_revision":{"type":"integer","minimum":1.0,"title":"Expected Revision"},"criteria_text":{"type":"string","maxLength":4000,"minLength":3,"title":"Criteria Text"},"source_text":{"type":"string","maxLength":4000,"minLength":3,"title":"Source Text"},"next_step_text":{"type":"string","maxLength":4000,"minLength":3,"title":"Next Step Text"},"source_refs":{"items":{"$ref":"#/components/schemas/SourceRef"},"type":"array","maxItems":20,"minItems":1,"title":"Source Refs"},"acknowledgement":{"type":"string","enum":["PENDING","UNCERTAIN"],"title":"Acknowledgement","default":"PENDING"}},"additionalProperties":false,"type":"object","required":["expected_revision","criteria_text","source_text","next_step_text","source_refs"],"title":"DeliverBody"},"DeliverableIn":{"properties":{"description":{"type":"string","maxLength":300,"minLength":1,"title":"Description"},"turnaround_days":{"anyOf":[{"type":"integer","maximum":365.0,"minimum":0.0},{"type":"null"}],"title":"Turnaround Days"},"hours_estimate":{"anyOf":[{"type":"number","maximum":1000.0,"minimum":0.0},{"type":"string"}],"title":"Hours Estimate"}},"additionalProperties":false,"type":"object","required":["description","hours_estimate"],"title":"DeliverableIn"},"DeliverablesUpdate":{"properties":{"deliverables":{"items":{"$ref":"#/components/schemas/DeliverableIn"},"type":"array","maxItems":20,"title":"Deliverables"},"expected_version":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Expected Version"}},"additionalProperties":false,"type":"object","title":"DeliverablesUpdate"},"DeliveryAcknowledgeCommand":{"properties":{"decision_id":{"type":"string","format":"uuid","title":"Decision Id"},"provider":{"type":"string","maxLength":80,"minLength":2,"title":"Provider"},"provider_message_id":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Provider Message Id"},"channel":{"type":"string","enum":["in_app","push","email","sms","whatsapp"],"title":"Channel"},"status":{"type":"string","enum":["DELIVERED","FAILED"],"title":"Status"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os13_intervention_timing__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["decision_id","provider","channel","status","actor_id","evidence_refs"],"title":"DeliveryAcknowledgeCommand"},"DeliveryOutcomeRequest":{"properties":{"delivery_ref":{"type":"string","format":"uuid","title":"Delivery Ref"},"outcome":{"type":"string","enum":["DELIVERED","NO_SHOW"],"title":"Outcome"},"provider_ack":{"anyOf":[{"$ref":"#/components/schemas/ProviderCapacityAck"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["delivery_ref","outcome"],"title":"DeliveryOutcomeRequest"},"DeliveryPolicyCommand":{"properties":{"policy_id":{"type":"string","maxLength":128,"minLength":3,"title":"Policy Id"},"version":{"type":"string","maxLength":64,"minLength":1,"title":"Version"},"audience":{"type":"string","enum":["student","parent","guardian","teacher","operator"],"title":"Audience"},"allowed_families":{"items":{"type":"string"},"type":"array","maxItems":128,"minItems":1,"title":"Allowed Families"},"default_channels":{"items":{"type":"string","enum":["in_app","push","email","sms","whatsapp"]},"type":"array","maxItems":5,"minItems":1,"title":"Default Channels"},"max_age_seconds":{"type":"integer","maximum":2592000.0,"minimum":60.0,"title":"Max Age Seconds","default":172800},"max_deliveries_24h":{"type":"integer","maximum":50.0,"minimum":0.0,"title":"Max Deliveries 24H","default":2},"max_deliveries_7d":{"type":"integer","maximum":200.0,"minimum":0.0,"title":"Max Deliveries 7D","default":8},"min_gap_seconds":{"type":"integer","maximum":604800.0,"minimum":0.0,"title":"Min Gap Seconds","default":10800},"family_cooldown_seconds":{"type":"integer","maximum":2592000.0,"minimum":0.0,"title":"Family Cooldown Seconds","default":172800},"quiet_start_minute":{"type":"integer","maximum":1439.0,"minimum":0.0,"title":"Quiet Start Minute","default":1350},"quiet_end_minute":{"type":"integer","maximum":1439.0,"minimum":0.0,"title":"Quiet End Minute","default":390},"allow_critical_quiet_override":{"type":"boolean","title":"Allow Critical Quiet Override","default":false},"state":{"type":"string","enum":["ACTIVE"],"const":"ACTIVE","title":"State","default":"ACTIVE"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os13_intervention_timing__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["policy_id","version","audience","allowed_families","default_channels","actor_id","evidence_refs"],"title":"DeliveryPolicyCommand"},"DemandMetrics":{"properties":{"learning_demand_episode_count":{"type":"integer","minimum":0.0,"title":"Learning Demand Episode Count","default":0},"marketplace_no_supply_episode_count":{"type":"integer","minimum":0.0,"title":"Marketplace No Supply Episode Count","default":0},"supply_alert_episode_count":{"type":"integer","minimum":0.0,"title":"Supply Alert Episode Count","default":0},"concierge_request_episode_count":{"type":"integer","minimum":0.0,"title":"Concierge Request Episode Count","default":0},"active_verified_supply_count":{"type":"integer","minimum":0.0,"title":"Active Verified Supply Count","default":0}},"additionalProperties":false,"type":"object","title":"DemandMetrics"},"DemandRadarCell":{"properties":{"cell_key":{"type":"string","maxLength":96,"minLength":8,"title":"Cell Key"},"state":{"$ref":"#/components/schemas/SourceCellState"},"exam_track":{"$ref":"#/components/schemas/home_os__demand_radar_contract__ExamTrack"},"subject_bucket":{"$ref":"#/components/schemas/home_os__demand_radar_contract__SubjectBucket"},"taxonomy_level":{"$ref":"#/components/schemas/TaxonomyLevel"},"taxonomy_key":{"type":"string","maxLength":96,"minLength":1,"title":"Taxonomy Key"},"need_shape":{"$ref":"#/components/schemas/NeedShape"},"modality":{"$ref":"#/components/schemas/Modality"},"region_bucket":{"$ref":"#/components/schemas/RegionBucket"},"time_bucket":{"$ref":"#/components/schemas/TimeBucket"},"distinct_episode_count":{"type":"integer","minimum":0.0,"title":"Distinct Episode Count"},"episode_set_digest":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Episode Set Digest"},"metrics":{"anyOf":[{"$ref":"#/components/schemas/DemandMetrics"},{"type":"null"}]},"source_snapshot_hash":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Source Snapshot Hash"}},"additionalProperties":false,"type":"object","required":["cell_key","state","exam_track","subject_bucket","taxonomy_level","taxonomy_key","need_shape","modality","region_bucket","time_bucket","distinct_episode_count","episode_set_digest","source_snapshot_hash"],"title":"DemandRadarCell"},"DemandRadarContribution":{"properties":{"contract_id":{"type":"string","enum":["xpr08.marketplace_demand_radar"],"const":"xpr08.marketplace_demand_radar","title":"Contract Id","default":"xpr08.marketplace_demand_radar"},"contract_version":{"type":"string","enum":["xpr08-demand-radar/v1"],"const":"xpr08-demand-radar/v1","title":"Contract Version","default":"xpr08-demand-radar/v1"},"contract_sha256":{"type":"string","enum":["fbe00043c4cb252d4bb89b28bbdae3573bceb8e218b4ba7a7ca4cd567801fce9"],"const":"fbe00043c4cb252d4bb89b28bbdae3573bceb8e218b4ba7a7ca4cd567801fce9","title":"Contract Sha256","default":"fbe00043c4cb252d4bb89b28bbdae3573bceb8e218b4ba7a7ca4cd567801fce9"},"xpr11_contract_sha256":{"type":"string","enum":["8b5e89b64d771933d84693e37162add16ba4d48ed1d67aa5127e66b07a856d44"],"const":"8b5e89b64d771933d84693e37162add16ba4d48ed1d67aa5127e66b07a856d44","title":"Xpr11 Contract Sha256","default":"8b5e89b64d771933d84693e37162add16ba4d48ed1d67aa5127e66b07a856d44"},"contribution_id":{"type":"string","pattern":"^x8c_[a-f0-9]{32}$","title":"Contribution Id"},"source_product":{"$ref":"#/components/schemas/Product"},"window_key":{"type":"string","title":"Window Key"},"window_started_at":{"type":"string","format":"date-time","title":"Window Started At"},"window_ended_at":{"type":"string","format":"date-time","title":"Window Ended At"},"granularity":{"$ref":"#/components/schemas/Granularity"},"cells":{"items":{"$ref":"#/components/schemas/DemandRadarCell"},"type":"array","maxItems":200,"minItems":1,"title":"Cells"},"generated_at":{"type":"string","format":"date-time","title":"Generated At"},"retention_until":{"type":"string","format":"date-time","title":"Retention Until"},"key_id":{"type":"string","maxLength":80,"minLength":3,"pattern":"^[a-zA-Z0-9._:-]+$","title":"Key Id"},"idempotency_key":{"type":"string","maxLength":160,"minLength":8,"title":"Idempotency Key"},"payload_hash":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Payload Hash"},"signature":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Signature"}},"additionalProperties":false,"type":"object","required":["source_product","window_key","window_started_at","window_ended_at","granularity","cells","generated_at","retention_until","key_id","idempotency_key","payload_hash","signature"],"title":"DemandRadarContribution"},"DemandRadarDraft":{"properties":{"window_key":{"type":"string","maxLength":120,"minLength":3,"title":"Window Key"},"window_started_at":{"type":"string","format":"date-time","title":"Window Started At"},"window_ended_at":{"type":"string","format":"date-time","title":"Window Ended At"},"granularity":{"$ref":"#/components/schemas/Granularity"},"cells":{"items":{"$ref":"#/components/schemas/DemandRadarCell"},"type":"array","maxItems":200,"minItems":1,"title":"Cells"},"idempotency_key":{"type":"string","maxLength":160,"minLength":8,"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["window_key","window_started_at","window_ended_at","granularity","cells","idempotency_key"],"title":"DemandRadarDraft"},"DependencyCreate":{"properties":{"reason":{"type":"string","maxLength":1000,"minLength":8,"title":"Reason"},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Evidence Refs"},"dependency_id":{"type":"string","maxLength":100,"minLength":3,"pattern":"^[A-Za-z0-9._-]+$","title":"Dependency Id"},"programme_id":{"type":"string","maxLength":80,"minLength":3,"title":"Programme Id"},"provider_ref":{"type":"string","maxLength":160,"minLength":2,"title":"Provider Ref"},"consumer_ref":{"type":"string","maxLength":160,"minLength":2,"title":"Consumer Ref"},"owner_ref":{"type":"string","maxLength":160,"minLength":2,"title":"Owner Ref"},"due_at":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Due At"}},"additionalProperties":false,"type":"object","required":["reason","dependency_id","programme_id","provider_ref","consumer_ref","owner_ref"],"title":"DependencyCreate"},"DependencyEdge":{"properties":{"edge_id":{"type":"string","format":"uuid","title":"Edge Id"},"source_ref":{"$ref":"#/components/schemas/ObjectRef"},"dependent_ref":{"$ref":"#/components/schemas/ObjectRef"},"edge_kind":{"type":"string","enum":["SOURCE_TO_TRUTH","TRUTH_TO_PROOF","TRUTH_TO_REPAIR","TRUTH_TO_THREAD","TRUTH_TO_PARENT","TRUTH_TO_PLAN","TRUTH_TO_HOME","THREAD_TO_RETURN"],"title":"Edge Kind"},"consumer_id":{"type":"string","pattern":"^[A-Z][A-Z0-9_-]{1,31}$","title":"Consumer Id"},"mandatory":{"type":"boolean","title":"Mandatory","default":true},"invalidate_within_seconds":{"type":"integer","maximum":86400.0,"minimum":1.0,"title":"Invalidate Within Seconds","default":60},"edge_version":{"type":"string","enum":["1.0.0"],"const":"1.0.0","title":"Edge Version","default":"1.0.0"}},"additionalProperties":false,"type":"object","required":["edge_id","source_ref","dependent_ref","edge_kind","consumer_id"],"title":"DependencyEdge"},"DependencySnapshotCommand":{"properties":{"run_id":{"type":"string","format":"uuid","title":"Run Id"},"dependency_id":{"type":"string","format":"uuid","title":"Dependency Id"},"dependency_pr":{"type":"string","maxLength":40,"minLength":3,"title":"Dependency Pr"},"dependency_state":{"type":"string","maxLength":80,"minLength":2,"title":"Dependency State"},"required":{"type":"boolean","title":"Required","default":true},"proof_ref":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Proof Ref"}},"type":"object","required":["run_id","dependency_pr","dependency_state"],"title":"DependencySnapshotCommand"},"DependentDecision":{"properties":{"decision_record_id":{"type":"string","format":"uuid","title":"Decision Record Id"},"title":{"type":"string","title":"Title"},"decided_at":{"type":"string","format":"date-time","title":"Decided At"}},"additionalProperties":false,"type":"object","required":["decision_record_id","title","decided_at"],"title":"DependentDecision"},"DerivedArtifactRequest":{"properties":{"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"owner_ref":{"type":"string","maxLength":128,"minLength":2,"title":"Owner Ref"},"artifact_kind":{"type":"string","maxLength":80,"minLength":2,"title":"Artifact Kind"},"output_ref":{"type":"string","maxLength":500,"minLength":4,"title":"Output Ref"},"source_projection_refs":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Source Projection Refs"},"source_publication_refs":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Source Publication Refs"},"lineage_receipt_ref":{"type":"string","maxLength":300,"minLength":4,"title":"Lineage Receipt Ref"},"entitlement_allowed":{"type":"boolean","title":"Entitlement Allowed","default":true},"claims_mastery":{"type":"boolean","title":"Claims Mastery","default":false}},"additionalProperties":false,"type":"object","required":["idempotency_key","owner_ref","artifact_kind","output_ref","lineage_receipt_ref"],"title":"DerivedArtifactRequest"},"DeviceBudgetCommand":{"properties":{"budget_id":{"type":"string","maxLength":120,"minLength":3,"title":"Budget Id"},"version":{"type":"string","maxLength":80,"minLength":1,"title":"Version"},"device_class":{"type":"string","enum":["low_end_android","mid_android","desktop","tablet"],"title":"Device Class"},"max_initial_js_kb":{"type":"integer","maximum":5000.0,"minimum":50.0,"title":"Max Initial Js Kb"},"max_total_transfer_kb":{"type":"integer","maximum":20000.0,"minimum":100.0,"title":"Max Total Transfer Kb"},"max_interaction_latency_ms":{"type":"integer","maximum":5000.0,"minimum":50.0,"title":"Max Interaction Latency Ms"},"max_cpu_slowdown":{"type":"number","maximum":8.0,"minimum":1.0,"title":"Max Cpu Slowdown"},"reduced_data_required":{"type":"boolean","title":"Reduced Data Required","default":true},"state":{"type":"string","enum":["ACTIVE","RETIRED"],"title":"State","default":"ACTIVE"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os19_reach__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["budget_id","version","device_class","max_initial_js_kb","max_total_transfer_kb","max_interaction_latency_ms","max_cpu_slowdown","actor_id","evidence_refs"],"title":"DeviceBudgetCommand"},"DigestBody":{"properties":{"enabled":{"type":"boolean","title":"Enabled"}},"type":"object","required":["enabled"],"title":"DigestBody"},"DimensionSourceView":{"properties":{"source_record_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Record Id"},"name":{"type":"string","title":"Name"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"read_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Read At"},"state_when_made":{"type":"string","enum":["CURRENT","STALE","RECALLED","UNKNOWN"],"title":"State When Made","default":"CURRENT"},"state_now":{"type":"string","enum":["CURRENT","STALE","RECALLED","UNKNOWN"],"title":"State Now","default":"CURRENT"},"feeds":{"items":{"$ref":"#/components/schemas/SourceFeedView"},"type":"array","title":"Feeds","default":[]}},"additionalProperties":false,"type":"object","required":["name"],"title":"DimensionSourceView"},"DimensionSourcesView":{"properties":{"key":{"type":"string","enum":["duration","cost","gates","opens","closes"],"title":"Key"},"title":{"type":"string","title":"Title"},"shown":{"type":"boolean","title":"Shown"},"sources":{"items":{"$ref":"#/components/schemas/DimensionSourceView"},"type":"array","title":"Sources","default":[]},"routes_without_source":{"items":{"$ref":"#/components/schemas/UnsourcedRouteView"},"type":"array","title":"Routes Without Source","default":[]}},"additionalProperties":false,"type":"object","required":["key","title","shown"],"title":"DimensionSourcesView"},"DismissInterventionCommand":{"properties":{"decision_id":{"type":"string","format":"uuid","title":"Decision Id"},"recipient_id":{"type":"string","maxLength":128,"minLength":1,"title":"Recipient Id"},"reason":{"type":"string","maxLength":500,"minLength":1,"title":"Reason"},"suppress_family_seconds":{"type":"integer","maximum":7776000.0,"minimum":0.0,"title":"Suppress Family Seconds","default":604800},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"}},"additionalProperties":false,"type":"object","required":["decision_id","recipient_id","reason","actor_id"],"title":"DismissInterventionCommand"},"DismissRecommendationCommand":{"properties":{"home_decision_ref":{"type":"string","maxLength":96,"minLength":8,"title":"Home Decision Ref"},"object_id":{"type":"string","maxLength":200,"minLength":3,"title":"Object Id"},"idempotency_key":{"type":"string","maxLength":200,"minLength":8,"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["home_decision_ref","object_id","idempotency_key"],"title":"DismissRecommendationCommand"},"DismissReq":{"properties":{"log_id":{"type":"integer","title":"Log Id"},"student_id":{"type":"string","title":"Student Id"}},"type":"object","required":["log_id","student_id"],"title":"DismissReq"},"DisputeBody":{"properties":{"reason_code":{"type":"string","title":"Reason Code"},"note":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Note"},"request_id":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Request Id"}},"type":"object","required":["reason_code"],"title":"DisputeBody"},"DocumentStateCommand":{"properties":{"document_id":{"type":"string","format":"uuid","title":"Document Id"},"target_state":{"type":"string","enum":["WITHDRAWN","STALE","RECALLED"],"title":"Target State"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"reason_codes":{"items":{"type":"string"},"type":"array","maxItems":32,"minItems":1,"title":"Reason Codes"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os14_universal_index__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["document_id","target_state","actor_id","reason_codes","evidence_refs"],"title":"DocumentStateCommand"},"DocumentView":{"properties":{"document_id":{"type":"string","format":"uuid","title":"Document Id"},"document_type":{"type":"string","title":"Document Type"},"authority_requirement_refs":{"items":{"type":"string"},"type":"array","title":"Authority Requirement Refs","default":[]},"content_digest":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Digest"},"issuer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Issuer"},"authority_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authority Label"},"entry_kind":{"type":"string","enum":["FILE","LISTED_ONLY"],"title":"Entry Kind","default":"FILE"},"issued_at":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Issued At"},"expires_at":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Expires At"},"scan_state":{"type":"string","enum":["PENDING","CLEAN","FAILED","UNREADABLE","NOT_APPLICABLE"],"title":"Scan State"},"state":{"type":"string","enum":["PRESENT","EXPIRING","EXPIRED","REPLACED","DELETED"],"title":"State"},"usable":{"type":"boolean","title":"Usable"},"unusable_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unusable Reason"},"expiry_state":{"type":"string","enum":["PRESENT","EXPIRING","EXPIRED","REPLACED","DELETED"],"title":"Expiry State","default":"PRESENT"},"days_to_expiry":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Days To Expiry"},"asked_for":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Asked For"}},"additionalProperties":false,"type":"object","required":["document_id","document_type","scan_state","state","usable"],"title":"DocumentView","description":"A document as anyone is allowed to see it. No pointer, no content.\n\n`usable` is the only judgement here and it is a narrow one: whether this\ndocument may be relied on at all. It is False for a pending scan, because a\ndocument nobody has checked is not a document a family should count on."},"DomainNew":{"properties":{"name":{"type":"string","maxLength":120,"minLength":3,"title":"Name"},"serves":{"type":"string","maxLength":200,"title":"Serves","default":""},"registrar":{"type":"string","maxLength":120,"title":"Registrar","default":""},"dns_host":{"type":"string","maxLength":120,"title":"Dns Host","default":""},"renewal_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Renewal Date"},"auto_renew":{"type":"string","pattern":"^(yes|no|unknown)$","title":"Auto Renew","default":"unknown"}},"type":"object","required":["name"],"title":"DomainNew"},"DomainPatch":{"properties":{"serves":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Serves"},"registrar":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Registrar"},"dns_host":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Dns Host"},"renewal_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Renewal Date"},"clear_renewal":{"type":"boolean","title":"Clear Renewal","default":false},"auto_renew":{"anyOf":[{"type":"string","pattern":"^(yes|no|unknown)$"},{"type":"null"}],"title":"Auto Renew"},"version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Version"}},"type":"object","title":"DomainPatch"},"DoorCheckoutBody":{"properties":{"student_id":{"type":"string","minLength":1,"title":"Student Id"},"sku_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sku Id"},"entry_mode":{"type":"string","title":"Entry Mode","default":"sku_door_checkout"},"source_route":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Route"},"return_to":{"type":"string","title":"Return To","default":"/store"},"active_scope":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Active Scope"},"origin_lock_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Origin Lock Id"},"idempotency_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency Key"}},"type":"object","required":["student_id"],"title":"DoorCheckoutBody"},"DoorStartingPoint":{"properties":{"ref_type":{"type":"string","enum":["SEAT_DECISION","NO_SEAT_RECEIPT"],"title":"Ref Type"},"ref_id":{"type":"string","format":"uuid","title":"Ref Id"},"state":{"type":"string","title":"State"},"label":{"type":"string","title":"Label"},"outcome":{"type":"string","title":"Outcome"},"suggested_trigger":{"type":"string","enum":["NO_SEAT","UNACCEPTABLE_SEAT","LEARNER_REQUEST"],"title":"Suggested Trigger"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"}},"additionalProperties":false,"type":"object","required":["ref_type","ref_id","state","label","outcome","suggested_trigger"],"title":"DoorStartingPoint","description":"One of the learner's own AcesPredict seat checks, as the Recovery Planner\nlists it. `suggested_trigger` is the reason the planner would pre-select\n(NO_SEAT, UNACCEPTABLE_SEAT or LEARNER_REQUEST); the learner can change it."},"DoorState":{"properties":{"key":{"type":"string","title":"Key"},"definition_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Definition Ref"},"path":{"type":"string","title":"Path"},"title":{"type":"string","title":"Title"},"available":{"type":"boolean","title":"Available"},"unavailable_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unavailable Reason"}},"additionalProperties":false,"type":"object","required":["key","path","title","available"],"title":"DoorState"},"DppBlockAnswerBody":{"properties":{"session_id":{"type":"string","maxLength":64,"minLength":1,"title":"Session Id"},"student_id":{"type":"string","maxLength":64,"minLength":1,"title":"Student Id"},"question_id":{"type":"string","maxLength":64,"minLength":1,"title":"Question Id"},"student_answer":{"type":"string","maxLength":4096,"title":"Student Answer"},"time_taken_ms":{"anyOf":[{"type":"integer","maximum":43200000.0,"minimum":0.0},{"type":"null"}],"title":"Time Taken Ms"}},"type":"object","required":["session_id","student_id","question_id","student_answer"],"title":"DppBlockAnswerBody"},"DppBlockCompleteBody":{"properties":{"session_id":{"type":"string","maxLength":64,"minLength":1,"title":"Session Id"},"student_id":{"type":"string","maxLength":64,"minLength":1,"title":"Student Id"}},"type":"object","required":["session_id","student_id"],"title":"DppBlockCompleteBody"},"DppBlockProvenanceRecheckBody":{"properties":{"student_id":{"type":"string","maxLength":64,"minLength":1,"title":"Student Id"}},"type":"object","required":["student_id"],"title":"DppBlockProvenanceRecheckBody","description":"Re-evaluate the immutable question allocation for an existing session.\n\nThis deliberately does not select another paper.  A caller that needs to\nestablish provenance after an allocation must re-check the exact question\nset which was persisted for that session, otherwise a random picker can\nsilently turn a narrow evidence run into a broader backfill."},"DppBlockStartBody":{"properties":{"student_id":{"type":"string","maxLength":64,"minLength":1,"title":"Student Id"},"plan_block_id":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Plan Block Id"},"topic_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Topic Id"},"n_questions":{"anyOf":[{"type":"integer","maximum":50.0,"minimum":1.0},{"type":"null"}],"title":"N Questions"}},"type":"object","required":["student_id"],"title":"DppBlockStartBody"},"DppContinuityPreference":{"properties":{"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version"},"expected_save_version":{"type":"integer","minimum":0.0,"title":"Expected Save Version"},"state":{"type":"string","enum":["CURRENT","REVOKED"],"title":"State"},"device_scope":{"type":"string","enum":["ACCOUNT","DEVICE"],"title":"Device Scope","default":"ACCOUNT"}},"additionalProperties":false,"type":"object","required":["expected_version","expected_save_version","state"],"title":"DppContinuityPreference"},"DppFixConcept":{"properties":{"concept":{"type":"string","maxLength":140,"minLength":1,"title":"Concept"},"subject":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Subject"},"error_type":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Error Type"},"route_screen":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Route Screen"},"route_label":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Route Label"},"misses":{"type":"integer","maximum":50.0,"minimum":1.0,"title":"Misses","default":1}},"type":"object","required":["concept"],"title":"DppFixConcept"},"DppFixPlanBody":{"properties":{"student_id":{"type":"string","maxLength":64,"minLength":1,"title":"Student Id"},"session_id":{"type":"string","maxLength":96,"minLength":1,"title":"Session Id"},"subject":{"type":"string","maxLength":32,"minLength":1,"title":"Subject","default":"Physics"},"concepts":{"items":{"$ref":"#/components/schemas/DppFixConcept"},"type":"array","maxItems":12,"minItems":1,"title":"Concepts"}},"type":"object","required":["student_id","session_id","concepts"],"title":"DppFixPlanBody"},"DraftBody":{"properties":{"title":{"type":"string","maxLength":120,"minLength":3,"title":"Title"},"purpose":{"type":"string","pattern":"^(service|product_update|marketing)$","title":"Purpose","default":"service"},"channel":{"type":"string","pattern":"^(email|in_app|push)$","title":"Channel"},"subject":{"type":"string","maxLength":150,"title":"Subject","default":""},"body_text":{"type":"string","maxLength":5000,"minLength":5,"title":"Body Text"},"audience":{"$ref":"#/components/schemas/Audience"}},"type":"object","required":["title","channel","body_text","audience"],"title":"DraftBody"},"DrillAnswerRequest":{"properties":{"item_ref":{"type":"string","maxLength":200,"minLength":1,"title":"Item Ref"},"item_version":{"type":"integer","minimum":1.0,"title":"Item Version"},"answer":{"type":"string","maxLength":4000,"minLength":1,"title":"Answer"},"response_time_ms":{"type":"integer","maximum":3600000.0,"minimum":0.0,"title":"Response Time Ms","default":0},"confidence":{"anyOf":[{"type":"string","enum":["GUESS","UNSURE","SURE","FAIRLY_SURE","CERTAIN"]},{"type":"null"}],"title":"Confidence"},"client_event_id":{"type":"string","maxLength":200,"minLength":8,"title":"Client Event Id"},"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"offline_replayed":{"type":"boolean","title":"Offline Replayed","default":false},"pending_sync_count":{"type":"integer","minimum":0.0,"title":"Pending Sync Count","default":0},"student_id":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Student Id"}},"additionalProperties":false,"type":"object","required":["item_ref","item_version","answer","client_event_id","expected_version"],"title":"DrillAnswerRequest"},"DrillCompleteRequest":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"pending_sync_count":{"type":"integer","minimum":0.0,"title":"Pending Sync Count","default":0},"student_id":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Student Id"}},"additionalProperties":false,"type":"object","required":["expected_version"],"title":"DrillCompleteRequest"},"DrillCorrectionRequest":{"properties":{"correction_type":{"type":"string","enum":["SOURCE_RECALL","GRAPH_REMAP","ACCESS_REVOKED","REASSESSMENT_REVOKED","POLICY_CHANGE"],"title":"Correction Type"},"reason":{"type":"string","maxLength":500,"minLength":8,"title":"Reason"},"source_receipt_ref":{"type":"string","maxLength":300,"minLength":4,"title":"Source Receipt Ref"},"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"}},"additionalProperties":false,"type":"object","required":["correction_type","reason","source_receipt_ref","expected_version"],"title":"DrillCorrectionRequest"},"DrillCreateRequest":{"properties":{"subject":{"type":"string","maxLength":80,"minLength":2,"title":"Subject"},"chapter":{"type":"string","maxLength":180,"minLength":1,"title":"Chapter"},"topic":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"Topic"},"concept_ref":{"anyOf":[{"type":"string","maxLength":180,"minLength":1},{"type":"null"}],"title":"Concept Ref"},"chapter_wide":{"type":"boolean","title":"Chapter Wide","default":false},"mode":{"allOf":[{"$ref":"#/components/schemas/DrillMode"}],"default":"STANDARD"},"requested_count":{"type":"integer","maximum":20.0,"minimum":3.0,"title":"Requested Count","default":8},"repair_episode_ref":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Repair Episode Ref"},"replay_request_id":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Replay Request Id"},"product_thread_ref":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Product Thread Ref"},"return_contract_ref":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Return Contract Ref"},"entry_mode":{"type":"string","maxLength":120,"minLength":1,"title":"Entry Mode","default":"chapter_catalogue"},"notebook_return_receipt_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Notebook Return Receipt Id"},"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version","default":0},"student_id":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Student Id"},"os01_concept_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Os01 Concept Id"},"product_context_receipt_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Product Context Receipt Id"},"product_context_hash":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}],"title":"Product Context Hash"}},"additionalProperties":false,"type":"object","required":["subject","chapter"],"title":"DrillCreateRequest"},"DrillMode":{"type":"string","enum":["STANDARD","SHARPEN","TIME_PRESSURE","VARIANT","REPAIR"],"title":"DrillMode"},"DrillReassessmentRequest":{"properties":{"source_receipt_ref":{"type":"string","maxLength":300,"minLength":4,"title":"Source Receipt Ref"},"state":{"type":"string","enum":["ELIGIBLE","INELIGIBLE","REVOKED"],"title":"State"},"evidence_refs":{"items":{"type":"string"},"type":"array","minItems":1,"title":"Evidence Refs"},"exact_return_ref":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Exact Return Ref"},"reason_codes":{"items":{"type":"string"},"type":"array","minItems":1,"title":"Reason Codes"},"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"}},"additionalProperties":false,"type":"object","required":["source_receipt_ref","state","evidence_refs","reason_codes","expected_version"],"title":"DrillReassessmentRequest"},"DropBody":{"properties":{"reason":{"type":"string","maxLength":300,"title":"Reason","default":""}},"type":"object","title":"DropBody"},"DualComparisonReviewCommand":{"properties":{"resolution":{"type":"string","enum":["EXPECTED_DIFFERENCE","INCIDENT_CONFIRMED","FALSE_POSITIVE"],"title":"Resolution"},"rationale":{"type":"string","maxLength":2000,"minLength":8,"title":"Rationale"},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["resolution","rationale"],"title":"DualComparisonReviewCommand"},"DualSafetyResolutionCommand":{"properties":{"rationale":{"type":"string","maxLength":2000,"minLength":8,"title":"Rationale"},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["rationale"],"title":"DualSafetyResolutionCommand","description":"Explicit human release after an OS17 dual-run circuit opens."},"DuplicateAuthorityFinding":{"properties":{"ref_type":{"type":"string","enum":["PREFERENCE_PASSPORT_VERSION","DECISION_THREAD","RANK_DECISION","COLLEGE_DECISION","SEAT_DECISION","CHOICE_LIST_DECISION","ROUND_ACTION_DECISION","ADMISSION_COST_DECISION","PATHWAY_CONTEXT","PATHWAY_DECISION","PATHWAY_FRONTIER_DECISION","PATHWAY_PLAN","OUTCOME_EVIDENCE","REVIEW_CASE","REVIEW_DECISION","PATHWAY_PRODUCT_RECEIPT","PREDNEXT_PRODUCT_RECEIPT","CORRECTION_RECEIPT"],"title":"Ref Type"},"ref_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Ref Ids"},"authorities":{"items":{"type":"string","enum":["DUIMP","PREDIMP","PREDNEXT","PATHIMP","PATHDATA","DATAIMP"]},"type":"array","title":"Authorities"},"reason_code":{"type":"string","title":"Reason Code"}},"additionalProperties":false,"type":"object","required":["ref_type","ref_ids","authorities","reason_code"],"title":"DuplicateAuthorityFinding"},"EcosystemKey":{"type":"string","enum":["CLAT","NIFT","UCEED","NCHMCT"],"title":"EcosystemKey"},"EdgeVersionRequest":{"properties":{"edge_type":{"type":"string","enum":["REQUIRES","LEADS_TO","TEACHES","AWARDS","OFFERED_BY","EQUIVALENT_TO","PROGRESSES_TO","QUALIFIES_FOR","TRANSITIONS_TO","CONTEXTUALISES","MAPS_TO","ALIGNS_TO","MEMBER_OF","ALLOWS_ENTRY_TO","ALTERNATIVE_TO","BRIDGES_TO","REQUIRES_CAPABILITY","PERFORMS_TASK"],"title":"Edge Type"},"subject_entity_id":{"type":"string","format":"uuid","title":"Subject Entity Id"},"object_entity_id":{"type":"string","format":"uuid","title":"Object Entity Id"},"stable_key":{"type":"string","pattern":"^[a-z0-9][a-z0-9:._/-]{2,299}$","title":"Stable Key"},"attributes":{"type":"object","title":"Attributes"},"source_refs":{"items":{"$ref":"#/components/schemas/SourceReferenceInput"},"type":"array","minItems":1,"title":"Source Refs"},"predecessor_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Predecessor Version Id"}},"additionalProperties":false,"type":"object","required":["edge_type","subject_entity_id","object_entity_id","stable_key","source_refs"],"title":"EdgeVersionRequest"},"EditBody":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":120,"minLength":3},{"type":"null"}],"title":"Title"},"purpose":{"anyOf":[{"type":"string","pattern":"^(service|product_update|marketing)$"},{"type":"null"}],"title":"Purpose"},"subject":{"anyOf":[{"type":"string","maxLength":150},{"type":"null"}],"title":"Subject"},"body_text":{"anyOf":[{"type":"string","maxLength":5000,"minLength":5},{"type":"null"}],"title":"Body Text"}},"type":"object","title":"EditBody"},"EligibilityDecisionReceiptResponse":{"properties":{"decision_id":{"type":"string","format":"uuid","title":"Decision Id"},"rule_id":{"type":"string","title":"Rule Id"},"rule_version":{"type":"string","title":"Rule Version"},"outcome":{"type":"string","title":"Outcome"},"reason_plain":{"type":"string","title":"Reason Plain"},"authority_ref":{"type":"string","title":"Authority Ref"},"recheck_path":{"type":"string","title":"Recheck Path"},"decided_at":{"type":"string","format":"date-time","title":"Decided At"}},"type":"object","required":["decision_id","rule_id","rule_version","outcome","reason_plain","authority_ref","recheck_path","decided_at"],"title":"EligibilityDecisionReceiptResponse"},"EligibilityDecisionRequest":{"properties":{"context_id":{"type":"string","format":"uuid","title":"Context Id"},"target_entity_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":100,"minItems":1,"title":"Target Entity Ids"}},"additionalProperties":false,"type":"object","required":["context_id","target_entity_ids"],"title":"EligibilityDecisionRequest"},"EligibilityDecisionResponse":{"properties":{"route_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Route Id"},"gates":{"items":{"$ref":"#/components/schemas/GateRow"},"type":"array","title":"Gates"},"handoff_allowed":{"type":"boolean","title":"Handoff Allowed"},"recorded":{"type":"boolean","title":"Recorded"},"decision_id":{"type":"string","format":"uuid","title":"Decision Id"},"rule_version":{"type":"string","title":"Rule Version"},"decided_at":{"type":"string","format":"date-time","title":"Decided At"}},"type":"object","required":["gates","handoff_allowed","recorded","decision_id","rule_version","decided_at"],"title":"EligibilityDecisionResponse"},"EligibilityResponse":{"properties":{"route_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Route Id"},"gates":{"items":{"$ref":"#/components/schemas/GateRow"},"type":"array","title":"Gates"},"handoff_allowed":{"type":"boolean","title":"Handoff Allowed"}},"type":"object","required":["gates","handoff_allowed"],"title":"EligibilityResponse"},"EmailLoginRequest":{"properties":{"email":{"type":"string","title":"Email"},"password":{"type":"string","title":"Password"},"device_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Id"}},"type":"object","required":["email","password"],"title":"EmailLoginRequest"},"EnabledBody":{"properties":{"reason":{"type":"string","maxLength":500,"minLength":3,"title":"Reason"},"enabled":{"type":"boolean","title":"Enabled"},"expected_version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expected Version"}},"type":"object","required":["reason","enabled"],"title":"EnabledBody"},"EncodeActionRequest":{"properties":{"native_action_code":{"type":"string","maxLength":80,"minLength":1,"title":"Native Action Code"},"native_action_label":{"type":"string","minLength":1,"title":"Native Action Label"},"semantic_class":{"type":"string","enum":["ACCEPT_FINAL","ACCEPT_AND_UPGRADE","ACCEPT_AND_BRANCH_UPGRADE","DECLINE","WITHDRAW","WAIT","PARTICIPATE","UNKNOWN"],"title":"Semantic Class"},"retains_current_offer":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Retains Current Offer"},"preserves_future_rounds":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Preserves Future Rounds"},"irreversible":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Irreversible"},"rule_clause_ref":{"type":"string","minLength":1,"title":"Rule Clause Ref"},"availability_condition":{"type":"string","enum":["ALWAYS","ONLY_IF_ALLOTMENT_NOT_FIRST_CHOICE","ONLY_IF_ALLOTMENT_IS_FIRST_CHOICE"],"title":"Availability Condition","default":"ALWAYS"},"seat_system_scope":{"type":"string","enum":["ANY","IIT_IISC","NIT_PLUS"],"title":"Seat System Scope","default":"ANY"},"financial_exposure_minor":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Financial Exposure Minor"},"financial_exposure_currency":{"anyOf":[{"type":"string","pattern":"^[A-Z]{3}$"},{"type":"null"}],"title":"Financial Exposure Currency"}},"additionalProperties":false,"type":"object","required":["native_action_code","native_action_label","semantic_class","rule_clause_ref"],"title":"EncodeActionRequest"},"EncodeReleaseRequest":{"properties":{"authority":{"type":"string","maxLength":120,"minLength":1,"title":"Authority"},"round_id":{"type":"string","maxLength":120,"minLength":1,"title":"Round Id"},"authority_rule_version":{"type":"string","maxLength":120,"minLength":1,"title":"Authority Rule Version"},"rule_release_ref":{"type":"string","maxLength":300,"minLength":1,"title":"Rule Release Ref"},"rule_release_digest":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Rule Release Digest"},"source_snapshot_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Source Snapshot Id"},"effective_from":{"type":"string","format":"date-time","title":"Effective From"},"effective_to":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Effective To"},"is_synthetic":{"type":"boolean","title":"Is Synthetic","default":false}},"additionalProperties":false,"type":"object","required":["authority","round_id","authority_rule_version","rule_release_ref","rule_release_digest","effective_from"],"title":"EncodeReleaseRequest"},"EndBody":{"properties":{"reason":{"type":"string","maxLength":300,"minLength":5,"title":"Reason"}},"type":"object","required":["reason"],"title":"EndBody"},"EngineDispatchRequest":{"properties":{"engine_id":{"type":"string","maxLength":40,"minLength":3,"title":"Engine Id"},"payload":{"type":"object","title":"Payload"},"timeout_budget_ms":{"type":"integer","title":"Timeout Budget Ms","default":3000},"accept_mock":{"type":"boolean","title":"Accept Mock","default":false}},"type":"object","required":["engine_id"],"title":"EngineDispatchRequest"},"EngineDispatchResponse":{"properties":{"result":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Result"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},"type":"object","title":"EngineDispatchResponse"},"EnqueueRequest":{"properties":{"grading_job_id":{"type":"string","title":"Grading Job Id"},"student_id":{"type":"string","title":"Student Id"},"subject":{"type":"string","title":"Subject"},"topic":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Topic"},"ai_confidence":{"type":"number","title":"Ai Confidence"},"ai_grade":{"type":"object","title":"Ai Grade"},"answer_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Answer Url"},"extracted_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Extracted Text"},"tier":{"type":"string","title":"Tier","default":"ACE"}},"type":"object","required":["grading_job_id","student_id","subject","ai_confidence","ai_grade"],"title":"EnqueueRequest"},"EnrolBody":{"properties":{"student_id":{"type":"string","maxLength":64,"minLength":1,"title":"Student Id"},"roster_source":{"type":"string","maxLength":160,"minLength":1,"title":"Roster Source"},"consent_ref":{"type":"string","maxLength":160,"minLength":1,"title":"Consent Ref"}},"type":"object","required":["student_id","roster_source","consent_ref"],"title":"EnrolBody"},"EnrollBody":{"properties":{"type":{"type":"string","title":"Type","description":"burst_kit | booster_30d | custom"},"start_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date","description":"defaults to today"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"custom_day_targets":{"anyOf":[{"items":{"type":"object"},"type":"array"},{"type":"null"}],"title":"Custom Day Targets"},"color_hex":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Color Hex"}},"type":"object","required":["type"],"title":"EnrollBody"},"EnsureAdaptiveDecisionRequest":{"properties":{"validity_seconds":{"type":"integer","maximum":900.0,"minimum":60.0,"title":"Validity Seconds","default":300},"entry_mode":{"type":"string","enum":["home","today","resume","return","onboarding"],"title":"Entry Mode","default":"home"}},"additionalProperties":false,"type":"object","title":"EnsureAdaptiveDecisionRequest"},"EntitlementGrantCommand":{"properties":{"entitlement_id":{"type":"string","format":"uuid","title":"Entitlement Id"},"student_id":{"type":"string","maxLength":128,"minLength":1,"title":"Student Id"},"sku_id":{"type":"string","maxLength":128,"minLength":3,"title":"Sku Id"},"grant":{"$ref":"#/components/schemas/EntitlementGrantSpec"},"source_purchase_id":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Source Purchase Id"},"starts_at":{"type":"string","format":"date-time","title":"Starts At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os09_commerce__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["student_id","sku_id","grant","actor_id","evidence_refs"],"title":"EntitlementGrantCommand"},"EntitlementGrantSpec":{"properties":{"kind":{"type":"string","enum":["tier","feature","quota","bundle","service"],"title":"Kind"},"key":{"type":"string","maxLength":160,"minLength":3,"title":"Key"},"quantity":{"type":"integer","maximum":1000000.0,"minimum":0.0,"title":"Quantity","default":1},"unlimited":{"type":"boolean","title":"Unlimited","default":false},"duration_days":{"anyOf":[{"type":"integer","maximum":3650.0,"minimum":1.0},{"type":"null"}],"title":"Duration Days"},"feature_key":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Feature Key"}},"additionalProperties":false,"type":"object","required":["kind","key"],"title":"EntitlementGrantSpec"},"EntitlementRevokeCommand":{"properties":{"entitlement_id":{"type":"string","format":"uuid","title":"Entitlement Id"},"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"reason_codes":{"items":{"type":"string"},"type":"array","maxItems":16,"minItems":1,"title":"Reason Codes"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os09_commerce__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["entitlement_id","expected_version","actor_id","reason_codes","evidence_refs"],"title":"EntitlementRevokeCommand"},"EntityBody":{"properties":{"data":{"type":"object","title":"Data"}},"additionalProperties":false,"type":"object","required":["data"],"title":"EntityBody"},"EntityDetailResponse":{"properties":{"availability":{"$ref":"#/components/schemas/Availability"},"publication_state":{"$ref":"#/components/schemas/PublicationState"},"coverage":{"$ref":"#/components/schemas/CoverageDisclosure"},"source_disclosure":{"items":{"$ref":"#/components/schemas/SourceDisclosure"},"type":"array","title":"Source Disclosure"},"limitations":{"items":{"type":"string"},"type":"array","title":"Limitations"},"authority_boundary":{"$ref":"#/components/schemas/AuthorityBoundary"},"item":{"anyOf":[{"$ref":"#/components/schemas/AdmissionEntity"},{"type":"null"}]},"related_entities":{"items":{"$ref":"#/components/schemas/AdmissionEntity"},"type":"array","title":"Related Entities"},"relationships":{"items":{"$ref":"#/components/schemas/GraphEdge"},"type":"array","title":"Relationships"}},"additionalProperties":false,"type":"object","required":["availability","publication_state","coverage"],"title":"EntityDetailResponse"},"EntityLabel":{"properties":{"entity_id":{"type":"string","format":"uuid","title":"Entity Id"},"entity_type":{"type":"string","title":"Entity Type"},"label":{"type":"string","title":"Label"}},"additionalProperties":false,"type":"object","required":["entity_id","entity_type","label"],"title":"EntityLabel"},"EntityLabelList":{"properties":{"labels":{"items":{"$ref":"#/components/schemas/EntityLabel"},"type":"array","title":"Labels"}},"additionalProperties":false,"type":"object","required":["labels"],"title":"EntityLabelList"},"EntityListResponse":{"properties":{"availability":{"$ref":"#/components/schemas/Availability"},"publication_state":{"$ref":"#/components/schemas/PublicationState"},"coverage":{"$ref":"#/components/schemas/CoverageDisclosure"},"source_disclosure":{"items":{"$ref":"#/components/schemas/SourceDisclosure"},"type":"array","title":"Source Disclosure"},"limitations":{"items":{"type":"string"},"type":"array","title":"Limitations"},"authority_boundary":{"$ref":"#/components/schemas/AuthorityBoundary"},"items":{"items":{"$ref":"#/components/schemas/AdmissionEntity"},"type":"array","title":"Items"},"page":{"$ref":"#/components/schemas/PageInfo"}},"additionalProperties":false,"type":"object","required":["availability","publication_state","coverage","page"],"title":"EntityListResponse"},"EntityProjection":{"properties":{"entity_id":{"type":"string","format":"uuid","title":"Entity Id"},"entity_version_id":{"type":"string","format":"uuid","title":"Entity Version Id"},"entity_type":{"type":"string","enum":["DEGREE","CREDENTIAL","PROGRAMME","SKILL","OCCUPATION","INSTITUTION","APPRENTICESHIP","VOCATIONAL_ROUTE","PROFESSIONAL_ROUTE","CAREER_FAMILY","OCCUPATIONAL_CLASSIFICATION_NODE","JOB_ROLE","QUALIFICATION_PACK","PROFESSION","REGULATORY_CLASS","EDUCATION_STAGE","SUBJECT_COMBINATION","CAPABILITY","TASK","TOOL"],"title":"Entity Type"},"stable_key":{"type":"string","title":"Stable Key"},"version_no":{"type":"integer","minimum":1.0,"title":"Version No"},"publication_state":{"type":"string","enum":["DRAFT","HELD","PUBLISHED","RECALLED"],"title":"Publication State"},"canonical_label":{"type":"string","title":"Canonical Label"},"aliases":{"items":{"type":"string"},"type":"array","title":"Aliases","default":[]},"attributes":{"type":"object","title":"Attributes"},"source_refs":{"items":{"type":"object"},"type":"array","title":"Source Refs"},"content_digest":{"type":"string","title":"Content Digest"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"additionalProperties":false,"type":"object","required":["entity_id","entity_version_id","entity_type","stable_key","version_no","publication_state","canonical_label","attributes","source_refs","content_digest","created_at"],"title":"EntityProjection"},"EntityRef":{"properties":{"entity_type":{"type":"string","maxLength":80,"minLength":2,"pattern":"^[a-z][a-z0-9_.-]*$","title":"Entity Type"},"entity_id":{"type":"string","maxLength":256,"minLength":1,"title":"Entity Id"}},"additionalProperties":false,"type":"object","required":["entity_type","entity_id"],"title":"EntityRef"},"EntityScope":{"properties":{"all_entities":{"type":"boolean","title":"All Entities","default":false},"entity_types":{"items":{"type":"string"},"type":"array","maxItems":100,"title":"Entity Types"},"entity_refs":{"items":{"$ref":"#/components/schemas/EntityRef"},"type":"array","maxItems":500,"title":"Entity Refs"}},"additionalProperties":false,"type":"object","title":"EntityScope"},"EntityVersionRequest":{"properties":{"entity_type":{"type":"string","enum":["DEGREE","CREDENTIAL","PROGRAMME","SKILL","OCCUPATION","INSTITUTION","APPRENTICESHIP","VOCATIONAL_ROUTE","PROFESSIONAL_ROUTE","CAREER_FAMILY","OCCUPATIONAL_CLASSIFICATION_NODE","JOB_ROLE","QUALIFICATION_PACK","PROFESSION","REGULATORY_CLASS","EDUCATION_STAGE","SUBJECT_COMBINATION","CAPABILITY","TASK","TOOL"],"title":"Entity Type"},"stable_key":{"type":"string","pattern":"^[a-z0-9][a-z0-9:._/-]{2,299}$","title":"Stable Key"},"canonical_label":{"type":"string","maxLength":240,"minLength":2,"title":"Canonical Label"},"aliases":{"items":{"type":"string"},"type":"array","title":"Aliases","default":[]},"attributes":{"type":"object","title":"Attributes"},"source_refs":{"items":{"$ref":"#/components/schemas/SourceReferenceInput"},"type":"array","minItems":1,"title":"Source Refs"},"predecessor_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Predecessor Version Id"}},"additionalProperties":false,"type":"object","required":["entity_type","stable_key","canonical_label","source_refs"],"title":"EntityVersionRequest"},"EntryIntent":{"properties":{"stage":{"anyOf":[{"type":"string","enum":["CLASS_10","CLASS_11_12","AFTER_CLASS_12","IN_DEGREE","REPEATING_A_YEAR","NOT_SURE"]},{"type":"null"}],"title":"Stage"},"exam":{"anyOf":[{"type":"string","maxLength":40,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9 &/().+-]*$"},{"type":"null"}],"title":"Exam"},"clicked":{"anyOf":[{"type":"string","maxLength":300,"minLength":1},{"type":"null"}],"title":"Clicked"}},"additionalProperties":false,"type":"object","title":"EntryIntent","description":"What the learner told us, or clicked, to get here. All optional."},"EntryNew":{"properties":{"month":{"type":"string","title":"Month"},"kind":{"type":"string","pattern":"^(provider|chat)$","title":"Kind"},"account_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Account Id"},"chat_or_model_name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Chat Or Model Name"},"platform":{"type":"string","pattern":"^(aspireace|trututor|shared)$","title":"Platform","default":"shared"},"amount_minor":{"type":"integer","maximum":10000000000000.0,"minimum":0.0,"title":"Amount Minor"},"currency":{"type":"string","pattern":"^(INR|USD)$","title":"Currency"},"tokens":{"anyOf":[{"type":"integer","maximum":10000000000000.0,"minimum":0.0},{"type":"null"}],"title":"Tokens"},"note":{"type":"string","maxLength":400,"title":"Note","default":""}},"type":"object","required":["month","kind","amount_minor","currency"],"title":"EntryNew"},"EntryPatch":{"properties":{"amount_minor":{"anyOf":[{"type":"integer","maximum":10000000000000.0,"minimum":0.0},{"type":"null"}],"title":"Amount Minor"},"currency":{"anyOf":[{"type":"string","pattern":"^(INR|USD)$"},{"type":"null"}],"title":"Currency"},"tokens":{"anyOf":[{"type":"integer","maximum":10000000000000.0,"minimum":0.0},{"type":"null"}],"title":"Tokens"},"note":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}],"title":"Note"},"void":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Void"},"version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Version"}},"type":"object","title":"EntryPatch"},"EntryPermittedAction":{"properties":{"native_action_code":{"type":"string","title":"Native Action Code"},"native_action_label":{"type":"string","title":"Native Action Label"},"semantic_class":{"type":"string","title":"Semantic Class"},"retains_current_offer":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Retains Current Offer"},"preserves_future_rounds":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Preserves Future Rounds"},"irreversible":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Irreversible"},"rule_clause_ref":{"type":"string","title":"Rule Clause Ref"},"financial_exposure_minor":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Financial Exposure Minor"},"financial_exposure_currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Financial Exposure Currency"}},"additionalProperties":false,"type":"object","required":["native_action_code","native_action_label","semantic_class","retains_current_offer","preserves_future_rounds","irreversible","rule_clause_ref"],"title":"EntryPermittedAction"},"EntryResolution":{"properties":{"resolution_id":{"type":"string","format":"uuid","title":"Resolution Id"},"definition_ref":{"type":"string","title":"Definition Ref"},"instance_ref":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Instance Ref"},"actor_ref":{"type":"string","title":"Actor Ref"},"tenant_ref":{"type":"string","title":"Tenant Ref"},"beneficiary_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Beneficiary Ref"},"audience":{"type":"string","enum":["LEARNER","PARENT","COUNSELLOR","INSTITUTION","OTHER"],"title":"Audience"},"canonical_path":{"type":"string","title":"Canonical Path"},"contract_version":{"type":"string","title":"Contract Version","default":"P49-1"},"source_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Version"},"context_digest":{"type":"string","title":"Context Digest"},"state":{"type":"string","enum":["RESOLVED","NEEDS_AUTH","NEEDS_INPUT","DENIED","STALE","REVOKED","NOT_AVAILABLE"],"title":"State"},"reason_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason Code"},"return_nonce":{"type":"string","title":"Return Nonce"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"revocation_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Revocation Ref"},"graph_state":{"type":"string","enum":["NO_PUBLISHED_RELEASE","NO_PUBLISHED_ROUTES","ROUTES_PUBLISHED"],"title":"Graph State"},"next_step":{"anyOf":[{"$ref":"#/components/schemas/NextStep"},{"type":"null"}]},"alternatives":{"items":{"$ref":"#/components/schemas/NextStep"},"type":"array","title":"Alternatives","default":[]},"doors":{"items":{"$ref":"#/components/schemas/DoorState"},"type":"array","title":"Doors","default":[]},"plain_summary":{"type":"string","title":"Plain Summary"}},"additionalProperties":false,"type":"object","required":["resolution_id","definition_ref","actor_ref","tenant_ref","audience","canonical_path","context_digest","state","return_nonce","expires_at","graph_state","plain_summary"],"title":"EntryResolution"},"EntryResolveRequest":{"properties":{"entry_mode":{"type":"string","enum":["HOME","MENU","SEARCH","DIRECT","FULLSCREEN","EMBED","HISTORY","ASSIGNMENT","PARENT","COUNSELLOR","INSTITUTION","SPONSOR","EXTERNAL"],"title":"Entry Mode"},"address":{"type":"string","maxLength":300,"minLength":1,"title":"Address"},"definition_ref":{"type":"string","enum":["PRD-AA-ACESPATHWAYS","OBJ-AA-ACESPATHWAYS","OBJ-AA-APTITUDE-AND-STREAM-CHOICE","OBJ-AA-TOTAL-COST-OF-THE-DEGREE","OBJ-AA-AFFORDABILITY-ENVELOPE","OBJ-AA-DROP-OR-CONTINUE","OBJ-AA-OPTION-COMPARE","OBJ-AA-SCHOLARSHIP-FINDER","OBJ-AA-SPONSOR-A-SEAT","OBJ-AA-WHOLE-COHORT-STREAM-CHOICE"],"title":"Definition Ref","default":"PRD-AA-ACESPATHWAYS"},"requested_instance_ref":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Requested Instance Ref"},"return_nonce":{"anyOf":[{"type":"string","maxLength":200,"minLength":32},{"type":"null"}],"title":"Return Nonce"},"intent":{"anyOf":[{"$ref":"#/components/schemas/EntryIntent"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["entry_mode","address"],"title":"EntryResolveRequest"},"EntryRule":{"properties":{"rule_release_ref":{"type":"string","title":"Rule Release Ref"},"authority_rule_version":{"type":"string","title":"Authority Rule Version"},"resolved_at":{"type":"string","format":"date-time","title":"Resolved At"},"permitted_actions":{"items":{"$ref":"#/components/schemas/EntryPermittedAction"},"type":"array","title":"Permitted Actions"},"undetermined_actions":{"items":{"$ref":"#/components/schemas/EntryUndeterminedAction"},"type":"array","title":"Undetermined Actions","default":[]}},"additionalProperties":false,"type":"object","required":["rule_release_ref","authority_rule_version","resolved_at","permitted_actions"],"title":"EntryRule"},"EntryRuleCheckEnvelope":{"properties":{"receipt":{"type":"object","title":"Receipt"},"resource":{"$ref":"#/components/schemas/EntryRuleCheckResponse"}},"additionalProperties":false,"type":"object","required":["receipt","resource"],"title":"EntryRuleCheckEnvelope","description":"Matches the sibling traversal envelope shape (receipt + resource)."},"EntryRuleCheckRequest":{"properties":{"target_entity_id":{"type":"string","format":"uuid","title":"Target Entity Id"},"context_id":{"type":"string","format":"uuid","title":"Context Id"}},"additionalProperties":false,"type":"object","required":["target_entity_id","context_id"],"title":"EntryRuleCheckRequest"},"EntryRuleCheckResponse":{"properties":{"readability":{"type":"string","enum":["READABLE","PARTIAL","UNREADABLE","TYPICAL_ROUTE"],"title":"Readability"},"rules":{"items":{"$ref":"#/components/schemas/ReadRule"},"type":"array","title":"Rules","default":[]},"missing_rule_ids":{"items":{"type":"string"},"type":"array","title":"Missing Rule Ids","default":[]},"refusal_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Refusal Id"},"gate_verdicts":{"items":{"$ref":"#/components/schemas/GateVerdict"},"type":"array","title":"Gate Verdicts","default":[]},"gate_summary":{"anyOf":[{"$ref":"#/components/schemas/GateSummary"},{"type":"null"}]},"term_placement":{"anyOf":[{"$ref":"#/components/schemas/TermPlacement"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["readability"],"title":"EntryRuleCheckResponse"},"EntryUndeterminedAction":{"properties":{"native_action_code":{"type":"string","title":"Native Action Code"},"native_action_label":{"type":"string","title":"Native Action Label"},"reason_code":{"type":"string","title":"Reason Code"},"detail":{"type":"string","title":"Detail"}},"additionalProperties":false,"type":"object","required":["native_action_code","native_action_label","reason_code","detail"],"title":"EntryUndeterminedAction"},"Environment":{"type":"string","enum":["development","staging","production"],"title":"Environment"},"EquationReq":{"properties":{"equation":{"type":"string","title":"Equation"}},"type":"object","required":["equation"],"title":"EquationReq"},"EquivalenceEvidence":{"properties":{"source_ref":{"type":"string","maxLength":300,"minLength":3,"title":"Source Ref"},"source_digest":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Source Digest"},"state":{"type":"string","enum":["APPROVED","REVIEW_REQUIRED","MISSING","RECALLED"],"title":"State"},"credit_value":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Credit Value"},"licence_ref":{"anyOf":[{"type":"string","maxLength":300,"minLength":3},{"type":"null"}],"title":"Licence Ref"}},"additionalProperties":false,"type":"object","required":["source_ref","source_digest","state"],"title":"EquivalenceEvidence"},"EraseBody":{"properties":{"account_id":{"type":"string","maxLength":80,"minLength":3,"title":"Account Id"},"confirm":{"type":"string","maxLength":80,"minLength":3,"title":"Confirm"}},"type":"object","required":["account_id","confirm"],"title":"EraseBody"},"EscalateBody":{"properties":{"to":{"type":"string","pattern":"^(safeguarding|owner)$","title":"To"},"severity":{"type":"string","pattern":"^(urgent|high|normal)$","title":"Severity","default":"high"},"minor_involved":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Minor Involved"},"note":{"type":"string","maxLength":1500,"minLength":20,"title":"Note"}},"type":"object","required":["to","note"],"title":"EscalateBody"},"EvaluateProvenanceRequest":{"properties":{"object_type":{"type":"string","maxLength":80,"minLength":1,"title":"Object Type"},"object_id":{"type":"string","maxLength":160,"minLength":1,"title":"Object Id"},"object_version":{"type":"string","maxLength":80,"minLength":1,"title":"Object Version"},"purpose":{"type":"string","maxLength":80,"minLength":1,"title":"Purpose"},"impact":{"type":"string","enum":["low","medium","high","critical"],"title":"Impact","default":"medium"},"snapshot_ids":{"items":{"type":"string"},"type":"array","maxItems":100,"minItems":1,"title":"Snapshot Ids"},"requester_role":{"type":"string","maxLength":40,"title":"Requester Role","default":"service"}},"type":"object","required":["object_type","object_id","object_version","purpose","snapshot_ids"],"title":"EvaluateProvenanceRequest"},"EventBody":{"properties":{"student_id":{"type":"string","maxLength":64,"minLength":1,"title":"Student Id"},"activity":{"type":"string","maxLength":64,"minLength":1,"title":"Activity"},"payload":{"type":"object","title":"Payload"}},"type":"object","required":["student_id","activity"],"title":"EventBody"},"EventDefinitionCommand":{"properties":{"event_name":{"type":"string","title":"Event Name"},"version":{"type":"string","maxLength":64,"minLength":1,"title":"Version"},"schema_json":{"type":"object","title":"Schema Json"},"purposes":{"items":{"type":"string","enum":["learning","assessment","support","analytics","operations","audit"]},"type":"array","maxItems":8,"minItems":1,"title":"Purposes"},"data_classes":{"items":{"type":"string","enum":["public","internal","student","sensitive_student","operator"]},"type":"array","maxItems":5,"minItems":1,"title":"Data Classes"},"retention_days":{"type":"integer","maximum":3650.0,"minimum":1.0,"title":"Retention Days","default":90},"producer_allowlist":{"items":{"type":"string"},"type":"array","maxItems":100,"minItems":1,"title":"Producer Allowlist"},"routes":{"items":{"$ref":"#/components/schemas/ConsumerRoute"},"type":"array","maxItems":100,"title":"Routes"},"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version","default":0}},"additionalProperties":false,"type":"object","required":["event_name","version","schema_json","purposes","data_classes","producer_allowlist"],"title":"EventDefinitionCommand"},"EventEnvelope":{"properties":{"event_id":{"type":"string","format":"uuid","title":"Event Id"},"event_name":{"type":"string","title":"Event Name"},"definition_version":{"type":"string","maxLength":64,"minLength":1,"title":"Definition Version"},"producer_id":{"type":"string","maxLength":128,"minLength":1,"title":"Producer Id"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"purpose":{"type":"string","enum":["learning","assessment","support","analytics","operations","audit"],"title":"Purpose"},"data_class":{"type":"string","enum":["public","internal","student","sensitive_student","operator"],"title":"Data Class"},"payload":{"type":"object","title":"Payload"},"correlation_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Correlation Id"},"causation_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Causation Id"},"owner_os":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Owner Os"},"object_type":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Object Type"},"object_id":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Object Id"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"}},"additionalProperties":false,"type":"object","required":["event_name","definition_version","producer_id","actor_id","purpose","data_class"],"title":"EventEnvelope"},"EventNew":{"properties":{"title":{"type":"string","maxLength":200,"minLength":3,"title":"Title"},"kind":{"type":"string","title":"Kind"},"platform":{"type":"string","title":"Platform","default":"company"},"starts_on":{"type":"string","format":"date","title":"Starts On"},"ends_on":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Ends On"},"source_label":{"type":"string","maxLength":300,"title":"Source Label","default":""},"source_url":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Source Url"}},"type":"object","required":["title","kind","starts_on"],"title":"EventNew"},"EventPatch":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":200,"minLength":3},{"type":"null"}],"title":"Title"},"kind":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kind"},"platform":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Platform"},"starts_on":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Starts On"},"ends_on":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Ends On"},"source_label":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Source Label"},"source_url":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Source Url"},"version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Version"}},"type":"object","title":"EventPatch"},"EventProjectionRunBody":{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100}},"additionalProperties":false,"type":"object","title":"EventProjectionRunBody"},"EventReadbackCommand":{"properties":{"readback_id":{"type":"string","format":"uuid","title":"Readback Id"},"run_id":{"type":"string","format":"uuid","title":"Run Id"},"event_name":{"type":"string","maxLength":160,"minLength":2,"title":"Event Name"},"emitted_count":{"type":"integer","minimum":0.0,"title":"Emitted Count"},"readback_count":{"type":"integer","minimum":0.0,"title":"Readback Count"},"readback_source":{"type":"string","maxLength":160,"minLength":2,"title":"Readback Source"},"artifact_refs":{"items":{"type":"string"},"type":"array","title":"Artifact Refs"}},"type":"object","required":["run_id","event_name","emitted_count","readback_count","readback_source"],"title":"EventReadbackCommand"},"EverywhereBody":{"properties":{"reason":{"type":"string","maxLength":300,"minLength":5,"title":"Reason"},"forget_devices":{"type":"boolean","title":"Forget Devices","default":false}},"type":"object","required":["reason"],"title":"EverywhereBody"},"EvidenceAnswerUpdate":{"properties":{"answer":{"type":"string","enum":["HAVE","GAP","UNKNOWN"],"title":"Answer"},"evidence_pointer":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Evidence Pointer"},"expected_version":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Expected Version"}},"additionalProperties":false,"type":"object","required":["answer"],"title":"EvidenceAnswerUpdate"},"EvidenceClass":{"type":"string","enum":["parent_privacy","exact_commerce","public_private_boundary","offline_replay","telemetry_readback","rollback","role_safe_expression"],"title":"EvidenceClass"},"EvidenceCommand":{"properties":{"run_id":{"type":"string","format":"uuid","title":"Run Id"},"evidence_id":{"type":"string","format":"uuid","title":"Evidence Id"},"evidence_class":{"$ref":"#/components/schemas/EvidenceClass"},"result":{"$ref":"#/components/schemas/os_runtime__aos_pr23_golden_slice_b__models__EvidenceResult"},"executed":{"type":"boolean","title":"Executed","default":false},"executed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Executed At"},"route_path":{"type":"string","maxLength":240,"minLength":1,"title":"Route Path"},"artifact_refs":{"items":{"type":"string"},"type":"array","title":"Artifact Refs"},"emitted_events":{"type":"integer","minimum":0.0,"title":"Emitted Events","default":0},"readback_events":{"type":"integer","minimum":0.0,"title":"Readback Events","default":0},"metadata":{"type":"object","title":"Metadata"}},"type":"object","required":["run_id","evidence_class","result","route_path"],"title":"EvidenceCommand"},"EvidenceExportRequest":{"properties":{"entity":{"$ref":"#/components/schemas/EntityRef"},"purpose":{"type":"string","maxLength":120,"minLength":3,"title":"Purpose"},"field_scope":{"items":{"type":"string"},"type":"array","maxItems":100,"minItems":1,"title":"Field Scope"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"watermark":{"type":"string","maxLength":200,"minLength":3,"title":"Watermark"},"reason":{"type":"string","maxLength":1000,"minLength":8,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["entity","purpose","field_scope","expires_at","watermark","reason"],"title":"EvidenceExportRequest"},"EvidenceFamilyProjection":{"properties":{"family":{"type":"string","enum":["SOURCE_LOAD_READBACK","DB_MIGRATION_READBACK","AUTH_ROLE_MATRIX","API_REPLAY","OS17_RELAY","BROWSER_A11Y","CORRECTION_RECOVERY","BACKUP_RESTORE","PERFORMANCE","CALIBRATION_REVIEW","LEGAL_APPROVAL","PRIVACY_APPROVAL","ACCESSIBILITY_APPROVAL"],"title":"Family"},"state":{"type":"string","enum":["PASS","FAIL","MISSING","HELD"],"title":"State"},"evidence_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Evidence Ids"},"reason_codes":{"items":{"type":"string"},"type":"array","title":"Reason Codes"}},"additionalProperties":false,"type":"object","required":["family","state","evidence_ids","reason_codes"],"title":"EvidenceFamilyProjection"},"EvidenceRebuildRequest":{"properties":{"entity":{"$ref":"#/components/schemas/EntityRef"},"expected_projection_version":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Expected Projection Version"},"reason":{"type":"string","maxLength":1000,"minLength":8,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["entity","reason"],"title":"EvidenceRebuildRequest"},"EvidenceRefInput":{"properties":{"ref_type":{"type":"string","enum":["INSTRUMENT_RESPONSE_SET","OBSERVED_ATTEMPT_SUMMARY"],"title":"Ref Type"},"ref_id":{"type":"string","format":"uuid","title":"Ref Id"},"ref_version":{"type":"integer","minimum":1.0,"title":"Ref Version"},"ref_digest":{"type":"string","title":"Ref Digest"}},"additionalProperties":false,"type":"object","required":["ref_type","ref_id","ref_version","ref_digest"],"title":"EvidenceRefInput"},"EvidenceReference":{"properties":{"evidence_type":{"type":"string","maxLength":64,"minLength":1,"title":"Evidence Type"},"owner_os":{"type":"string","maxLength":32,"minLength":2,"title":"Owner Os"},"object_type":{"type":"string","maxLength":64,"minLength":1,"title":"Object Type"},"object_id":{"type":"string","maxLength":160,"minLength":1,"title":"Object Id"},"object_version":{"type":"string","maxLength":80,"minLength":1,"title":"Object Version"},"proof_hash":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Proof Hash"}},"type":"object","required":["evidence_type","owner_os","object_type","object_id","object_version"],"title":"EvidenceReference"},"ExactCurriculumIdentity":{"properties":{"release_id":{"type":"string","format":"uuid","title":"Release Id"},"node_ref":{"type":"string","format":"uuid","title":"Node Ref"},"os01_concept_id":{"type":"string","format":"uuid","title":"Os01 Concept Id"},"source_snapshot_id":{"type":"string","maxLength":512,"minLength":8,"title":"Source Snapshot Id"},"source_record_id":{"type":"string","maxLength":512,"minLength":1,"title":"Source Record Id"},"evidence_hash":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Evidence Hash"}},"additionalProperties":false,"type":"object","required":["release_id","node_ref","os01_concept_id","source_snapshot_id","source_record_id","evidence_hash"],"title":"ExactCurriculumIdentity","description":"Server-qualified OS01 identity pins for non-ranked exact mapping."},"ExactReturnCommand":{"properties":{"product_id":{"$ref":"#/components/schemas/AtlasProduct"},"current_route":{"type":"string","maxLength":500,"minLength":1,"title":"Current Route"},"requested_return_route":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Requested Return Route"},"return_receipt_ref":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Return Receipt Ref"},"fallback_route":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Fallback Route"}},"additionalProperties":false,"type":"object","required":["product_id","current_route"],"title":"ExactReturnCommand"},"ExactReturnProjection":{"properties":{"case_entry_id":{"type":"string","format":"uuid","title":"Case Entry Id"},"thread_id":{"type":"string","format":"uuid","title":"Thread Id"},"case_state":{"type":"string","enum":["WATCHING","HELD","RETURNED","INCONCLUSIVE"],"title":"Case State"},"thread_version":{"type":"integer","minimum":1.0,"title":"Thread Version"},"return_receipt_id":{"type":"string","format":"uuid","title":"Return Receipt Id"},"basis":{"items":{"type":"string"},"type":"array","title":"Basis"},"evidence_refs":{"items":{"type":"object"},"type":"array","title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["case_entry_id","thread_id","case_state","thread_version","return_receipt_id","basis","evidence_refs"],"title":"ExactReturnProjection"},"ExactThreadHandoffProjection":{"properties":{"thread_id":{"type":"string","format":"uuid","title":"Thread Id"},"truth_id":{"type":"string","format":"uuid","title":"Truth Id"},"case_entry_id":{"type":"string","format":"uuid","title":"Case Entry Id"},"owning_product_id":{"type":"string","title":"Owning Product Id"},"target_route":{"type":"string","title":"Target Route"},"return_route":{"type":"string","enum":["/insights/case-file"],"const":"/insights/case-file","title":"Return Route","default":"/insights/case-file"},"thread_version":{"type":"integer","minimum":1.0,"title":"Thread Version"},"state":{"type":"string","title":"State"},"receipt_id":{"type":"string","title":"Receipt Id"},"replayed":{"type":"boolean","title":"Replayed","default":false},"repair_episode_ref":{"anyOf":[{"$ref":"#/components/schemas/ObjectRef"},{"type":"null"}]},"concept_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1},{"type":"null"}],"title":"Concept Id"},"product_thread_ref":{"anyOf":[{"$ref":"#/components/schemas/ObjectRef"},{"type":"null"}]},"return_to":{"anyOf":[{"type":"string","pattern":"^/insights/case-file$"},{"type":"null"}],"title":"Return To"},"entry_mode":{"anyOf":[{"type":"string","enum":["adaptive_repair"],"const":"adaptive_repair"},{"type":"null"}],"title":"Entry Mode"}},"additionalProperties":false,"type":"object","required":["thread_id","truth_id","case_entry_id","owning_product_id","target_route","thread_version","state","receipt_id"],"title":"ExactThreadHandoffProjection","description":"A native, owner-checked route handoff when the target is Chapter Drill."},"ExamDateBody":{"properties":{"exam_date":{"type":"string","format":"date","title":"Exam Date"}},"type":"object","required":["exam_date"],"title":"ExamDateBody"},"ExamSittingConfirm":{"properties":{"exam":{"type":"string","maxLength":32,"minLength":2,"title":"Exam"},"year":{"type":"integer","maximum":2100.0,"minimum":2000.0,"title":"Year"}},"type":"object","required":["exam","year"],"title":"ExamSittingConfirm"},"ExampleRemove":{"properties":{"record_ids":{"items":{},"type":"array","maxItems":100,"minItems":1,"title":"Record Ids"},"reason":{"type":"string","maxLength":500,"title":"Reason"},"typed_name":{"type":"string","maxLength":120,"title":"Typed Name"}},"type":"object","required":["record_ids","reason","typed_name"],"title":"ExampleRemove"},"ExampleRestore":{"properties":{"removal_id":{"type":"string","format":"uuid","title":"Removal Id"},"reason":{"type":"string","maxLength":500,"title":"Reason"}},"type":"object","required":["removal_id","reason"],"title":"ExampleRestore"},"ExecutableAssetRequest":{"properties":{"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"asset_id":{"type":"string","maxLength":240,"minLength":3,"title":"Asset Id"},"publication_id":{"type":"string","format":"uuid","title":"Publication Id"},"build_ref":{"type":"string","maxLength":500,"minLength":4,"title":"Build Ref"},"executable_ref":{"type":"string","maxLength":500,"minLength":4,"title":"Executable Ref"},"thumbnail_ref":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Thumbnail Ref"},"qa_receipt_ref":{"type":"string","maxLength":300,"minLength":4,"title":"Qa Receipt Ref"},"security_receipt_ref":{"type":"string","maxLength":300,"minLength":4,"title":"Security Receipt Ref"},"accessibility_receipt_ref":{"type":"string","maxLength":300,"minLength":4,"title":"Accessibility Receipt Ref"},"performance_receipt_ref":{"type":"string","maxLength":300,"minLength":4,"title":"Performance Receipt Ref"},"supported_devices":{"items":{"type":"string"},"type":"array","minItems":1,"title":"Supported Devices"},"requested_device":{"type":"string","maxLength":80,"minLength":2,"title":"Requested Device"},"deterministic_build":{"type":"boolean","title":"Deterministic Build"},"malware_scan_passed":{"type":"boolean","title":"Malware Scan Passed"},"entitlement_allowed":{"type":"boolean","title":"Entitlement Allowed","default":true}},"additionalProperties":false,"type":"object","required":["idempotency_key","asset_id","publication_id","build_ref","executable_ref","qa_receipt_ref","security_receipt_ref","accessibility_receipt_ref","performance_receipt_ref","supported_devices","requested_device","deterministic_build","malware_scan_passed"],"title":"ExecutableAssetRequest"},"ExecuteModelOperationBody":{"properties":{"acknowledgement":{"type":"string","enum":["execute-reviewed-model-operation"],"const":"execute-reviewed-model-operation","title":"Acknowledgement"}},"additionalProperties":false,"type":"object","required":["acknowledgement"],"title":"ExecuteModelOperationBody"},"ExecuteRequest":{"properties":{"user_id":{"type":"string","title":"User Id","default":""},"tier":{"type":"string","title":"Tier","default":"FREE"},"mode":{"type":"string","title":"Mode","default":"default"},"payload":{"type":"object","title":"Payload"}},"type":"object","title":"ExecuteRequest"},"ExecutiveDecisionCreate":{"properties":{"reason":{"type":"string","maxLength":1000,"minLength":8,"title":"Reason"},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Evidence Refs"},"decision_type":{"type":"string","maxLength":80,"minLength":2,"title":"Decision Type"},"target_type":{"type":"string","maxLength":80,"minLength":2,"title":"Target Type"},"target_id":{"type":"string","maxLength":160,"minLength":1,"title":"Target Id"},"title":{"type":"string","maxLength":240,"minLength":4,"title":"Title"},"recommendation":{"type":"string","maxLength":1000,"minLength":4,"title":"Recommendation"},"impact":{"type":"object","title":"Impact"},"expires_at":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Expires At"}},"additionalProperties":false,"type":"object","required":["reason","decision_type","target_type","target_id","title","recommendation"],"title":"ExecutiveDecisionCreate"},"ExecutiveDecisionRecord":{"properties":{"reason":{"type":"string","maxLength":1000,"minLength":8,"title":"Reason"},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Evidence Refs"},"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"decision":{"type":"string","enum":["APPROVE","REJECT","HOLD"],"title":"Decision"},"approval_id":{"type":"string","format":"uuid","title":"Approval Id"}},"additionalProperties":false,"type":"object","required":["reason","expected_version","decision","approval_id"],"title":"ExecutiveDecisionRecord"},"ExpansionCandidateRequest":{"properties":{"ecosystem":{"$ref":"#/components/schemas/EcosystemKey"},"rank":{"type":"integer","minimum":1.0,"title":"Rank"},"category":{"type":"string","maxLength":80,"minLength":1,"title":"Category"},"counselling_year":{"type":"integer","maximum":2035.0,"minimum":2015.0,"title":"Counselling Year"},"round_scope":{"items":{"type":"integer"},"type":"array","maxItems":20,"minItems":1,"title":"Round Scope"},"authority":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Authority"},"level":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Level"},"rank_universe":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Rank Universe"},"quota":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Quota"},"domicile":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Domicile"},"gender_pool":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Gender Pool"},"programme_interest":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Programme Interest"},"limit":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Limit","default":50}},"additionalProperties":false,"type":"object","required":["ecosystem","rank","category","counselling_year","round_scope"],"title":"ExpansionCandidateRequest"},"ExpansionCandidateResponse":{"properties":{"ecosystem":{"$ref":"#/components/schemas/EcosystemKey"},"coverage":{"type":"object","title":"Coverage"},"candidate_projection":{"type":"object","title":"Candidate Projection"},"predimp_handoff":{"anyOf":[{"$ref":"#/components/schemas/PredimpHandoff"},{"type":"null"}]},"product_claims":{"items":{"type":"string"},"type":"array","title":"Product Claims","default":["OBSERVED_SOURCE_BOUND_OPTIONS","NO_GUARANTEE","NO_AUTOMATIC_ALLOTMENT"]}},"additionalProperties":false,"type":"object","required":["ecosystem","coverage","candidate_projection"],"title":"ExpansionCandidateResponse"},"ExpectedVersionRequest":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"reason":{"type":"string","maxLength":2000,"minLength":8,"title":"Reason"},"approval_receipt_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Approval Receipt Id"}},"additionalProperties":false,"type":"object","required":["expected_version","reason"],"title":"ExpectedVersionRequest"},"ExperimentCreate":{"properties":{"reason":{"type":"string","maxLength":1000,"minLength":8,"title":"Reason"},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Evidence Refs"},"product_ref":{"type":"string","maxLength":160,"minLength":2,"title":"Product Ref"},"hypothesis":{"type":"string","maxLength":1000,"minLength":8,"title":"Hypothesis"},"unit":{"type":"string","maxLength":80,"minLength":2,"title":"Unit"},"eligibility":{"type":"object","title":"Eligibility"},"allocation":{"type":"object","title":"Allocation"},"outcome_metric_id":{"type":"string","maxLength":160,"minLength":4,"title":"Outcome Metric Id"},"guardrails":{"items":{"type":"string"},"type":"array","maxItems":30,"minItems":1,"title":"Guardrails"},"stop_policy":{"type":"string","maxLength":1000,"minLength":8,"title":"Stop Policy"}},"additionalProperties":false,"type":"object","required":["reason","product_ref","hypothesis","unit","eligibility","allocation","outcome_metric_id","guardrails","stop_policy"],"title":"ExperimentCreate"},"ExperimentDecision":{"properties":{"reason":{"type":"string","maxLength":1000,"minLength":8,"title":"Reason"},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Evidence Refs"},"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"decision":{"type":"string","enum":["ADOPT","REJECT","EXTEND","STOP"],"title":"Decision"},"analysis_ref":{"type":"string","maxLength":240,"minLength":4,"title":"Analysis Ref"},"approval_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Approval Id"}},"additionalProperties":false,"type":"object","required":["reason","expected_version","decision","analysis_ref"],"title":"ExperimentDecision"},"ExperimentDraft":{"properties":{"experiment_key":{"type":"string","pattern":"^[a-z][a-z0-9_-]{2,79}$","title":"Experiment Key"},"experiment_version":{"type":"string","pattern":"^[a-z0-9][a-z0-9._-]{1,79}$","title":"Experiment Version"},"objective":{"type":"string","maxLength":500,"minLength":5,"title":"Objective"},"audience_scope":{"items":{"type":"string"},"type":"array","maxItems":20,"minItems":1,"title":"Audience Scope"},"product_scope":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Product Scope"},"variants":{"items":{"$ref":"#/components/schemas/ExperimentVariant"},"type":"array","maxItems":8,"minItems":2,"title":"Variants"},"guardrails":{"additionalProperties":{"type":"number"},"type":"object","title":"Guardrails"},"starts_at":{"type":"string","format":"date-time","title":"Starts At"},"ends_at":{"type":"string","format":"date-time","title":"Ends At"},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":20,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["experiment_key","experiment_version","objective","audience_scope","variants","starts_at","ends_at","evidence_refs"],"title":"ExperimentDraft"},"ExperimentEvaluationInput":{"properties":{"experiment_id":{"type":"string","pattern":"^hme_[0-9a-f]{32}$","title":"Experiment Id"},"objective_key":{"type":"string","maxLength":120,"minLength":3,"title":"Objective Key"},"cohort_size":{"type":"integer","minimum":0.0,"title":"Cohort Size"},"qualified_exposures":{"type":"integer","minimum":0.0,"title":"Qualified Exposures"},"control_outcomes":{"type":"integer","minimum":0.0,"title":"Control Outcomes"},"variant_outcomes":{"type":"integer","minimum":0.0,"title":"Variant Outcomes"},"confidence":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Confidence"},"guardrail_results":{"additionalProperties":{"type":"boolean"},"type":"object","title":"Guardrail Results"},"passed":{"type":"boolean","title":"Passed"},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":20,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["experiment_id","objective_key","cohort_size","qualified_exposures","control_outcomes","variant_outcomes","confidence","passed","evidence_refs"],"title":"ExperimentEvaluationInput"},"ExperimentReview":{"properties":{"decision":{"type":"string","pattern":"^(APPROVE|REJECT)$","title":"Decision"},"reason":{"type":"string","maxLength":1000,"minLength":5,"title":"Reason"},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":20,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["decision","reason","evidence_refs"],"title":"ExperimentReview"},"ExperimentState":{"type":"string","enum":["DRAFT","REVIEWED","SHADOW","CANARY","ACTIVE","PAUSED","ROLLED_BACK","RETIRED"],"title":"ExperimentState"},"ExperimentTransition":{"properties":{"target_state":{"$ref":"#/components/schemas/ExperimentState"},"reason":{"type":"string","maxLength":1000,"minLength":5,"title":"Reason"},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":20,"minItems":1,"title":"Evidence Refs"},"evaluation_id":{"anyOf":[{"type":"string","pattern":"^hmev_[0-9a-f]{32}$"},{"type":"null"}],"title":"Evaluation Id"}},"additionalProperties":false,"type":"object","required":["target_state","reason","evidence_refs"],"title":"ExperimentTransition"},"ExperimentVariant":{"properties":{"variant_key":{"type":"string","pattern":"^[a-z][a-z0-9_-]{0,79}$","title":"Variant Key"},"weight":{"type":"integer","maximum":10000.0,"minimum":1.0,"title":"Weight"},"score_adjustments":{"additionalProperties":{"type":"number"},"type":"object","title":"Score Adjustments"},"renderer_preference":{"anyOf":[{"type":"string","pattern":"^[a-z][a-z0-9_]{2,79}$"},{"type":"null"}],"title":"Renderer Preference"}},"additionalProperties":false,"type":"object","required":["variant_key","weight"],"title":"ExperimentVariant"},"ExpiryRunBody":{"properties":{"dry_run":{"type":"boolean","title":"Dry Run","default":true},"limit":{"anyOf":[{"type":"integer","maximum":1000.0,"minimum":1.0},{"type":"null"}],"title":"Limit"}},"additionalProperties":false,"type":"object","title":"ExpiryRunBody"},"ExplicitConsent":{"properties":{"thread_id":{"type":"string","maxLength":160,"minLength":1,"title":"Thread Id"},"turn_id":{"type":"string","maxLength":160,"minLength":1,"title":"Turn Id"},"confirm_handoff":{"type":"boolean","title":"Confirm Handoff"}},"additionalProperties":false,"type":"object","required":["thread_id","turn_id","confirm_handoff"],"title":"ExplicitConsent"},"ExplorationCommand":{"properties":{"expected_revision":{"type":"integer","minimum":1.0,"title":"Expected Revision"},"request_id":{"type":"string","maxLength":128,"minLength":8,"title":"Request Id"}},"additionalProperties":false,"type":"object","required":["expected_revision","request_id"],"title":"ExplorationCommand"},"ExportAffordabilityEnvelopeRequest":{"properties":{"audience":{"type":"string","enum":["LEARNER_COPY","PARENT_COPY"],"title":"Audience"},"projection_kind":{"type":"string","enum":["RANGE_ONLY"],"const":"RANGE_ONLY","title":"Projection Kind","default":"RANGE_ONLY"},"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"}},"additionalProperties":false,"type":"object","required":["audience","expected_version"],"title":"ExportAffordabilityEnvelopeRequest"},"ExportAptitudeReportRequest":{"properties":{"audience":{"type":"string","maxLength":200,"minLength":1,"title":"Audience"},"projection_kind":{"type":"string","enum":["PRINTABLE_SUMMARY","DATA_FILE"],"title":"Projection Kind"},"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"}},"additionalProperties":false,"type":"object","required":["audience","projection_kind","expected_version"],"title":"ExportAptitudeReportRequest"},"ExportChoiceAuditRequest":{"properties":{"format":{"type":"string","enum":["JSON"],"const":"JSON","title":"Format","default":"JSON"}},"additionalProperties":false,"type":"object","title":"ExportChoiceAuditRequest"},"ExportChoiceListRequest":{"properties":{"target":{"type":"string","enum":["SEAT_PATH","DECISION_CHAIN"],"title":"Target"},"thread_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Thread Id"}},"additionalProperties":false,"type":"object","required":["target"],"title":"ExportChoiceListRequest"},"ExportCompletionCommand":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"state":{"type":"string","enum":["READY","FAILED"],"title":"State"},"artifact_ref":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Artifact Ref"},"artifact_bytes":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Artifact Bytes"},"artifact_sha256":{"anyOf":[{"type":"string","pattern":"^[a-f0-9]{64}$"},{"type":"null"}],"title":"Artifact Sha256"},"manifest":{"type":"object","title":"Manifest"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"failure_reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Failure Reason"}},"additionalProperties":false,"type":"object","required":["expected_version","state"],"title":"ExportCompletionCommand"},"ExportDeletedView":{"properties":{"export_id":{"type":"string","title":"Export Id"},"state":{"type":"string","enum":["DELETED"],"const":"DELETED","title":"State","default":"DELETED"}},"additionalProperties":false,"type":"object","required":["export_id"],"title":"ExportDeletedView"},"ExportIn":{"properties":{"class_id":{"type":"string","title":"Class Id"},"format":{"type":"string","enum":["csv"],"const":"csv","title":"Format","default":"csv"},"scope":{"anyOf":[{"$ref":"#/components/schemas/ExportScope"},{"type":"null"}]}},"type":"object","required":["class_id"],"title":"ExportIn"},"ExportInclude":{"properties":{"sources":{"type":"boolean","title":"Sources","default":true},"versions":{"type":"boolean","title":"Versions","default":false},"cards":{"type":"boolean","title":"Cards","default":false}},"type":"object","title":"ExportInclude"},"ExportReceipt":{"properties":{"export_ref":{"type":"string","title":"Export Ref"},"instance_ref":{"type":"string","title":"Instance Ref"},"audience":{"type":"string","enum":["LEARNER","PARENT","COUNSELLOR","INSTITUTION","SUPPORT"],"title":"Audience"},"purpose_code":{"type":"string","maxLength":64,"minLength":2,"title":"Purpose Code"},"scope_digest":{"type":"string","title":"Scope Digest"},"version":{"type":"integer","minimum":0.0,"title":"Version"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"delivery_state":{"type":"string","enum":["RENDERED","DELIVERED","FAILED"],"title":"Delivery State","default":"RENDERED"},"recallable":{"type":"boolean","enum":[false],"const":false,"title":"Recallable","default":false}},"additionalProperties":false,"type":"object","required":["export_ref","instance_ref","audience","purpose_code","scope_digest","version"],"title":"ExportReceipt","description":"A copy that has left. It cannot be recalled and does not claim to be."},"ExportReportRequest":{"properties":{"audience":{"type":"string","enum":["LEARNER"],"const":"LEARNER","title":"Audience","default":"LEARNER"},"projection_kind":{"type":"string","enum":["SUMMARY","FULL"],"title":"Projection Kind","default":"FULL"},"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"idempotency_key":{"type":"string","maxLength":200,"minLength":8,"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["expected_version","idempotency_key"],"title":"ExportReportRequest"},"ExportRoundActionRequest":{"properties":{"format":{"type":"string","enum":["JSON"],"const":"JSON","title":"Format","default":"JSON"}},"additionalProperties":false,"type":"object","title":"ExportRoundActionRequest"},"ExportScholarshipResultsRequest":{"properties":{"scope_id":{"type":"string","format":"uuid","title":"Scope Id"},"audience":{"type":"string","enum":["LEARNER_COPY","PARENT_COPY"],"title":"Audience"},"projection_kind":{"type":"string","enum":["MATCH_LIST"],"const":"MATCH_LIST","title":"Projection Kind","default":"MATCH_LIST"},"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"}},"additionalProperties":false,"type":"object","required":["scope_id","audience","expected_version"],"title":"ExportScholarshipResultsRequest"},"ExportScope":{"properties":{"kind":{"type":"string","enum":["class","assessment"],"title":"Kind","default":"class"},"assessment_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Assessment Id"}},"type":"object","title":"ExportScope"},"ExportStatus":{"properties":{"available":{"type":"boolean","title":"Available","default":false},"state":{"type":"string","enum":["NOT_AVAILABLE_YET"],"const":"NOT_AVAILABLE_YET","title":"State","default":"NOT_AVAILABLE_YET"},"message":{"type":"string","title":"Message"},"reading_is_free":{"type":"boolean","title":"Reading Is Free","default":true},"contents":{"items":{"type":"string"},"type":"array","title":"Contents"},"generated_at":{"type":"string","format":"date-time","title":"Generated At"}},"additionalProperties":false,"type":"object","required":["message","contents","generated_at"],"title":"ExportStatus"},"ExportView":{"properties":{"export_id":{"type":"string","title":"Export Id"},"comparison_id":{"type":"string","title":"Comparison Id"},"version_no":{"type":"integer","title":"Version No"},"format":{"type":"string","enum":["json"],"const":"json","title":"Format","default":"json"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"filename":{"type":"string","title":"Filename"},"replayed":{"type":"boolean","title":"Replayed","default":false},"message":{"type":"string","title":"Message"},"document":{"type":"object","title":"Document"}},"additionalProperties":false,"type":"object","required":["export_id","comparison_id","version_no","created_at","expires_at","filename","message","document"],"title":"ExportView"},"ExposureChip":{"properties":{"option_key":{"type":"string","title":"Option Key"},"family_position":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Family Position"},"institute_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Institute Name"},"branch":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Branch"},"institute_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Institute Key"},"state":{"type":"string","enum":["KNOWN","NO_DEPOSIT_LINE","NEEDS_DETAIL","UNKNOWN"],"title":"State"},"reason_code":{"anyOf":[{"type":"string","enum":["NO_FEE_DOCUMENT","FEE_DOCUMENT_WAITING","SOURCE_RECALLED","FEE_DOCUMENT_NOT_IN_EFFECT","NO_DEPOSIT_LINE","NEEDS_PROGRAMME_OR_CATEGORY","SEVERAL_FIGURES"]},{"type":"null"}],"title":"Reason Code"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"deposits":{"items":{"$ref":"#/components/schemas/ExposureDeposit"},"type":"array","title":"Deposits","default":[]},"refund_deadline":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Refund Deadline"},"refund_deadline_state":{"type":"string","enum":["PUBLISHED","NOT_PUBLISHED"],"title":"Refund Deadline State","default":"NOT_PUBLISHED"},"other_lines_depend_on_you":{"type":"boolean","title":"Other Lines Depend On You","default":false}},"additionalProperties":false,"type":"object","required":["option_key","state"],"title":"ExposureChip"},"ExposureChipsView":{"properties":{"view":{"type":"string","enum":["EXPOSURE_CHIPS"],"const":"EXPOSURE_CHIPS","title":"View"},"choice_list_id":{"type":"string","title":"Choice List Id"},"version_no":{"type":"integer","minimum":1.0,"title":"Version No"},"chips":{"items":{"$ref":"#/components/schemas/ExposureChip"},"type":"array","title":"Chips"},"known_count":{"type":"integer","minimum":0.0,"title":"Known Count"},"not_known_count":{"type":"integer","minimum":0.0,"title":"Not Known Count"},"not_placed_count":{"type":"integer","minimum":0.0,"title":"Not Placed Count"},"notes":{"items":{"type":"string"},"type":"array","title":"Notes"},"family_order_unchanged":{"type":"boolean","enum":[true],"const":true,"title":"Family Order Unchanged"},"payment_authorised":{"type":"boolean","enum":[false],"const":false,"title":"Payment Authorised"},"refund_guaranteed":{"type":"boolean","enum":[false],"const":false,"title":"Refund Guaranteed"},"total_computed":{"type":"boolean","enum":[false],"const":false,"title":"Total Computed"},"as_of":{"type":"string","title":"As Of"},"read_at":{"type":"string","title":"Read At"},"view_digest":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"View Digest"}},"additionalProperties":false,"type":"object","required":["view","choice_list_id","version_no","chips","known_count","not_known_count","not_placed_count","notes","family_order_unchanged","payment_authorised","refund_guaranteed","total_computed","as_of","read_at","view_digest"],"title":"ExposureChipsView"},"ExposureDeposit":{"properties":{"kind":{"type":"string","title":"Kind"},"amount_minor":{"type":"integer","minimum":0.0,"title":"Amount Minor"},"currency":{"type":"string","maxLength":3,"minLength":3,"title":"Currency"},"period":{"type":"string","title":"Period"},"refund_state":{"type":"string","title":"Refund State"},"refund_deadline":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Refund Deadline"},"refund_deadline_state":{"type":"string","enum":["PUBLISHED","NOT_PUBLISHED"],"title":"Refund Deadline State"},"refund_rule_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Refund Rule Text"},"source":{"$ref":"#/components/schemas/ExposureSource"}},"additionalProperties":false,"type":"object","required":["kind","amount_minor","currency","period","refund_state","refund_deadline_state","source"],"title":"ExposureDeposit"},"ExposureSource":{"properties":{"institute_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Institute Name"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url"},"clause_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Clause Ref"},"page":{"anyOf":[{"type":"integer"},{"type":"string"},{"type":"null"}],"title":"Page"},"academic_year":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Academic Year"},"read_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Read At"},"published_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Published At"},"publication_date_stated":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Publication Date Stated"},"snapshot_id":{"type":"string","title":"Snapshot Id"}},"additionalProperties":false,"type":"object","required":["snapshot_id"],"title":"ExposureSource"},"ExtendedSignalPush":{"properties":{"student_id":{"type":"string","title":"Student Id"},"signal_type":{"type":"string","title":"Signal Type"},"key":{"type":"string","title":"Key"},"value":{"title":"Value"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source","default":"app"}},"type":"object","required":["student_id","signal_type","key","value"],"title":"ExtendedSignalPush"},"FacetEntry":{"properties":{"code":{"type":"string","title":"Code"},"label":{"type":"string","title":"Label"},"role_count":{"type":"integer","title":"Role Count"}},"additionalProperties":false,"type":"object","required":["code","label","role_count"],"title":"FacetEntry"},"Facets":{"properties":{"graph_release_id":{"type":"string","format":"uuid","title":"Graph Release Id"},"read_at":{"type":"string","format":"date-time","title":"Read At"},"fields_of_work":{"items":{"$ref":"#/components/schemas/FacetEntry"},"type":"array","title":"Fields Of Work"},"subjects":{"$ref":"#/components/schemas/HonestBlock"}},"additionalProperties":false,"type":"object","required":["graph_release_id","read_at","fields_of_work","subjects"],"title":"Facets"},"FactBody":{"properties":{"value":{"type":"string","maxLength":600,"title":"Value","default":""},"version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Version"}},"type":"object","title":"FactBody"},"FalseBody":{"properties":{"note":{"type":"string","maxLength":300,"title":"Note","default":""}},"additionalProperties":false,"type":"object","title":"FalseBody"},"FamilyActionRecord":{"properties":{"record_id":{"type":"string","format":"uuid","title":"Record Id"},"round_action_decision_id":{"type":"string","format":"uuid","title":"Round Action Decision Id"},"authority":{"type":"string","title":"Authority"},"round_id":{"type":"string","title":"Round Id"},"claimed_action_code":{"type":"string","title":"Claimed Action Code"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"claim_state":{"type":"string","enum":["FAMILY_CLAIM"],"const":"FAMILY_CLAIM","title":"Claim State","default":"FAMILY_CLAIM"},"submission_confirmed":{"type":"boolean","enum":[false],"const":false,"title":"Submission Confirmed","default":false},"supersedes_record_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Supersedes Record Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"additionalProperties":false,"type":"object","required":["record_id","round_action_decision_id","authority","round_id","claimed_action_code","created_at"],"title":"FamilyActionRecord"},"FamilyActionRecordMutation":{"properties":{"receipt":{"type":"object","title":"Receipt"},"resource":{"$ref":"#/components/schemas/FamilyActionRecord"},"notice":{"type":"string","title":"Notice","default":"This is what you told us you did. AspireACE has not submitted anything and cannot see your counselling portal. Check the official portal for what actually went through."}},"additionalProperties":false,"type":"object","required":["receipt","resource"],"title":"FamilyActionRecordMutation"},"FamilyActionRecordRead":{"properties":{"round_action_decision_id":{"type":"string","format":"uuid","title":"Round Action Decision Id"},"current":{"anyOf":[{"$ref":"#/components/schemas/FamilyActionRecord"},{"type":"null"}]},"history":{"items":{"$ref":"#/components/schemas/FamilyActionRecord"},"type":"array","title":"History"},"notice":{"type":"string","title":"Notice","default":"This is what you told us you did. AspireACE has not submitted anything and cannot see your counselling portal. Check the official portal for what actually went through."}},"additionalProperties":false,"type":"object","required":["round_action_decision_id","current","history"],"title":"FamilyActionRecordRead"},"FamilyActionRecordRequest":{"properties":{"claimed_action_code":{"type":"string","maxLength":80,"minLength":1,"title":"Claimed Action Code"},"note":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Note"}},"additionalProperties":false,"type":"object","required":["claimed_action_code"],"title":"FamilyActionRecordRequest"},"FamilyInputs":{"properties":{"rank_open":{"anyOf":[{"type":"integer","maximum":5000000.0,"minimum":1.0},{"type":"null"}],"title":"Rank Open"},"rank_category":{"anyOf":[{"type":"integer","maximum":5000000.0,"minimum":1.0},{"type":"null"}],"title":"Rank Category"},"category":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Category"},"home_state":{"anyOf":[{"type":"string","maxLength":60},{"type":"null"}],"title":"Home State"},"priority_axis":{"anyOf":[{"type":"string","enum":["BRANCH_FIRST","INSTITUTE_FIRST"]},{"type":"null"}],"title":"Priority Axis"},"wanted_branches":{"items":{"type":"string"},"type":"array","maxItems":40,"title":"Wanted Branches","default":[]},"rejected_branches":{"items":{"type":"string"},"type":"array","maxItems":40,"title":"Rejected Branches","default":[]},"wanted_institutes":{"items":{"type":"string"},"type":"array","maxItems":40,"title":"Wanted Institutes","default":[]},"rejected_institutes":{"items":{"type":"string"},"type":"array","maxItems":40,"title":"Rejected Institutes","default":[]},"home_state_seats_first":{"type":"boolean","title":"Home State Seats First","default":false},"fees_unknown_ok":{"type":"boolean","title":"Fees Unknown Ok","default":true}},"additionalProperties":false,"type":"object","title":"FamilyInputs","description":"What the family typed. All optional; a blank is \"not stated\", never zero."},"FamilyRecordCorrection":{"properties":{"correction_id":{"type":"string","format":"uuid","title":"Correction Id"},"round_action_decision_id":{"type":"string","format":"uuid","title":"Round Action Decision Id"},"predecessor_record_id":{"type":"string","format":"uuid","title":"Predecessor Record Id"},"successor_record_id":{"type":"string","format":"uuid","title":"Successor Record Id"},"predecessor_digest":{"type":"string","title":"Predecessor Digest"},"successor_digest":{"type":"string","title":"Successor Digest"},"reason_code":{"type":"string","enum":["I_PICKED_THE_WRONG_ACTION","I_DID_SOMETHING_ELSE","MY_NOTE_WAS_WRONG","SOMETHING_ELSE"],"title":"Reason Code"},"claim_state":{"type":"string","enum":["FAMILY_CLAIM"],"const":"FAMILY_CLAIM","title":"Claim State","default":"FAMILY_CLAIM"},"submission_confirmed":{"type":"boolean","enum":[false],"const":false,"title":"Submission Confirmed","default":false},"message":{"type":"string","title":"Message"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"replayed":{"type":"boolean","title":"Replayed","default":false}},"additionalProperties":false,"type":"object","required":["correction_id","round_action_decision_id","predecessor_record_id","successor_record_id","predecessor_digest","successor_digest","reason_code","message"],"title":"FamilyRecordCorrection"},"FanoutCorrectionRequest":{"properties":{"cause":{"$ref":"#/components/schemas/CorrectionCause"},"affected_refs":{"items":{"$ref":"#/components/schemas/AffectedPathwayRef"},"type":"array","maxItems":10000,"minItems":1,"title":"Affected Refs"},"correction_policy_version":{"type":"string","maxLength":100,"minLength":3,"title":"Correction Policy Version"},"successor_refs":{"additionalProperties":{"type":"string"},"type":"object","title":"Successor Refs"}},"additionalProperties":false,"type":"object","required":["cause","affected_refs","correction_policy_version"],"title":"FanoutCorrectionRequest"},"FaultNew":{"properties":{"title":{"type":"string","maxLength":200,"minLength":5,"title":"Title"},"severity":{"type":"string","pattern":"^(critical|high|normal|low)$","title":"Severity","default":"normal"},"row_no":{"anyOf":[{"type":"integer","maximum":229.0,"minimum":1.0},{"type":"null"}],"title":"Row No"},"product_row_n":{"anyOf":[{"type":"integer","maximum":229.0,"minimum":1.0},{"type":"null"}],"title":"Product Row N"},"source_type":{"type":"string","pattern":"^(manual|walk|user|test|check|message)$","title":"Source Type","default":"manual"},"source_ref":{"type":"string","maxLength":300,"title":"Source Ref","default":""},"owner_chat":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Owner Chat"}},"type":"object","required":["title"],"title":"FaultNew"},"FaultPatch":{"properties":{"state":{"anyOf":[{"type":"string","pattern":"^(new|confirmed|fixing|fixed|wont_fix)$"},{"type":"null"}],"title":"State"},"severity":{"anyOf":[{"type":"string","pattern":"^(critical|high|normal|low)$"},{"type":"null"}],"title":"Severity"},"owner_person_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Owner Person Id"},"owner_chat":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Owner Chat"},"pr_url":{"anyOf":[{"type":"string","maxLength":300,"pattern":"^https://github\\.com/[\\w.-]+/[\\w.-]+/pull/\\d+$"},{"type":"null"}],"title":"Pr Url"},"duplicate_of":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Duplicate Of"},"reason":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}],"title":"Reason"}},"type":"object","title":"FaultPatch"},"FeasibilityRequest":{"properties":{"student_id":{"type":"string","title":"Student Id"},"subject":{"type":"string","title":"Subject","default":"Physics"},"chapters":{"items":{"type":"string"},"type":"array","title":"Chapters"},"question_count":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Question Count","default":20},"difficulty":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Difficulty"},"exam_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Exam Id"}},"type":"object","required":["student_id"],"title":"FeasibilityRequest"},"FeatureFlagSnapshot":{"properties":{"snapshot_ref":{"$ref":"#/components/schemas/ConvergenceRef"},"cross_pack_convergence_enabled":{"type":"boolean","title":"Cross Pack Convergence Enabled","default":false},"cross_pack_routes_enabled":{"type":"boolean","title":"Cross Pack Routes Enabled","default":false},"cross_pack_handoffs_enabled":{"type":"boolean","title":"Cross Pack Handoffs Enabled","default":false},"cross_pack_correction_enabled":{"type":"boolean","title":"Cross Pack Correction Enabled","default":false},"cross_pack_cache_invalidation_enabled":{"type":"boolean","title":"Cross Pack Cache Invalidation Enabled","default":false},"cross_pack_events_enabled":{"type":"boolean","title":"Cross Pack Events Enabled","default":false},"force_off":{"type":"boolean","title":"Force Off","default":false},"product_flags":{"additionalProperties":{"type":"boolean"},"type":"object","title":"Product Flags"}},"additionalProperties":false,"type":"object","required":["snapshot_ref"],"title":"FeatureFlagSnapshot"},"FeedbackCommand":{"properties":{"home_decision_ref":{"type":"string","maxLength":96,"minLength":8,"title":"Home Decision Ref"},"object_id":{"type":"string","maxLength":180,"minLength":3,"title":"Object Id"},"feedback_kind":{"type":"string","enum":["discovery_satisfaction","learning_outcome"],"title":"Feedback Kind"},"value":{"type":"string","enum":["positive","negative","completed","not_completed","not_started","unknown"],"title":"Value"},"source_ref":{"type":"string","maxLength":300,"minLength":3,"title":"Source Ref"},"idempotency_key":{"type":"string","maxLength":200,"minLength":8,"title":"Idempotency Key"},"payload":{"type":"object","title":"Payload"}},"additionalProperties":false,"type":"object","required":["home_decision_ref","object_id","feedback_kind","value","source_ref","idempotency_key"],"title":"FeedbackCommand"},"FeedbackRequest":{"properties":{"assembly_receipt_id":{"type":"string","maxLength":64,"minLength":8,"title":"Assembly Receipt Id"},"block_id":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Block Id"},"kind":{"type":"string","enum":["helpful","report","confidence"],"title":"Kind"},"report_reason_code":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Report Reason Code"},"confidence_band":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"Confidence Band"},"attempt_ref":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Attempt Ref"}},"additionalProperties":false,"type":"object","required":["assembly_receipt_id","kind"],"title":"FeedbackRequest","description":"Operation 2. No body, source or prompt text; a report carries a reason\ncode, a confidence tap carries one of the four bands."},"FieldOfWork":{"properties":{"code":{"type":"string","title":"Code"},"label":{"type":"string","title":"Label"}},"additionalProperties":false,"type":"object","required":["code","label"],"title":"FieldOfWork"},"Figure":{"properties":{"metric":{"type":"string","title":"Metric"},"label":{"type":"string","title":"Label"},"unit":{"type":"string","title":"Unit"},"minimum":{"type":"number","title":"Minimum"},"maximum":{"type":"number","title":"Maximum"},"sample_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sample Size"},"denominator":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Denominator"},"national":{"type":"boolean","title":"National","default":false},"sources":{"items":{"$ref":"#/components/schemas/SourceStrip"},"type":"array","minItems":1,"title":"Sources"}},"additionalProperties":false,"type":"object","required":["metric","label","unit","minimum","maximum","sources"],"title":"Figure"},"FiledItem":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"ref":{"type":"string","maxLength":300,"minLength":3,"title":"Ref"},"pending":{"type":"boolean","title":"Pending","default":false}},"additionalProperties":false,"type":"object","required":["id","ref"],"title":"FiledItem"},"FiledPost":{"properties":{"items":{"items":{"$ref":"#/components/schemas/FiledItem"},"type":"array","maxItems":200,"minItems":1,"title":"Items"}},"additionalProperties":false,"type":"object","required":["items"],"title":"FiledPost"},"FinalizeDeletionCommand":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"terminal_receipt_ref":{"type":"string","maxLength":240,"minLength":8,"title":"Terminal Receipt Ref"},"allow_before_grace_deadline":{"type":"boolean","title":"Allow Before Grace Deadline","default":false}},"additionalProperties":false,"type":"object","required":["expected_version","terminal_receipt_ref"],"title":"FinalizeDeletionCommand"},"FinalizeRunRequest":{"properties":{"stage":{"$ref":"#/components/schemas/AcceptanceStage"},"status":{"$ref":"#/components/schemas/StageStatus"},"reason_codes":{"items":{"type":"string"},"type":"array","maxItems":64,"title":"Reason Codes"},"evidence_refs":{"items":{"$ref":"#/components/schemas/insights_runtime_acceptance_core__EvidenceRef"},"type":"array","maxItems":128,"title":"Evidence Refs"},"metrics":{"additionalProperties":{"type":"number"},"type":"object","maxProperties":64,"title":"Metrics"},"blocker_owner":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Blocker Owner"},"started_at":{"type":"string","format":"date-time","title":"Started At"},"completed_at":{"type":"string","format":"date-time","title":"Completed At"},"expected_run_version":{"type":"integer","minimum":1.0,"title":"Expected Run Version"},"candidate_sha":{"type":"string","pattern":"^[a-f0-9]{40}$","title":"Candidate Sha"},"image_digest":{"type":"string","pattern":"^sha256:[a-f0-9]{64}$","title":"Image Digest"},"environment":{"type":"string","enum":["staging","production_equivalent","production"],"title":"Environment"}},"additionalProperties":false,"type":"object","required":["stage","status","started_at","completed_at","expected_run_version","candidate_sha","image_digest","environment"],"title":"FinalizeRunRequest"},"FireReq":{"properties":{"student_id":{"type":"string","title":"Student Id"},"source":{"type":"string","title":"Source","description":"route | home_v2 | drawer | search | atrix","default":"route"},"context":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Context"}},"type":"object","required":["student_id"],"title":"FireReq"},"FirstActionBody":{"properties":{"action_key":{"type":"string","maxLength":96,"title":"Action Key"},"action_ref":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Action Ref"}},"type":"object","required":["action_key"],"title":"FirstActionBody"},"FirstRunPost":{"properties":{"action":{"type":"string","enum":["offered","chosen","skipped"],"title":"Action"}},"additionalProperties":false,"type":"object","required":["action"],"title":"FirstRunPost"},"FirstValueCandidate":{"properties":{"candidate_ref":{"type":"string","maxLength":200,"minLength":1,"title":"Candidate Ref"},"product_id":{"type":"string","maxLength":100,"minLength":1,"title":"Product Id"},"task_ref":{"type":"string","maxLength":200,"minLength":1,"title":"Task Ref"},"route":{"type":"string","pattern":"^/","title":"Route"},"title":{"type":"string","maxLength":200,"minLength":1,"title":"Title"},"reason":{"type":"string","maxLength":500,"minLength":1,"title":"Reason"},"exam_lanes":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Exam Lanes"},"class_grades":{"items":{"type":"integer"},"type":"array","maxItems":20,"title":"Class Grades"},"subject_refs":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Subject Refs"},"access_state":{"type":"string","enum":["FREE","ALLOWED","DENIED","UNKNOWN"],"title":"Access State","default":"UNKNOWN"},"source_state":{"type":"string","enum":["CURRENT","STALE","RECALLED","MISSING"],"title":"Source State","default":"MISSING"},"runtime_state":{"type":"string","enum":["READY","DEGRADED","UNAVAILABLE"],"title":"Runtime State","default":"UNAVAILABLE"},"runnable":{"type":"boolean","title":"Runnable","default":false},"effort_minutes":{"type":"integer","maximum":180.0,"minimum":1.0,"title":"Effort Minutes"},"priority":{"type":"integer","maximum":10000.0,"minimum":0.0,"title":"Priority","default":100},"source_ref":{"type":"string","maxLength":240,"minLength":1,"title":"Source Ref"},"source_version":{"type":"string","maxLength":120,"minLength":1,"title":"Source Version"},"valid_until":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Valid Until"}},"additionalProperties":false,"type":"object","required":["candidate_ref","product_id","task_ref","route","title","reason","effort_minutes","source_ref","source_version"],"title":"FirstValueCandidate"},"FirstValueCompleteCommand":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"owning_receipt_ref":{"type":"string","maxLength":240,"minLength":8,"title":"Owning Receipt Ref"},"outcome_state":{"type":"string","enum":["COMPLETED","SKIPPED","FAILED"],"title":"Outcome State"},"outcome_reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Outcome Reason"}},"additionalProperties":false,"type":"object","required":["expected_version","owning_receipt_ref","outcome_state"],"title":"FirstValueCompleteCommand"},"FirstValueSelectCommand":{"properties":{"scope":{"$ref":"#/components/schemas/sysimp_pr02_authority__AcademicScope"},"preferred_candidate_ref":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Preferred Candidate Ref"},"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version","default":0},"entry_mode":{"type":"string","maxLength":80,"minLength":1,"title":"Entry Mode","default":"onboarding"}},"additionalProperties":false,"type":"object","required":["scope"],"title":"FirstValueSelectCommand"},"FitDimensionProjection":{"properties":{"dimension":{"type":"string","enum":["INTEREST","APTITUDE_EVIDENCE","LEARNING_MODE","ENVIRONMENT","TIME_RISK","CONSTRAINT_ALIGNMENT"],"title":"Dimension"},"state":{"type":"string","enum":["KNOWN","UNKNOWN","CONTESTED","EXCLUDED"],"title":"State"},"alignment":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Alignment"},"uncertainty":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Uncertainty"},"signal_count":{"type":"integer","minimum":0.0,"title":"Signal Count"},"evidence_refs":{"items":{"type":"string"},"type":"array","title":"Evidence Refs","default":[]},"reason_codes":{"items":{"type":"string"},"type":"array","title":"Reason Codes","default":[]}},"additionalProperties":false,"type":"object","required":["dimension","state","uncertainty","signal_count"],"title":"FitDimensionProjection"},"FixedCommitment":{"properties":{"day_of_week":{"type":"integer","maximum":6.0,"minimum":0.0,"title":"Day Of Week"},"kind":{"type":"string","enum":["school","coaching","tuition","travel","family","other"],"title":"Kind"},"label":{"type":"string","maxLength":80,"minLength":1,"title":"Label"},"start_time":{"type":"string","pattern":"^(?:[01]\\d|2[0-3]):[0-5]\\d$","title":"Start Time"},"end_time":{"type":"string","pattern":"^(?:[01]\\d|2[0-3]):[0-5]\\d$","title":"End Time"}},"type":"object","required":["day_of_week","kind","label","start_time","end_time"],"title":"FixedCommitment"},"FlagBody":{"properties":{"kind":{"type":"string","pattern":"^(doubt|review|profile|answer|other)$","title":"Kind"},"subject_ref":{"type":"string","maxLength":200,"minLength":1,"title":"Subject Ref"},"excerpt":{"type":"string","maxLength":500,"title":"Excerpt","default":""},"reason":{"type":"string","pattern":"^(abuse|self_harm|personal_info|spam|copyright|other)$","title":"Reason"},"reported_by_kind":{"type":"string","pattern":"^(student|parent|teacher|staff|system)$","title":"Reported By Kind","default":"staff"}},"type":"object","required":["kind","subject_ref","reason"],"title":"FlagBody"},"FlagPatch":{"properties":{"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enabled"},"rollout_pct":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Rollout Pct"},"kill_switch":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Kill Switch"},"tier_whitelist":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Tier Whitelist"},"user_whitelist":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"User Whitelist"},"user_blacklist":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"User Blacklist"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason","default":""}},"type":"object","title":"FlagPatch"},"FleetRequeueCommand":{"properties":{"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version"},"reason":{"type":"string","maxLength":1000,"minLength":3,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["expected_version","reason"],"title":"FleetRequeueCommand"},"FleetRunCommand":{"properties":{"limit":{"type":"integer","maximum":500.0,"minimum":1.0,"title":"Limit","default":50},"lease_seconds":{"type":"integer","maximum":900.0,"minimum":15.0,"title":"Lease Seconds","default":60}},"additionalProperties":false,"type":"object","title":"FleetRunCommand"},"FlipBody":{"properties":{"to":{"type":"string","pattern":"^(on|off|inherit)$","title":"To"},"reason":{"type":"string","maxLength":400,"title":"Reason","default":""}},"type":"object","required":["to"],"title":"FlipBody"},"FlowType":{"type":"string","enum":["embedded_booking","standalone_booking","teacher_bench_review","referral_settlement","parent_support","sme_review"],"title":"FlowType"},"FocusAbandonedReportAckBody":{"properties":{"task_version":{"type":"integer","minimum":1.0,"title":"Task Version"},"resource_version":{"type":"integer","minimum":1.0,"title":"Resource Version"},"report_receipt_id":{"type":"string","maxLength":36,"minLength":36,"pattern":"^[0-9a-f-]{36}$","title":"Report Receipt Id"},"report_receipt_version":{"type":"integer","minimum":1.0,"title":"Report Receipt Version"},"report_digest":{"type":"string","maxLength":64,"minLength":64,"pattern":"^[a-f0-9]{64}$","title":"Report Digest"}},"additionalProperties":false,"type":"object","required":["task_version","resource_version","report_receipt_id","report_receipt_version","report_digest"],"title":"FocusAbandonedReportAckBody"},"FocusCorrectionBody":{"properties":{"supersedes_receipt_id":{"type":"string","maxLength":36,"minLength":36,"pattern":"^[0-9a-fA-F-]{36}$","title":"Supersedes Receipt Id"},"declared_break_count":{"type":"integer","maximum":99.0,"minimum":0.0,"title":"Declared Break Count"},"reason_code":{"type":"string","enum":["DECLARED_BREAK_COUNT"],"const":"DECLARED_BREAK_COUNT","title":"Reason Code"}},"additionalProperties":false,"type":"object","required":["supersedes_receipt_id","declared_break_count","reason_code"],"title":"FocusCorrectionBody"},"FollowRequest":{"properties":{"exam_type":{"type":"string","maxLength":80,"minLength":1,"title":"Exam Type"},"body_key":{"type":"string","maxLength":80,"minLength":1,"title":"Body Key"},"year":{"type":"integer","maximum":2100.0,"minimum":1990.0,"title":"Year"},"college_key":{"type":"string","maxLength":200,"minLength":1,"title":"College Key"},"branch":{"type":"string","maxLength":300,"title":"Branch"},"quota":{"type":"string","maxLength":120,"title":"Quota"},"category":{"type":"string","maxLength":120,"title":"Category"},"gender":{"type":"string","maxLength":120,"title":"Gender"}},"additionalProperties":false,"type":"object","required":["exam_type","body_key","year","college_key","branch","quota","category","gender"],"title":"FollowRequest","description":"One line of the cutoff almanac. The server re-reads the almanac rows itself,\nso the spellings stored are the published ones, not whatever the browser sent."},"FollowupNew":{"properties":{"text":{"type":"string","maxLength":600,"minLength":8,"title":"Text"},"owner_name":{"type":"string","maxLength":80,"title":"Owner Name","default":""},"due_on":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Due On"}},"type":"object","required":["text"],"title":"FollowupNew"},"FollowupPatch":{"properties":{"state":{"type":"string","pattern":"^(open|done|dropped)$","title":"State"},"done_note":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}],"title":"Done Note"}},"type":"object","required":["state"],"title":"FollowupPatch"},"ForgotPasswordRequest":{"properties":{"email":{"type":"string","maxLength":254,"minLength":3,"title":"Email"}},"type":"object","required":["email"],"title":"ForgotPasswordRequest"},"FormulaReq":{"properties":{"formula_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Formula Name"},"concept_tag":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Concept Tag"}},"type":"object","title":"FormulaReq"},"FormulaSheetBody":{"properties":{"subject":{"type":"string","maxLength":40,"minLength":1,"title":"Subject"},"exclude":{"items":{"type":"string"},"type":"array","maxItems":500,"title":"Exclude"},"order":{"items":{"type":"string"},"type":"array","maxItems":500,"title":"Order"},"format":{"type":"string","title":"Format","default":"PDF"}},"type":"object","required":["subject"],"title":"FormulaSheetBody"},"ForwardConstraintRequestProjection":{"properties":{"constraint_request_id":{"type":"string","format":"uuid","title":"Constraint Request Id"},"owner_id":{"type":"string","title":"Owner Id"},"pathway_context_id":{"type":"string","format":"uuid","title":"Pathway Context Id"},"context_version":{"type":"integer","minimum":1.0,"title":"Context Version"},"forward_decision_id":{"type":"string","format":"uuid","title":"Forward Decision Id"},"candidate_set_id":{"type":"string","format":"uuid","title":"Candidate Set Id"},"graph_release_id":{"type":"string","format":"uuid","title":"Graph Release Id"},"route_id":{"type":"string","format":"uuid","title":"Route Id"},"route_digest":{"type":"string","title":"Route Digest"},"start_entity_id":{"type":"string","format":"uuid","title":"Start Entity Id"},"goal_entity_id":{"type":"string","format":"uuid","title":"Goal Entity Id"},"goal_entity_type":{"type":"string","title":"Goal Entity Type"},"source_route":{"type":"string","title":"Source Route"},"rule_version_id":{"type":"string","format":"uuid","title":"Rule Version Id"},"rule_version_no":{"type":"integer","minimum":1.0,"title":"Rule Version No"},"constraint_schema_id":{"type":"string","title":"Constraint Schema Id"},"schema_version":{"type":"string","title":"Schema Version"},"schema_digest":{"type":"string","title":"Schema Digest"},"field":{"type":"string","title":"Field"},"prompt":{"type":"string","title":"Prompt"},"value_kind":{"type":"string","enum":["TEXT","NUMBER","BOOLEAN","CHOICE"],"title":"Value Kind"},"choices":{"items":{"type":"string"},"type":"array","title":"Choices","default":[]},"min_value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Min Value"},"max_value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Value"},"max_length":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Length"},"state":{"type":"string","enum":["OPEN","DECLARED","UNABLE_TO_PROVIDE","SUPERSEDED","EXPIRED"],"title":"State"},"issued_at":{"type":"string","format":"date-time","title":"Issued At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"current_response_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Current Response Id"},"response_version":{"type":"integer","minimum":0.0,"title":"Response Version","default":0}},"additionalProperties":false,"type":"object","required":["constraint_request_id","owner_id","pathway_context_id","context_version","forward_decision_id","candidate_set_id","graph_release_id","route_id","route_digest","start_entity_id","goal_entity_id","goal_entity_type","source_route","rule_version_id","rule_version_no","constraint_schema_id","schema_version","schema_digest","field","prompt","value_kind","state","issued_at"],"title":"ForwardConstraintRequestProjection"},"ForwardConstraintRequestsEnvelope":{"properties":{"requests":{"items":{"$ref":"#/components/schemas/ForwardConstraintRequestProjection"},"type":"array","title":"Requests"}},"additionalProperties":false,"type":"object","required":["requests"],"title":"ForwardConstraintRequestsEnvelope"},"ForwardConstraintResponseEnvelope":{"properties":{"response":{"$ref":"#/components/schemas/ForwardConstraintResponseReceipt"},"receipt":{"type":"object","title":"Receipt"}},"additionalProperties":false,"type":"object","required":["response","receipt"],"title":"ForwardConstraintResponseEnvelope"},"ForwardConstraintResponseReceipt":{"properties":{"response_id":{"type":"string","format":"uuid","title":"Response Id"},"constraint_request_id":{"type":"string","format":"uuid","title":"Constraint Request Id"},"owner_id":{"type":"string","title":"Owner Id"},"response_version":{"type":"integer","minimum":1.0,"title":"Response Version"},"state":{"type":"string","enum":["DECLARED","UNABLE_TO_PROVIDE"],"title":"State"},"value_digest":{"type":"string","title":"Value Digest"},"supersedes_response_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Supersedes Response Id"},"new_context_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"New Context Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"additionalProperties":false,"type":"object","required":["response_id","constraint_request_id","owner_id","response_version","state","value_digest","created_at"],"title":"ForwardConstraintResponseReceipt"},"FromComparisonRequest":{"properties":{"comparison_id":{"type":"string","format":"uuid","title":"Comparison Id"},"version_no":{"type":"integer","minimum":1.0,"title":"Version No"},"chosen_route_id":{"type":"string","format":"uuid","title":"Chosen Route Id"},"stated_priorities":{"items":{"type":"string"},"type":"array","maxItems":16,"title":"Stated Priorities","default":[]},"reason":{"anyOf":[{"type":"string","maxLength":4000,"minLength":1},{"type":"null"}],"title":"Reason"},"product_ordering":{"items":{"type":"string","enum":["duration","cost","gates","opens","closes"]},"type":"array","maxItems":5,"title":"Product Ordering","default":[]},"route_choice_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Route Choice Id"}},"additionalProperties":false,"type":"object","required":["comparison_id","version_no","chosen_route_id"],"title":"FromComparisonRequest","description":"Keep a record of the route a family chose from a comparison they saved.\n\nThe server builds the receipt from the stored comparison: the routes, their labels and\ntheir order come from there and cannot be sent in. The family supplies only the route\nthey chose, optionally what mattered to them in their own words, and the order the\nscreen sorted its rows in (kept apart from their words)."},"FulfilIn":{"properties":{"subject_key":{"type":"string","maxLength":80,"title":"Subject Key"},"title":{"type":"string","maxLength":120,"minLength":1,"title":"Title"},"body":{"type":"string","maxLength":300,"minLength":1,"title":"Body"},"deep_link":{"type":"string","maxLength":200,"minLength":1,"title":"Deep Link"}},"additionalProperties":false,"type":"object","required":["subject_key","title","body","deep_link"],"title":"FulfilIn"},"FxBody":{"properties":{"month":{"type":"string","title":"Month"},"inr_per_usd":{"anyOf":[{"type":"number","exclusiveMaximum":1000.0,"exclusiveMinimum":1.0},{"type":"null"}],"title":"Inr Per Usd"}},"type":"object","required":["month"],"title":"FxBody"},"GapBody":{"properties":{"purpose":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Purpose"},"contract_version":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Contract Version"},"expected_version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expected Version"},"idempotency_key":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Idempotency Key"},"capability_id":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Capability Id"},"closure_criterion":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Closure Criterion"},"evidence_source":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Evidence Source"},"evidence_ref":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Evidence Ref"},"evidence_observed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Evidence Observed At"},"criteria_unmet":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":20},{"type":"null"}],"title":"Criteria Unmet"}},"additionalProperties":false,"type":"object","title":"GapBody"},"GateCheck":{"properties":{"name":{"type":"string","maxLength":160,"minLength":1,"title":"Name"},"ok":{"type":"boolean","title":"Ok"},"seconds":{"type":"number","maximum":86400.0,"minimum":0.0,"title":"Seconds","default":0}},"type":"object","required":["name","ok"],"title":"GateCheck"},"GateReceipt":{"properties":{"receipt_id":{"type":"string","maxLength":80,"title":"Receipt Id"},"head_sha":{"type":"string","maxLength":64,"minLength":7,"title":"Head Sha"},"branch":{"type":"string","maxLength":200,"title":"Branch","default":""},"machine":{"type":"string","maxLength":80,"title":"Machine","default":""},"checks":{"items":{"$ref":"#/components/schemas/GateCheck"},"type":"array","maxItems":200,"minItems":1,"title":"Checks"},"duration_seconds":{"type":"number","maximum":86400.0,"minimum":0.0,"title":"Duration Seconds","default":0},"clean_tree":{"type":"boolean","title":"Clean Tree","default":true},"ran_at":{"type":"string","maxLength":40,"title":"Ran At"}},"type":"object","required":["receipt_id","head_sha","checks","ran_at"],"title":"GateReceipt"},"GateRow":{"properties":{"rule_id":{"type":"string","title":"Rule Id"},"rule_version":{"type":"string","title":"Rule Version"},"outcome":{"type":"string","title":"Outcome"},"reason_plain":{"type":"string","title":"Reason Plain"},"authority_ref":{"type":"string","title":"Authority Ref"},"recheck_path":{"type":"string","title":"Recheck Path"}},"type":"object","required":["rule_id","rule_version","outcome","reason_plain","authority_ref","recheck_path"],"title":"GateRow"},"GateRunsBody":{"properties":{"repo":{"type":"string","title":"Repo"},"receipts":{"items":{"$ref":"#/components/schemas/GateReceipt"},"type":"array","maxItems":50,"minItems":1,"title":"Receipts"}},"type":"object","required":["repo","receipts"],"title":"GateRunsBody"},"GateSnapshot":{"properties":{"route":{"$ref":"#/components/schemas/GateState"},"provider":{"$ref":"#/components/schemas/GateState"},"source":{"$ref":"#/components/schemas/GateState"},"rights":{"$ref":"#/components/schemas/GateState"},"entitlement":{"$ref":"#/components/schemas/GateState"},"audience_policy":{"$ref":"#/components/schemas/GateState"},"consent_policy":{"$ref":"#/components/schemas/GateState"},"route_evidence_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Route Evidence Ref"},"provider_evidence_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Evidence Ref"},"source_evidence_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Evidence Ref"},"rights_evidence_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rights Evidence Ref"},"entitlement_evidence_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Entitlement Evidence Ref"},"audience_evidence_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Audience Evidence Ref"},"consent_evidence_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Consent Evidence Ref"}},"additionalProperties":false,"type":"object","required":["route","provider","source","rights","entitlement","audience_policy","consent_policy"],"title":"GateSnapshot"},"GateState":{"type":"string","enum":["VERIFIED","NOT_REQUIRED","PRODUCT_LEVEL_READY","OS09_BOUND","FREE_VERIFIED","PENDING","WITHHELD","FAILED","UNKNOWN"],"title":"GateState"},"GateSummary":{"properties":{"state":{"type":"string","enum":["NO_RULE_PUBLISHED","ALL_MET","SOME_NOT_MET","SOME_UNKNOWN","NONE_APPLY"],"title":"State"},"met":{"type":"integer","title":"Met","default":0},"not_met":{"type":"integer","title":"Not Met","default":0},"unknown":{"type":"integer","title":"Unknown","default":0},"not_applicable":{"type":"integer","title":"Not Applicable","default":0},"missing_facts":{"items":{"type":"string"},"type":"array","title":"Missing Facts","default":[]}},"additionalProperties":false,"type":"object","required":["state"],"title":"GateSummary"},"GateVerdict":{"properties":{"rule_version_id":{"type":"string","format":"uuid","title":"Rule Version Id"},"rule_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rule Key"},"rule_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rule Type"},"rule_version_no":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rule Version No"},"content_digest":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Digest"},"source_digest":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Digest"},"source_record_ids":{"items":{"type":"string"},"type":"array","title":"Source Record Ids","default":[]},"jurisdiction":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Jurisdiction"},"effective_from":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Effective From"},"effective_to":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Effective To"},"source_active":{"type":"boolean","title":"Source Active","default":true},"verdict":{"type":"string","enum":["MET","NOT_MET","UNKNOWN","NOT_APPLICABLE"],"title":"Verdict"},"reason_code":{"type":"string","title":"Reason Code"},"missing_facts":{"items":{"type":"string"},"type":"array","title":"Missing Facts","default":[]}},"additionalProperties":false,"type":"object","required":["rule_version_id","verdict","reason_code"],"title":"GateVerdict","description":"One published entry rule, judged against the owner's own context facts.\n\nUNKNOWN is returned only for a stated reason: a fact the rule reads is not in the context (named in `missing_facts`), the\nrule's source is no longer active, the rule was not published as a hard gate, or the evaluator could not read it. No learner\nvalue is echoed back; only the names of the facts the rule reads."},"GenerateBody":{"properties":{"student_id":{"type":"string","maxLength":64,"minLength":1,"title":"Student Id"},"year":{"anyOf":[{"type":"integer","maximum":2100.0,"minimum":2020.0},{"type":"null"}],"title":"Year"},"week_number":{"anyOf":[{"type":"integer","maximum":53.0,"minimum":1.0},{"type":"null"}],"title":"Week Number"}},"type":"object","required":["student_id"],"title":"GenerateBody"},"GenerateCalibrationRequest":{"properties":{"concept_ref":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Concept Ref"},"window_days":{"type":"integer","maximum":90.0,"minimum":1.0,"title":"Window Days","default":30}},"additionalProperties":false,"type":"object","title":"GenerateCalibrationRequest"},"GeneratePositionReportRequest":{"properties":{"share_scope":{"type":"string","title":"Share Scope","default":"SELF"}},"additionalProperties":false,"type":"object","title":"GeneratePositionReportRequest"},"GenerateRoteCheckRequest":{"properties":{"concept_ref":{"type":"string","maxLength":200,"minLength":1,"title":"Concept Ref"},"window_days":{"type":"integer","maximum":90.0,"minimum":1.0,"title":"Window Days","default":30}},"additionalProperties":false,"type":"object","required":["concept_ref"],"title":"GenerateRoteCheckRequest"},"GiveAnswerRequest":{"properties":{"client_event_id":{"type":"string","maxLength":200,"minLength":8,"title":"Client Event Id"},"definition_id":{"type":"string","maxLength":200,"minLength":4,"title":"Definition Id"},"definition_digest":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Definition Digest"},"item_ref":{"type":"string","maxLength":200,"minLength":1,"title":"Item Ref"},"item_version":{"type":"string","maxLength":80,"minLength":1,"title":"Item Version"},"answer":{"type":"string","maxLength":2000,"minLength":1,"title":"Answer"},"client_sequence":{"type":"integer","minimum":0.0,"title":"Client Sequence"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"},"expected_session_version":{"type":"integer","minimum":1.0,"title":"Expected Session Version"},"stated_confidence":{"anyOf":[{"type":"string","enum":["GUESS","UNSURE","FAIRLY_SURE","CERTAIN"]},{"type":"null"}],"title":"Stated Confidence"}},"additionalProperties":false,"type":"object","required":["client_event_id","definition_id","definition_digest","item_ref","item_version","answer","client_sequence","occurred_at","expected_session_version"],"title":"GiveAnswerRequest"},"GoldenChainCommand":{"properties":{"proof_manifest_id":{"type":"string","format":"uuid","title":"Proof Manifest Id"},"truth_id":{"type":"string","format":"uuid","title":"Truth Id"},"thread_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Thread Id"},"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version"}},"additionalProperties":false,"type":"object","required":["proof_manifest_id","truth_id","expected_version"],"title":"GoldenChainCommand"},"GoldenSliceBRunCommand":{"properties":{"run_id":{"type":"string","format":"uuid","title":"Run Id"},"release_scope":{"type":"string","maxLength":120,"minLength":3,"title":"Release Scope"},"commit_sha":{"type":"string","maxLength":64,"minLength":7,"title":"Commit Sha"},"environment":{"type":"string","maxLength":64,"minLength":2,"title":"Environment"},"parent_route":{"type":"string","maxLength":240,"minLength":1,"title":"Parent Route"},"commerce_route":{"type":"string","maxLength":240,"minLength":1,"title":"Commerce Route"},"public_route":{"type":"string","maxLength":240,"minLength":1,"title":"Public Route"},"offline_route":{"type":"string","maxLength":240,"minLength":1,"title":"Offline Route"},"owner":{"type":"string","maxLength":120,"minLength":2,"title":"Owner"},"started_at":{"type":"string","format":"date-time","title":"Started At"}},"type":"object","required":["release_scope","commit_sha","environment","parent_route","commerce_route","public_route","offline_route","owner"],"title":"GoldenSliceBRunCommand"},"GoldenSliceCDayRunCommand":{"properties":{"run_id":{"type":"string","format":"uuid","title":"Run Id"},"release_scope":{"type":"string","maxLength":120,"minLength":3,"title":"Release Scope"},"commit_sha":{"type":"string","maxLength":64,"minLength":7,"pattern":"^[0-9a-fA-F]+$","title":"Commit Sha"},"environment":{"type":"string","maxLength":64,"minLength":2,"title":"Environment"},"student_ref":{"type":"string","maxLength":160,"minLength":8,"title":"Student Ref"},"script_version":{"type":"string","maxLength":64,"minLength":3,"title":"Script Version","default":"golden-c-v2"},"owner":{"type":"string","maxLength":120,"minLength":2,"title":"Owner"},"started_at":{"type":"string","format":"date-time","title":"Started At"}},"type":"object","required":["release_scope","commit_sha","environment","student_ref","owner"],"title":"GoldenSliceCDayRunCommand"},"GoldenSliceDecisionCommand":{"properties":{"decision_id":{"type":"string","format":"uuid","title":"Decision Id"},"run_id":{"type":"string","format":"uuid","title":"Run Id"},"actor_id":{"type":"string","maxLength":120,"minLength":1,"title":"Actor Id"},"force_blocked":{"type":"boolean","title":"Force Blocked","default":false},"reason":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Reason"}},"type":"object","required":["run_id","actor_id"],"title":"GoldenSliceDecisionCommand"},"GoldenSliceEvidenceCommand":{"properties":{"artifact_id":{"type":"string","format":"uuid","title":"Artifact Id"},"run_id":{"type":"string","format":"uuid","title":"Run Id"},"proof_class":{"type":"string","enum":["real_route","mobile_375","desktop_1366","telemetry_readback","rollback","human_feel_review"],"title":"Proof Class"},"command_or_matrix":{"type":"string","maxLength":260,"minLength":2,"title":"Command Or Matrix"},"environment":{"type":"string","maxLength":120,"minLength":2,"title":"Environment"},"commit_sha":{"type":"string","maxLength":64,"minLength":7,"title":"Commit Sha"},"result":{"type":"string","enum":["PASS","FAIL","BLOCKED"],"title":"Result"},"executed":{"type":"boolean","title":"Executed"},"executed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Executed At"},"artifact_refs":{"items":{"$ref":"#/components/schemas/os_runtime__aos_pr22_golden_slice_a__models__EvidenceRef"},"type":"array","title":"Artifact Refs"},"notes":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}],"title":"Notes"}},"type":"object","required":["run_id","proof_class","command_or_matrix","environment","commit_sha","result","executed"],"title":"GoldenSliceEvidenceCommand"},"GoldenSliceRunCommand":{"properties":{"run_id":{"type":"string","format":"uuid","title":"Run Id"},"idempotency_key":{"type":"string","maxLength":160,"minLength":12,"title":"Idempotency Key"},"actor_id":{"type":"string","maxLength":120,"minLength":1,"title":"Actor Id"},"learner_ref":{"type":"string","maxLength":160,"minLength":1,"title":"Learner Ref"},"start_route":{"type":"string","maxLength":220,"minLength":1,"title":"Start Route"},"expected_continue_route":{"type":"string","maxLength":220,"minLength":1,"title":"Expected Continue Route"},"dependency_versions":{"additionalProperties":{"type":"string"},"type":"object","title":"Dependency Versions"},"rollback_profile":{"type":"string","maxLength":80,"minLength":2,"title":"Rollback Profile","default":"profile_default"},"metadata":{"type":"object","title":"Metadata"}},"type":"object","required":["idempotency_key","actor_id","learner_ref","start_route","expected_continue_route"],"title":"GoldenSliceRunCommand"},"GoldenSliceStepCommand":{"properties":{"step_id":{"type":"string","format":"uuid","title":"Step Id"},"run_id":{"type":"string","format":"uuid","title":"Run Id"},"step_name":{"type":"string","enum":["ASK","GRADE","PROOF","REPAIR","CONTINUE"],"title":"Step Name"},"route_path":{"type":"string","maxLength":220,"minLength":1,"title":"Route Path"},"state":{"type":"string","enum":["READY","BLOCKED","PASSED","FAILED"],"title":"State"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"},"receipt_refs":{"items":{"$ref":"#/components/schemas/os_runtime__aos_pr22_golden_slice_a__models__EvidenceRef"},"type":"array","title":"Receipt Refs"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__aos_pr22_golden_slice_a__models__EvidenceRef"},"type":"array","title":"Evidence Refs"},"block_reason":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Block Reason"}},"type":"object","required":["run_id","step_name","route_path","state"],"title":"GoldenSliceStepCommand"},"GoodwillBody":{"properties":{"sku_id":{"type":"string","maxLength":120,"minLength":3,"title":"Sku Id"},"student_id":{"type":"string","maxLength":64,"minLength":3,"title":"Student Id"},"valid_for_hours":{"type":"integer","maximum":24.0,"minimum":1.0,"title":"Valid For Hours"},"reason":{"type":"string","maxLength":500,"minLength":3,"title":"Reason"}},"type":"object","required":["sku_id","student_id","valid_for_hours","reason"],"title":"GoodwillBody"},"GooglePrepareRequest":{"properties":{"age_ticket":{"type":"string","maxLength":2000,"minLength":10,"title":"Age Ticket"}},"type":"object","required":["age_ticket"],"title":"GooglePrepareRequest"},"GovernedConceptReference":{"properties":{"object_namespace":{"type":"string","enum":["legacy-graph","question","ncert","pyq","note","asset","mock","repair_treatment","tutor_speciality"],"title":"Object Namespace"},"object_id":{"type":"string","maxLength":300,"minLength":1,"title":"Object Id"}},"additionalProperties":false,"type":"object","required":["object_namespace","object_id"],"title":"GovernedConceptReference","description":"Server-resolved lookup key; never a parent-visible evidence payload."},"GovernedNeedReference":{"properties":{"object_namespace":{"type":"string","enum":["legacy-graph","tutor_speciality"],"title":"Object Namespace"},"object_id":{"type":"string","maxLength":300,"minLength":1,"title":"Object Id"}},"additionalProperties":false,"type":"object","required":["object_namespace","object_id"],"title":"GovernedNeedReference","description":"A lookup key only; it is never accepted as semantic identity."},"GradeExecuteRequest":{"properties":{"student_id":{"type":"string","title":"Student Id"},"subject":{"type":"string","title":"Subject"},"question_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Question Id"},"question_type":{"type":"string","title":"Question Type","default":"subjective"},"text_content":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text Content"},"image_base64":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image Base64"},"sub_topic":{"type":"string","title":"Sub Topic","default":"general"}},"type":"object","required":["student_id","subject"],"title":"GradeExecuteRequest"},"GradeExecuteResponse":{"properties":{"pipeline":{"type":"string","title":"Pipeline","default":"P2"},"submission_id":{"type":"string","title":"Submission Id"},"overall_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Overall Score"},"max_marks":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Marks"},"obtained_marks":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Obtained Marks"},"trace_steps":{"anyOf":[{"items":{"type":"object"},"type":"array"},{"type":"null"}],"title":"Trace Steps"},"verdict":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Verdict"},"breakdown":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Breakdown"},"directive":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Directive"},"confidence":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Confidence"},"needs_hitl":{"type":"boolean","title":"Needs Hitl","default":false},"engine_meta":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Engine Meta"}},"type":"object","required":["submission_id"],"title":"GradeExecuteResponse"},"GradeFinalizationCommand":{"properties":{"attempt_id":{"type":"string","format":"uuid","title":"Attempt Id"},"score_version_id":{"type":"string","format":"uuid","title":"Score Version Id"},"finalized_by":{"type":"string","maxLength":128,"minLength":1,"title":"Finalized By"},"publish_to_student":{"type":"boolean","title":"Publish To Student","default":false},"repair_eligible":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Repair Eligible"}},"type":"object","required":["attempt_id","score_version_id","finalized_by"],"title":"GradeFinalizationCommand"},"GradeSubmitRequest":{"properties":{"question_id":{"type":"string","title":"Question Id"},"question_type":{"type":"string","title":"Question Type","default":"subjective"},"subject":{"type":"string","title":"Subject","default":"General"},"sub_topic":{"type":"string","title":"Sub Topic","default":"general"},"answer":{"type":"string","title":"Answer","default":""},"image_base64":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image Base64"},"additional_pages":{"items":{"type":"string"},"type":"array","title":"Additional Pages"},"question_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Question Text"},"expected_answer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expected Answer"},"max_score":{"type":"number","title":"Max Score","default":10.0},"product_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Id","default":"ai-grader"},"entry_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Entry Mode","default":"standalone"}},"type":"object","title":"GradeSubmitRequest"},"GradebookExportIn":{"properties":{"batch_id":{"type":"string","maxLength":64,"minLength":1,"title":"Batch Id"},"response_ids":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":300},{"type":"null"}],"title":"Response Ids"}},"type":"object","required":["batch_id"],"title":"GradebookExportIn"},"GradebookTakebackIn":{"properties":{"batch_id":{"type":"string","maxLength":64,"minLength":1,"title":"Batch Id"},"response_ids":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":300,"minItems":1},{"type":"null"}],"title":"Response Ids"}},"type":"object","required":["batch_id"],"title":"GradebookTakebackIn"},"GraderHandoffCommand":{"properties":{"requested_intent":{"type":"string","enum":["ask","grade","practice"],"title":"Requested Intent"},"confirmed_text":{"type":"string","maxLength":20000,"minLength":1,"title":"Confirmed Text"},"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"return_ref":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Return Ref"},"subject":{"type":"string","maxLength":80,"minLength":1,"title":"Subject"}},"additionalProperties":false,"type":"object","required":["requested_intent","confirmed_text","expected_version","subject"],"title":"GraderHandoffCommand","description":"A grade hand-off also names the subject the answer will be marked in.\n\nThe subject is the student's own choice. It is NOT trusted: AI Grader marks\nonly against an approved rubric stored for exactly this subject, and this route\nlooks that rubric up before it writes anything."},"GradingJobResponse":{"properties":{"job_id":{"type":"string","title":"Job Id"},"status":{"$ref":"#/components/schemas/GradingStatus"},"message":{"type":"string","title":"Message"}},"type":"object","required":["job_id","status","message"],"title":"GradingJobResponse"},"GradingRequest":{"properties":{"student_id":{"type":"string","title":"Student Id"},"question_id":{"type":"string","title":"Question Id"},"question_type":{"$ref":"#/components/schemas/QuestionType"},"subject":{"type":"string","title":"Subject"},"sub_topic":{"type":"string","title":"Sub Topic","default":"general"},"question_text":{"type":"string","title":"Question Text","default":""},"expected_answer":{"type":"string","title":"Expected Answer","default":""},"rubric":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Rubric"},"max_score":{"type":"number","title":"Max Score","default":10.0},"image_base64":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image Base64"}},"type":"object","required":["student_id","question_id","question_type","subject"],"title":"GradingRequest"},"GradingResult":{"properties":{"job_id":{"type":"string","title":"Job Id"},"student_id":{"type":"string","title":"Student Id"},"question_id":{"type":"string","title":"Question Id"},"status":{"$ref":"#/components/schemas/GradingStatus"},"overall_score":{"type":"number","title":"Overall Score","default":0.0},"max_score":{"type":"number","title":"Max Score","default":0.0},"confidence":{"type":"number","title":"Confidence","default":0.0},"subject":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"},"sub_topic":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sub Topic"},"steps":{"items":{"$ref":"#/components/schemas/StepResult"},"type":"array","title":"Steps"},"hitl_required":{"type":"boolean","title":"Hitl Required","default":false},"ocr_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ocr Text"},"error_taxonomy":{"additionalProperties":{"type":"integer"},"type":"object","title":"Error Taxonomy"},"graded_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Graded At"},"provenance_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provenance Id"},"trace_data":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Trace Data"},"verdict_data":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Verdict Data"},"breakdown_data":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Breakdown Data"},"directive_data":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Directive Data"}},"type":"object","required":["job_id","student_id","question_id","status"],"title":"GradingResult"},"GradingStatus":{"type":"string","enum":["queued","ocr_processing","grading","hitl_pending","completed","failed"],"title":"GradingStatus"},"GrantRequest":{"properties":{"confirmed":{"type":"boolean","title":"Confirmed"}},"additionalProperties":false,"type":"object","required":["confirmed"],"title":"GrantRequest"},"GrantSubjectAccessRequest":{"properties":{"instance_ref":{"type":"string","format":"uuid","title":"Instance Ref"},"grantee_actor_ref":{"type":"string","maxLength":160,"minLength":1,"title":"Grantee Actor Ref"},"relationship":{"type":"string","enum":["SELF","GUARDIAN"],"title":"Relationship"}},"additionalProperties":false,"type":"object","required":["instance_ref","grantee_actor_ref","relationship"],"title":"GrantSubjectAccessRequest"},"Granularity":{"type":"string","enum":["day","week","month"],"title":"Granularity"},"GraphEdge":{"properties":{"relationship_id":{"type":"string","title":"Relationship Id"},"source_id":{"type":"string","title":"Source Id"},"relationship":{"type":"string","title":"Relationship"},"target_id":{"type":"string","title":"Target Id"},"source":{"$ref":"#/components/schemas/SourceDisclosure"}},"additionalProperties":false,"type":"object","required":["relationship_id","source_id","relationship","target_id","source"],"title":"GraphEdge"},"GraphNode":{"properties":{"entity_id":{"type":"string","format":"uuid","title":"Entity Id"},"entity_version_id":{"type":"string","format":"uuid","title":"Entity Version Id"},"entity_type":{"type":"string","enum":["DEGREE","CREDENTIAL","PROGRAMME","SKILL","OCCUPATION","INSTITUTION","APPRENTICESHIP","VOCATIONAL_ROUTE","PROFESSIONAL_ROUTE","CAREER_FAMILY","OCCUPATIONAL_CLASSIFICATION_NODE","JOB_ROLE","QUALIFICATION_PACK","PROFESSION","REGULATORY_CLASS","EDUCATION_STAGE","SUBJECT_COMBINATION","CAPABILITY","TASK","TOOL"],"title":"Entity Type"},"canonical_label":{"type":"string","title":"Canonical Label"},"attributes":{"type":"object","title":"Attributes"},"content_digest":{"type":"string","title":"Content Digest"}},"additionalProperties":false,"type":"object","required":["entity_id","entity_version_id","entity_type","canonical_label","attributes","content_digest"],"title":"GraphNode"},"GraphReleaseCorrectionRequest":{"properties":{"prior_graph_release_id":{"type":"string","format":"uuid","title":"Prior Graph Release Id"},"corrected_edge_version_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":500,"minItems":1,"title":"Corrected Edge Version Ids"},"reason_code":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{2,79}$","title":"Reason Code"}},"additionalProperties":false,"type":"object","required":["prior_graph_release_id","corrected_edge_version_ids","reason_code"],"title":"GraphReleaseCorrectionRequest"},"GraphReleaseProjection":{"properties":{"graph_release_id":{"type":"string","format":"uuid","title":"Graph Release Id"},"release_key":{"type":"string","title":"Release Key"},"version_no":{"type":"integer","minimum":1.0,"title":"Version No"},"state":{"type":"string","enum":["DRAFT","HELD","PUBLISHED","RECALLED"],"title":"State"},"manifest_digest":{"type":"string","title":"Manifest Digest"},"entity_count":{"type":"integer","minimum":0.0,"title":"Entity Count"},"edge_count":{"type":"integer","minimum":0.0,"title":"Edge Count"},"release_note":{"type":"string","title":"Release Note"},"blocker_codes":{"items":{"type":"string"},"type":"array","title":"Blocker Codes","default":[]},"created_at":{"type":"string","format":"date-time","title":"Created At"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"},"recalled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Recalled At"},"current":{"type":"boolean","title":"Current","default":false},"release_authorised":{"type":"boolean","enum":[false],"const":false,"title":"Release Authorised","default":false}},"additionalProperties":false,"type":"object","required":["graph_release_id","release_key","version_no","state","manifest_digest","entity_count","edge_count","release_note","created_at"],"title":"GraphReleaseProjection"},"GraphReleaseRequest":{"properties":{"release_key":{"type":"string","pattern":"^[a-z0-9][a-z0-9._-]{2,119}$","title":"Release Key"},"entity_version_ids":{"items":{"type":"string","format":"uuid"},"type":"array","minItems":1,"title":"Entity Version Ids"},"edge_version_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Edge Version Ids","default":[]},"release_note":{"type":"string","maxLength":500,"minLength":3,"title":"Release Note"},"correction":{"anyOf":[{"$ref":"#/components/schemas/GraphReleaseCorrectionRequest"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["release_key","entity_version_ids","release_note"],"title":"GraphReleaseRequest"},"GrievanceAct":{"properties":{"reference":{"type":"string","maxLength":30,"minLength":4,"title":"Reference"},"action":{"type":"string","title":"Action"},"text":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Text"}},"type":"object","required":["reference","action"],"title":"GrievanceAct"},"GrievanceBody":{"properties":{"name":{"type":"string","maxLength":80,"minLength":2,"title":"Name"},"email":{"type":"string","maxLength":254,"minLength":1,"title":"Email"},"grievance_type":{"type":"string","maxLength":40,"title":"Grievance Type"},"about":{"type":"string","maxLength":20,"title":"About","default":"myself"},"details":{"type":"string","maxLength":2000,"minLength":1,"title":"Details"},"outcome_wanted":{"type":"string","maxLength":500,"title":"Outcome Wanted","default":""},"safety":{"type":"boolean","title":"Safety","default":false},"consent":{"type":"boolean","title":"Consent","default":false},"under_18":{"type":"boolean","title":"Under 18","default":false},"form_token":{"type":"string","maxLength":120,"title":"Form Token","default":""},"hp":{"type":"string","maxLength":500,"title":"Hp","default":""}},"type":"object","required":["name","email","grievance_type","details"],"title":"GrievanceBody"},"GuardianConsentInput":{"properties":{"consent_ref":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Consent Ref"},"state":{"type":"string","enum":["ACCEPTED","REJECTED","PENDING","REVOKED"],"title":"State"}},"additionalProperties":false,"type":"object","required":["state"],"title":"GuardianConsentInput"},"GuardianDecision":{"properties":{"granted":{"type":"boolean","title":"Granted"},"purpose_contract_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Purpose Contract Version"},"copy_digest":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Copy Digest"}},"type":"object","required":["granted"],"title":"GuardianDecision"},"GuardianHoldCode":{"properties":{"hold_id":{"type":"string","maxLength":64,"minLength":4,"title":"Hold Id"},"code":{"type":"string","maxLength":12,"minLength":4,"title":"Code"}},"type":"object","required":["hold_id","code"],"title":"GuardianHoldCode"},"GuardianHoldDecision":{"properties":{"hold_id":{"type":"string","maxLength":64,"minLength":4,"title":"Hold Id"},"code":{"type":"string","maxLength":12,"minLength":4,"title":"Code"},"decision":{"type":"string","title":"Decision","description":"agree | decline"},"parent_name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Parent Name"},"relationship":{"anyOf":[{"type":"string","maxLength":24},{"type":"null"}],"title":"Relationship"},"share_wellbeing":{"type":"boolean","title":"Share Wellbeing","default":false},"share_peer":{"type":"boolean","title":"Share Peer","default":false}},"type":"object","required":["hold_id","code","decision"],"title":"GuardianHoldDecision"},"GuardianHoldPoll":{"properties":{"hold_id":{"type":"string","maxLength":64,"minLength":4,"title":"Hold Id"},"poll_token":{"type":"string","maxLength":128,"minLength":8,"title":"Poll Token"}},"type":"object","required":["hold_id","poll_token"],"title":"GuardianHoldPoll"},"GuardianRelationshipCommand":{"properties":{"relationship_id":{"type":"string","format":"uuid","title":"Relationship Id"},"minor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Minor Id"},"guardian_id":{"type":"string","maxLength":128,"minLength":1,"title":"Guardian Id"},"relationship_type":{"type":"string","enum":["parent","guardian","school_admin","other_guardian"],"title":"Relationship Type"},"state":{"type":"string","enum":["REQUESTED","ACTIVE","REVOKED","EXPIRED"],"title":"State"},"verified_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Verified At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os21_privacy_safety__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["minor_id","guardian_id","relationship_type","state","actor_id","evidence_refs"],"title":"GuardianRelationshipCommand"},"GuardianRequestBody":{"properties":{"idempotency_key":{"type":"string","maxLength":80,"minLength":8,"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["idempotency_key"],"title":"GuardianRequestBody"},"GuestCancelIn":{"properties":{"cancel_token":{"type":"string","maxLength":120,"title":"Cancel Token"}},"additionalProperties":false,"type":"object","required":["cancel_token"],"title":"GuestCancelIn"},"GuestCapsuleBody":{"properties":{"topic_id":{"type":"string","maxLength":128,"minLength":1,"title":"Topic Id"},"exam":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"Exam"}},"additionalProperties":false,"type":"object","required":["topic_id"],"title":"GuestCapsuleBody"},"GuestClaimBody":{"properties":{"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"email":{"type":"string","maxLength":254,"minLength":3,"title":"Email"},"password":{"type":"string","maxLength":200,"minLength":8,"title":"Password"},"exam_target":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"Exam Target"},"device_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Device Id"},"age_ticket":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Age Ticket"},"guardian_email":{"anyOf":[{"type":"string","maxLength":254},{"type":"null"}],"title":"Guardian Email"},"guardian_name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Guardian Name"}},"additionalProperties":false,"type":"object","required":["name","email","password"],"title":"GuestClaimBody"},"GuestDppBody":{"properties":{"exam":{"type":"string","maxLength":8,"title":"Exam","default":"jee"},"subject":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Subject"},"count":{"type":"integer","maximum":10.0,"minimum":1.0,"title":"Count","default":5}},"additionalProperties":false,"type":"object","title":"GuestDppBody"},"GuestDrillBody":{"properties":{"exam":{"type":"string","maxLength":8,"title":"Exam","default":"jee"},"subject":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Subject"},"chapter":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Chapter"},"count":{"type":"integer","maximum":5.0,"minimum":1.0,"title":"Count","default":5}},"additionalProperties":false,"type":"object","title":"GuestDrillBody"},"GuestImageBody":{"properties":{"image_base64":{"type":"string","maxLength":12000000,"minLength":100,"title":"Image Base64"},"subject":{"type":"string","maxLength":32,"minLength":1,"title":"Subject"}},"additionalProperties":false,"type":"object","required":["image_base64","subject"],"title":"GuestImageBody"},"GuestMarkedAnswerBody":{"properties":{"question":{"type":"string","maxLength":1500,"minLength":5,"title":"Question"},"answer":{"type":"string","maxLength":4000,"minLength":3,"title":"Answer"},"max_marks":{"type":"integer","maximum":20.0,"minimum":1.0,"title":"Max Marks","default":4},"subject":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Subject"}},"additionalProperties":false,"type":"object","required":["question","answer"],"title":"GuestMarkedAnswerBody"},"GuestMockTasterBody":{"properties":{"exam":{"type":"string","maxLength":8,"title":"Exam","default":"jee"},"count":{"type":"integer","maximum":30.0,"minimum":9.0,"title":"Count","default":30}},"additionalProperties":false,"type":"object","title":"GuestMockTasterBody"},"GuestPdfBody":{"properties":{"pdf_base64":{"type":"string","maxLength":6000000,"minLength":100,"title":"Pdf Base64"},"question":{"type":"string","maxLength":1000,"minLength":2,"title":"Question"}},"additionalProperties":false,"type":"object","required":["pdf_base64","question"],"title":"GuestPdfBody"},"GuestRankEstimateBody":{"properties":{"exam_ref":{"type":"string","maxLength":40,"title":"Exam Ref","default":"JEE_MAIN"},"stream":{"type":"string","maxLength":40,"minLength":1,"title":"Stream"},"marks":{"type":"number","maximum":1000.0,"minimum":0.0,"title":"Marks"}},"additionalProperties":false,"type":"object","required":["stream","marks"],"title":"GuestRankEstimateBody"},"GuestRestoreBody":{"properties":{"restore_token":{"type":"string","maxLength":200,"minLength":20,"title":"Restore Token"}},"type":"object","required":["restore_token"],"title":"GuestRestoreBody"},"GuestTypedDoubtBody":{"properties":{"question":{"type":"string","maxLength":1200,"minLength":5,"title":"Question"},"subject":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Subject"}},"additionalProperties":false,"type":"object","required":["question"],"title":"GuestTypedDoubtBody"},"GuestWishIn":{"properties":{"kind":{"type":"string","maxLength":20,"title":"Kind"},"slug":{"type":"string","maxLength":64,"title":"Slug"},"channel":{"type":"string","maxLength":10,"title":"Channel"},"contact":{"type":"string","maxLength":254,"title":"Contact"},"source":{"type":"string","maxLength":40,"title":"Source","default":"home_card"}},"additionalProperties":false,"type":"object","required":["kind","slug","channel","contact"],"title":"GuestWishIn"},"HITLRequestCommand":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"idempotency_key":{"type":"string","maxLength":160,"minLength":8,"title":"Idempotency Key"},"request_kind":{"type":"string","enum":["assessment_review","content_review","safety_review","appeal"],"title":"Request Kind"},"subject_type":{"type":"string","enum":["assessment","content","conversation","other"],"title":"Subject Type"},"subject_id":{"type":"string","maxLength":160,"minLength":1,"title":"Subject Id"},"student_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Student Id"},"requester_id":{"type":"string","maxLength":128,"minLength":1,"title":"Requester Id"},"source_owner_os":{"type":"string","enum":["OS06","OS10","OS21","EXTERNAL"],"title":"Source Owner Os"},"source_version":{"type":"string","maxLength":64,"minLength":1,"title":"Source Version"},"ai_artifact_ref":{"$ref":"#/components/schemas/ArtifactRef"},"ai_evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os11_teacher_hitl__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Ai Evidence Refs"},"reason_codes":{"items":{"type":"string"},"type":"array","maxItems":16,"minItems":1,"title":"Reason Codes"},"priority":{"type":"string","enum":["standard","priority","urgent","critical"],"title":"Priority","default":"standard"},"subject_scope":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Subject Scope"},"sla_seconds":{"type":"integer","maximum":604800.0,"minimum":300.0,"title":"Sla Seconds","default":86400},"requested_at":{"type":"string","format":"date-time","title":"Requested At"},"metadata":{"type":"object","title":"Metadata"}},"additionalProperties":false,"type":"object","required":["idempotency_key","request_kind","subject_type","subject_id","requester_id","source_owner_os","source_version","ai_artifact_ref","ai_evidence_refs","reason_codes"],"title":"HITLRequestCommand"},"HITLReview":{"properties":{"job_id":{"type":"string","title":"Job Id"},"reviewer_id":{"type":"string","title":"Reviewer Id"},"adjusted_scores":{"additionalProperties":{"type":"number"},"type":"object","title":"Adjusted Scores"},"review_notes":{"type":"string","title":"Review Notes","default":""}},"type":"object","required":["job_id","reviewer_id","adjusted_scores"],"title":"HITLReview"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HandoffCommand":{"properties":{"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version"},"source_product_id":{"type":"string","title":"Source Product Id"},"target_product_id":{"type":"string","enum":["todays-dpp","chapter-drill"],"title":"Target Product Id"},"action_intent":{"type":"string","title":"Action Intent"},"source_route":{"type":"string","title":"Source Route"},"target_route":{"type":"string","title":"Target Route"},"entry_mode":{"type":"string","title":"Entry Mode"},"thread_ref":{"$ref":"#/components/schemas/practice_convergence_models__OS08Ref"},"return_receipt_ref":{"$ref":"#/components/schemas/practice_convergence_models__OS08Ref"}},"additionalProperties":false,"type":"object","required":["expected_version","source_product_id","target_product_id","action_intent","source_route","target_route","entry_mode","thread_ref","return_receipt_ref"],"title":"HandoffCommand"},"HandoffDecision":{"properties":{"handoff_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Handoff Id"},"source_product_id":{"type":"string","title":"Source Product Id"},"target_product_id":{"type":"string","title":"Target Product Id"},"action_intent":{"type":"string","title":"Action Intent"},"source_resolution":{"$ref":"#/components/schemas/RouteResolution"},"target_resolution":{"$ref":"#/components/schemas/RouteResolution"},"state":{"type":"string","enum":["ALLOW","HOLD","DENY"],"title":"State"},"exact_return_required":{"type":"boolean","title":"Exact Return Required"},"missing_flags":{"items":{"type":"string"},"type":"array","title":"Missing Flags"},"reason_codes":{"items":{"type":"string"},"type":"array","minItems":1,"title":"Reason Codes"},"decision_digest":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Decision Digest"}},"additionalProperties":false,"type":"object","required":["handoff_id","source_product_id","target_product_id","action_intent","source_resolution","target_resolution","state","exact_return_required","missing_flags","reason_codes","decision_digest"],"title":"HandoffDecision"},"HandoffOrder":{"properties":{"choice_list_id":{"type":"string","format":"uuid","title":"Choice List Id"},"lane":{"type":"string","enum":["COLLEGE_DECISION","FAMILY_BUILT"],"title":"Lane"},"version_no":{"type":"integer","title":"Version No"},"list_digest":{"type":"string","title":"List Digest"},"handoff_digest":{"type":"string","title":"Handoff Digest"},"college_decision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"College Decision Id"},"choice_order":{"items":{"type":"string"},"type":"array","title":"Choice Order","default":[]},"positions_total":{"type":"integer","title":"Positions Total"}},"additionalProperties":false,"type":"object","required":["choice_list_id","lane","version_no","list_digest","handoff_digest","positions_total"],"title":"HandoffOrder","description":"What the receiver reads. A reference plus the order as option ids, never rows."},"HandoffRecoveryOptionRequest":{"properties":{"instance_ref":{"type":"string","format":"uuid","title":"Instance Ref"},"option_ref":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Option Ref"},"return_nonce":{"type":"string","maxLength":200,"minLength":8,"title":"Return Nonce"}},"additionalProperties":false,"type":"object","required":["instance_ref","return_nonce"],"title":"HandoffRecoveryOptionRequest","description":"`option_ref` is optional (additive): leaving it out asks the Recovery\nPlanner to open from the starting point itself, which is what a learner needs\nwhen the planner has no option on file yet."},"HandoffRouteFilterRequest":{"properties":{"envelope_id":{"type":"string","format":"uuid","title":"Envelope Id"},"selected_route_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Selected Route Id"},"receiver":{"type":"string","enum":["FORWARD_PLANNER","ROUTE_COMPARE","ADMISSION_COST"],"title":"Receiver"},"receiver_contract_version":{"type":"string","maxLength":100,"minLength":1,"title":"Receiver Contract Version"},"return_nonce":{"type":"string","maxLength":200,"minLength":4,"title":"Return Nonce"}},"additionalProperties":false,"type":"object","required":["envelope_id","receiver","receiver_contract_version","return_nonce"],"title":"HandoffRouteFilterRequest"},"HandoffSelectedRouteRequest":{"properties":{"comparison_id":{"type":"string","format":"uuid","title":"Comparison Id"},"selected_route_id":{"type":"string","format":"uuid","title":"Selected Route Id"},"receiver":{"type":"string","enum":["FORWARD_PLANNER","REVERSE_PLANNER","PATHWAY_ACTION_PLAN"],"title":"Receiver"},"return_nonce":{"type":"string","maxLength":200,"minLength":8,"title":"Return Nonce"}},"additionalProperties":false,"type":"object","required":["comparison_id","selected_route_id","receiver","return_nonce"],"title":"HandoffSelectedRouteRequest"},"HardLockedPosition":{"properties":{"option_id":{"type":"string","maxLength":180,"minLength":1,"title":"Option Id"},"position":{"type":"integer","maximum":500.0,"minimum":1.0,"title":"Position"}},"additionalProperties":false,"type":"object","required":["option_id","position"],"title":"HardLockedPosition"},"HeartbeatBody":{"properties":{"client_event_id":{"type":"string","maxLength":80,"minLength":8,"title":"Client Event Id"},"visible":{"type":"boolean","title":"Visible","default":true},"was_offline":{"type":"boolean","title":"Was Offline","default":false}},"additionalProperties":false,"type":"object","required":["client_event_id"],"title":"HeartbeatBody"},"HomeMemoryState":{"properties":{"objectId":{"type":"string","title":"Objectid"},"seen":{"type":"integer","title":"Seen","default":0},"clicked":{"type":"integer","title":"Clicked","default":0},"dismissed":{"type":"integer","title":"Dismissed","default":0},"lastSignal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lastsignal"},"persisted":{"type":"boolean","title":"Persisted","default":true},"degradedReason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Degradedreason"}},"type":"object","required":["objectId"],"title":"HomeMemoryState"},"HomeMemoryUpdateIn":{"properties":{"objectId":{"type":"string","title":"Objectid"},"signal":{"type":"string","title":"Signal"},"studentId":{"type":"string","title":"Studentid","default":"anonymous"},"route":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Route"},"recipeId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recipeid"},"replayId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Replayid"},"sourceKind":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sourcekind"},"sourceId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sourceid"},"payload":{"type":"object","title":"Payload"}},"type":"object","required":["objectId","signal"],"title":"HomeMemoryUpdateIn"},"HomeOperationCostReport":{"properties":{"schema_version":{"type":"string","enum":["home-operation-cost-report/v1"],"const":"home-operation-cost-report/v1","title":"Schema Version"},"source_id":{"type":"string","maxLength":64,"minLength":2,"title":"Source Id"},"source_version":{"type":"string","maxLength":80,"minLength":1,"title":"Source Version"},"report_id":{"type":"string","maxLength":160,"minLength":1,"title":"Report Id"},"pipeline_event_id":{"type":"integer","maximum":9.223372036854776e+18,"minimum":1.0,"title":"Pipeline Event Id"},"component":{"type":"string","maxLength":64,"minLength":2,"title":"Component"},"source_observed_at":{"type":"string","format":"date-time","title":"Source Observed At"},"amount_microunits":{"type":"integer","maximum":9007199254740991.0,"minimum":0.0,"title":"Amount Microunits"},"currency":{"type":"string","maxLength":3,"minLength":3,"title":"Currency"},"report_kind":{"type":"string","enum":["ACTUAL","ESTIMATED"],"title":"Report Kind"},"evidence_digest_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Evidence Digest Sha256"},"supersedes_report_id":{"anyOf":[{"type":"string","maxLength":160,"minLength":1},{"type":"null"}],"title":"Supersedes Report Id"},"signature_hmac_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Signature Hmac Sha256"}},"additionalProperties":false,"type":"object","required":["schema_version","source_id","source_version","report_id","pipeline_event_id","component","source_observed_at","amount_microunits","currency","report_kind","evidence_digest_sha256","signature_hmac_sha256"],"title":"HomeOperationCostReport"},"HomeReleaseWithdrawal":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"expected_release_hash":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Expected Release Hash"},"reason_code":{"type":"string","enum":["SOURCE_OWNER_WITHDRAWAL","CORRECTION","POLICY_REVIEW"],"title":"Reason Code"}},"additionalProperties":false,"type":"object","required":["request_id","expected_release_hash","reason_code"],"title":"HomeReleaseWithdrawal"},"HomeTelemetryEventIn":{"properties":{"eventType":{"type":"string","title":"Eventtype"},"objectId":{"type":"string","title":"Objectid"},"studentId":{"type":"string","title":"Studentid","default":"anonymous"},"route":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Route"},"recipeId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recipeid"},"replayId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Replayid"},"sourceKind":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sourcekind"},"sourceId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sourceid"},"productId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Productid"},"entryMode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Entrymode"},"payload":{"type":"object","title":"Payload"}},"type":"object","required":["eventType","objectId"],"title":"HomeTelemetryEventIn"},"HomeTelemetryResponse":{"properties":{"accepted":{"type":"boolean","title":"Accepted"},"count":{"type":"integer","title":"Count"},"eventType":{"type":"string","title":"Eventtype"},"objectId":{"type":"string","title":"Objectid"}},"type":"object","required":["accepted","count","eventType","objectId"],"title":"HomeTelemetryResponse"},"HonestBlock":{"properties":{"key":{"type":"string","title":"Key"},"state":{"type":"string","enum":["SOURCED","STALE","PARTIAL","UNKNOWN","NOT_PUBLISHED","NOT_AVAILABLE","HELD","WITHDRAWN"],"title":"State"},"reason_codes":{"items":{"type":"string"},"type":"array","title":"Reason Codes","default":[]},"reason_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason Text"},"text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text"},"items":{"items":{"type":"string"},"type":"array","title":"Items","default":[]},"figures":{"items":{"$ref":"#/components/schemas/Figure"},"type":"array","title":"Figures","default":[]},"sources":{"items":{"$ref":"#/components/schemas/SourceStrip"},"type":"array","title":"Sources","default":[]},"period_start":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Period Start"},"period_end":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Period End"},"scope":{"type":"string","enum":["ROLE","DIVISION"],"title":"Scope","default":"ROLE"},"scope_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scope Text"}},"additionalProperties":false,"type":"object","required":["key","state"],"title":"HonestBlock"},"HumanHelpBriefRequest":{"properties":{"need_summary":{"type":"string","maxLength":500,"minLength":1,"title":"Need Summary"},"timing_preference":{"type":"string","enum":["FLEXIBLE","THIS_WEEK","URGENT"],"title":"Timing Preference","default":"FLEXIBLE"}},"type":"object","required":["need_summary"],"title":"HumanHelpBriefRequest","description":"What AspireACE may ask for before any TruTutor match or booking.\n\nThe brief exposes timing, price and cancellation boundaries without making\nup supply, a quote, a teacher, a booking, or a TruTutor-side entitlement."},"HumanRepairReceiptPacket":{"properties":{"human_repair_receipt":{"type":"boolean","enum":[true],"const":true,"title":"Human Repair Receipt"},"bridge_session_id":{"type":"string","maxLength":160,"minLength":1,"title":"Bridge Session Id"},"booking_id":{"type":"string","maxLength":160,"minLength":1,"title":"Booking Id"},"shared_student_id":{"anyOf":[{"type":"string","pattern":"^sha256:[a-f0-9]{64}$"},{"type":"null"}],"title":"Shared Student Id"},"case_id":{"type":"string","maxLength":160,"minLength":1,"title":"Case Id"},"case_type":{"type":"string","maxLength":100,"minLength":1,"title":"Case Type"},"case_state":{"type":"string","maxLength":80,"minLength":1,"title":"Case State"},"refund_state":{"type":"string","maxLength":80,"minLength":1,"title":"Refund State"},"dispute_state":{"type":"string","maxLength":80,"minLength":1,"title":"Dispute State"},"visible_timeline":{"items":{"type":"object"},"type":"array","maxItems":30,"title":"Visible Timeline"},"next_owner":{"type":"string","maxLength":80,"minLength":1,"title":"Next Owner"},"private_operator_notes_transferred":{"type":"boolean","enum":[false],"const":false,"title":"Private Operator Notes Transferred"},"payment_mutation_allowed":{"type":"boolean","enum":[false],"const":false,"title":"Payment Mutation Allowed"},"learning_score_mutation_allowed":{"type":"boolean","enum":[false],"const":false,"title":"Learning Score Mutation Allowed"},"returned_at":{"type":"string","format":"date-time","title":"Returned At"}},"type":"object","required":["human_repair_receipt","bridge_session_id","booking_id","case_id","case_type","case_state","refund_state","dispute_state","next_owner","private_operator_notes_transferred","payment_mutation_allowed","learning_score_mutation_allowed","returned_at"],"title":"HumanRepairReceiptPacket"},"IdempotentBody":{"properties":{"student_id":{"type":"string","title":"Student Id"},"idempotency_key":{"type":"string","title":"Idempotency Key"},"expected_revision":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expected Revision"},"payload_digest":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payload Digest"},"item_refs":{"items":{"type":"string"},"type":"array","title":"Item Refs"},"blueprint_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Blueprint Ref"},"authorised":{"type":"boolean","title":"Authorised","default":false},"reason_code":{"type":"string","title":"Reason Code","default":"LEARNER_CANCEL"},"provider_known":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Provider Known"}},"type":"object","required":["student_id","idempotency_key"],"title":"IdempotentBody"},"IdentityCreateRequest":{"properties":{"workforce_ref":{"type":"string","maxLength":256,"minLength":2,"title":"Workforce Ref"},"identity_type":{"allOf":[{"$ref":"#/components/schemas/IdentityType"}],"default":"HUMAN"},"assurance_level":{"allOf":[{"$ref":"#/components/schemas/AssuranceLevel"}],"default":"AAL2"},"display_label":{"type":"string","maxLength":120,"minLength":2,"title":"Display Label"},"reason":{"type":"string","maxLength":2000,"minLength":8,"title":"Reason"},"expected_status":{"type":"string","enum":["NEW"],"const":"NEW","title":"Expected Status","default":"NEW"}},"additionalProperties":false,"type":"object","required":["workforce_ref","display_label","reason"],"title":"IdentityCreateRequest"},"IdentityStatusRequest":{"properties":{"status":{"type":"string","enum":["ACTIVE","SUSPENDED","DISABLED"],"title":"Status"},"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"reason":{"type":"string","maxLength":2000,"minLength":8,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["status","expected_version","reason"],"title":"IdentityStatusRequest"},"IdentityType":{"type":"string","enum":["HUMAN","SERVICE"],"title":"IdentityType"},"ImageArtifactCreate":{"properties":{"object_ref":{"type":"string","maxLength":500,"minLength":4,"title":"Object Ref"},"checksum_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Checksum Sha256"},"content_type":{"type":"string","pattern":"^image/[a-zA-Z0-9.+-]+$","title":"Content Type"},"bytes":{"type":"integer","maximum":50000000.0,"exclusiveMinimum":0.0,"title":"Bytes"},"width_px":{"type":"integer","maximum":30000.0,"exclusiveMinimum":0.0,"title":"Width Px"},"height_px":{"type":"integer","maximum":30000.0,"exclusiveMinimum":0.0,"title":"Height Px"},"page_count":{"type":"integer","maximum":20.0,"exclusiveMinimum":0.0,"title":"Page Count","default":1},"purpose":{"type":"string","enum":["learning_support","answer_grading"],"title":"Purpose","default":"learning_support"},"retention_until":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Retention Until"},"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version","default":0}},"additionalProperties":false,"type":"object","required":["object_ref","checksum_sha256","content_type","bytes","width_px","height_px"],"title":"ImageArtifactCreate"},"ImageReadCandidate":{"properties":{"candidate_id":{"type":"string","maxLength":160,"minLength":1,"title":"Candidate Id"},"provider_ref":{"type":"string","maxLength":240,"minLength":2,"title":"Provider Ref"},"text":{"type":"string","maxLength":20000,"minLength":1,"title":"Text"},"confidence":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Confidence"},"math_confidence":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Math Confidence"},"language":{"type":"string","maxLength":32,"minLength":2,"title":"Language"},"boxes":{"items":{"$ref":"#/components/schemas/OCRBox"},"type":"array","title":"Boxes"},"ambiguity_codes":{"items":{"type":"string"},"type":"array","title":"Ambiguity Codes"}},"additionalProperties":false,"type":"object","required":["candidate_id","provider_ref","text","confidence","math_confidence","language"],"title":"ImageReadCandidate"},"ImageReadClarificationResponse":{"properties":{"expected_resource_version":{"type":"integer","minimum":1.0,"title":"Expected Resource Version"},"response_text":{"type":"string","maxLength":1200,"minLength":1,"title":"Response Text"}},"additionalProperties":false,"type":"object","required":["expected_resource_version","response_text"],"title":"ImageReadClarificationResponse"},"ImageReadConfirm":{"properties":{"candidate_id":{"type":"string","maxLength":160,"minLength":1,"title":"Candidate Id"},"confirmed_text":{"type":"string","maxLength":20000,"minLength":1,"title":"Confirmed Text"},"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"}},"additionalProperties":false,"type":"object","required":["candidate_id","confirmed_text","expected_version"],"title":"ImageReadConfirm"},"ImageReadPublication":{"properties":{"source_state":{"type":"string","enum":["CURRENT","STALE","REVOKED","PURGING","MISSING"],"title":"Source State","default":"CURRENT"},"candidates":{"items":{"$ref":"#/components/schemas/ImageReadCandidate"},"type":"array","title":"Candidates"},"supported_languages":{"items":{"type":"string"},"type":"array","title":"Supported Languages","default":["en","hi","hinglish"]},"confidence_floor":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Confidence Floor","default":0.78},"math_confidence_floor":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Math Confidence Floor","default":0.72},"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"}},"additionalProperties":false,"type":"object","required":["expected_version"],"title":"ImageReadPublication"},"ImageRegionCreate":{"properties":{"page":{"type":"integer","maximum":20.0,"exclusiveMinimum":0.0,"title":"Page","default":1},"x_px":{"type":"integer","minimum":0.0,"title":"X Px"},"y_px":{"type":"integer","minimum":0.0,"title":"Y Px"},"width_px":{"type":"integer","exclusiveMinimum":0.0,"title":"Width Px"},"height_px":{"type":"integer","exclusiveMinimum":0.0,"title":"Height Px"},"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"}},"additionalProperties":false,"type":"object","required":["x_px","y_px","width_px","height_px","expected_version"],"title":"ImageRegionCreate"},"ImpactLists":{"properties":{"supported":{"items":{"$ref":"#/components/schemas/ImpactRow"},"type":"array","title":"Supported","default":[]},"unsupported":{"items":{"$ref":"#/components/schemas/ImpactRow"},"type":"array","title":"Unsupported","default":[]},"unsupported_sentence":{"type":"string","title":"Unsupported Sentence","default":"These are in the same area, and we cannot prove this change affects them."}},"additionalProperties":false,"type":"object","title":"ImpactLists"},"ImpactRow":{"properties":{"impact_id":{"type":"string","format":"uuid","title":"Impact Id"},"decision_record_id":{"type":"string","format":"uuid","title":"Decision Record Id"},"thread_id":{"type":"string","format":"uuid","title":"Thread Id"},"decision_title":{"type":"string","title":"Decision Title"},"decided_at":{"type":"string","format":"date-time","title":"Decided At"},"support_state":{"type":"string","enum":["SUPPORTED","UNSUPPORTED"],"title":"Support State"},"consequence":{"type":"string","title":"Consequence"},"citation":{"anyOf":[{"$ref":"#/components/schemas/CitationView"},{"type":"null"}]},"unsupported_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unsupported Reason"}},"additionalProperties":false,"type":"object","required":["impact_id","decision_record_id","thread_id","decision_title","decided_at","support_state","consequence"],"title":"ImpactRow"},"ImportAcceptIn":{"properties":{"delivery_ids":{"items":{"type":"string"},"type":"array","maxItems":200,"minItems":1,"title":"Delivery Ids"},"class_id":{"type":"string","maxLength":128,"minLength":1,"title":"Class Id"},"assessment_id":{"type":"string","maxLength":128,"minLength":1,"title":"Assessment Id"},"links":{"additionalProperties":{"type":"string"},"type":"object","maxProperties":200,"title":"Links"},"expected_revisions":{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"null"}]},"type":"object","maxProperties":200,"title":"Expected Revisions"}},"type":"object","required":["delivery_ids","class_id","assessment_id","expected_revisions"],"title":"ImportAcceptIn","description":"An explicit list, never \"everything\": at most 200 offers, each named by its delivery id."},"ImportIn":{"properties":{"csv_text":{"type":"string","maxLength":65536,"title":"Csv Text"},"dry_run":{"type":"boolean","title":"Dry Run","default":true}},"type":"object","required":["csv_text"],"title":"ImportIn"},"ImportSkipIn":{"properties":{"delivery_ids":{"items":{"type":"string"},"type":"array","maxItems":200,"minItems":1,"title":"Delivery Ids"}},"type":"object","required":["delivery_ids"],"title":"ImportSkipIn"},"IncidentCommunicationRequest":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"reason":{"type":"string","maxLength":2000,"minLength":8,"title":"Reason"},"approval_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Approval Id"},"audience":{"type":"string","maxLength":120,"minLength":3,"title":"Audience"},"channel":{"type":"string","enum":["STATUS_PAGE","EMAIL","SMS","IN_APP","MANUAL"],"title":"Channel"},"approved_copy_ref":{"type":"string","maxLength":512,"minLength":3,"title":"Approved Copy Ref"}},"additionalProperties":false,"type":"object","required":["expected_version","reason","audience","channel","approved_copy_ref"],"title":"IncidentCommunicationRequest"},"IncidentCreateRequest":{"properties":{"incident_type":{"type":"string","maxLength":80,"minLength":3,"title":"Incident Type"},"severity":{"type":"string","enum":["SEV1","SEV2","SEV3","SEV4"],"title":"Severity"},"commander_identity_id":{"type":"string","format":"uuid","title":"Commander Identity Id"},"impact_summary":{"type":"string","maxLength":4000,"minLength":8,"title":"Impact Summary"},"tenant_scope":{"type":"object","minProperties":1,"title":"Tenant Scope"},"confidentiality":{"$ref":"#/components/schemas/PrivacyClass"},"reason":{"type":"string","maxLength":1000,"minLength":8,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["incident_type","severity","commander_identity_id","impact_summary","tenant_scope","confidentiality","reason"],"title":"IncidentCreateRequest"},"IncidentImpactRequest":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"reason":{"type":"string","maxLength":2000,"minLength":8,"title":"Reason"},"approval_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Approval Id"},"entity_type":{"type":"string","maxLength":80,"minLength":2,"title":"Entity Type"},"scope":{"type":"object","minProperties":1,"title":"Scope"},"count_estimate":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Count Estimate"},"count_verified":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Count Verified"},"symptom":{"type":"string","maxLength":2000,"minLength":3,"title":"Symptom"},"started_at":{"type":"string","format":"date-time","title":"Started At"},"ended_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ended At"}},"additionalProperties":false,"type":"object","required":["expected_version","reason","entity_type","scope","symptom","started_at"],"title":"IncidentImpactRequest"},"IncidentMitigationRequest":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"reason":{"type":"string","maxLength":2000,"minLength":8,"title":"Reason"},"approval_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Approval Id"},"action_ref":{"$ref":"#/components/schemas/EntityRef"},"owner_identity_id":{"type":"string","format":"uuid","title":"Owner Identity Id"},"expected_effect":{"type":"string","maxLength":2000,"minLength":8,"title":"Expected Effect"}},"additionalProperties":false,"type":"object","required":["expected_version","reason","action_ref","owner_identity_id","expected_effect"],"title":"IncidentMitigationRequest"},"IncidentNew":{"properties":{"title":{"type":"string","maxLength":200,"minLength":5,"title":"Title"},"severity":{"type":"string","pattern":"^(critical|high|normal)$","title":"Severity","default":"normal"},"product_rows":{"items":{},"type":"array","maxItems":20,"title":"Product Rows"},"users_told":{"type":"boolean","title":"Users Told","default":false},"summary":{"type":"string","maxLength":1500,"title":"Summary","default":""},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"detected_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Detected At"},"affected_services":{"items":{},"type":"array","maxItems":20,"title":"Affected Services"},"affected_note":{"type":"string","maxLength":600,"title":"Affected Note","default":""}},"type":"object","required":["title"],"title":"IncidentNew"},"IncidentNote":{"properties":{"what_happened":{"type":"string","maxLength":1500,"title":"What Happened","default":""},"why":{"type":"string","maxLength":1500,"title":"Why","default":""},"fix":{"type":"string","maxLength":1500,"title":"Fix","default":""},"prevent":{"type":"string","maxLength":1500,"title":"Prevent","default":""}},"type":"object","title":"IncidentNote"},"IncidentPatch":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":200,"minLength":5},{"type":"null"}],"title":"Title"},"state":{"anyOf":[{"type":"string","pattern":"^(open|watching|fixed|closed)$"},{"type":"null"}],"title":"State"},"severity":{"anyOf":[{"type":"string","pattern":"^(critical|high|normal)$"},{"type":"null"}],"title":"Severity"},"owner_person_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Owner Person Id"},"users_told":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Users Told"},"closing_note":{"anyOf":[{"type":"string","maxLength":600},{"type":"null"}],"title":"Closing Note"},"summary":{"anyOf":[{"type":"string","maxLength":1500},{"type":"null"}],"title":"Summary"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"detected_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Detected At"},"resolved_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Resolved At"},"affected_services":{"anyOf":[{"items":{},"type":"array","maxItems":20},{"type":"null"}],"title":"Affected Services"},"affected_note":{"anyOf":[{"type":"string","maxLength":600},{"type":"null"}],"title":"Affected Note"}},"type":"object","title":"IncidentPatch"},"IncidentPostmortemRequest":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"reason":{"type":"string","maxLength":2000,"minLength":8,"title":"Reason"},"approval_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Approval Id"},"root_causes":{"items":{"type":"string"},"type":"array","maxItems":20,"minItems":1,"title":"Root Causes"},"contributing_factors":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Contributing Factors"},"action_refs":{"items":{"$ref":"#/components/schemas/EntityRef"},"type":"array","maxItems":100,"minItems":1,"title":"Action Refs"}},"additionalProperties":false,"type":"object","required":["expected_version","reason","root_causes","action_refs"],"title":"IncidentPostmortemRequest"},"IncidentState":{"type":"string","enum":["SIGNAL","TRIAGED","DECLARED","MITIGATING","MONITORING","RECOVERED","RECONCILING","CLOSED","ESCALATED"],"title":"IncidentState"},"IncidentStateRequest":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"reason":{"type":"string","maxLength":2000,"minLength":8,"title":"Reason"},"approval_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Approval Id"},"state":{"$ref":"#/components/schemas/IncidentState"}},"additionalProperties":false,"type":"object","required":["expected_version","reason","state"],"title":"IncidentStateRequest"},"IncidentTimelineRequest":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"reason":{"type":"string","maxLength":2000,"minLength":8,"title":"Reason"},"approval_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Approval Id"},"entry_type":{"type":"string","maxLength":80,"minLength":3,"title":"Entry Type"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"},"detail_ref":{"type":"string","maxLength":1000,"minLength":3,"title":"Detail Ref"},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":100,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["expected_version","reason","entry_type","occurred_at","detail_ref"],"title":"IncidentTimelineRequest"},"InstitutionRosterAssignmentRequest":{"properties":{"teacher_id":{"type":"string","title":"Teacher Id"},"student_ids":{"items":{"type":"string"},"type":"array","title":"Student Ids"},"batch_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Batch Id"}},"type":"object","required":["teacher_id","student_ids"],"title":"InstitutionRosterAssignmentRequest"},"InstitutionRosterRemovalRequest":{"properties":{"teacher_id":{"type":"string","title":"Teacher Id"},"student_ids":{"items":{"type":"string"},"type":"array","title":"Student Ids"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},"type":"object","required":["teacher_id","student_ids"],"title":"InstitutionRosterRemovalRequest"},"InstitutionalAccessRequest":{"properties":{"mapping_id":{"type":"string","maxLength":160,"minLength":3,"title":"Mapping Id"},"operation":{"type":"string","maxLength":160,"minLength":1,"title":"Operation"}},"additionalProperties":false,"type":"object","required":["mapping_id","operation"],"title":"InstitutionalAccessRequest"},"InstructBody":{"properties":{"text":{"type":"string","title":"Text"},"confirm":{"type":"boolean","title":"Confirm","default":false}},"additionalProperties":false,"type":"object","required":["text"],"title":"InstructBody"},"IntakeBody":{"properties":{"need_code":{"type":"string","enum":["CHOICE_FILLING","ROUND_DECISION","COLLEGE_OR_BRANCH","WHICH_COUNSELLING","DOCUMENTS_AND_REPORTING","FEES_AND_REFUNDS","OTHER"],"title":"Need Code"},"exam_code":{"anyOf":[{"type":"string","enum":["JEE_MAIN","JEE_ADVANCED","NEET_UG","NEET_PG","CUET_UG","CLAT","NIFT","STATE_CET","OTHER"]},{"type":"null"}],"title":"Exam Code"},"language":{"type":"string","enum":["en","hi","bn","ta","te","mr","gu","kn","ml","pa","or"],"title":"Language","default":"en"},"timezone":{"type":"string","maxLength":64,"minLength":3,"title":"Timezone","default":"Asia/Kolkata"},"note":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Note"},"consent_to_share":{"type":"boolean","title":"Consent To Share"},"consent_version":{"type":"string","maxLength":64,"minLength":3,"title":"Consent Version"},"purpose_contract_version":{"anyOf":[{"type":"string","maxLength":80,"minLength":3},{"type":"null"}],"title":"Purpose Contract Version"},"purpose_copy_digest":{"anyOf":[{"type":"string","maxLength":64,"minLength":64},{"type":"null"}],"title":"Purpose Copy Digest"},"learner_assent":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Learner Assent"}},"additionalProperties":false,"type":"object","required":["need_code","consent_to_share","consent_version"],"title":"IntakeBody","description":"What a family may send. The note is optional and short; consent is required.\n\nThere is no field for a provider, a price, a slot or an acceptance: a caller cannot\nchoose who serves them or tell the app somebody agreed."},"InternalReleasePublication":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"release":{"$ref":"#/components/schemas/ReleaseRequest"}},"additionalProperties":false,"type":"object","required":["expected_version","release"],"title":"InternalReleasePublication"},"InternalRoutePublication":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"route":{"$ref":"#/components/schemas/askimgimp_pr01_authority__RouteRequest"}},"additionalProperties":false,"type":"object","required":["expected_version","route"],"title":"InternalRoutePublication"},"InterventionCandidateCommand":{"properties":{"candidate_id":{"type":"string","format":"uuid","title":"Candidate Id"},"idempotency_key":{"type":"string","maxLength":180,"minLength":8,"title":"Idempotency Key"},"producer_id":{"type":"string","maxLength":128,"minLength":1,"title":"Producer Id"},"recipient_id":{"type":"string","maxLength":128,"minLength":1,"title":"Recipient Id"},"audience":{"type":"string","enum":["student","parent","guardian","teacher","operator"],"title":"Audience"},"source_owner_os":{"type":"string","maxLength":16,"minLength":2,"title":"Source Owner Os"},"source_event_name":{"type":"string","maxLength":160,"minLength":3,"title":"Source Event Name"},"source_event_id":{"type":"string","maxLength":180,"minLength":1,"title":"Source Event Id"},"source_event_version":{"type":"string","maxLength":64,"minLength":1,"title":"Source Event Version"},"family":{"type":"string","maxLength":80,"minLength":2,"title":"Family"},"consequence":{"type":"string","maxLength":240,"minLength":2,"title":"Consequence"},"priority":{"type":"string","enum":["low","normal","high","critical"],"title":"Priority","default":"normal"},"requested_channels":{"items":{"type":"string","enum":["in_app","push","email","sms","whatsapp"]},"type":"array","title":"Requested Channels"},"template_id":{"type":"string","maxLength":160,"minLength":2,"title":"Template Id"},"template_variables":{"type":"object","title":"Template Variables"},"dedupe_key":{"type":"string","maxLength":200,"minLength":4,"title":"Dedupe Key"},"source_created_at":{"type":"string","format":"date-time","title":"Source Created At"},"earliest_delivery_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Earliest Delivery At"},"latest_delivery_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Latest Delivery At"},"max_age_seconds":{"anyOf":[{"type":"integer","maximum":2592000.0,"minimum":60.0},{"type":"null"}],"title":"Max Age Seconds"},"consent_snapshot_id":{"type":"string","format":"uuid","title":"Consent Snapshot Id"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os13_intervention_timing__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"},"metadata":{"type":"object","title":"Metadata"}},"additionalProperties":false,"type":"object","required":["idempotency_key","producer_id","recipient_id","audience","source_owner_os","source_event_name","source_event_id","source_event_version","family","consequence","template_id","dedupe_key","source_created_at","consent_snapshot_id","evidence_refs"],"title":"InterventionCandidateCommand"},"InterventionRequest":{"properties":{"scope_key":{"type":"string","maxLength":100,"minLength":3,"title":"Scope Key"},"label":{"type":"string","maxLength":160,"minLength":2,"title":"Label"},"started_at":{"type":"string","format":"date-time","title":"Started At"},"baseline_snapshot_id":{"type":"string","maxLength":160,"minLength":12,"title":"Baseline Snapshot Id"},"follow_up_snapshot_id":{"type":"string","maxLength":160,"minLength":12,"title":"Follow Up Snapshot Id"}},"additionalProperties":false,"type":"object","required":["scope_key","label","started_at","baseline_snapshot_id","follow_up_snapshot_id"],"title":"InterventionRequest"},"InvalidateQualityCommand":{"properties":{"object_type":{"type":"string","title":"Object Type"},"object_id":{"type":"string","title":"Object Id"},"reason_code":{"type":"string","title":"Reason Code"},"reason":{"type":"string","maxLength":1000,"minLength":4,"title":"Reason"}},"type":"object","required":["object_type","object_id","reason_code","reason"],"title":"InvalidateQualityCommand"},"InvalidationExecute":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"target_state":{"type":"string","enum":["SOURCE_THIN","STALE","REVOKED","LINEAGE_BROKEN"],"title":"Target State"},"reason":{"type":"string","maxLength":1000,"minLength":4,"title":"Reason"}},"type":"object","required":["expected_version","target_state","reason"],"title":"InvalidationExecute"},"InvalidationRequest":{"properties":{"snapshot_id":{"type":"string","maxLength":160,"minLength":1,"title":"Snapshot Id"},"reason_code":{"type":"string","maxLength":80,"minLength":4,"title":"Reason Code"}},"type":"object","required":["snapshot_id","reason_code"],"title":"InvalidationRequest"},"InvalidationReview":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"reason":{"type":"string","maxLength":1000,"minLength":4,"title":"Reason"}},"type":"object","required":["expected_version","reason"],"title":"InvalidationReview"},"InviteAnswerIn":{"properties":{"token":{"type":"string","maxLength":220,"title":"Token"},"decision":{"type":"string","maxLength":12,"title":"Decision"}},"additionalProperties":false,"type":"object","required":["token","decision"],"title":"InviteAnswerIn"},"InviteBody":{"properties":{"subject_id":{"type":"string","title":"Subject Id"},"role":{"type":"string","title":"Role"}},"type":"object","required":["subject_id","role"],"title":"InviteBody"},"InviteIn":{"properties":{"days":{"type":"integer","maximum":60.0,"minimum":1.0,"title":"Days","default":14},"max_uses":{"type":"integer","maximum":500.0,"minimum":1.0,"title":"Max Uses","default":100}},"type":"object","title":"InviteIn"},"InviteTokenIn":{"properties":{"token":{"type":"string","maxLength":220,"title":"Token"}},"additionalProperties":false,"type":"object","required":["token"],"title":"InviteTokenIn"},"IssueBody":{"properties":{"org_id":{"type":"string","maxLength":128,"minLength":1,"title":"Org Id"},"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"scopes":{"items":{"type":"string"},"type":"array","title":"Scopes"},"rate_limit_rpm":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rate Limit Rpm"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"idempotency_key":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Idempotency Key"}},"type":"object","required":["org_id","name","scopes"],"title":"IssueBody"},"IssueForwardConstraintRequests":{"properties":{"route_id":{"type":"string","format":"uuid","title":"Route Id"}},"additionalProperties":false,"type":"object","required":["route_id"],"title":"IssueForwardConstraintRequests"},"IssueQuoteBody":{"properties":{"owner_id":{"type":"string","maxLength":64,"minLength":3,"title":"Owner Id"},"product_id":{"type":"string","maxLength":96,"minLength":3,"title":"Product Id"},"sku_id":{"type":"string","maxLength":120,"minLength":3,"title":"Sku Id"},"offer_version_id":{"type":"string","maxLength":120,"minLength":3,"title":"Offer Version Id"},"quote_request_id":{"anyOf":[{"type":"string","maxLength":120,"minLength":3},{"type":"null"}],"title":"Quote Request Id"},"provider_mode":{"type":"string","pattern":"^(sandbox|live)$","title":"Provider Mode"},"money":{"$ref":"#/components/schemas/commerce_quote_routes__MoneyBody"},"pricing_policy":{"type":"object","minProperties":1,"title":"Pricing Policy","description":"Server-validated fixed-money or exact typed-formula policy; caller money is re-calculated and must match."},"purchase_scope":{"type":"object","minProperties":1,"title":"Purchase Scope"},"terms":{"type":"object","title":"Terms"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"}},"additionalProperties":false,"type":"object","required":["owner_id","product_id","sku_id","offer_version_id","provider_mode","money","pricing_policy","purchase_scope","expires_at"],"title":"IssueQuoteBody"},"IssuedInvoiceBody":{"properties":{"invoice_number":{"type":"string","maxLength":120,"minLength":1,"title":"Invoice Number"},"invoice_provider_ref":{"type":"string","maxLength":240,"minLength":1,"title":"Invoice Provider Ref"},"minor_units":{"type":"integer","minimum":0.0,"title":"Minor Units"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","title":"Currency"},"evidence_ref":{"type":"string","maxLength":300,"minLength":3,"title":"Evidence Ref"}},"additionalProperties":false,"type":"object","required":["invoice_number","invoice_provider_ref","minor_units","currency","evidence_ref"],"title":"IssuedInvoiceBody"},"ItemLaunchRequest":{"properties":{"concept_id":{"type":"string","format":"uuid","title":"Concept Id"},"client_seen_version":{"type":"integer","minimum":1.0,"title":"Client Seen Version"}},"type":"object","required":["concept_id","client_seen_version"],"title":"ItemLaunchRequest"},"ItemReturnRequest":{"properties":{"concept_id":{"type":"string","format":"uuid","title":"Concept Id"},"client_seen_version":{"type":"integer","minimum":1.0,"title":"Client Seen Version"},"owner_task_id":{"type":"string","maxLength":200,"minLength":1,"title":"Owner Task Id"},"owner_receipt_id":{"type":"string","maxLength":200,"minLength":1,"title":"Owner Receipt Id"},"owner_source_version":{"type":"string","maxLength":512,"minLength":1,"title":"Owner Source Version"}},"type":"object","required":["concept_id","client_seen_version","owner_task_id","owner_receipt_id","owner_source_version"],"title":"ItemReturnRequest"},"JarvisExecuteRequest":{"properties":{"student_id":{"type":"string","title":"Student Id"},"message":{"type":"string","title":"Message"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"},"context":{"type":"object","title":"Context"},"task_type":{"type":"string","title":"Task Type","default":"tutoring"}},"type":"object","required":["student_id","message"],"title":"JarvisExecuteRequest"},"JarvisExecuteResponse":{"properties":{"response":{"type":"string","title":"Response"},"intent":{"type":"string","title":"Intent","default":"tutoring"},"session_id":{"type":"string","title":"Session Id"},"confidence":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Confidence"},"engine_meta":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Engine Meta"}},"type":"object","required":["response","session_id"],"title":"JarvisExecuteResponse"},"JoinIn":{"properties":{"code":{"type":"string","maxLength":40,"minLength":1,"title":"Code"}},"type":"object","required":["code"],"title":"JoinIn"},"JourneySimulation":{"properties":{"journey_id":{"type":"string","format":"uuid","title":"Journey Id"},"actor_class":{"type":"string","enum":["student","parent","teacher","reviewer","operator","service"],"title":"Actor Class"},"entry_product_id":{"type":"string","pattern":"^[a-z0-9][a-z0-9._-]{1,119}$","title":"Entry Product Id"},"steps":{"items":{"$ref":"#/components/schemas/SimulationStep"},"type":"array","maxItems":128,"minItems":1,"title":"Steps"}},"additionalProperties":false,"type":"object","required":["journey_id","actor_class","entry_product_id","steps"],"title":"JourneySimulation"},"JourneySnapshot":{"properties":{"journey_snapshot_id":{"type":"string","format":"uuid","title":"Journey Snapshot Id"},"thread_id":{"type":"string","format":"uuid","title":"Thread Id"},"owner_id":{"type":"string","title":"Owner Id"},"state":{"type":"string","enum":["COMPLETE","PARTIAL","HELD"],"title":"State"},"candidate_commit":{"type":"string","title":"Candidate Commit"},"current_references":{"items":{"$ref":"#/components/schemas/CrossProductReference"},"type":"array","title":"Current References"},"last_good_references":{"items":{"$ref":"#/components/schemas/CrossProductReference"},"type":"array","title":"Last Good References"},"missing_ref_types":{"items":{"type":"string","enum":["PREFERENCE_PASSPORT_VERSION","DECISION_THREAD","RANK_DECISION","COLLEGE_DECISION","SEAT_DECISION","CHOICE_LIST_DECISION","ROUND_ACTION_DECISION","ADMISSION_COST_DECISION","PATHWAY_CONTEXT","PATHWAY_DECISION","PATHWAY_FRONTIER_DECISION","PATHWAY_PLAN","OUTCOME_EVIDENCE","REVIEW_CASE","REVIEW_DECISION","PATHWAY_PRODUCT_RECEIPT","PREDNEXT_PRODUCT_RECEIPT","CORRECTION_RECEIPT"]},"type":"array","title":"Missing Ref Types"},"duplicate_authorities":{"items":{"$ref":"#/components/schemas/DuplicateAuthorityFinding"},"type":"array","title":"Duplicate Authorities"},"broken_lineage_ref_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Broken Lineage Ref Ids"},"open_correction_ref_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Open Correction Ref Ids"},"reason_codes":{"items":{"type":"string"},"type":"array","title":"Reason Codes"},"snapshot_digest":{"type":"string","title":"Snapshot Digest"},"generated_at":{"type":"string","format":"date-time","title":"Generated At"},"production_release_authorised":{"type":"boolean","enum":[false],"const":false,"title":"Production Release Authorised","default":false}},"additionalProperties":false,"type":"object","required":["journey_snapshot_id","thread_id","owner_id","state","candidate_commit","current_references","last_good_references","missing_ref_types","duplicate_authorities","broken_lineage_ref_ids","open_correction_ref_ids","reason_codes","snapshot_digest","generated_at"],"title":"JourneySnapshot"},"JourneyTelemetryCommand":{"properties":{"event_name":{"type":"string","maxLength":96,"minLength":3,"title":"Event Name"},"idempotency_key":{"type":"string","maxLength":160,"minLength":8,"title":"Idempotency Key"},"receipt_ref":{"type":"string","maxLength":160,"minLength":8,"title":"Receipt Ref"},"route":{"type":"string","pattern":"^/insights(?:/[a-z0-9-]+)?$","title":"Route"},"semantic_state":{"type":"string","maxLength":32,"minLength":2,"title":"Semantic State"},"decision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Decision Id"},"case_entry_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Case Entry Id"},"product_thread_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Product Thread Id"},"metadata":{"type":"object","title":"Metadata"}},"additionalProperties":false,"type":"object","required":["event_name","idempotency_key","receipt_ref","route","semantic_state"],"title":"JourneyTelemetryCommand"},"JourneyTimeline":{"properties":{"owner_id":{"type":"string","title":"Owner Id"},"entries":{"items":{"$ref":"#/components/schemas/TimelineEntry"},"type":"array","title":"Entries","default":[]},"next_before":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Before"},"date_changes":{"items":{"$ref":"#/components/schemas/DateChanges"},"type":"array","title":"Date Changes","default":[]},"calendar_available":{"type":"boolean","title":"Calendar Available","default":true},"decisions_held":{"type":"integer","minimum":0.0,"title":"Decisions Held"},"earliest_decision_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Earliest Decision At"},"coverage":{"$ref":"#/components/schemas/CoverageSeal"},"generated_at":{"type":"string","format":"date-time","title":"Generated At"}},"additionalProperties":false,"type":"object","required":["owner_id","decisions_held","coverage","generated_at"],"title":"JourneyTimeline"},"KeepBody":{"properties":{"row_n":{"type":"integer","maximum":999.0,"minimum":1.0,"title":"Row N"},"reason":{"type":"string","maxLength":500,"minLength":5,"title":"Reason"},"days":{"type":"integer","maximum":365.0,"minimum":1.0,"title":"Days","default":30}},"type":"object","required":["row_n","reason"],"title":"KeepBody"},"KeepRecoveryRouteRequest":{"properties":{"recovery_decision_id":{"type":"string","format":"uuid","title":"Recovery Decision Id"},"recovery_decision_digest":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Recovery Decision Digest"},"pathway_decision_id":{"type":"string","format":"uuid","title":"Pathway Decision Id"},"route_id":{"type":"string","format":"uuid","title":"Route Id"},"graph_release_id":{"type":"string","format":"uuid","title":"Graph Release Id"},"context_digest":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Context Digest"},"trigger_id":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{2,63}$","title":"Trigger Id"},"trigger_version":{"type":"integer","minimum":1.0,"title":"Trigger Version"}},"additionalProperties":false,"type":"object","required":["recovery_decision_id","recovery_decision_digest","pathway_decision_id","route_id","graph_release_id","context_digest","trigger_id","trigger_version"],"title":"KeepRecoveryRouteRequest"},"KeptItem":{"properties":{"tool":{"type":"string","maxLength":32,"minLength":1,"title":"Tool"},"kind":{"type":"string","maxLength":24,"minLength":1,"title":"Kind"},"input":{"anyOf":[{},{"type":"null"}],"title":"Input"},"result":{"anyOf":[{},{"type":"null"}],"title":"Result"},"at":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"At"}},"additionalProperties":false,"type":"object","required":["tool","kind"],"title":"KeptItem"},"KeptWorkBody":{"properties":{"items":{"items":{"$ref":"#/components/schemas/KeptItem"},"type":"array","maxItems":60,"minItems":1,"title":"Items"},"confirmed":{"type":"boolean","title":"Confirmed","default":false}},"additionalProperties":false,"type":"object","required":["items"],"title":"KeptWorkBody"},"KeyEventBody":{"properties":{"reason":{"type":"string","maxLength":500,"minLength":3,"title":"Reason"},"event":{"type":"string","title":"Event"},"system":{"type":"string","title":"System"},"new_key_id":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"New Key Id"}},"type":"object","required":["reason","event","system"],"title":"KeyEventBody"},"KeyNew":{"properties":{"label":{"type":"string","maxLength":80,"minLength":3,"title":"Label"},"scope":{"type":"string","title":"Scope"},"machine_id":{"anyOf":[{"type":"string","pattern":"^[A-Za-z0-9._-]{2,64}$"},{"type":"null"}],"title":"Machine Id"}},"type":"object","required":["label","scope"],"title":"KeyNew"},"KeyPlanBody":{"properties":{"reason":{"type":"string","maxLength":500,"minLength":3,"title":"Reason"},"system":{"type":"string","title":"System"},"planned_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Planned Status"},"rotation_due":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rotation Due"}},"type":"object","required":["reason","system"],"title":"KeyPlanBody"},"LabourMetricObservation":{"properties":{"metric":{"type":"string","enum":["POSTING_COUNT","VACANCY_COUNT","RECRUITMENT_EVENT_COUNT","EMPLOYMENT_SHARE","TREND_INDEX","COMPENSATION_OBSERVED"],"title":"Metric"},"state":{"type":"string","enum":["KNOWN","UNKNOWN","WITHHELD"],"title":"State"},"minimum":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Minimum"},"expected":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Expected"},"maximum":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Maximum"},"unit":{"type":"string","maxLength":80,"minLength":1,"title":"Unit"},"sample_size":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Sample Size"},"denominator":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Denominator"},"coverage_ratio":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Coverage Ratio"},"source_refs":{"items":{"$ref":"#/components/schemas/SourceFactReference"},"type":"array","title":"Source Refs","default":[]},"promise_authorised":{"type":"boolean","enum":[false],"const":false,"title":"Promise Authorised","default":false}},"additionalProperties":false,"type":"object","required":["metric","state","unit"],"title":"LabourMetricObservation"},"LabourSignalMutationEnvelope":{"properties":{"receipt":{"type":"object","title":"Receipt"},"resource":{"$ref":"#/components/schemas/LabourSignalVersionProjection"}},"additionalProperties":false,"type":"object","required":["receipt","resource"],"title":"LabourSignalMutationEnvelope"},"LabourSignalProjection":{"properties":{"occupation_id":{"type":"string","format":"uuid","title":"Occupation Id"},"graph_release_id":{"type":"string","format":"uuid","title":"Graph Release Id"},"geography_code":{"type":"string","title":"Geography Code"},"state":{"type":"string","enum":["READY","PARTIAL_SOURCE","SOURCE_STALE","HELD","UNAVAILABLE"],"title":"State"},"selected_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Selected Version Id"},"selected_version_no":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Selected Version No"},"period_start":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Period Start"},"period_end":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Period End"},"quality":{"anyOf":[{"type":"string","enum":["AUTHORITY_STATISTIC","APPROVED_AGGREGATE","CURATED","THIN_SAMPLE"]},{"type":"null"}],"title":"Quality"},"metrics":{"items":{"$ref":"#/components/schemas/LabourMetricObservation"},"type":"array","title":"Metrics","default":[]},"source_coverage_ratio":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Source Coverage Ratio"},"reason_codes":{"items":{"type":"string"},"type":"array","title":"Reason Codes","default":[]},"salary_or_demand_promise_authorised":{"type":"boolean","enum":[false],"const":false,"title":"Salary Or Demand Promise Authorised","default":false},"projection_digest":{"type":"string","title":"Projection Digest"}},"additionalProperties":false,"type":"object","required":["occupation_id","graph_release_id","geography_code","state","projection_digest"],"title":"LabourSignalProjection"},"LabourSignalVersionProjection":{"properties":{"labour_signal_version_id":{"type":"string","format":"uuid","title":"Labour Signal Version Id"},"series_key":{"type":"string","title":"Series Key"},"version_no":{"type":"integer","minimum":1.0,"title":"Version No"},"occupation_id":{"type":"string","format":"uuid","title":"Occupation Id"},"graph_release_id":{"type":"string","format":"uuid","title":"Graph Release Id"},"geography_code":{"type":"string","title":"Geography Code"},"period_start":{"type":"string","format":"date","title":"Period Start"},"period_end":{"type":"string","format":"date","title":"Period End"},"taxonomy_version":{"type":"string","title":"Taxonomy Version"},"signal_policy_version":{"type":"string","title":"Signal Policy Version"},"quality":{"type":"string","enum":["AUTHORITY_STATISTIC","APPROVED_AGGREGATE","CURATED","THIN_SAMPLE"],"title":"Quality"},"state":{"type":"string","enum":["APPROVED","HELD","RECALLED"],"title":"State"},"metrics":{"items":{"$ref":"#/components/schemas/LabourMetricObservation"},"type":"array","title":"Metrics"},"content_digest":{"type":"string","title":"Content Digest"},"predecessor_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Predecessor Version Id"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"}},"additionalProperties":false,"type":"object","required":["labour_signal_version_id","series_key","version_no","occupation_id","graph_release_id","geography_code","period_start","period_end","taxonomy_version","signal_policy_version","quality","state","metrics","content_digest"],"title":"LabourSignalVersionProjection"},"LadderPr":{"properties":{"number":{"type":"integer","maximum":10000000.0,"minimum":1.0,"title":"Number"},"title":{"type":"string","maxLength":300,"title":"Title","default":""},"job_ref":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Job Ref"},"url":{"type":"string","maxLength":300,"title":"Url","default":""},"merge_sha":{"type":"string","pattern":"^[0-9a-fA-F]{7,40}$","title":"Merge Sha"},"merged_at":{"type":"string","format":"date-time","title":"Merged At"},"touches_api":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Touches Api"},"touches_web":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Touches Web"},"api_state":{"type":"string","pattern":"^(yes|no|unknown)$","title":"Api State","default":"unknown"},"web_state":{"type":"string","pattern":"^(yes|no|unknown)$","title":"Web State","default":"unknown"},"walked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Walked At"},"walked_source":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Walked Source"},"accepted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Accepted At"},"accepted_source":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Accepted Source"}},"additionalProperties":false,"type":"object","required":["number","merge_sha","merged_at"],"title":"LadderPr"},"LadderReport":{"properties":{"repo":{"type":"string","pattern":"^(aspireace|trututor)$","title":"Repo"},"machine":{"type":"string","maxLength":64,"title":"Machine","default":""},"live":{"$ref":"#/components/schemas/LiveIn"},"prs":{"items":{"$ref":"#/components/schemas/LadderPr"},"type":"array","maxItems":500,"title":"Prs"}},"additionalProperties":false,"type":"object","required":["repo","live","prs"],"title":"LadderReport"},"LaunchBody":{"properties":{"os01_concept_id":{"type":"string","maxLength":36,"minLength":36,"title":"Os01 Concept Id"},"strand":{"type":"string","maxLength":12,"title":"Strand"},"item_kind":{"type":"string","maxLength":24,"title":"Item Kind"}},"additionalProperties":false,"type":"object","required":["os01_concept_id","strand","item_kind"],"title":"LaunchBody"},"LaunchDecisionRequest":{"properties":{"request_id":{"type":"string","maxLength":80,"minLength":8,"title":"Request Id"},"expected_version":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Expected Version"}},"additionalProperties":false,"type":"object","required":["request_id"],"title":"LaunchDecisionRequest"},"LaunchRepairRequest":{"properties":{"action_target_ref":{"type":"string","maxLength":160,"minLength":1,"title":"Action Target Ref"},"expected_decision_version":{"type":"integer","minimum":1.0,"title":"Expected Decision Version"},"treatment_kind":{"type":"string","enum":["micro_drill","worked_example","concept_refresh","teacher_review","full_reteach"],"title":"Treatment Kind","default":"micro_drill"}},"additionalProperties":false,"type":"object","required":["action_target_ref","expected_decision_version"],"title":"LaunchRepairRequest"},"LaunchResolveInput":{"properties":{"token":{"type":"string","maxLength":16384,"minLength":32,"title":"Token"},"idempotency_key":{"type":"string","maxLength":160,"minLength":16,"title":"Idempotency Key"},"session_key":{"anyOf":[{"type":"string","maxLength":240,"minLength":16},{"type":"null"}],"title":"Session Key"}},"additionalProperties":false,"type":"object","required":["token","idempotency_key"],"title":"LaunchResolveInput"},"LaunchVariantTestRequest":{"properties":{"concept_ref":{"type":"string","maxLength":200,"minLength":1,"title":"Concept Ref"},"preferred_band":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"Preferred Band"}},"additionalProperties":false,"type":"object","required":["concept_ref"],"title":"LaunchVariantTestRequest"},"LeadNew":{"properties":{"person_id":{"type":"string","maxLength":64,"minLength":3,"title":"Person Id"}},"type":"object","required":["person_id"],"title":"LeadNew"},"LeaguePreferenceBody":{"properties":{"opt_out":{"type":"boolean","title":"Opt Out","default":false},"handle":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Handle"}},"type":"object","title":"LeaguePreferenceBody"},"LearnerDayProofRequest":{"properties":{"home_action_receipt_ref":{"type":"string","maxLength":160,"minLength":8,"title":"Home Action Receipt Ref"},"product_session_id":{"type":"string","maxLength":200,"minLength":8,"title":"Product Session Id"},"repair_episode_id":{"type":"string","maxLength":80,"minLength":8,"title":"Repair Episode Id"},"parent_report_id":{"type":"string","maxLength":80,"minLength":8,"title":"Parent Report Id"}},"additionalProperties":false,"type":"object","required":["home_action_receipt_ref","product_session_id","repair_episode_id","parent_report_id"],"title":"LearnerDayProofRequest"},"LearnerFeeEntry":{"properties":{"academic_year_no":{"type":"integer","maximum":10.0,"minimum":1.0,"title":"Academic Year No"},"cost_kind":{"type":"string","enum":["TUITION","HOSTEL","LIVING","EXAM_FEE","REGISTRATION","EQUIPMENT","TRAVEL","INSURANCE","DEPOSIT","OTHER"],"title":"Cost Kind"},"amount_minor":{"type":"integer","maximum":1000000000000.0,"minimum":0.0,"title":"Amount Minor"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","title":"Currency","default":"INR"},"note":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Note"},"source_ref":{"type":"string","enum":["learner:self-entered"],"const":"learner:self-entered","title":"Source Ref","default":"learner:self-entered"}},"additionalProperties":false,"type":"object","required":["academic_year_no","cost_kind","amount_minor"],"title":"LearnerFeeEntry","description":"A figure the LEARNER typed in (\"your figure\").\n\nIt is never a CostComponent, never summed into an official total and never\ncarries a source record. It is stored and shown on its own line, labelled\n`learner:self-entered`."},"LearnerInputSchema":{"properties":{"field":{"type":"string","pattern":"^[a-z][a-z0-9_.]{1,119}$","title":"Field"},"schema_id":{"type":"string","pattern":"^[a-z0-9][a-z0-9:._/-]{2,119}$","title":"Schema Id"},"schema_version":{"type":"string","maxLength":80,"minLength":1,"title":"Schema Version"},"prompt":{"type":"string","maxLength":240,"minLength":2,"title":"Prompt"},"value_kind":{"type":"string","enum":["TEXT","NUMBER","BOOLEAN","CHOICE"],"title":"Value Kind"},"choices":{"items":{"type":"string"},"type":"array","maxItems":40,"title":"Choices","default":[]},"min_value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Min Value"},"max_value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Value"},"max_length":{"anyOf":[{"type":"integer","maximum":2000.0,"minimum":1.0},{"type":"null"}],"title":"Max Length"}},"additionalProperties":false,"type":"object","required":["field","schema_id","schema_version","prompt","value_kind"],"title":"LearnerInputSchema"},"LearnerTreatmentDeliveryOpenCommand":{"properties":{"publication_id":{"type":"string","format":"uuid","title":"Publication Id"},"publication_version":{"type":"integer","minimum":1.0,"title":"Publication Version"},"payload_hash":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Payload Hash"},"os01_binding_id":{"type":"string","format":"uuid","title":"Os01 Binding Id"},"os01_binding_version":{"type":"integer","minimum":0.0,"title":"Os01 Binding Version"},"os01_binding_receipt_id":{"type":"string","format":"uuid","title":"Os01 Binding Receipt Id"},"expected_step_count":{"type":"integer","minimum":0.0,"title":"Expected Step Count"}},"type":"object","required":["publication_id","publication_version","payload_hash","os01_binding_id","os01_binding_version","os01_binding_receipt_id","expected_step_count"],"title":"LearnerTreatmentDeliveryOpenCommand","description":"Stale-source guard for an explicit learner treatment open action."},"LearningMapContestRequest":{"properties":{"concept_id":{"type":"string","maxLength":256,"minLength":1,"title":"Concept Id"},"state_version":{"type":"integer","exclusiveMinimum":0.0,"title":"State Version"},"twin_source_receipt_id":{"type":"string","maxLength":512,"minLength":1,"title":"Twin Source Receipt Id"},"product_source_receipt_id":{"type":"string","maxLength":512,"minLength":1,"title":"Product Source Receipt Id"},"assessment_evidence_receipt_id":{"type":"string","format":"uuid","title":"Assessment Evidence Receipt Id"},"quality_decision_ref":{"type":"string","format":"uuid","title":"Quality Decision Ref"},"reason_code":{"type":"string","enum":["EVIDENCE_NOT_MINE","EVIDENCE_INCORRECT","CONCEPT_MISMATCH","STATE_DOES_NOT_REFLECT_CORRECTION","OTHER_REVIEW_NEEDED"],"title":"Reason Code"}},"additionalProperties":false,"type":"object","required":["concept_id","state_version","twin_source_receipt_id","product_source_receipt_id","assessment_evidence_receipt_id","quality_decision_ref","reason_code"],"title":"LearningMapContestRequest"},"LearningPathReq":{"properties":{"target_exam":{"type":"string","title":"Target Exam","default":"jee_main"},"weeks_until_exam":{"type":"integer","maximum":104.0,"minimum":1.0,"title":"Weeks Until Exam","default":12},"schedule_mode":{"type":"string","title":"Schedule Mode","default":"standard"}},"type":"object","title":"LearningPathReq"},"LearningTruthCommand":{"properties":{"truth_id":{"type":"string","format":"uuid","title":"Truth Id"},"student_id":{"type":"string","maxLength":160,"minLength":1,"title":"Student Id"},"academic_context":{"$ref":"#/components/schemas/AcademicContextRef"},"evidence_ref":{"$ref":"#/components/schemas/ObjectRef"},"mastery_ref":{"$ref":"#/components/schemas/ObjectRef"},"diagnosis_ref":{"$ref":"#/components/schemas/ObjectRef"},"repair_ref":{"anyOf":[{"$ref":"#/components/schemas/ObjectRef"},{"type":"null"}]},"proof_ref":{"anyOf":[{"$ref":"#/components/schemas/ObjectRef"},{"type":"null"}]},"source_policy_ref":{"type":"string","maxLength":240,"minLength":4,"title":"Source Policy Ref"},"state":{"type":"string","enum":["CURRENT","NO_SIGNAL","DEGRADED"],"title":"State"},"reason_codes":{"items":{"type":"string"},"type":"array","maxItems":24,"minItems":1,"title":"Reason Codes"},"dependencies":{"items":{"$ref":"#/components/schemas/DependencyEdge"},"type":"array","maxItems":64,"title":"Dependencies"},"predecessor_truth_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Predecessor Truth Id"},"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version"}},"additionalProperties":false,"type":"object","required":["truth_id","student_id","academic_context","evidence_ref","mastery_ref","diagnosis_ref","source_policy_ref","state","reason_codes","expected_version"],"title":"LearningTruthCommand"},"LeaseNew":{"properties":{"scope_kind":{"type":"string","title":"Scope Kind"},"scope_value":{"type":"string","maxLength":300,"title":"Scope Value"},"platform":{"type":"string","title":"Platform","default":"aspireace"},"strength":{"type":"string","pattern":"^(soft|hard)$","title":"Strength","default":"soft"},"reason":{"type":"string","maxLength":300,"title":"Reason","default":""}},"type":"object","required":["scope_kind","scope_value"],"title":"LeaseNew"},"LedgerSource":{"properties":{"name":{"type":"string","title":"Name"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"state":{"type":"string","enum":["CURRENT","SUPERSEDED","UNKNOWN"],"title":"State"},"read_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Read At"},"positions":{"items":{"type":"integer"},"type":"array","title":"Positions","default":[]}},"additionalProperties":false,"type":"object","required":["name","state"],"title":"LedgerSource","description":"One distinct source and the positions it fed (recipe R04)."},"LegacyAdoptionBatchCommand":{"properties":{"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"record_ids":{"items":{"type":"string"},"type":"array","maxItems":100,"minItems":1,"title":"Record Ids"},"adoption_reason":{"type":"string","maxLength":1000,"minLength":3,"title":"Adoption Reason"},"source_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os10_content_ops__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Source Refs"},"provenance_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os10_content_ops__models__EvidenceRef"},"type":"array","maxItems":32,"title":"Provenance Refs"},"source_kind":{"allOf":[{"$ref":"#/components/schemas/LegacySourceKind"}],"default":"content_review_candidates"},"expected_source_digests":{"additionalProperties":{"type":"string"},"type":"object","maxProperties":100,"title":"Expected Source Digests"},"queue_lane":{"allOf":[{"$ref":"#/components/schemas/ReviewLane"}],"default":"QUESTION"},"priority":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Priority","default":50}},"additionalProperties":false,"type":"object","required":["record_ids","adoption_reason","source_refs"],"title":"LegacyAdoptionBatchCommand"},"LegacyCandidateAdoptionCommand":{"properties":{"legacy_record_id":{"type":"string","maxLength":256,"minLength":1,"title":"Legacy Record Id"},"adopted_by":{"type":"string","maxLength":128,"minLength":1,"title":"Adopted By"},"content_key":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Content Key"},"adoption_reason":{"type":"string","maxLength":1000,"minLength":3,"title":"Adoption Reason"},"source_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os10_content_ops__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Source Refs"},"provenance_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os10_content_ops__models__EvidenceRef"},"type":"array","maxItems":32,"title":"Provenance Refs"}},"type":"object","required":["legacy_record_id","adopted_by","adoption_reason","source_refs"],"title":"LegacyCandidateAdoptionCommand"},"LegacyGraphDetailCandidate":{"properties":{"legacy_graph_concept_id":{"type":"string","maxLength":512,"minLength":1,"title":"Legacy Graph Concept Id"},"os01_concept_id":{"type":"string","maxLength":36,"minLength":36,"title":"Os01 Concept Id"},"relationship_type":{"type":"string","enum":["NARROWER_THAN"],"const":"NARROWER_THAN","title":"Relationship Type"},"method":{"type":"string","enum":["MANUAL_REVIEW"],"const":"MANUAL_REVIEW","title":"Method"},"node_type":{"type":"string","enum":["CONCEPT","SUBCONCEPT"],"title":"Node Type"},"label":{"type":"string","maxLength":2000,"minLength":1,"title":"Label"},"subject":{"type":"string","maxLength":200,"minLength":1,"title":"Subject"},"chapter":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Chapter"},"topic":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Topic"},"parent_id":{"type":"string","maxLength":512,"minLength":1,"title":"Parent Id"},"parent_chain":{"items":{"type":"string"},"type":"array","maxItems":128,"minItems":1,"title":"Parent Chain"},"nearest_approved_ancestor_legacy_id":{"type":"string","maxLength":512,"minLength":1,"title":"Nearest Approved Ancestor Legacy Id"},"ancestor_binding_id":{"type":"string","maxLength":36,"minLength":36,"title":"Ancestor Binding Id"},"ancestor_binding_receipt_id":{"type":"string","maxLength":36,"minLength":36,"title":"Ancestor Binding Receipt Id"},"ancestor_graph_snapshot_id":{"type":"string","maxLength":512,"minLength":8,"title":"Ancestor Graph Snapshot Id"},"ancestor_depth":{"type":"integer","maximum":128.0,"minimum":1.0,"title":"Ancestor Depth"},"source_package":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Source Package"}},"additionalProperties":false,"type":"object","required":["legacy_graph_concept_id","os01_concept_id","relationship_type","method","node_type","label","subject","parent_id","parent_chain","nearest_approved_ancestor_legacy_id","ancestor_binding_id","ancestor_binding_receipt_id","ancestor_graph_snapshot_id","ancestor_depth"],"title":"LegacyGraphDetailCandidate","description":"One member of the immutable, hash-bound legacy detail plan."},"LegacyGraphDetailPlanCommand":{"properties":{"schema_version":{"type":"string","enum":["os01.legacy-graph-detail-plan.v1"],"const":"os01.legacy-graph-detail-plan.v1","title":"Schema Version"},"plan_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Plan Sha256"},"graph_snapshot_id":{"type":"string","maxLength":512,"minLength":8,"title":"Graph Snapshot Id"},"legacy_integrity":{"type":"object","title":"Legacy Integrity"},"candidate_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Candidate Sha256"},"rejection_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Rejection Sha256"},"counts":{"type":"object","title":"Counts"},"candidates":{"items":{"$ref":"#/components/schemas/LegacyGraphDetailCandidate"},"type":"array","maxItems":7000,"minItems":1,"title":"Candidates"},"approval_ref":{"type":"string","maxLength":1000,"minLength":3,"title":"Approval Ref"},"approval_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Approval Sha256"},"authority_ack":{"type":"string","maxLength":200,"minLength":8,"title":"Authority Ack"},"reason":{"type":"string","maxLength":2000,"minLength":3,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["schema_version","plan_sha256","graph_snapshot_id","legacy_integrity","candidate_sha256","rejection_sha256","counts","candidates","approval_ref","approval_sha256","authority_ack","reason"],"title":"LegacyGraphDetailPlanCommand","description":"Exact plan-level authority for one atomic apply or rollback."},"LegacyHITLAdoptionCommand":{"properties":{"legacy_job_id":{"type":"integer","exclusiveMinimum":0.0,"title":"Legacy Job Id"},"adopted_by":{"type":"string","maxLength":128,"minLength":1,"title":"Adopted By"},"source_owner_os":{"type":"string","enum":["OS06"],"const":"OS06","title":"Source Owner Os","default":"OS06"},"ai_artifact_ref":{"$ref":"#/components/schemas/ArtifactRef"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os11_teacher_hitl__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"},"adoption_reason":{"type":"string","maxLength":2000,"minLength":1,"title":"Adoption Reason"}},"additionalProperties":false,"type":"object","required":["legacy_job_id","adopted_by","ai_artifact_ref","evidence_refs","adoption_reason"],"title":"LegacyHITLAdoptionCommand"},"LegacySourceKind":{"type":"string","enum":["content_review_candidates","ncert_note_candidates","questions_needs_review"],"title":"LegacySourceKind"},"LegalHoldPublication":{"properties":{"student_id":{"type":"string","maxLength":80,"minLength":1,"title":"Student Id"},"hold_ref":{"type":"string","maxLength":200,"minLength":1,"title":"Hold Ref"},"legal_basis":{"type":"string","maxLength":500,"minLength":3,"title":"Legal Basis"},"fields":{"items":{"type":"string"},"type":"array","maxItems":100,"minItems":1,"title":"Fields"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"state":{"type":"string","enum":["ACTIVE","RELEASED"],"title":"State","default":"ACTIVE"},"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version","default":0}},"additionalProperties":false,"type":"object","required":["student_id","hold_ref","legal_basis","fields","expires_at"],"title":"LegalHoldPublication"},"LifecycleMove":{"properties":{"to":{"type":"string","title":"To"},"reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Reason"}},"additionalProperties":false,"type":"object","required":["to"],"title":"LifecycleMove"},"LifecycleStage":{"type":"string","enum":["RENDER","IMPRESSION","ACTION","RETURN","CORRECTION"],"title":"LifecycleStage"},"LifecycleTelemetryCommand":{"properties":{"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"owner_ref":{"type":"string","maxLength":128,"minLength":1,"title":"Owner Ref"},"product_id":{"$ref":"#/components/schemas/AtlasProduct"},"screen_id":{"type":"string","maxLength":160,"minLength":2,"title":"Screen Id"},"route":{"type":"string","maxLength":500,"minLength":1,"title":"Route"},"stage":{"$ref":"#/components/schemas/LifecycleStage"},"atlas_state":{"$ref":"#/components/schemas/AtlasState"},"object_id":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Object Id"},"action":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Action"},"projection_receipt_ref":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Projection Receipt Ref"},"projection_digest":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}],"title":"Projection Digest"},"entry_mode":{"type":"string","maxLength":80,"minLength":2,"title":"Entry Mode","default":"direct"},"return_route":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Return Route"},"correction_ref":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Correction Ref"},"metadata":{"type":"object","title":"Metadata"}},"additionalProperties":false,"type":"object","required":["idempotency_key","owner_ref","product_id","screen_id","route","stage","atlas_state"],"title":"LifecycleTelemetryCommand"},"LimitBody":{"properties":{"provider":{"type":"string","maxLength":60,"minLength":2,"title":"Provider"},"limit_name":{"type":"string","maxLength":80,"minLength":2,"title":"Limit Name"},"used":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Used"},"allowance":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Allowance"},"unit":{"type":"string","maxLength":20,"title":"Unit","default":""},"resets_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Resets At"},"note":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Note"}},"type":"object","required":["provider","limit_name"],"title":"LimitBody"},"LineView":{"properties":{"label":{"type":"string","title":"Label"},"text":{"type":"string","title":"Text"},"state":{"type":"string","enum":["KNOWN","UNKNOWN"],"title":"State"},"sources":{"items":{"$ref":"#/components/schemas/SourceView"},"type":"array","title":"Sources","default":[]},"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail"}},"additionalProperties":false,"type":"object","required":["label","text","state"],"title":"LineView"},"LinkBulkBody":{"properties":{"chapter":{"type":"string","maxLength":200,"minLength":1,"title":"Chapter"},"subject":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Subject"},"confirm":{"type":"boolean","title":"Confirm","default":false},"expected_count":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Expected Count"}},"additionalProperties":false,"type":"object","required":["chapter"],"title":"LinkBulkBody"},"LinkChildRequest":{"properties":{"invite_code":{"type":"string","title":"Invite Code"}},"type":"object","required":["invite_code"],"title":"LinkChildRequest"},"LinkDecisionBody":{"properties":{"link_id":{"type":"integer","minimum":1.0,"title":"Link Id"},"decision":{"type":"string","enum":["approve","reject"],"title":"Decision"},"note":{"type":"string","maxLength":2000,"title":"Note","default":""}},"additionalProperties":false,"type":"object","required":["link_id","decision"],"title":"LinkDecisionBody"},"LinkIn":{"properties":{"code":{"type":"string","maxLength":20,"minLength":1,"title":"Code"}},"type":"object","required":["code"],"title":"LinkIn"},"LinkPlanRequest":{"properties":{"plan_id":{"type":"string","format":"uuid","title":"Plan Id"}},"additionalProperties":false,"type":"object","required":["plan_id"],"title":"LinkPlanRequest","description":"Pin the plan a route choice produced. The plan itself is never touched."},"ListingRequest":{"properties":{"document_type":{"type":"string","maxLength":80,"minLength":2,"title":"Document Type"},"issuer":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Issuer"},"authority_label":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Authority Label"},"issued_at":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Issued At"},"expires_at":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Expires At"},"authority_requirement_refs":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Authority Requirement Refs","default":[]}},"additionalProperties":false,"type":"object","required":["document_type"],"title":"ListingRequest","description":"One entry in the family's own list. Metadata only: there is no field that\ncould carry what a certificate says, and no free-text note, because a note is\nwhere a name or an income would end up."},"LiveIn":{"properties":{"api_sha":{"anyOf":[{"type":"string","pattern":"^[0-9a-fA-F]{7,40}$"},{"type":"null"}],"title":"Api Sha"},"web_sha":{"anyOf":[{"type":"string","pattern":"^[0-9a-fA-F]{7,40}$"},{"type":"null"}],"title":"Web Sha"},"read_at":{"type":"string","format":"date-time","title":"Read At"}},"additionalProperties":false,"type":"object","required":["read_at"],"title":"LiveIn"},"LocaleBundleCommand":{"properties":{"locale":{"type":"string","maxLength":20,"minLength":2,"title":"Locale"},"version":{"type":"string","maxLength":80,"minLength":1,"title":"Version"},"state":{"type":"string","enum":["ACTIVE","FALLBACK_ONLY","RETIRED"],"title":"State","default":"ACTIVE"},"fallback_locale":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Fallback Locale","default":"en-IN"},"reviewer_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Reviewer Id"},"reviewed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Reviewed At"},"critical_copy_reviewed":{"type":"boolean","title":"Critical Copy Reviewed","default":false},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os19_reach__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["locale","version","actor_id","evidence_refs"],"title":"LocaleBundleCommand"},"LoginResponse":{"properties":{"access_token":{"type":"string","title":"Access Token"},"refresh_token":{"type":"string","title":"Refresh Token"},"expires_in":{"type":"integer","title":"Expires In"},"token_type":{"type":"string","title":"Token Type","default":"bearer"},"user_id":{"type":"string","title":"User Id"},"role":{"type":"string","title":"Role"},"tier":{"type":"string","title":"Tier"},"student_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Student Id"},"name":{"type":"string","title":"Name","default":""},"email":{"type":"string","title":"Email","default":""},"institution_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Institution Id"},"exam_target":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Exam Target"},"account_restored":{"type":"boolean","title":"Account Restored","default":false},"parent_invite":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Parent Invite"}},"type":"object","required":["access_token","refresh_token","expires_in","user_id","role","tier"],"title":"LoginResponse"},"LookupBody":{"properties":{"source_table":{"type":"string","maxLength":80,"title":"Source Table"},"source_id":{"type":"string","maxLength":120,"title":"Source Id"}},"additionalProperties":false,"type":"object","required":["source_table","source_id"],"title":"LookupBody"},"LoopStartRequest":{"properties":{"student_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Student Id"},"concept_id":{"type":"string","title":"Concept Id"},"source_route":{"type":"string","title":"Source Route"},"mission_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mission Id"},"goal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Goal"},"context":{"type":"object","title":"Context"},"evidence_refs":{"items":{"type":"object"},"type":"array","title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["concept_id","source_route"],"title":"LoopStartRequest"},"MFAStepUpVerifyRequest":{"properties":{"challenge_id":{"type":"string","format":"uuid","title":"Challenge Id"},"code":{"type":"string","maxLength":6,"minLength":6,"title":"Code"}},"type":"object","required":["challenge_id","code"],"title":"MFAStepUpVerifyRequest"},"MappingReplayRequest":{"properties":{"release_id":{"type":"string","title":"Release Id"},"routes":{"items":{"type":"string"},"type":"array","maxItems":500,"title":"Routes"},"dry_run":{"type":"boolean","title":"Dry Run","default":true},"reason":{"type":"string","maxLength":500,"minLength":3,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["release_id","reason"],"title":"MappingReplayRequest"},"MappingReportCreate":{"properties":{"concept_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Concept Id"},"release_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Release Id"},"route":{"type":"string","maxLength":512,"minLength":1,"title":"Route"},"observed_label":{"type":"string","maxLength":512,"minLength":1,"title":"Observed Label"},"expected_label":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Expected Label"},"details":{"type":"object","title":"Details"}},"additionalProperties":false,"type":"object","required":["route","observed_label"],"title":"MappingReportCreate"},"MappingStatus":{"type":"string","enum":["verified","inferred","unmapped"],"title":"MappingStatus"},"MarkPut":{"properties":{"client_event_id":{"type":"string","maxLength":128,"minLength":1,"title":"Client Event Id"},"class_id":{"type":"string","title":"Class Id"},"member_id":{"type":"string","title":"Member Id"},"assessment_id":{"type":"string","title":"Assessment Id"},"value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Value"},"absent":{"type":"boolean","title":"Absent","default":false},"record_state":{"type":"string","enum":["draft","final"],"title":"Record State"}},"type":"object","required":["client_event_id","class_id","member_id","assessment_id","record_state"],"title":"MarkPut"},"MarkReadRequest":{"properties":{"alert_ids":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":200},{"type":"null"}],"title":"Alert Ids"},"all":{"type":"boolean","title":"All","default":false}},"additionalProperties":false,"type":"object","title":"MarkReadRequest"},"MarkingBenchCancelBody":{"properties":{"reason":{"type":"string","maxLength":400,"minLength":1,"title":"Reason"}},"type":"object","required":["reason"],"title":"MarkingBenchCancelBody"},"MarkingBenchDisputeBody":{"properties":{"reason":{"type":"string","maxLength":400,"minLength":1,"title":"Reason"}},"type":"object","required":["reason"],"title":"MarkingBenchDisputeBody"},"MarkingBenchRecordReviewBody":{"properties":{"abstain":{"type":"boolean","title":"Abstain","default":false},"review_notes_ref":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Review Notes Ref"},"summary":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Summary"},"points":{"items":{"type":"string"},"type":"array","maxItems":30,"title":"Points"},"ai_verdict":{"anyOf":[{"type":"string","pattern":"^(AGREE|ADJUSTED)$"},{"type":"null"}],"title":"Ai Verdict"}},"type":"object","title":"MarkingBenchRecordReviewBody"},"MarkingBenchRequestBody":{"properties":{"mock_session_id":{"type":"string","maxLength":64,"minLength":1,"title":"Mock Session Id"},"attempt_version":{"type":"integer","minimum":1.0,"title":"Attempt Version","default":1},"subject":{"type":"string","maxLength":80,"minLength":1,"title":"Subject"},"beneficiary_student_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Beneficiary Student Id","description":"Set by a parent requesting on behalf of their child; self-requests omit this and use the caller's own id."},"idempotency_key":{"type":"string","maxLength":160,"minLength":1,"title":"Idempotency Key"},"order_id":{"anyOf":[{"type":"string","maxLength":48},{"type":"null"}],"title":"Order Id"}},"type":"object","required":["mock_session_id","subject","idempotency_key"],"title":"MarkingBenchRequestBody"},"MarkingRequestClarificationIssue":{"properties":{"prompt":{"type":"string","maxLength":2000,"minLength":1,"title":"Prompt"},"response_kinds":{"items":{"type":"string","enum":["ACKNOWLEDGE","PROVIDE_CONTEXT","CONTEST"]},"type":"array","maxItems":3,"minItems":1,"title":"Response Kinds"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"supersedes_clarification_id":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Supersedes Clarification Id"}},"additionalProperties":false,"type":"object","required":["prompt","response_kinds","expires_at"],"title":"MarkingRequestClarificationIssue","description":"Reviewer-authored prompt; the Mock source resolves target and version."},"MediaResolveInput":{"properties":{"asset_id":{"type":"string","maxLength":240,"minLength":1,"title":"Asset Id"},"asset_version":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Asset Version"},"viewport_width":{"type":"integer","maximum":7680.0,"minimum":240.0,"title":"Viewport Width","default":375},"device_pixel_ratio":{"type":"number","maximum":4.0,"minimum":1.0,"title":"Device Pixel Ratio","default":1.0},"data_mode":{"allOf":[{"$ref":"#/components/schemas/DataMode"}],"default":"NORMAL"},"reduced_motion":{"type":"boolean","title":"Reduced Motion","default":false},"aspect_ratio":{"type":"string","title":"Aspect Ratio","default":"auto"},"locale":{"type":"string","maxLength":32,"title":"Locale","default":"en-IN"},"supported_formats":{"items":{"type":"string"},"type":"array","maxItems":8,"title":"Supported Formats"}},"additionalProperties":false,"type":"object","required":["asset_id"],"title":"MediaResolveInput"},"Member":{"properties":{"student_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Student Id"},"email":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Email"},"label":{"type":"string","maxLength":80,"title":"Label","default":""}},"type":"object","title":"Member"},"MemoryEvidenceRef":{"properties":{"ref_type":{"type":"string","enum":["os17_event","os04_proof","os05_source","os15_quality"],"title":"Ref Type"},"ref_id":{"type":"string","maxLength":160,"minLength":1,"title":"Ref Id"},"selected_state":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Selected State"}},"additionalProperties":false,"type":"object","required":["ref_type","ref_id"],"title":"MemoryEvidenceRef"},"MemoryFactCommand":{"properties":{"student_id":{"type":"string","maxLength":96,"minLength":1,"title":"Student Id"},"fact_type":{"type":"string","enum":["concept_mastery","mistake_pattern","preference","goal","constraint","milestone","risk_signal"],"title":"Fact Type"},"subject_id":{"type":"string","maxLength":160,"minLength":1,"title":"Subject Id"},"predicate":{"type":"string","maxLength":80,"minLength":1,"title":"Predicate"},"value":{"type":"object","title":"Value"},"confidence":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Confidence","default":0.5},"source_event_id":{"type":"string","maxLength":120,"minLength":1,"title":"Source Event Id"},"evidence":{"items":{"$ref":"#/components/schemas/MemoryEvidenceRef"},"type":"array","title":"Evidence"},"visibility":{"type":"string","enum":["student","teacher","operator","private"],"title":"Visibility","default":"student"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"},"ttl_days":{"anyOf":[{"type":"integer","maximum":3650.0,"minimum":1.0},{"type":"null"}],"title":"Ttl Days"},"idempotency_key":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["student_id","fact_type","subject_id","predicate","source_event_id"],"title":"MemoryFactCommand"},"MentorLinkRequest":{"properties":{"service_id":{"type":"string","maxLength":36,"minLength":36,"title":"Service Id"},"trututor_session_ref":{"type":"string","maxLength":120,"minLength":1,"title":"Trututor Session Ref"},"idempotency_key":{"type":"string","maxLength":80,"minLength":8,"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["service_id","trututor_session_ref","idempotency_key"],"title":"MentorLinkRequest"},"MessageBody":{"properties":{"body":{"type":"string","maxLength":500,"minLength":1,"title":"Body"},"direction":{"type":"string","pattern":"^(p2s|s2p)$","title":"Direction","default":"p2s"},"template_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Template Id"},"templated":{"type":"boolean","title":"Templated","default":true}},"type":"object","required":["body"],"title":"MessageBody"},"MessageRequest":{"properties":{"teacher_id":{"type":"string","title":"Teacher Id","default":"teacher_001"},"mode":{"type":"string","title":"Mode","default":"broadcast"},"message":{"type":"string","title":"Message"},"recipient_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recipient Id"},"batch_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Batch Id"}},"type":"object","required":["message"],"title":"MessageRequest"},"MetaLearningSessionStartReq":{"properties":{"sessions":{"items":{"type":"object"},"type":"array","title":"Sessions"},"rank_delta_observed":{"type":"number","maximum":1.0,"minimum":-1.0,"title":"Rank Delta Observed","default":0.1},"spre_summary":{"type":"object","title":"Spre Summary"},"top_n":{"type":"integer","maximum":8.0,"minimum":1.0,"title":"Top N","default":3}},"type":"object","title":"MetaLearningSessionStartReq"},"MeterProjection":{"properties":{"meter_id":{"type":"string","title":"Meter Id"},"metered":{"type":"boolean","title":"Metered"},"unit":{"type":"string","enum":["saved route"],"const":"saved route","title":"Unit","default":"saved route"},"tier":{"type":"string","title":"Tier"},"used":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Used"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"remaining":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Remaining"},"reset_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Reset At"},"offer_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Offer Id"},"offer_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Offer Version"},"price_display":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Price Display"},"free_alternative":{"type":"string","title":"Free Alternative"}},"additionalProperties":false,"type":"object","required":["meter_id","metered","tier","free_alternative"],"title":"MeterProjection","description":"What the saved-route allowance looks like for this learner right now.\n\nRead only. Nothing here charges, reserves or counts. `offer_id`,\n`offer_version` and `price_display` are null until commerce publishes an\noffer: the price is \"not decided\", and a null hides every upgrade prompt."},"MilestoneActionCurrent":{"properties":{"project_id":{"type":"string","format":"uuid","title":"Project Id"},"brief_id":{"type":"string","title":"Brief Id"},"brief_version":{"type":"integer","minimum":1.0,"title":"Brief Version"},"project_revision":{"type":"integer","minimum":1.0,"title":"Project Revision"},"milestone_id":{"type":"string","format":"uuid","title":"Milestone Id"},"milestone_index":{"type":"integer","minimum":1.0,"title":"Milestone Index"},"milestone_name":{"type":"string","title":"Milestone Name"},"milestone_state":{"type":"string","enum":["PENDING","RETURNED","SUBMITTED"],"title":"Milestone State"},"milestone_revision":{"type":"integer","minimum":1.0,"title":"Milestone Revision"},"action_state":{"type":"string","enum":["AVAILABLE"],"const":"AVAILABLE","title":"Action State"}},"type":"object","required":["project_id","brief_id","brief_version","project_revision","milestone_id","milestone_index","milestone_name","milestone_state","milestone_revision","action_state"],"title":"MilestoneActionCurrent"},"MilestoneCompleteRequest":{"properties":{"client_event_id":{"type":"string","maxLength":128,"minLength":1,"title":"Client Event Id"}},"additionalProperties":false,"type":"object","required":["client_event_id"],"title":"MilestoneCompleteRequest"},"MilestoneCompletionReceipt":{"properties":{"schema_version":{"type":"string","title":"Schema Version"},"receipt_type":{"type":"string","enum":["worklab_milestone_completion"],"const":"worklab_milestone_completion","title":"Receipt Type"},"receipt_id":{"type":"string","format":"uuid","title":"Receipt Id"},"version":{"type":"integer","minimum":1.0,"title":"Version"},"student_id":{"type":"string","title":"Student Id"},"project_id":{"type":"string","format":"uuid","title":"Project Id"},"brief_id":{"type":"string","title":"Brief Id"},"brief_version":{"type":"integer","minimum":1.0,"title":"Brief Version"},"milestone_id":{"type":"string","format":"uuid","title":"Milestone Id"},"milestone_index":{"type":"integer","minimum":1.0,"title":"Milestone Index"},"milestone_name":{"type":"string","title":"Milestone Name"},"client_event_id":{"type":"string","title":"Client Event Id"},"state":{"type":"string","enum":["DONE"],"const":"DONE","title":"State"},"completed_at":{"type":"string","format":"date-time","title":"Completed At"},"payload_digest":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Payload Digest"}},"type":"object","required":["schema_version","receipt_type","receipt_id","version","student_id","project_id","brief_id","brief_version","milestone_id","milestone_index","milestone_name","client_event_id","state","completed_at","payload_digest"],"title":"MilestoneCompletionReceipt"},"MilestoneUpsert":{"properties":{"reason":{"type":"string","maxLength":1000,"minLength":8,"title":"Reason"},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Evidence Refs"},"milestone_id":{"type":"string","maxLength":100,"minLength":3,"pattern":"^[A-Za-z0-9._-]+$","title":"Milestone Id"},"programme_id":{"type":"string","maxLength":80,"minLength":3,"title":"Programme Id"},"title":{"type":"string","maxLength":240,"minLength":4,"title":"Title"},"gate_type":{"type":"string","maxLength":80,"minLength":2,"title":"Gate Type"},"acceptance_owner":{"type":"string","maxLength":160,"minLength":2,"title":"Acceptance Owner"},"target_at":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Target At"},"expected_version":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Expected Version"}},"additionalProperties":false,"type":"object","required":["reason","milestone_id","programme_id","title","gate_type","acceptance_owner"],"title":"MilestoneUpsert"},"MintBody":{"properties":{"version_number":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Version Number"}},"type":"object","title":"MintBody"},"MissionResponse":{"properties":{"tool_choice":{"items":{"type":"string"},"type":"array","maxItems":12,"minItems":1,"title":"Tool Choice"},"orchestration_steps":{"items":{"type":"string"},"type":"array","maxItems":20,"minItems":1,"title":"Orchestration Steps"},"output_artifact_refs":{"items":{"type":"string"},"type":"array","maxItems":16,"minItems":1,"title":"Output Artifact Refs"},"verification_checks":{"items":{"type":"string"},"type":"array","maxItems":20,"minItems":1,"title":"Verification Checks"},"error_signals":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Error Signals"},"assisted_scores":{"additionalProperties":{"type":"integer"},"type":"object","maxProperties":6,"minProperties":1,"title":"Assisted Scores"}},"additionalProperties":false,"type":"object","required":["tool_choice","orchestration_steps","output_artifact_refs","verification_checks","assisted_scores"],"title":"MissionResponse"},"MockAiMarkingRequest":{"properties":{"item_refs":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":250},{"type":"null"}],"title":"Item Refs"}},"additionalProperties":false,"type":"object","title":"MockAiMarkingRequest","description":"Ask the AI Grader to mark some or all written items. Nothing is saved by this request."},"MockAiSuggestionBasis":{"properties":{"source":{"type":"string","enum":["ai_grader"],"const":"ai_grader","title":"Source","default":"ai_grader"},"suggested_marks":{"anyOf":[{"type":"number"},{"type":"string"}],"title":"Suggested Marks"},"suggestion_id":{"type":"string","maxLength":80,"minLength":8,"title":"Suggestion Id"}},"additionalProperties":false,"type":"object","required":["suggested_marks","suggestion_id"],"title":"MockAiSuggestionBasis","description":"What the AI Grader suggested for one item, as the student's app saw it.\n\nThe server compares `suggested_marks` with the mark being saved to record whether the student kept\nthe AI mark or changed it. It is reported by the app, not signed, and is stored as such."},"MockAnswerCreate":{"properties":{"client_event_id":{"type":"string","maxLength":200,"minLength":8,"title":"Client Event Id"},"item_ref":{"type":"string","maxLength":160,"minLength":1,"title":"Item Ref"},"answer":{"title":"Answer"},"expected_session_version":{"type":"integer","minimum":1.0,"title":"Expected Session Version"},"expected_answer_version":{"type":"integer","minimum":0.0,"title":"Expected Answer Version","default":0},"device_sequence":{"type":"integer","minimum":0.0,"title":"Device Sequence","default":0},"elapsed_ms":{"anyOf":[{"type":"integer","maximum":28800000.0,"minimum":0.0},{"type":"null"}],"title":"Elapsed Ms"},"changed_from_event_id":{"anyOf":[{"type":"string","maxLength":200,"minLength":8},{"type":"null"}],"title":"Changed From Event Id"},"mark_for_review":{"type":"boolean","title":"Mark For Review","default":false}},"additionalProperties":false,"type":"object","required":["client_event_id","item_ref","answer","expected_session_version"],"title":"MockAnswerCreate"},"MockChoiceGroup":{"properties":{"group":{"type":"string","maxLength":80,"minLength":1,"title":"Group"},"pick":{"type":"integer","maximum":50.0,"minimum":1.0,"title":"Pick"},"of":{"type":"integer","maximum":50.0,"minimum":2.0,"title":"Of"}},"additionalProperties":false,"type":"object","required":["group","pick","of"],"title":"MockChoiceGroup","description":"\"Answer any `pick` of these `of` questions\": the rule printed on some CBSE papers.\n\nEvery item of one group carries the same group, pick and of. Only the best `pick` of the group's items\n(by marks awarded) count towards the score, and the paper's maximum counts `pick` of them, not all `of`.\nIt is shown to the learner before the attempt (it is an instruction, not an answer)."},"MockCorrectionCreate":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"correction_type":{"type":"string","enum":["SOURCE_RECALL","KEY_CORRECTION","POLICY_CORRECTION","ACCESS_REVOCATION"],"title":"Correction Type"},"reason":{"type":"string","maxLength":500,"minLength":3,"title":"Reason"},"source_receipt_ref":{"type":"string","maxLength":240,"minLength":1,"title":"Source Receipt Ref"}},"additionalProperties":false,"type":"object","required":["expected_version","correction_type","reason","source_receipt_ref"],"title":"MockCorrectionCreate"},"MockExternalImportCreate":{"properties":{"source_ref":{"type":"string","maxLength":240,"minLength":1,"title":"Source Ref"},"source_version":{"type":"string","maxLength":120,"minLength":1,"title":"Source Version"},"exam_lane":{"type":"string","maxLength":120,"minLength":1,"title":"Exam Lane"},"completed_at":{"type":"string","format":"date-time","title":"Completed At"},"duration_seconds":{"type":"integer","maximum":43200.0,"minimum":1.0,"title":"Duration Seconds"},"paper_mapping_ref":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Paper Mapping Ref"},"answer_mapping_ref":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Answer Mapping Ref"},"score":{"anyOf":[{"type":"number"},{"type":"string"}],"title":"Score"},"max_score":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string"}],"title":"Max Score"},"section_totals":{"items":{"type":"object"},"type":"array","maxItems":50,"title":"Section Totals"},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Evidence Refs"},"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version","default":0}},"additionalProperties":false,"type":"object","required":["source_ref","source_version","exam_lane","completed_at","duration_seconds","score","max_score"],"title":"MockExternalImportCreate"},"MockPaperItem":{"properties":{"item_ref":{"type":"string","maxLength":160,"minLength":1,"title":"Item Ref"},"order":{"type":"integer","maximum":250.0,"minimum":1.0,"title":"Order"},"section":{"type":"string","maxLength":80,"minLength":1,"title":"Section","default":"General"},"item_type":{"type":"string","enum":["MCQ","MULTI_SELECT","NUMERIC","TEXT"],"title":"Item Type","default":"MCQ"},"learner_content":{"$ref":"#/components/schemas/MockPaperLearnerContent"},"correct_answer":{"title":"Correct Answer"},"max_marks":{"anyOf":[{"type":"number","maximum":100.0,"exclusiveMinimum":0.0},{"type":"string"}],"title":"Max Marks"},"negative_marks":{"anyOf":[{"type":"number","maximum":100.0,"minimum":0.0},{"type":"string"}],"title":"Negative Marks","default":"0"},"partial_marks":{"anyOf":[{"type":"number","maximum":100.0,"minimum":0.0},{"type":"string"}],"title":"Partial Marks","default":"0"},"numeric_tolerance":{"anyOf":[{"type":"number","maximum":1000000.0,"minimum":0.0},{"type":"string"}],"title":"Numeric Tolerance","default":"0"},"concept_ref":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Concept Ref"},"prerequisite_refs":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Prerequisite Refs"},"source_item_ref":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Source Item Ref"},"choice_group":{"anyOf":[{"$ref":"#/components/schemas/MockChoiceGroup"},{"type":"null"}]},"answer_note":{"anyOf":[{"type":"string","maxLength":1000,"minLength":1},{"type":"null"}],"title":"Answer Note"}},"additionalProperties":false,"type":"object","required":["item_ref","order","correct_answer","max_marks"],"title":"MockPaperItem"},"MockPaperLearnerContent":{"properties":{"prompt":{"anyOf":[{"type":"string","maxLength":32768},{"type":"null"}],"title":"Prompt"},"options":{"items":{"$ref":"#/components/schemas/MockPaperOption"},"type":"array","maxItems":16,"title":"Options"},"asset_refs":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Asset Refs"},"response_instructions":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Response Instructions"}},"additionalProperties":false,"type":"object","title":"MockPaperLearnerContent","description":"Question content safe to return to the learner before submission."},"MockPaperOption":{"properties":{"option_ref":{"type":"string","maxLength":32,"minLength":1,"title":"Option Ref"},"text":{"type":"string","maxLength":8192,"minLength":1,"title":"Text"},"asset_refs":{"items":{"type":"string"},"type":"array","maxItems":10,"title":"Asset Refs"}},"additionalProperties":false,"type":"object","required":["option_ref","text"],"title":"MockPaperOption","description":"Learner-visible option. Correctness never appears in this object."},"MockPaperSnapshotCreate":{"properties":{"paper_ref":{"type":"string","maxLength":200,"minLength":1,"title":"Paper Ref"},"paper_version":{"type":"string","maxLength":80,"minLength":1,"title":"Paper Version"},"source_ref":{"type":"string","maxLength":240,"minLength":1,"title":"Source Ref"},"source_version":{"type":"string","maxLength":120,"minLength":1,"title":"Source Version"},"publication_ref":{"type":"string","maxLength":240,"minLength":1,"title":"Publication Ref"},"rights_ref":{"type":"string","maxLength":240,"minLength":1,"title":"Rights Ref"},"exam_lane":{"type":"string","maxLength":120,"minLength":1,"title":"Exam Lane"},"title":{"type":"string","maxLength":240,"minLength":1,"title":"Title"},"duration_seconds":{"type":"integer","maximum":28800.0,"minimum":60.0,"title":"Duration Seconds"},"items":{"items":{"$ref":"#/components/schemas/MockPaperItem"},"type":"array","maxItems":250,"minItems":1,"title":"Items"},"source_state":{"type":"string","enum":["CURRENT","RECALLED","PARTIAL"],"title":"Source State","default":"CURRENT"},"rights_state":{"type":"string","enum":["APPROVED","WITHDRAWN","UNKNOWN"],"title":"Rights State","default":"APPROVED"},"marking_policy_version":{"type":"string","maxLength":120,"minLength":1,"title":"Marking Policy Version"},"integrity_policy_version":{"type":"string","maxLength":120,"minLength":1,"title":"Integrity Policy Version"},"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version","default":0},"written_marking":{"anyOf":[{"type":"string","enum":["SELF_MARKED_WITH_SCHEME"],"const":"SELF_MARKED_WITH_SCHEME"},{"type":"null"}],"title":"Written Marking"}},"additionalProperties":false,"type":"object","required":["paper_ref","paper_version","source_ref","source_version","publication_ref","rights_ref","exam_lane","title","duration_seconds","items","marking_policy_version","integrity_policy_version"],"title":"MockPaperSnapshotCreate"},"MockReviewQuestionTagBody":{"properties":{"taxonomy":{"type":"string","maxLength":64,"minLength":1,"title":"Taxonomy"}},"type":"object","required":["taxonomy"],"title":"MockReviewQuestionTagBody"},"MockSelfMarksCreate":{"properties":{"marks":{"additionalProperties":{"anyOf":[{"type":"number"},{"type":"string"}]},"type":"object","maxProperties":250,"minProperties":1,"title":"Marks"},"request_id":{"type":"string","maxLength":200,"minLength":8,"title":"Request Id"},"ai_suggestions":{"additionalProperties":{"$ref":"#/components/schemas/MockAiSuggestionBasis"},"type":"object","maxProperties":250,"title":"Ai Suggestions"}},"additionalProperties":false,"type":"object","required":["marks","request_id"],"title":"MockSelfMarksCreate","description":"Student's own marks for the written items of a sealed self-marked paper."},"MockSessionStartCreate":{"properties":{"paper_snapshot_id":{"type":"string","maxLength":80,"minLength":20,"title":"Paper Snapshot Id"},"exam_lane":{"type":"string","maxLength":120,"minLength":1,"title":"Exam Lane"},"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version","default":0},"mode":{"type":"string","enum":["EXAM","PRACTICE"],"title":"Mode","default":"EXAM"},"time_zone":{"type":"string","maxLength":80,"minLength":1,"title":"Time Zone","default":"Asia/Kolkata"},"entry_mode":{"type":"string","maxLength":80,"minLength":1,"title":"Entry Mode","default":"direct"},"purpose":{"type":"string","enum":["assessment"],"const":"assessment","title":"Purpose","default":"assessment"}},"additionalProperties":false,"type":"object","required":["paper_snapshot_id","exam_lane"],"title":"MockSessionStartCreate"},"MockSubmitCreate":{"properties":{"expected_session_version":{"type":"integer","minimum":1.0,"title":"Expected Session Version"},"reason":{"type":"string","enum":["MANUAL","DEADLINE","OPERATOR"],"title":"Reason","default":"MANUAL"}},"additionalProperties":false,"type":"object","required":["expected_session_version"],"title":"MockSubmitCreate"},"Modality":{"type":"string","enum":["online","home_tuition","centre","hybrid","unknown"],"title":"Modality"},"MoneyMetrics":{"properties":{"booking_gross_paise":{"type":"integer","minimum":0.0,"title":"Booking Gross Paise","default":0},"platform_fee_revenue_paise":{"type":"integer","minimum":0.0,"title":"Platform Fee Revenue Paise","default":0},"teacher_bench_review_revenue_paise":{"type":"integer","minimum":0.0,"title":"Teacher Bench Review Revenue Paise","default":0},"referral_settlement_revenue_paise":{"type":"integer","minimum":0.0,"title":"Referral Settlement Revenue Paise","default":0},"support_cost_paise":{"type":"integer","minimum":0.0,"title":"Support Cost Paise","default":0},"refund_cost_paise":{"type":"integer","minimum":0.0,"title":"Refund Cost Paise","default":0},"payment_processing_cost_paise":{"type":"integer","minimum":0.0,"title":"Payment Processing Cost Paise","default":0},"bridge_operating_cost_paise":{"type":"integer","minimum":0.0,"title":"Bridge Operating Cost Paise","default":0}},"additionalProperties":false,"type":"object","title":"MoneyMetrics"},"MovedDateItem":{"properties":{"calendar_item_id":{"type":"string","format":"uuid","title":"Calendar Item Id"},"authority":{"type":"string","title":"Authority"},"event_kind":{"type":"string","title":"Event Kind"},"deadline_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deadline At"},"schedule_state":{"type":"string","title":"Schedule State"}},"additionalProperties":false,"type":"object","required":["calendar_item_id","authority","event_kind","schedule_state"],"title":"MovedDateItem"},"MovedSince":{"properties":{"change_event_id":{"type":"string","format":"uuid","title":"Change Event Id"},"source_authority":{"type":"string","title":"Source Authority"},"source_key":{"type":"string","title":"Source Key"},"moved_at":{"type":"string","format":"date-time","title":"Moved At"},"change_statement":{"type":"string","title":"Change Statement"},"new_version_digest_short":{"type":"string","title":"New Version Digest Short"},"new_rule_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"New Rule Version"},"fixed_line":{"type":"string","title":"Fixed Line","default":"This does not change what was recorded."}},"additionalProperties":false,"type":"object","required":["change_event_id","source_authority","source_key","moved_at","change_statement","new_version_digest_short"],"title":"MovedSince","description":"The only block that reads live. Labelled, and never merged into citations."},"MovementContributor":{"properties":{"component":{"type":"string","title":"Component"},"category":{"type":"string","enum":["EVIDENCE","MODEL","CALIBRATION","HORIZON","POPULATION","UNCLASSIFIED"],"title":"Category"},"before":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Before"},"after":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"After"},"weight":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Weight"},"contribution":{"type":"number","title":"Contribution"},"direction":{"type":"string","enum":["IMPROVED_RANK","WORSENED_RANK","NEUTRAL"],"title":"Direction"}},"additionalProperties":false,"type":"object","required":["component","category","contribution","direction"],"title":"MovementContributor"},"MutationEnvelope":{"properties":{"receipt":{"$ref":"#/components/schemas/CommandReceiptProjection"},"resource":{"type":"object","title":"Resource"}},"additionalProperties":false,"type":"object","required":["receipt","resource"],"title":"MutationEnvelope"},"NLUReq":{"properties":{"text":{"type":"string","maxLength":4000,"minLength":1,"title":"Text"},"mode":{"type":"string","title":"Mode","default":"understand"},"context":{"type":"object","title":"Context"}},"type":"object","required":["text"],"title":"NLUReq"},"NativeOutcomeReplayInput":{"properties":{"recover_student_id":{"anyOf":[{"type":"string","maxLength":64,"minLength":1},{"type":"null"}],"title":"Recover Student Id"}},"additionalProperties":false,"type":"object","title":"NativeOutcomeReplayInput"},"NcertCitationRequest":{"properties":{"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"publication_id":{"type":"string","format":"uuid","title":"Publication Id"},"book_ref":{"type":"string","maxLength":240,"minLength":3,"title":"Book Ref"},"edition_ref":{"type":"string","maxLength":160,"minLength":2,"title":"Edition Ref"},"page_number":{"type":"integer","maximum":5000.0,"minimum":1.0,"title":"Page Number"},"section_ref":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Section Ref"},"official_page_render_ref":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Official Page Render Ref"},"excerpt_digest":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}],"title":"Excerpt Digest"},"excerpt_char_count":{"type":"integer","maximum":20000.0,"minimum":0.0,"title":"Excerpt Char Count","default":0}},"additionalProperties":false,"type":"object","required":["idempotency_key","publication_id","book_ref","edition_ref","page_number"],"title":"NcertCitationRequest"},"NeedCandidate":{"properties":{"label":{"type":"string","title":"Label"},"node_type":{"type":"string","title":"Node Type"},"source":{"$ref":"#/components/schemas/NeedCandidateSource"}},"additionalProperties":false,"type":"object","required":["label","node_type","source"],"title":"NeedCandidate"},"NeedCandidateQuery":{"properties":{"query":{"type":"string","maxLength":256,"minLength":1,"title":"Query"},"scope":{"$ref":"#/components/schemas/Scope"}},"additionalProperties":false,"type":"object","required":["query","scope"],"title":"NeedCandidateQuery","description":"A typed query in an explicit academic scope; scope defaults are forbidden."},"NeedCandidateSource":{"properties":{"candidate_ref":{"type":"string","title":"Candidate Ref"},"binding_ref":{"type":"string","title":"Binding Ref"},"release_id":{"type":"string","title":"Release Id"},"release_version":{"type":"string","title":"Release Version"},"semantic_version":{"type":"string","title":"Semantic Version"},"source_receipt_id":{"type":"string","title":"Source Receipt Id"},"source_receipt_hash":{"type":"string","title":"Source Receipt Hash"},"scope":{"type":"object","title":"Scope"},"scope_hash":{"type":"string","title":"Scope Hash"}},"additionalProperties":false,"type":"object","required":["candidate_ref","binding_ref","release_id","release_version","semantic_version","source_receipt_id","source_receipt_hash","scope","scope_hash"],"title":"NeedCandidateSource","description":"Exact server-read OS01 source binding and durable identity receipt."},"NeedOrigin":{"properties":{"pack_id":{"type":"string","maxLength":80,"minLength":1,"title":"Pack Id"},"product_id":{"type":"string","enum":["trututor"],"const":"trututor","title":"Product Id","default":"trututor"},"screen_id":{"type":"string","maxLength":120,"minLength":1,"title":"Screen Id"},"route":{"type":"string","maxLength":500,"minLength":1,"pattern":"^/connect(?:/|$|\\?)","title":"Route"}},"additionalProperties":false,"type":"object","required":["pack_id","screen_id","route"],"title":"NeedOrigin"},"NeedPacketDeliveryRequest":{"properties":{"authority":{"$ref":"#/components/schemas/GovernedNeedReference"},"origin":{"$ref":"#/components/schemas/NeedOrigin"},"need_mode":{"type":"string","enum":["topic_fix","topic_teacher","concept_repair","answer_review","homework_review","exam_strategy","recurring_support","other"],"title":"Need Mode","default":"topic_fix"},"urgency":{"type":"string","enum":["low","normal","high"],"title":"Urgency","default":"normal"}},"additionalProperties":false,"type":"object","required":["authority","origin"],"title":"NeedPacketDeliveryRequest"},"NeedSelectionRequest":{"properties":{"query":{"type":"string","maxLength":256,"minLength":1,"title":"Query"},"scope":{"$ref":"#/components/schemas/Scope"},"candidate":{"$ref":"#/components/schemas/NeedCandidate"},"selected":{"type":"boolean","title":"Selected"}},"additionalProperties":false,"type":"object","required":["query","scope","candidate","selected"],"title":"NeedSelectionRequest","description":"An explicit selection of one exact candidate returned by Home's reader."},"NeedShape":{"type":"string","enum":["concept_repair","answer_review","homework_review","exam_strategy","recurring_support","other","unknown"],"title":"NeedShape"},"NeedStatusGrantRequest":{"properties":{"bridge_ref":{"type":"string","maxLength":160,"minLength":8,"title":"Bridge Ref"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"confirmed":{"type":"boolean","title":"Confirmed","default":false}},"type":"object","required":["bridge_ref","expires_at"],"title":"NeedStatusGrantRequest","description":"Explicit, one-need grant for later status and outcome reads."},"NewDecision":{"properties":{"title":{"type":"string","maxLength":200,"minLength":5,"title":"Title"},"context":{"type":"string","maxLength":1500,"title":"Context","default":""},"recommendation":{"type":"string","maxLength":600,"title":"Recommendation","default":""}},"type":"object","required":["title"],"title":"NewDecision"},"NewToken":{"properties":{"name":{"type":"string","maxLength":80,"minLength":3,"title":"Name"},"scopes":{"items":{},"type":"array","maxItems":4,"minItems":1,"title":"Scopes"},"expires_days":{"anyOf":[{"type":"integer","maximum":365.0,"minimum":1.0},{"type":"null"}],"title":"Expires Days"}},"type":"object","required":["name","scopes"],"title":"NewToken"},"NextActionProjection":{"properties":{"state":{"type":"string","enum":["ACTIONABLE","NONE"],"title":"State"},"step_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Step Id"},"reason":{"type":"string","enum":["STEP_ACTIONABLE","ALL_STEPS_COMPLETE","PLAN_NOT_ACTIONABLE","NO_LEARNER_OWNED_STEP_REMAINS"],"title":"Reason"}},"additionalProperties":false,"type":"object","required":["state","reason"],"title":"NextActionProjection","description":"Part 004's headline: exactly one next action, never a list.\n\n`step_id` is set only when `state==\"ACTIONABLE\"`. Gate-blocking (parts 003,\n006 and 007 -- a hard gate with a rule identifier and version) is not yet\ncomputed here: no gate row exists on a plan step today (JUDGMENT gap,\ntracked in the product's own spec section 5.1). This selector is therefore\nscoped to completion state and learner ownership only, and must not be read\nas \"gate-aware\" until the gate evaluator lands."},"NextStep":{"properties":{"key":{"type":"string","title":"Key"},"definition_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Definition Ref"},"path":{"type":"string","title":"Path"},"title":{"type":"string","title":"Title"},"reason":{"type":"string","title":"Reason"}},"additionalProperties":false,"type":"object","required":["key","path","title","reason"],"title":"NextStep"},"NodeActivityCreate":{"properties":{"event_type":{"type":"string","enum":["node_opened","practice_started","practice_completed","doubt_opened","doubt_resolved","grade_reviewed","note_saved","library_saved","offline_pack_saved","resume_updated"],"title":"Event Type"},"source_product":{"type":"string","maxLength":128,"minLength":1,"title":"Source Product"},"source_screen":{"type":"string","maxLength":160,"minLength":1,"title":"Source Screen"},"source_object_ref":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Source Object Ref"},"title":{"type":"string","maxLength":160,"minLength":1,"title":"Title"},"route":{"type":"string","maxLength":300,"pattern":"^/","title":"Route"},"evidence_ref":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Evidence Ref"},"metadata":{"type":"object","title":"Metadata"},"occurred_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Occurred At"}},"additionalProperties":false,"type":"object","required":["event_type","source_product","source_screen","title","route"],"title":"NodeActivityCreate"},"NoteCaptureBody":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Title"},"content_text":{"anyOf":[{"type":"string","maxLength":200000},{"type":"null"}],"title":"Content Text"},"note_type":{"type":"string","title":"Note Type","default":"text"},"folder_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Folder Id"},"topic_tags":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":10},{"type":"null"}],"title":"Topic Tags"},"source_object_namespace":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Source Object Namespace"},"source_object_id":{"anyOf":[{"type":"string","maxLength":300,"minLength":1},{"type":"null"}],"title":"Source Object Id"},"product_context_receipt_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Context Receipt Id"},"product_context_hash":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}],"title":"Product Context Hash"},"idempotency_key":{"anyOf":[{"type":"string","maxLength":160,"minLength":8,"pattern":"^[A-Za-z0-9_-]+$"},{"type":"null"}],"title":"Idempotency Key"},"request_digest":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}],"title":"Request Digest"},"owner_ref":{"anyOf":[{"type":"string","maxLength":64,"minLength":1},{"type":"null"}],"title":"Owner Ref"}},"type":"object","title":"NoteCaptureBody"},"NoteCreateReq":{"properties":{"note_type":{"type":"string","pattern":"^(text|photo|pdf|voice)$","title":"Note Type"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"content_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Text"},"s3_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"S3 Key"},"folder_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Folder Id"},"topic_tags":{"items":{"type":"string"},"type":"array","title":"Topic Tags"}},"type":"object","required":["note_type"],"title":"NoteCreateReq"},"NotePurpose":{"type":"string","enum":["CAPTURE","EDIT","TAG","SEARCH","DERIVE","EXPORT","DELETE"],"title":"NotePurpose"},"NotePurposeRequest":{"properties":{"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"purpose":{"$ref":"#/components/schemas/NotePurpose"},"derivative_kind":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Derivative Kind"},"retention_days":{"type":"integer","maximum":3650.0,"minimum":1.0,"title":"Retention Days","default":365},"extraction_confidence":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Extraction Confidence"},"user_confirmed_extraction":{"type":"boolean","title":"User Confirmed Extraction","default":false},"source_consent":{"type":"boolean","title":"Source Consent","default":false}},"additionalProperties":false,"type":"object","required":["idempotency_key","purpose"],"title":"NotePurposeRequest"},"NoteStarBody":{"properties":{"starred":{"type":"boolean","title":"Starred"}},"additionalProperties":false,"type":"object","required":["starred"],"title":"NoteStarBody"},"NoteUpdateBody":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Title"},"content_text":{"anyOf":[{"type":"string","maxLength":200000},{"type":"null"}],"title":"Content Text"},"folder_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Folder Id"},"topic_tags":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":10},{"type":"null"}],"title":"Topic Tags"},"source_object_namespace":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Source Object Namespace"},"source_object_id":{"anyOf":[{"type":"string","maxLength":300,"minLength":1},{"type":"null"}],"title":"Source Object Id"},"product_context_receipt_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Context Receipt Id"},"product_context_hash":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}],"title":"Product Context Hash"},"expected_revision":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Expected Revision"},"idempotency_key":{"anyOf":[{"type":"string","maxLength":160,"minLength":8,"pattern":"^[A-Za-z0-9_-]+$"},{"type":"null"}],"title":"Idempotency Key"},"request_digest":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}],"title":"Request Digest"}},"type":"object","title":"NoteUpdateBody"},"NoteUpdateReq":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"content_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Text"},"topic_tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Topic Tags"}},"type":"object","title":"NoteUpdateReq"},"NotesSourceBindingCommand":{"properties":{"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"student_id":{"type":"string","maxLength":64,"minLength":1,"title":"Student Id"},"note_id":{"type":"string","format":"uuid","title":"Note Id"},"publication_id":{"type":"string","format":"uuid","title":"Publication Id"},"expected_note_version":{"type":"integer","minimum":1.0,"title":"Expected Note Version"},"expected_note_text_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Expected Note Text Sha256"}},"additionalProperties":false,"type":"object","required":["student_id","note_id","publication_id","expected_note_version","expected_note_text_sha256"],"title":"NotesSourceBindingCommand","description":"Admin-authorized binding of one learner note version to a correction predecessor."},"OCRBox":{"properties":{"text_digest":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Text Digest"},"x_px":{"type":"integer","minimum":0.0,"title":"X Px"},"y_px":{"type":"integer","minimum":0.0,"title":"Y Px"},"width_px":{"type":"integer","exclusiveMinimum":0.0,"title":"Width Px"},"height_px":{"type":"integer","exclusiveMinimum":0.0,"title":"Height Px"},"confidence":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Confidence"},"char_start":{"type":"integer","minimum":0.0,"title":"Char Start","default":0},"char_len":{"type":"integer","minimum":0.0,"title":"Char Len","default":0}},"additionalProperties":false,"type":"object","required":["text_digest","x_px","y_px","width_px","height_px"],"title":"OCRBox","description":"One readable part of a page: where it is, how sure we were, and where its\ntext sits inside the candidate's text.\n\nTHE TEXT IS NOT STORED HERE, AND THAT IS DELIBERATE. A box carries a digest\nand a character range into the candidate text rather than a second copy of\nthe learner's own words. One copy means one thing to retain, one thing to\npurge, and no way for the two to drift apart and disagree about what we\nread.\n\n`char_start`/`char_len` are what make that workable rather than merely\ntidy: with them a screen can show a learner exactly the part we were unsure\nof, sliced out of the text it already has, and `text_digest` still proves\nthe slice is the one this box was scored against.\n\n`confidence` is optional because \"we could not judge this\" is a real answer\nand a different one from zero. A part we could not score is a part a human\nshould look at, and defaulting it to 0.0 or to 1.0 would each be a lie in a\ndifferent direction."},"OCRHITLReviewRequest":{"properties":{"page_id":{"type":"integer","title":"Page Id"},"corrected_text":{"type":"string","title":"Corrected Text"},"reviewer_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reviewer Id"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["page_id","corrected_text"],"title":"OCRHITLReviewRequest"},"OS15RecordSetDescriptor":{"properties":{"state":{"type":"string","enum":["READY","UNAVAILABLE","UNVERIFIED","MISMATCH","DEGRADED"],"title":"State"},"ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ref"},"current_digest":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Current Digest"},"member_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Member Count"},"reason_codes":{"items":{"type":"string"},"type":"array","title":"Reason Codes"}},"additionalProperties":false,"type":"object","required":["state"],"title":"OS15RecordSetDescriptor"},"OTPSendRequest":{"properties":{"phone":{"type":"string","title":"Phone"}},"type":"object","required":["phone"],"title":"OTPSendRequest"},"OTPVerifyRequest":{"properties":{"phone":{"type":"string","title":"Phone"},"otp":{"type":"string","title":"Otp"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"exam_target":{"type":"string","title":"Exam Target","default":"JEE"},"class_grade":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Class Grade"},"device_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Id"},"age_ticket":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Age Ticket"},"guardian_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Guardian Email"},"guardian_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Guardian Name"}},"type":"object","required":["phone","otp"],"title":"OTPVerifyRequest"},"ObjectAccessBody":{"properties":{"entitlement_id":{"type":"string","maxLength":120,"minLength":1,"title":"Entitlement Id"},"object_request":{"$ref":"#/components/schemas/ObjectRequestBody"}},"additionalProperties":false,"type":"object","required":["entitlement_id","object_request"],"title":"ObjectAccessBody"},"ObjectInventoryChunk":{"properties":{"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version"},"items":{"items":{"$ref":"#/components/schemas/ObjectInventoryItem"},"type":"array","maxItems":500,"minItems":1,"title":"Items"},"reason":{"type":"string","maxLength":1000,"minLength":3,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["expected_version","items","reason"],"title":"ObjectInventoryChunk"},"ObjectInventoryFinalize":{"properties":{"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version"},"maker_id":{"type":"string","maxLength":256,"minLength":1,"title":"Maker Id"},"reason":{"type":"string","maxLength":1000,"minLength":3,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["expected_version","maker_id","reason"],"title":"ObjectInventoryFinalize"},"ObjectInventoryItem":{"properties":{"object_id":{"type":"string","maxLength":512,"minLength":1,"title":"Object Id"},"source_state":{"type":"string","enum":["ACTIVE","INACTIVE","HELD","RETIRED"],"title":"Source State"},"source_fingerprint":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Source Fingerprint"},"evidence":{"type":"object","title":"Evidence"}},"additionalProperties":false,"type":"object","required":["object_id","source_state","source_fingerprint"],"title":"ObjectInventoryItem"},"ObjectInventoryRetirement":{"properties":{"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version"},"maker_id":{"type":"string","maxLength":256,"minLength":1,"title":"Maker Id"},"impact_acknowledged":{"type":"boolean","title":"Impact Acknowledged"},"reason":{"type":"string","maxLength":1000,"minLength":3,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["expected_version","maker_id","impact_acknowledged","reason"],"title":"ObjectInventoryRetirement"},"ObjectInventoryStart":{"properties":{"inventory_id":{"type":"string","maxLength":36,"minLength":36,"title":"Inventory Id"},"object_namespace":{"type":"string","enum":["question","ncert","pyq","note","asset","drill","mock","plan","route","repair_treatment","tutor_speciality"],"title":"Object Namespace"},"source_uri":{"type":"string","maxLength":1000,"minLength":3,"title":"Source Uri"},"content_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Content Sha256"},"record_count":{"type":"integer","minimum":0.0,"title":"Record Count"},"active_count":{"type":"integer","minimum":0.0,"title":"Active Count"},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":100,"minItems":1,"title":"Evidence Refs"},"reason":{"type":"string","maxLength":1000,"minLength":3,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["inventory_id","object_namespace","source_uri","content_sha256","record_count","active_count","evidence_refs","reason"],"title":"ObjectInventoryStart","description":"Immutable header for a source-owned object inventory."},"ObjectOfferDiscoveryBody":{"properties":{"object_request":{"$ref":"#/components/schemas/ObjectRequestBody"},"selected_offer_version_id":{"anyOf":[{"type":"string","maxLength":120,"minLength":3},{"type":"null"}],"title":"Selected Offer Version Id"}},"additionalProperties":false,"type":"object","required":["object_request"],"title":"ObjectOfferDiscoveryBody"},"ObjectPreflightResult":{"properties":{"definition_ref":{"type":"string","enum":["PRD-AA-ACESPREDICT-DECISION-OS","OBJ-AA-COUNSELLING-SEASON-CUTOFF","OBJ-AA-RESULT-DAY-PACK","OBJ-AA-CLAT-NLU-ALLOTMENT-SIMULAT","OBJ-AA-DEPOSIT-AND-FORFEIT-MAP","OBJ-AA-NEET-PG-COUNSELLING-AND-SE","OBJ-AA-NIFT-CAMPUS-IN-RANGE-CUTOF","OBJ-AA-THE-PIVOT","OBJ-AA-COUNSELLING-SERVICE"],"title":"Definition Ref"},"eligible":{"type":"boolean","title":"Eligible"},"missing_refs":{"items":{"type":"string"},"type":"array","title":"Missing Refs","default":[]},"source_freshness_state":{"type":"string","enum":["FRESH","AGEING","STALE","RECALLED","UNKNOWN"],"title":"Source Freshness State","default":"UNKNOWN"},"reason_code":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Reason Code"},"owner_module":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Owner Module"}},"additionalProperties":false,"type":"object","required":["definition_ref","eligible"],"title":"ObjectPreflightResult","description":"Whether a create would work, without minting anything.\n\nDeliberately cannot carry an instance ref or an entitlement: a preflight\nthat hands back something usable is a create with a friendlier name."},"ObjectRef":{"properties":{"owner_os":{"type":"string","pattern":"^[A-Z][A-Z0-9_-]{1,23}$","title":"Owner Os"},"object_type":{"type":"string","pattern":"^[a-z][a-z0-9._-]{1,119}$","title":"Object Type"},"object_id":{"type":"string","maxLength":200,"minLength":1,"title":"Object Id"},"version":{"type":"string","maxLength":80,"minLength":1,"title":"Version"},"receipt_id":{"type":"string","maxLength":200,"minLength":4,"title":"Receipt Id"},"state":{"type":"string","maxLength":64,"minLength":1,"title":"State","default":"CURRENT"}},"additionalProperties":false,"type":"object","required":["owner_os","object_type","object_id","version","receipt_id"],"title":"ObjectRef"},"ObjectRequestBody":{"properties":{"definition_ref":{"type":"string","maxLength":300,"minLength":1,"title":"Definition Ref"},"definition_version":{"type":"string","maxLength":300,"minLength":1,"title":"Definition Version"},"variant_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Ref"},"operation":{"type":"string","maxLength":300,"minLength":1,"title":"Operation"},"beneficiary_id":{"type":"string","maxLength":64,"minLength":1,"title":"Beneficiary Id"},"tenant_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tenant Id"},"quantity":{"type":"integer","maximum":1.0,"minimum":1.0,"title":"Quantity","default":1},"household_relationship_ref":{"anyOf":[{"type":"string","maxLength":160,"minLength":1},{"type":"null"}],"title":"Household Relationship Ref"}},"additionalProperties":false,"type":"object","required":["definition_ref","definition_version","operation","beneficiary_id"],"title":"ObjectRequestBody"},"ObjectResult":{"properties":{"definition_ref":{"type":"string","enum":["PRD-AA-ACESPREDICT-DECISION-OS","OBJ-AA-COUNSELLING-SEASON-CUTOFF","OBJ-AA-RESULT-DAY-PACK","OBJ-AA-CLAT-NLU-ALLOTMENT-SIMULAT","OBJ-AA-DEPOSIT-AND-FORFEIT-MAP","OBJ-AA-NEET-PG-COUNSELLING-AND-SE","OBJ-AA-NIFT-CAMPUS-IN-RANGE-CUTOF","OBJ-AA-THE-PIVOT","OBJ-AA-COUNSELLING-SERVICE"],"title":"Definition Ref"},"contract_version":{"type":"string","title":"Contract Version","default":"1.1"},"operation":{"type":"string","enum":["preflight","create_or_read","read","rerun","export","delete"],"title":"Operation"},"instance_ref":{"type":"string","title":"Instance Ref"},"revision":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"Revision"},"state":{"type":"string","enum":["FORMING","REQUESTED","DRAFT","READY","PARTIAL","HELD","SOURCE_THIN","RULES_MISSING","MONEY_UNKNOWN","UNSUPPORTED","NO_SUPPORTED_OPTION","STALE","CORRECTED","RECALLED","SUPERSEDED","REVOKED","REDACTED","RECONCILIATION_REQUIRED"],"title":"State"},"owner_module":{"type":"string","maxLength":200,"minLength":1,"title":"Owner Module"},"owner_operation":{"type":"string","maxLength":200,"minLength":1,"title":"Owner Operation"},"beneficiary_ref":{"type":"string","title":"Beneficiary Ref"},"tenant_ref":{"type":"string","title":"Tenant Ref"},"source_release_refs":{"items":{"type":"string"},"type":"array","title":"Source Release Refs","default":[]},"source_digest":{"type":"string","title":"Source Digest"},"source_freshness_state":{"type":"string","enum":["FRESH","AGEING","STALE","RECALLED","UNKNOWN"],"title":"Source Freshness State"},"source_as_of":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Source As Of"},"coverage_denominator":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},{"type":"null"}],"title":"Coverage Denominator"},"correction_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Correction Ref"},"predecessor_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Predecessor Ref"},"successor_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Successor Ref"},"receipt_ref":{"type":"string","title":"Receipt Ref"},"replayed":{"type":"boolean","title":"Replayed","default":false},"unknown_effect":{"type":"boolean","title":"Unknown Effect","default":false},"reason_code":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Reason Code"},"missing_refs":{"items":{"type":"string"},"type":"array","title":"Missing Refs","default":[]},"read_at":{"type":"string","format":"date-time","title":"Read At"},"cache_expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Cache Expires At"}},"additionalProperties":false,"type":"object","required":["definition_ref","operation","instance_ref","revision","state","owner_module","owner_operation","beneficiary_ref","tenant_ref","source_digest","source_freshness_state","receipt_ref","read_at"],"title":"ObjectResult","description":"What the server returns, and what it had to have to return it.\n\nFive fields are required rather than optional and that is the whole design:\n``receipt_ref``, ``source_digest``, ``source_freshness_state``,\n``beneficiary_ref``/``tenant_ref`` and ``revision``. An owner that returns\nnothing cannot produce one of these, so an owner's silence cannot be stored\nas an answer."},"ObjectResultWithData":{"properties":{"definition_ref":{"type":"string","enum":["PRD-AA-ACESPREDICT-DECISION-OS","OBJ-AA-COUNSELLING-SEASON-CUTOFF","OBJ-AA-RESULT-DAY-PACK","OBJ-AA-CLAT-NLU-ALLOTMENT-SIMULAT","OBJ-AA-DEPOSIT-AND-FORFEIT-MAP","OBJ-AA-NEET-PG-COUNSELLING-AND-SE","OBJ-AA-NIFT-CAMPUS-IN-RANGE-CUTOF","OBJ-AA-THE-PIVOT","OBJ-AA-COUNSELLING-SERVICE"],"title":"Definition Ref"},"contract_version":{"type":"string","title":"Contract Version","default":"1.1"},"operation":{"type":"string","enum":["preflight","create_or_read","read","rerun","export","delete"],"title":"Operation"},"instance_ref":{"type":"string","title":"Instance Ref"},"revision":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"Revision"},"state":{"type":"string","enum":["FORMING","REQUESTED","DRAFT","READY","PARTIAL","HELD","SOURCE_THIN","RULES_MISSING","MONEY_UNKNOWN","UNSUPPORTED","NO_SUPPORTED_OPTION","STALE","CORRECTED","RECALLED","SUPERSEDED","REVOKED","REDACTED","RECONCILIATION_REQUIRED"],"title":"State"},"owner_module":{"type":"string","maxLength":200,"minLength":1,"title":"Owner Module"},"owner_operation":{"type":"string","maxLength":200,"minLength":1,"title":"Owner Operation"},"beneficiary_ref":{"type":"string","title":"Beneficiary Ref"},"tenant_ref":{"type":"string","title":"Tenant Ref"},"source_release_refs":{"items":{"type":"string"},"type":"array","title":"Source Release Refs","default":[]},"source_digest":{"type":"string","title":"Source Digest"},"source_freshness_state":{"type":"string","enum":["FRESH","AGEING","STALE","RECALLED","UNKNOWN"],"title":"Source Freshness State"},"source_as_of":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Source As Of"},"coverage_denominator":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},{"type":"null"}],"title":"Coverage Denominator"},"correction_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Correction Ref"},"predecessor_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Predecessor Ref"},"successor_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Successor Ref"},"receipt_ref":{"type":"string","title":"Receipt Ref"},"replayed":{"type":"boolean","title":"Replayed","default":false},"unknown_effect":{"type":"boolean","title":"Unknown Effect","default":false},"reason_code":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Reason Code"},"missing_refs":{"items":{"type":"string"},"type":"array","title":"Missing Refs","default":[]},"read_at":{"type":"string","format":"date-time","title":"Read At"},"cache_expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Cache Expires At"},"result_data":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Result Data"},"result_data_status":{"type":"string","enum":["INCLUDED","NO_ANSWER","SOURCE_CHANGED_SINCE_SAVED","NOT_AVAILABLE"],"title":"Result Data Status","default":"NOT_AVAILABLE"}},"additionalProperties":false,"type":"object","required":["definition_ref","operation","instance_ref","revision","state","owner_module","owner_operation","beneficiary_ref","tenant_ref","source_digest","source_freshness_state","receipt_ref","read_at"],"title":"ObjectResultWithData","description":"The saved envelope, plus the rows it was about.\n\nThe envelope is what is kept: who, what it rested on, how fresh, the receipt.\nIt deliberately carries no rows. A family also needs the rows, so the route\nrebuilds them from the same sources with the same pure builder and puts them\nbeside the envelope in ``result_data``. Nothing about the envelope changes.\n\n``result_data`` is only included when the sources read now still carry the\ndigest that was saved. If the published data moved since, the rows are\nwithheld and the status says so: showing newer rows under an older receipt\nwould be a different answer wearing the first one's reference."},"ObjectiveSpec":{"properties":{"objective":{"type":"string","pattern":"^[a-z][a-z0-9_]{2,79}$","title":"Objective"},"direction":{"type":"string","enum":["MINIMIZE","MAXIMIZE"],"title":"Direction"},"unit":{"type":"string","maxLength":40,"minLength":1,"title":"Unit"},"source_field":{"type":"string","pattern":"^[a-z][a-z0-9_.]{1,119}$","title":"Source Field"}},"additionalProperties":false,"type":"object","required":["objective","direction","unit","source_field"],"title":"ObjectiveSpec"},"OcrConfirmationBody":{"properties":{"note_version":{"type":"integer","minimum":1.0,"title":"Note Version"},"text_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Text Sha256"},"outcome":{"type":"string","enum":["CONFIRMED","DECLINED"],"title":"Outcome"}},"additionalProperties":false,"type":"object","required":["note_version","text_sha256","outcome"],"title":"OcrConfirmationBody"},"OcrPreviewRequest":{"properties":{"image_base64":{"type":"string","minLength":1,"title":"Image Base64"},"subject":{"type":"string","maxLength":40,"title":"Subject","default":"physics"}},"type":"object","required":["image_base64"],"title":"OcrPreviewRequest"},"OfferSuppressionCommand":{"properties":{"suppression_id":{"type":"string","format":"uuid","title":"Suppression Id"},"student_id":{"type":"string","maxLength":128,"minLength":1,"title":"Student Id"},"product_key":{"type":"string","maxLength":128,"minLength":1,"title":"Product Key"},"sku_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Sku Id"},"reason_codes":{"items":{"type":"string"},"type":"array","maxItems":16,"minItems":1,"title":"Reason Codes"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os09_commerce__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["student_id","product_key","reason_codes","actor_id","evidence_refs"],"title":"OfferSuppressionCommand"},"OfflineCapabilityCommand":{"properties":{"capability_id":{"type":"string","format":"uuid","title":"Capability Id"},"product_surface":{"type":"string","maxLength":120,"minLength":1,"title":"Product Surface"},"route_path":{"type":"string","maxLength":300,"minLength":1,"pattern":"^/","title":"Route Path"},"operation_type":{"type":"string","enum":["read","mutation","event","proof","sync"],"title":"Operation Type"},"mutation_type":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Mutation Type"},"state":{"type":"string","enum":["ACTIVE","DISABLED","DEGRADED"],"title":"State","default":"ACTIVE"},"allowed_offline":{"type":"boolean","title":"Allowed Offline"},"idempotent":{"type":"boolean","title":"Idempotent"},"requires_fresh_entitlement":{"type":"boolean","title":"Requires Fresh Entitlement","default":true},"requires_fresh_source":{"type":"boolean","title":"Requires Fresh Source","default":true},"cache_priority":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Cache Priority","default":0},"max_stale_seconds":{"type":"integer","maximum":604800.0,"minimum":0.0,"title":"Max Stale Seconds","default":0},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os20_offline_sync__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["product_surface","route_path","operation_type","allowed_offline","idempotent","actor_id","evidence_refs"],"title":"OfflineCapabilityCommand"},"OfflinePackRequest":{"properties":{"manifest_version":{"type":"string","maxLength":80,"minLength":1,"title":"Manifest Version","default":"spine-topic-pack.v1"}},"additionalProperties":false,"type":"object","title":"OfflinePackRequest"},"OnboardingDOBRequest":{"properties":{"dob":{"type":"string","format":"date","title":"Dob"}},"type":"object","required":["dob"],"title":"OnboardingDOBRequest"},"OnboardingDOBResponse":{"properties":{"is_minor":{"type":"boolean","title":"Is Minor"},"age_years":{"type":"integer","title":"Age Years"},"next_step":{"type":"string","title":"Next Step"},"essential_service_only":{"type":"boolean","title":"Essential Service Only"},"dob_recorded":{"type":"string","format":"date","title":"Dob Recorded"}},"type":"object","required":["is_minor","age_years","next_step","essential_service_only","dob_recorded"],"title":"OnboardingDOBResponse"},"OnboardingExamRequest":{"properties":{"exam_target":{"type":"string","title":"Exam Target"},"class_grade":{"anyOf":[{"type":"integer","maximum":13.0,"minimum":9.0},{"type":"null"}],"title":"Class Grade"},"subject_combination":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject Combination"}},"type":"object","required":["exam_target"],"title":"OnboardingExamRequest"},"OnboardingRequest":{"properties":{"name":{"type":"string","title":"Name"},"exam_target":{"type":"string","title":"Exam Target"},"class_grade":{"type":"integer","title":"Class Grade"},"target_rank":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Target Rank"},"target_college":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target College"},"language_pref":{"type":"string","title":"Language Pref","default":"en"}},"type":"object","required":["name","exam_target","class_grade"],"title":"OnboardingRequest"},"OpenCrossProductCorrectionRequest":{"properties":{"thread_id":{"type":"string","format":"uuid","title":"Thread Id"},"owner_id":{"type":"string","maxLength":160,"minLength":1,"title":"Owner Id"},"source_correction_ref":{"type":"string","maxLength":300,"minLength":4,"title":"Source Correction Ref"},"source_correction_digest":{"type":"string","title":"Source Correction Digest"},"affected":{"items":{"$ref":"#/components/schemas/AffectedReference"},"type":"array","minItems":1,"title":"Affected"},"mandatory_consumers":{"items":{"type":"string"},"type":"array","maxItems":32,"minItems":1,"title":"Mandatory Consumers"},"reason_codes":{"items":{"type":"string"},"type":"array","maxItems":32,"minItems":1,"title":"Reason Codes"}},"additionalProperties":false,"type":"object","required":["thread_id","owner_id","source_correction_ref","source_correction_digest","affected","mandatory_consumers","reason_codes"],"title":"OpenCrossProductCorrectionRequest"},"OpenReviewCaseRequest":{"properties":{"thread_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Thread Id"},"subject_ref_type":{"type":"string","enum":["RANK_DECISION","COLLEGE_DECISION","SEAT_DECISION","PATHWAY_DECISION","PATHWAY_PLAN","OUTCOME_EVIDENCE"],"title":"Subject Ref Type"},"subject_ref_id":{"type":"string","format":"uuid","title":"Subject Ref Id"},"subject_ref_version":{"type":"integer","minimum":1.0,"title":"Subject Ref Version","default":1},"subject_ref_digest":{"type":"string","title":"Subject Ref Digest"},"review_type":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{2,79}$","title":"Review Type"},"purpose":{"type":"string","enum":["ADMISSION","PATHWAY","COMBINED"],"title":"Purpose"},"reason_codes":{"items":{"type":"string"},"type":"array","maxItems":20,"minItems":1,"title":"Reason Codes"},"evidence_refs":{"items":{"$ref":"#/components/schemas/ReviewEvidenceRef"},"type":"array","title":"Evidence Refs","default":[]}},"additionalProperties":false,"type":"object","required":["subject_ref_type","subject_ref_id","subject_ref_digest","review_type","purpose","reason_codes"],"title":"OpenReviewCaseRequest"},"OperationRequest":{"properties":{"operation":{"type":"string","maxLength":64,"minLength":1,"title":"Operation"},"command_key":{"type":"string","maxLength":128,"minLength":1,"title":"Command Key"},"payload":{"type":"object","title":"Payload"}},"type":"object","required":["operation","command_key"],"title":"OperationRequest"},"OperatorAccessScope":{"properties":{"platform":{"type":"string","enum":["aspireace","trututor"],"title":"Platform"},"section":{"type":"string","maxLength":64,"minLength":1,"title":"Section"},"level":{"type":"string","enum":["see","act"],"title":"Level"},"scope_ref":{"type":"string","maxLength":160,"minLength":1,"title":"Scope Ref"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"review_owner_ref":{"type":"string","maxLength":160,"minLength":1,"title":"Review Owner Ref"}},"additionalProperties":false,"type":"object","required":["platform","section","level","scope_ref","expires_at","review_owner_ref"],"title":"OperatorAccessScope"},"OperatorActivateBody":{"properties":{"sku_id":{"type":"string","maxLength":120,"minLength":3,"title":"Sku Id"},"reason":{"type":"string","maxLength":300,"minLength":8,"title":"Reason"},"force":{"type":"boolean","title":"Force","default":false}},"additionalProperties":false,"type":"object","required":["sku_id","reason"],"title":"OperatorActivateBody"},"OperatorCaseHandoff":{"properties":{"incident_id":{"type":"string","format":"uuid","title":"Incident Id"},"current_owner_person_id":{"type":"string","format":"uuid","title":"Current Owner Person Id"},"receiving_person_id":{"type":"string","format":"uuid","title":"Receiving Person Id"},"acceptance_ref":{"type":"string","maxLength":160,"minLength":1,"title":"Acceptance Ref"}},"additionalProperties":false,"type":"object","required":["incident_id","current_owner_person_id","receiving_person_id","acceptance_ref"],"title":"OperatorCaseHandoff"},"OperatorContext":{"properties":{"environment":{"$ref":"#/components/schemas/Environment"},"tenant_id":{"type":"string","maxLength":128,"minLength":1,"title":"Tenant Id"},"exam":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Exam"},"authority":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Authority"},"product_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Product Id"},"pack_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Pack Id"},"service_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Service Id"},"release_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Release Id"},"data_release_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Data Release Id"},"model_release_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Model Release Id"},"date_from":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date From"},"date_to":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date To"},"incident_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Incident Id"}},"additionalProperties":false,"type":"object","required":["environment","tenant_id"],"title":"OperatorContext"},"OperatorGrantBody":{"properties":{"student_id":{"type":"string","pattern":"^gst_[0-9a-f]{12}$","title":"Student Id"},"sku_id":{"type":"string","maxLength":120,"minLength":3,"title":"Sku Id"},"reason":{"type":"string","maxLength":300,"minLength":8,"title":"Reason"},"valid_for_hours":{"type":"integer","maximum":24.0,"minimum":1.0,"title":"Valid For Hours","default":24},"idempotency_key":{"type":"string","maxLength":200,"minLength":8,"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["student_id","sku_id","reason","idempotency_key"],"title":"OperatorGrantBody"},"OperatorLifecycleWrite":{"properties":{"expected_config_version":{"type":"integer","minimum":0.0,"title":"Expected Config Version"},"transition":{"type":"string","enum":["JOINER","MOVER","LEAVER"],"title":"Transition"},"operator_ref":{"type":"string","maxLength":160,"minLength":1,"title":"Operator Ref"},"operator_person_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Operator Person Id"},"engagement_category":{"type":"string","enum":["employee","service_contractor","other"],"title":"Engagement Category"},"role_ref":{"type":"string","maxLength":160,"minLength":1,"title":"Role Ref"},"role_authority_ref":{"type":"string","maxLength":160,"minLength":1,"title":"Role Authority Ref"},"role_owner_ref":{"type":"string","maxLength":160,"minLength":1,"title":"Role Owner Ref"},"training_assessor_ref":{"type":"string","maxLength":160,"minLength":1,"title":"Training Assessor Ref"},"access_approver_ref":{"type":"string","maxLength":160,"minLength":1,"title":"Access Approver Ref"},"required_training_refs":{"items":{"type":"string"},"type":"array","maxItems":20,"minItems":1,"title":"Required Training Refs"},"completed_training_refs":{"items":{"type":"string"},"type":"array","maxItems":20,"minItems":1,"title":"Completed Training Refs"},"terms_acceptance_ref":{"type":"string","maxLength":160,"minLength":1,"title":"Terms Acceptance Ref"},"competence_evidence_ref":{"type":"string","maxLength":160,"minLength":1,"title":"Competence Evidence Ref"},"access_change_request_ref":{"type":"string","maxLength":160,"minLength":1,"title":"Access Change Request Ref"},"requested_scopes":{"items":{"$ref":"#/components/schemas/OperatorAccessScope"},"type":"array","maxItems":20,"title":"Requested Scopes"},"prior_access_ref":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Prior Access Ref"},"revocation_request_ref":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Revocation Request Ref"},"session_end_evidence_ref":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Session End Evidence Ref"},"secret_rotation_evidence_ref":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Secret Rotation Evidence Ref"},"open_case_handoffs":{"items":{"$ref":"#/components/schemas/OperatorCaseHandoff"},"type":"array","maxItems":50,"title":"Open Case Handoffs"}},"additionalProperties":false,"type":"object","required":["expected_config_version","transition","operator_ref","engagement_category","role_ref","role_authority_ref","role_owner_ref","training_assessor_ref","access_approver_ref","required_training_refs","completed_training_refs","terms_acceptance_ref","competence_evidence_ref","access_change_request_ref"],"title":"OperatorLifecycleWrite","description":"Append a source-linked lifecycle packet; never grants access or transfers cases."},"OperatorRevokeBody":{"properties":{"entitlement_id":{"type":"string","maxLength":120,"minLength":3,"title":"Entitlement Id"},"reason":{"type":"string","maxLength":300,"minLength":8,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["entitlement_id","reason"],"title":"OperatorRevokeBody"},"OperatorSkuBody":{"properties":{"sku_id":{"type":"string","maxLength":120,"minLength":3,"title":"Sku Id"},"reason":{"type":"string","maxLength":300,"minLength":8,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["sku_id","reason"],"title":"OperatorSkuBody"},"OpsContentReviewDecisionRequest":{"properties":{"candidate_id":{"type":"string","title":"Candidate Id"},"decision":{"type":"string","title":"Decision"},"reviewer_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reviewer Id"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["candidate_id","decision"],"title":"OpsContentReviewDecisionRequest"},"OpsDeployProbeRequest":{"properties":{"engine_id":{"type":"string","title":"Engine Id"}},"type":"object","required":["engine_id"],"title":"OpsDeployProbeRequest"},"OpsEduGraphParserRunRequest":{"properties":{"source_key":{"type":"string","title":"Source Key"},"file_text":{"type":"string","title":"File Text","default":""},"payload_kind":{"type":"string","title":"Payload Kind","default":"auto"},"apply":{"type":"boolean","title":"Apply","default":false}},"type":"object","required":["source_key"],"title":"OpsEduGraphParserRunRequest"},"OpsEduGraphSourceReviewRequest":{"properties":{"source_key":{"type":"string","title":"Source Key"},"verified":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Verified"},"confidence_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Confidence Label"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["source_key"],"title":"OpsEduGraphSourceReviewRequest"},"OpsEduGraphSourceUploadRequest":{"properties":{"source_key":{"type":"string","title":"Source Key"},"authority":{"type":"string","title":"Authority"},"exam_type":{"type":"string","title":"Exam Type"},"year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Year"},"doc_type":{"type":"string","title":"Doc Type","default":"official_cutoff_table"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url"},"source_file":{"type":"string","title":"Source File"},"file_text":{"type":"string","title":"File Text"},"counselling_body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Counselling Body"},"payload_kind":{"type":"string","title":"Payload Kind","default":"auto"},"confidence_label":{"type":"string","title":"Confidence Label","default":"medium"},"confidence_score":{"type":"number","title":"Confidence Score","default":0.75}},"type":"object","required":["source_key","authority","exam_type","source_file","file_text"],"title":"OpsEduGraphSourceUploadRequest"},"OpsSecretTestRequest":{"properties":{"key":{"type":"string","title":"Key"}},"type":"object","required":["key"],"title":"OpsSecretTestRequest"},"OpsWorkbenchRunRequest":{"properties":{"tool_id":{"type":"string","title":"Tool Id"},"form":{"type":"object","title":"Form","default":{}}},"type":"object","required":["tool_id"],"title":"OpsWorkbenchRunRequest"},"OptimalBody":{"properties":{"student_id":{"type":"string","title":"Student Id"},"time_budget_hours":{"type":"integer","title":"Time Budget Hours","default":60},"subjects":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Subjects"},"max_total_pct":{"type":"integer","title":"Max Total Pct","default":40}},"type":"object","required":["student_id"],"title":"OptimalBody"},"OrderBody":{"properties":{"mock_session_id":{"type":"string","maxLength":64,"minLength":1,"title":"Mock Session Id"},"subject":{"type":"string","maxLength":80,"minLength":1,"title":"Subject"},"mode":{"type":"string","maxLength":20,"minLength":1,"title":"Mode"},"beneficiary_student_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Beneficiary Student Id"},"idempotency_key":{"anyOf":[{"type":"string","maxLength":160,"minLength":8},{"type":"null"}],"title":"Idempotency Key"}},"type":"object","required":["mock_session_id","subject","mode"],"title":"OrderBody"},"OrderLock":{"properties":{"option_key":{"type":"string","maxLength":1200,"minLength":3,"title":"Option Key"},"position":{"type":"integer","maximum":500.0,"minimum":1.0,"title":"Position"}},"additionalProperties":false,"type":"object","required":["option_key","position"],"title":"OrderLock"},"OrderPrecedence":{"properties":{"before_option_key":{"type":"string","maxLength":1200,"minLength":3,"title":"Before Option Key"},"after_option_key":{"type":"string","maxLength":1200,"minLength":3,"title":"After Option Key"}},"additionalProperties":false,"type":"object","required":["before_option_key","after_option_key"],"title":"OrderPrecedence"},"OrganObservationCommand":{"properties":{"run_id":{"type":"string","format":"uuid","title":"Run Id"},"observation_id":{"type":"string","format":"uuid","title":"Observation Id"},"organ_id":{"type":"string","title":"Organ Id"},"result":{"$ref":"#/components/schemas/os_runtime__aosact_pr04_wave1__models__EvidenceResult"},"window_started_at":{"type":"string","format":"date-time","title":"Window Started At"},"window_ended_at":{"type":"string","format":"date-time","title":"Window Ended At"},"shadow_samples":{"type":"integer","minimum":0.0,"title":"Shadow Samples"},"canonical_samples":{"type":"integer","minimum":0.0,"title":"Canonical Samples"},"divergence_count":{"type":"integer","minimum":0.0,"title":"Divergence Count"},"unexplained_divergence_count":{"type":"integer","minimum":0.0,"title":"Unexplained Divergence Count"},"error_rate":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Error Rate"},"p95_latency_ms":{"type":"number","minimum":0.0,"title":"P95 Latency Ms"},"latency_budget_ms":{"type":"number","exclusiveMinimum":0.0,"title":"Latency Budget Ms"},"durable_readback_count":{"type":"integer","minimum":0.0,"title":"Durable Readback Count"},"budget_status":{"$ref":"#/components/schemas/os_runtime__aosact_pr04_wave1__models__EvidenceResult"},"receipt_refs":{"items":{"type":"string"},"type":"array","title":"Receipt Refs"},"artifact_refs":{"items":{"type":"string"},"type":"array","minItems":1,"title":"Artifact Refs"}},"type":"object","required":["run_id","organ_id","result","window_started_at","window_ended_at","shadow_samples","canonical_samples","divergence_count","unexplained_divergence_count","error_rate","p95_latency_ms","latency_budget_ms","durable_readback_count","budget_status","artifact_refs"],"title":"OrganObservationCommand"},"OrganRollbackCommand":{"properties":{"run_id":{"type":"string","format":"uuid","title":"Run Id"},"rollback_id":{"type":"string","format":"uuid","title":"Rollback Id"},"organ_id":{"type":"string","title":"Organ Id"},"result":{"$ref":"#/components/schemas/os_runtime__aosact_pr04_wave1__models__EvidenceResult"},"os18_receipt_id":{"type":"string","format":"uuid","title":"Os18 Receipt Id"},"executed_command":{"type":"string","maxLength":800,"minLength":3,"title":"Executed Command"},"before_mode":{"type":"string","title":"Before Mode"},"restored_mode":{"type":"string","title":"Restored Mode"},"reactivated_mode":{"type":"string","title":"Reactivated Mode"},"reactivation_ref":{"type":"string","maxLength":800,"minLength":3,"title":"Reactivation Ref"},"artifact_refs":{"items":{"type":"string"},"type":"array","minItems":1,"title":"Artifact Refs"},"executed_at":{"type":"string","format":"date-time","title":"Executed At"},"reactivated_at":{"type":"string","format":"date-time","title":"Reactivated At"}},"type":"object","required":["run_id","organ_id","result","os18_receipt_id","executed_command","before_mode","restored_mode","reactivated_mode","reactivation_ref","artifact_refs","reactivated_at"],"title":"OrganRollbackCommand"},"OrganTransitionCommand":{"properties":{"run_id":{"type":"string","format":"uuid","title":"Run Id"},"transition_id":{"type":"string","format":"uuid","title":"Transition Id"},"organ_id":{"type":"string","title":"Organ Id"},"ordinal":{"type":"integer","maximum":4.0,"minimum":1.0,"title":"Ordinal"},"before_mode":{"type":"string","title":"Before Mode"},"requested_mode":{"type":"string","title":"Requested Mode","default":"canonical"},"observed_mode":{"type":"string","title":"Observed Mode"},"deployment_ref":{"type":"string","maxLength":500,"minLength":3,"title":"Deployment Ref"},"dependency_modes":{"additionalProperties":{"type":"string"},"type":"object","title":"Dependency Modes"},"result":{"$ref":"#/components/schemas/os_runtime__aosact_pr04_wave1__models__EvidenceResult"},"artifact_refs":{"items":{"type":"string"},"type":"array","minItems":1,"title":"Artifact Refs"},"requested_at":{"type":"string","format":"date-time","title":"Requested At"},"observed_at":{"type":"string","format":"date-time","title":"Observed At"}},"type":"object","required":["run_id","organ_id","ordinal","before_mode","observed_mode","deployment_ref","result","artifact_refs","requested_at","observed_at"],"title":"OrganTransitionCommand"},"OrganicReq":{"properties":{"molecule":{"type":"string","title":"Molecule"}},"type":"object","required":["molecule"],"title":"OrganicReq"},"OrganisationMembershipInviteRequest":{"properties":{"subject_id":{"type":"string","maxLength":128,"minLength":1,"title":"Subject Id"},"organisation_id":{"type":"string","maxLength":128,"minLength":1,"title":"Organisation Id"},"membership_role":{"type":"string","maxLength":32,"minLength":1,"title":"Membership Role"},"evidence_ref":{"type":"string","maxLength":256,"minLength":8,"title":"Evidence Ref"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"}},"type":"object","required":["subject_id","organisation_id","membership_role","evidence_ref"],"title":"OrganisationMembershipInviteRequest"},"OrganisationMembershipRevokeRequest":{"properties":{"reason":{"type":"string","maxLength":256,"minLength":3,"title":"Reason"},"evidence_ref":{"type":"string","maxLength":256,"minLength":8,"title":"Evidence Ref"}},"type":"object","required":["reason","evidence_ref"],"title":"OrganisationMembershipRevokeRequest"},"OrganisationMembershipStateRequest":{"properties":{"state":{"type":"string","maxLength":16,"minLength":1,"title":"State"},"reason":{"type":"string","maxLength":256,"minLength":3,"title":"Reason"},"evidence_ref":{"type":"string","maxLength":256,"minLength":8,"title":"Evidence Ref"}},"type":"object","required":["state","reason","evidence_ref"],"title":"OrganisationMembershipStateRequest"},"OutcomeAttributionCommand":{"properties":{"thread_id":{"type":"string","format":"uuid","title":"Thread Id"},"candidate_id":{"type":"string","maxLength":128,"minLength":1,"title":"Candidate Id"},"student_id":{"type":"string","maxLength":128,"minLength":1,"title":"Student Id"},"outcome":{"type":"string","enum":["clicked","dismissed","converted","completed","expired","blocked"],"title":"Outcome"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os08_product_thread__models__EvidenceRef"},"type":"array","maxItems":24,"title":"Evidence Refs"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"}},"type":"object","required":["thread_id","candidate_id","student_id","outcome"],"title":"OutcomeAttributionCommand"},"OutcomeDatasetManifest":{"properties":{"outcome_family":{"type":"string","enum":["EXAM_RANK","ADMISSION_ALLOTMENT","PROGRAMME_ENROLMENT","PROGRAMME_COMPLETION","CREDENTIAL_AWARD","APPRENTICESHIP","EDUCATION_TRANSITION","EMPLOYMENT_TRANSITION","SELF_EMPLOYMENT","HIGHER_STUDY","PATHWAY_OVERRIDE"],"title":"Outcome Family"},"verification_policy_version":{"type":"string","title":"Verification Policy Version"},"included_outcome_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Included Outcome Ids"},"excluded_counts":{"additionalProperties":{"type":"integer"},"type":"object","title":"Excluded Counts"},"subject_ref_types":{"items":{"type":"string","enum":["RANK_DECISION","COLLEGE_DECISION","SEAT_DECISION","PATHWAY_DECISION","PATHWAY_PLAN"]},"type":"array","title":"Subject Ref Types"},"manifest_digest":{"type":"string","title":"Manifest Digest"},"release_authorised":{"type":"boolean","enum":[false],"const":false,"title":"Release Authorised","default":false}},"additionalProperties":false,"type":"object","required":["outcome_family","verification_policy_version","included_outcome_ids","excluded_counts","subject_ref_types","manifest_digest"],"title":"OutcomeDatasetManifest"},"OutcomeInput":{"properties":{"impression_id":{"type":"string","maxLength":160,"minLength":3,"title":"Impression Id"},"decision_id":{"type":"string","maxLength":160,"minLength":3,"title":"Decision Id"},"product_id":{"type":"string","pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","title":"Product Id"},"object_id":{"type":"string","maxLength":240,"minLength":1,"title":"Object Id"},"kind":{"$ref":"#/components/schemas/OutcomeKind"},"receipt_ref":{"type":"string","maxLength":300,"minLength":3,"title":"Receipt Ref"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"},"value":{"anyOf":[{"type":"number","maximum":1.0,"minimum":-1.0},{"type":"null"}],"title":"Value"},"metadata":{"type":"object","title":"Metadata"},"idempotency_key":{"type":"string","maxLength":160,"minLength":8,"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["impression_id","decision_id","product_id","object_id","kind","receipt_ref","idempotency_key"],"title":"OutcomeInput"},"OutcomeKind":{"type":"string","enum":["INTERACTION","EXACT_LAUNCH","MEANINGFUL_USE","COMPLETION","LEARNING_IMPROVEMENT","RETAINED_IMPROVEMENT"],"title":"OutcomeKind"},"OutcomeMutationEnvelope":{"properties":{"receipt":{"type":"object","title":"Receipt"},"outcome":{"$ref":"#/components/schemas/OutcomeProjection"}},"additionalProperties":false,"type":"object","required":["receipt","outcome"],"title":"OutcomeMutationEnvelope"},"OutcomeProjection":{"properties":{"outcome_id":{"type":"string","format":"uuid","title":"Outcome Id"},"owner_id":{"type":"string","title":"Owner Id"},"version_no":{"type":"integer","minimum":1.0,"title":"Version No"},"state":{"type":"string","enum":["REPORTED","VERIFICATION_PENDING","VERIFIED","REJECTED","REVOKED"],"title":"State"},"outcome_family":{"type":"string","enum":["EXAM_RANK","ADMISSION_ALLOTMENT","PROGRAMME_ENROLMENT","PROGRAMME_COMPLETION","CREDENTIAL_AWARD","APPRENTICESHIP","EDUCATION_TRANSITION","EMPLOYMENT_TRANSITION","SELF_EMPLOYMENT","HIGHER_STUDY","PATHWAY_OVERRIDE"],"title":"Outcome Family"},"outcome_type":{"type":"string","title":"Outcome Type"},"occurred_on":{"type":"string","format":"date","title":"Occurred On"},"subject_ref_type":{"type":"string","enum":["RANK_DECISION","COLLEGE_DECISION","SEAT_DECISION","PATHWAY_DECISION","PATHWAY_PLAN"],"title":"Subject Ref Type"},"subject_ref_id":{"type":"string","format":"uuid","title":"Subject Ref Id"},"subject_ref_version":{"type":"integer","minimum":1.0,"title":"Subject Ref Version"},"subject_ref_digest":{"type":"string","title":"Subject Ref Digest"},"outcome_value":{"type":"object","title":"Outcome Value"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit"},"verification_state":{"type":"string","enum":["SELF_REPORTED","DOCUMENT_SEEN","SOURCE_MATCHED","AUTHORITY_VERIFIED","REJECTED","REVOKED"],"title":"Verification State"},"verification_policy_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verification Policy Version"},"rationale_codes":{"items":{"type":"string"},"type":"array","title":"Rationale Codes","default":[]},"source_refs":{"items":{"$ref":"#/components/schemas/OutcomeSourceRefProjection"},"type":"array","title":"Source Refs","default":[]},"artifact_available":{"type":"boolean","title":"Artifact Available"},"pii_class":{"type":"string","enum":["MINIMAL","PERSONAL","SENSITIVE"],"title":"Pii Class"},"consent_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Consent Ref"},"content_digest":{"type":"string","title":"Content Digest"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"verified_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Verified At"},"revoked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Revoked At"},"replacement_outcome_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Replacement Outcome Id"}},"additionalProperties":false,"type":"object","required":["outcome_id","owner_id","version_no","state","outcome_family","outcome_type","occurred_on","subject_ref_type","subject_ref_id","subject_ref_version","subject_ref_digest","outcome_value","verification_state","artifact_available","pii_class","content_digest","created_at"],"title":"OutcomeProjection"},"OutcomeReport":{"properties":{"cycle_year":{"type":"integer","title":"Cycle Year"},"stream":{"type":"string","title":"Stream"},"score":{"anyOf":[{"type":"integer"},{"type":"number"}],"title":"Score"},"actual_rank":{"type":"integer","title":"Actual Rank"},"consent":{"type":"boolean","title":"Consent","default":false},"consent_version":{"type":"string","title":"Consent Version","default":""}},"type":"object","required":["cycle_year","stream","score","actual_rank"],"title":"OutcomeReport","description":"Strict types: a JSON true is not a rank of 1 and the string \"yes\" is not consent."},"OutcomeSourceRefInput":{"properties":{"source_authority":{"type":"string","maxLength":160,"minLength":2,"title":"Source Authority"},"source_snapshot_id":{"type":"string","format":"uuid","title":"Source Snapshot Id"},"source_record_ref":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Source Record Ref"},"source_digest":{"type":"string","title":"Source Digest"}},"additionalProperties":false,"type":"object","required":["source_authority","source_snapshot_id","source_digest"],"title":"OutcomeSourceRefInput"},"OutcomeSourceRefProjection":{"properties":{"source_authority":{"type":"string","title":"Source Authority"},"source_snapshot_id":{"type":"string","format":"uuid","title":"Source Snapshot Id"},"source_record_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Record Ref"},"source_digest":{"type":"string","title":"Source Digest"}},"additionalProperties":false,"type":"object","required":["source_authority","source_snapshot_id","source_digest"],"title":"OutcomeSourceRefProjection"},"OverrideBody":{"properties":{"reason_code":{"type":"string","maxLength":40,"title":"Reason Code"},"reason_text":{"type":"string","maxLength":300,"title":"Reason Text","default":""},"pusher":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Pusher"}},"type":"object","required":["reason_code"],"title":"OverrideBody"},"OverrideKind":{"type":"string","enum":["SUPPRESS","CAP_FREQUENCY","PIN_WITHIN_ELIGIBLE_SLOT","CHANGE_CHANNEL_ELIGIBILITY","FORCE_SAFE_FALLBACK"],"title":"OverrideKind"},"OverrideReview":{"properties":{"decision":{"$ref":"#/components/schemas/home_merch_channels__contracts__ReviewDecision"},"reason":{"type":"string","maxLength":1000,"minLength":8,"title":"Reason"},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":30,"minItems":1,"title":"Evidence Refs"},"idempotency_key":{"type":"string","maxLength":160,"minLength":8,"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["decision","reason","evidence_refs","idempotency_key"],"title":"OverrideReview"},"OwnedPathwayDecisionSummary":{"properties":{"pathway_decision_id":{"type":"string","format":"uuid","title":"Pathway Decision Id"},"context_id":{"type":"string","format":"uuid","title":"Context Id"},"graph_release_id":{"type":"string","format":"uuid","title":"Graph Release Id"},"direction":{"type":"string","enum":["FORWARD","REVERSE"],"title":"Direction"},"state":{"type":"string","enum":["ROUTES_AVAILABLE","NO_ROUTE","HELD"],"title":"State"},"decision_digest":{"type":"string","title":"Decision Digest"},"route_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Route Ids","default":[]},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"}},"additionalProperties":false,"type":"object","required":["pathway_decision_id","context_id","graph_release_id","direction","state","decision_digest"],"title":"OwnedPathwayDecisionSummary"},"OwnedPathwayDecisionsResponse":{"properties":{"decisions":{"items":{"$ref":"#/components/schemas/OwnedPathwayDecisionSummary"},"type":"array","title":"Decisions","default":[]},"starting_points":{"items":{"$ref":"#/components/schemas/DoorStartingPoint"},"type":"array","title":"Starting Points","default":[]},"starting_points_state":{"type":"string","enum":["READY","UNAVAILABLE","NOT_APPLICABLE"],"title":"Starting Points State","default":"NOT_APPLICABLE"}},"additionalProperties":false,"type":"object","title":"OwnedPathwayDecisionsResponse"},"OwnedRouteView":{"properties":{"route_id":{"type":"string","title":"Route Id"},"label":{"type":"string","title":"Label"},"steps":{"items":{"type":"string"},"type":"array","title":"Steps","default":[]},"direction":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Direction"},"lane":{"type":"string","title":"Lane"},"lane_text":{"type":"string","title":"Lane Text"},"graph_release_id":{"type":"string","title":"Graph Release Id"},"release_state":{"type":"string","title":"Release State"},"context_id":{"type":"string","title":"Context Id"},"run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Run Id"},"origin_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Origin Text"},"made_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Made At"}},"additionalProperties":false,"type":"object","required":["route_id","label","lane","lane_text","graph_release_id","release_state","context_id"],"title":"OwnedRouteView"},"OwnedRoutesView":{"properties":{"routes":{"items":{"$ref":"#/components/schemas/OwnedRouteView"},"type":"array","title":"Routes","default":[]},"empty_reason":{"anyOf":[{"type":"string","enum":["NO_PLANNER_RUN_YET","ONE_ROUTE_ONLY"]},{"type":"null"}],"title":"Empty Reason"},"empty_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Empty Message"}},"additionalProperties":false,"type":"object","title":"OwnedRoutesView"},"OwnerBody":{"properties":{"area":{"type":"string","pattern":"^(database|code|off-site|uploads)$","title":"Area"},"owner_name":{"type":"string","maxLength":80,"minLength":2,"title":"Owner Name"}},"type":"object","required":["area","owner_name"],"title":"OwnerBody"},"OwnerForgotRequest":{"properties":{"email":{"type":"string","maxLength":254,"minLength":3,"title":"Email"}},"type":"object","required":["email"],"title":"OwnerForgotRequest"},"OwnerSignInRequest":{"properties":{"email":{"type":"string","maxLength":254,"minLength":3,"title":"Email"},"password":{"type":"string","maxLength":200,"minLength":1,"title":"Password"},"device_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Id"}},"type":"object","required":["email","password"],"title":"OwnerSignInRequest"},"PYQBookmarkBody":{"properties":{"question_id":{"type":"string","maxLength":96,"minLength":1,"title":"Question Id"},"reason":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Reason"},"question":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Question"},"topic_id":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Topic Id"},"exam":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"Exam"},"subject":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"Subject"},"year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Year"},"difficulty":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"Difficulty"}},"type":"object","required":["question_id"],"title":"PYQBookmarkBody"},"PYQSolveBody":{"properties":{"answer":{"type":"string","maxLength":4000,"minLength":1,"title":"Answer"},"question":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Question"},"topic_id":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Topic Id"},"exam":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"Exam"},"subject":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"Subject"},"year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Year"},"product_context_receipt_id":{"anyOf":[{"type":"string","maxLength":36,"minLength":36},{"type":"null"}],"title":"Product Context Receipt Id"},"product_context_hash":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}],"title":"Product Context Hash"},"client_event_id":{"anyOf":[{"type":"string","maxLength":96,"minLength":8,"pattern":"^[A-Za-z0-9._:-]+$"},{"type":"null"}],"title":"Client Event Id"}},"type":"object","required":["answer"],"title":"PYQSolveBody"},"PackDecision":{"properties":{"typed_name":{"type":"string","maxLength":120,"title":"Typed Name","default":""},"reason":{"type":"string","maxLength":500,"title":"Reason","default":""}},"type":"object","title":"PackDecision"},"PackPropose":{"properties":{"scope_key":{"type":"string","maxLength":20,"title":"Scope Key"},"after_set":{"items":{},"type":"array","maxItems":80,"title":"After Set"},"effective_at":{"type":"string","format":"date-time","title":"Effective At"},"reason":{"type":"string","maxLength":500,"title":"Reason"},"typed_name":{"type":"string","maxLength":120,"title":"Typed Name"},"restore_of":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Restore Of"}},"type":"object","required":["scope_key","after_set","effective_at","reason","typed_name"],"title":"PackPropose"},"PacketAssignment":{"properties":{"assignment_kind":{"type":"string","enum":["practice","dpp","test","chapter","revision","follow_up"],"title":"Assignment Kind"},"title":{"type":"string","maxLength":160,"minLength":1,"title":"Title"},"learning_object_ref":{"type":"string","maxLength":200,"minLength":1,"title":"Learning Object Ref"},"learner_route":{"type":"string","maxLength":500,"minLength":1,"pattern":"^/","title":"Learner Route"},"due_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Due At"},"source_proof_ref":{"type":"string","maxLength":240,"minLength":1,"title":"Source Proof Ref"}},"type":"object","required":["assignment_kind","title","learning_object_ref","learner_route","source_proof_ref"],"title":"PacketAssignment"},"PacketConsent":{"properties":{"consent_id":{"type":"string","title":"Consent Id"},"scope":{"type":"string","title":"Scope"},"purpose":{"type":"string","title":"Purpose"},"consent_version":{"type":"string","title":"Consent Version"},"granted_at":{"type":"string","format":"date-time","title":"Granted At"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"receipt_hash":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Receipt Hash"}},"type":"object","required":["consent_id","scope","purpose","consent_version","granted_at","expires_at","receipt_hash"],"title":"PacketConsent"},"PacketIn":{"properties":{"class_id":{"type":"string","title":"Class Id"},"assessment_ids":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":100},{"type":"null"}],"title":"Assessment Ids"}},"type":"object","required":["class_id"],"title":"PacketIn"},"PacketSource":{"properties":{"booking_id":{"type":"string","title":"Booking Id"},"session_id":{"type":"string","title":"Session Id"},"report_id":{"type":"string","title":"Report Id"},"teacher_ref_hash":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Teacher Ref Hash"},"report_state":{"type":"string","title":"Report State"}},"type":"object","required":["booking_id","session_id","report_id","teacher_ref_hash","report_state"],"title":"PacketSource"},"PageBody":{"properties":{"reason":{"type":"string","maxLength":500,"minLength":3,"title":"Reason"},"state":{"type":"string","pattern":"^(published|unpublished)$","title":"State"},"expected_version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expected Version"}},"type":"object","required":["reason","state"],"title":"PageBody"},"PageInfo":{"properties":{"limit":{"type":"integer","title":"Limit"},"offset":{"type":"integer","title":"Offset"},"returned":{"type":"integer","title":"Returned"},"has_more":{"type":"boolean","title":"Has More"}},"type":"object","required":["limit","offset","returned","has_more"],"title":"PageInfo"},"PageInput":{"properties":{"page_no":{"type":"integer","maximum":20.0,"minimum":1.0,"title":"Page No"},"image_b64":{"type":"string","minLength":10,"title":"Image B64"}},"type":"object","required":["page_no","image_b64"],"title":"PageInput"},"PaidCheckoutBody":{"properties":{"payer_relationship_ref":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Payer Relationship Ref"},"expected_price_version":{"type":"integer","minimum":1.0,"title":"Expected Price Version"},"accepted_terms_digest":{"type":"string","maxLength":64,"minLength":64,"pattern":"^[0-9a-f]{64}$","title":"Accepted Terms Digest"}},"additionalProperties":false,"type":"object","required":["expected_price_version","accepted_terms_digest"],"title":"PaidCheckoutBody"},"PaperSubmit":{"properties":{"student_id":{"type":"string","title":"Student Id","default":""},"subject":{"type":"string","title":"Subject"},"paper_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Paper Label"},"pages":{"items":{"$ref":"#/components/schemas/PageInput"},"type":"array","maxItems":20,"minItems":1,"title":"Pages"},"questions":{"items":{"$ref":"#/components/schemas/QuestionInput"},"type":"array","maxItems":50,"minItems":1,"title":"Questions"},"request_human_review":{"type":"boolean","title":"Request Human Review","default":false}},"type":"object","required":["subject","pages","questions"],"title":"PaperSubmit"},"ParentChoiceListView":{"properties":{"choice_list_id":{"type":"string","format":"uuid","title":"Choice List Id"},"version_no":{"type":"integer","title":"Version No"},"ordered_count":{"type":"integer","title":"Ordered Count"},"ordered_on":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ordered On"},"state":{"type":"string","title":"State"},"sentence":{"type":"string","title":"Sentence"}},"additionalProperties":false,"type":"object","required":["choice_list_id","version_no","ordered_count","state","sentence"],"title":"ParentChoiceListView","description":"One sentence and one count. No college, no position, no source, no reason."},"ParentChoiceLists":{"properties":{"child_id":{"type":"string","title":"Child Id"},"lists":{"items":{"$ref":"#/components/schemas/ParentChoiceListView"},"type":"array","title":"Lists","default":[]},"grant":{"type":"object","title":"Grant"},"read_at":{"type":"string","format":"date-time","title":"Read At"}},"additionalProperties":false,"type":"object","required":["child_id","grant","read_at"],"title":"ParentChoiceLists"},"ParentConsentInlineRequest":{"properties":{"student_id":{"type":"string","maxLength":64,"minLength":1,"title":"Student Id"},"child_dob":{"type":"string","title":"Child Dob","description":"ISO date YYYY-MM-DD; snapshot at consent time"},"parent_typed_name":{"type":"string","maxLength":200,"minLength":2,"title":"Parent Typed Name"},"parent_relationship":{"type":"string","title":"Parent Relationship","description":"mother|father|legal_guardian|grandparent|sibling|other"},"parent_contact_method":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Contact Method","description":"phone|email — optional, for stricter re-verification later"},"parent_contact_value":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Parent Contact Value"},"consent_items_ticked":{"type":"object","title":"Consent Items Ticked","description":"{\"1\":true,\"2\":true,...,\"7\":true}"},"privacy_policy_version":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Privacy Policy Version","default":"v1.0_2026-05-06"},"terms_version":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Terms Version","default":"v1.0_2026-05-06"}},"type":"object","required":["student_id","child_dob","parent_typed_name","parent_relationship","consent_items_ticked"],"title":"ParentConsentInlineRequest"},"ParentDecisionIn":{"properties":{"decision":{"type":"string","maxLength":12,"title":"Decision"}},"additionalProperties":false,"type":"object","required":["decision"],"title":"ParentDecisionIn"},"ParentGateApprove":{"properties":{"request_id":{"type":"string","title":"Request Id"},"parent_otp":{"type":"string","title":"Parent Otp"}},"type":"object","required":["request_id","parent_otp"],"title":"ParentGateApprove"},"ParentGateRequest":{"properties":{"student_id":{"type":"string","title":"Student Id"},"parent_method":{"type":"string","title":"Parent Method"},"parent_value":{"type":"string","title":"Parent Value"},"parent_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Name"},"consent_scope":{"items":{},"type":"array","title":"Consent Scope"}},"type":"object","required":["student_id","parent_method","parent_value","consent_scope"],"title":"ParentGateRequest"},"ParentHomeObject":{"properties":{"object_id":{"type":"string","maxLength":160,"minLength":1,"title":"Object Id"},"content_class":{"type":"string","enum":["progress_summary","support_request"],"title":"Content Class"},"source_translation_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":16,"minItems":1,"title":"Source Translation Ids"},"title":{"type":"string","maxLength":240,"minLength":1,"title":"Title"},"what_happened":{"type":"string","maxLength":400,"minLength":1,"title":"What Happened"},"why_it_matters":{"type":"string","maxLength":400,"minLength":1,"title":"Why It Matters"},"child_is_already_doing":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}],"title":"Child Is Already Doing"},"parent_action_required":{"type":"boolean","title":"Parent Action Required"},"parent_can_do":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}],"title":"Parent Can Do"}},"additionalProperties":false,"type":"object","required":["object_id","content_class","source_translation_ids","title","what_happened","why_it_matters","parent_action_required"],"title":"ParentHomeObject"},"ParentHomeRelease":{"properties":{"kind":{"type":"string","enum":["home_v5_parent_projection"],"const":"home_v5_parent_projection","title":"Kind"},"schema_version":{"type":"string","enum":["1.0"],"const":"1.0","title":"Schema Version"},"review_state":{"type":"string","enum":["approved"],"const":"approved","title":"Review State"},"relationship_receipt_ref":{"type":"string","maxLength":256,"minLength":1,"title":"Relationship Receipt Ref"},"consent_projection_ref":{"type":"string","maxLength":256,"minLength":1,"title":"Consent Projection Ref"},"relationship_version":{"type":"integer","minimum":0.0,"title":"Relationship Version"},"purpose":{"type":"string","enum":["see_progress","understand_issue","support_child"],"title":"Purpose"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"objects":{"items":{"$ref":"#/components/schemas/ParentHomeObject"},"type":"array","maxItems":8,"title":"Objects"}},"additionalProperties":false,"type":"object","required":["kind","schema_version","review_state","relationship_receipt_ref","consent_projection_ref","relationship_version","purpose","expires_at","objects"],"title":"ParentHomeRelease"},"ParentInviteRequest":{"properties":{"guardian_email":{"type":"string","maxLength":254,"minLength":3,"title":"Guardian Email"},"guardian_name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Guardian Name"}},"type":"object","required":["guardian_email"],"title":"ParentInviteRequest"},"ParentLinkDecisionRequest":{"properties":{"parent_id":{"type":"string","maxLength":64,"minLength":1,"title":"Parent Id"},"allow_academic_progress":{"type":"boolean","title":"Allow Academic Progress","default":true},"allow_wellbeing_summary":{"type":"boolean","title":"Allow Wellbeing Summary","default":false}},"type":"object","required":["parent_id"],"title":"ParentLinkDecisionRequest"},"ParentOTPRequest":{"properties":{"phone":{"anyOf":[{"type":"string","maxLength":15,"minLength":10},{"type":"null"}],"title":"Phone"},"email":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Email"}},"type":"object","title":"ParentOTPRequest"},"ParentOTPVerify":{"properties":{"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"otp":{"type":"string","title":"Otp"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},"type":"object","required":["otp"],"title":"ParentOTPVerify"},"ParentPayerAgeBody":{"properties":{"birth_month":{"type":"integer","maximum":12.0,"minimum":1.0,"title":"Birth Month"},"birth_year":{"type":"integer","maximum":2200.0,"minimum":1900.0,"title":"Birth Year"}},"additionalProperties":false,"type":"object","required":["birth_month","birth_year"],"title":"ParentPayerAgeBody"},"ParentProjectionIssueCommand":{"properties":{"parent_id":{"type":"string","title":"Parent Id"},"student_id":{"type":"string","title":"Student Id"}},"additionalProperties":false,"type":"object","required":["parent_id","student_id"],"title":"ParentProjectionIssueCommand"},"ParentProjectionLinkCommand":{"properties":{"link_id":{"type":"string","format":"uuid","title":"Link Id"},"truth_id":{"type":"string","format":"uuid","title":"Truth Id"},"projection_ref":{"$ref":"#/components/schemas/ObjectRef"},"purpose":{"type":"string","enum":["parent_academic_support"],"const":"parent_academic_support","title":"Purpose","default":"parent_academic_support"},"consent_receipt_ref":{"type":"string","maxLength":240,"minLength":4,"title":"Consent Receipt Ref"},"source_truth_version":{"type":"integer","minimum":1.0,"title":"Source Truth Version"},"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version"}},"additionalProperties":false,"type":"object","required":["link_id","truth_id","projection_ref","consent_receipt_ref","source_truth_version","expected_version"],"title":"ParentProjectionLinkCommand"},"ParentRedeemBody":{"properties":{"token":{"type":"string","maxLength":4096,"minLength":20,"title":"Token"},"child_id":{"type":"string","maxLength":160,"minLength":1,"title":"Child Id"}},"additionalProperties":false,"type":"object","required":["token","child_id"],"title":"ParentRedeemBody"},"ParentRefreshRequest":{"properties":{"refresh_token":{"type":"string","title":"Refresh Token"}},"type":"object","required":["refresh_token"],"title":"ParentRefreshRequest"},"ParentReminderIn":{"properties":{"compartment_weekly_summary":{"type":"boolean","title":"Compartment Weekly Summary"}},"additionalProperties":false,"type":"object","required":["compartment_weekly_summary"],"title":"ParentReminderIn"},"ParentReportCommand":{"properties":{"report_id":{"type":"string","format":"uuid","title":"Report Id"},"sharing_grant_id":{"type":"string","format":"uuid","title":"Sharing Grant Id"},"period_key":{"type":"string","pattern":"^\\d{4}-(0[1-9]|1[0-2])$","title":"Period Key"},"translation_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":512,"title":"Translation Ids"},"headline":{"type":"string","maxLength":240,"minLength":1,"title":"Headline"},"summary":{"type":"string","maxLength":4000,"minLength":1,"title":"Summary"},"highlights":{"items":{"type":"object"},"type":"array","maxItems":32,"title":"Highlights"},"home_v5_release":{"anyOf":[{"$ref":"#/components/schemas/ParentHomeRelease"},{"type":"null"}]},"suggested_actions":{"items":{"type":"object"},"type":"array","maxItems":16,"title":"Suggested Actions"},"confidence":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Confidence"},"freshness_state":{"type":"string","enum":["fresh","stale","mixed","no_history"],"title":"Freshness State"},"generated_by":{"type":"string","maxLength":128,"minLength":1,"title":"Generated By"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os12_parent_safe__models__EvidenceRef"},"type":"array","maxItems":64,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["sharing_grant_id","period_key","headline","summary","confidence","freshness_state","generated_by"],"title":"ParentReportCommand"},"ParentScheduleProfileBody":{"properties":{"timezone":{"type":"string","maxLength":64,"minLength":3,"title":"Timezone","default":"Asia/Kolkata"},"daily_study_limit_min":{"type":"integer","maximum":360.0,"minimum":30.0,"title":"Daily Study Limit Min","default":120},"preferred_rest_day":{"anyOf":[{"type":"integer","maximum":6.0,"minimum":0.0},{"type":"null"}],"title":"Preferred Rest Day","default":6},"notification_cadence":{"type":"string","enum":["daily","weekly","off"],"title":"Notification Cadence","default":"weekly"},"availability":{"items":{"$ref":"#/components/schemas/AvailabilityDay"},"type":"array","maxItems":7,"minItems":1,"title":"Availability"},"commitments":{"items":{"$ref":"#/components/schemas/FixedCommitment"},"type":"array","maxItems":42,"title":"Commitments"},"entry_mode":{"type":"string","maxLength":64,"minLength":1,"title":"Entry Mode","default":"parent_console"}},"type":"object","required":["availability"],"title":"ParentScheduleProfileBody"},"ParentSourcePublication":{"properties":{"parent_id":{"type":"string","maxLength":80,"minLength":1,"title":"Parent Id"},"child_id":{"type":"string","maxLength":80,"minLength":1,"title":"Child Id"},"purpose":{"type":"string","enum":["overview","progress","plan","support","notifications","shared"],"title":"Purpose"},"values":{"type":"object","title":"Values"},"source_refs":{"items":{"type":"string"},"type":"array","maxItems":50,"minItems":1,"title":"Source Refs"},"source_state":{"type":"string","enum":["CURRENT","STALE","REVOKED","MISSING"],"title":"Source State","default":"CURRENT"},"consent_state":{"type":"string","enum":["ACTIVE","REVOKED","EXPIRED","MISSING"],"title":"Consent State","default":"ACTIVE"},"valid_until":{"type":"string","format":"date-time","title":"Valid Until"},"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version","default":0}},"additionalProperties":false,"type":"object","required":["parent_id","child_id","purpose","values","source_refs","valid_until"],"title":"ParentSourcePublication"},"ParentSourceReleaseWithdrawal":{"properties":{"attestation":{"$ref":"#/components/schemas/SourceWithdrawalAttestation"}},"additionalProperties":false,"type":"object","required":["attestation"],"title":"ParentSourceReleaseWithdrawal"},"ParentThreadProjection":{"properties":{"thread_id":{"type":"string","format":"uuid","title":"Thread Id"},"purpose":{"type":"string","enum":["ADMISSION","PATHWAY","COMBINED"],"title":"Purpose"},"review_state":{"anyOf":[{"type":"string","enum":["OPEN","CLAIMED","DECIDED","APPEALED","CLOSED"]},{"type":"null"}],"title":"Review State"},"advisory_state":{"type":"string","title":"Advisory State"},"advisory_summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Advisory Summary"},"next_action_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Action Code"},"disagreement_field_paths":{"items":{"type":"string"},"type":"array","title":"Disagreement Field Paths","default":[]},"omitted_fields":{"items":{"type":"string"},"type":"array","title":"Omitted Fields"},"projection_digest":{"type":"string","title":"Projection Digest"},"generated_at":{"type":"string","format":"date-time","title":"Generated At"}},"additionalProperties":false,"type":"object","required":["thread_id","purpose","advisory_state","omitted_fields","projection_digest","generated_at"],"title":"ParentThreadProjection"},"ParentTokenResponse":{"properties":{"access_token":{"type":"string","title":"Access Token"},"refresh_token":{"type":"string","title":"Refresh Token"},"token_type":{"type":"string","title":"Token Type","default":"bearer"},"expires_in":{"type":"integer","title":"Expires In"},"parent_id":{"type":"string","title":"Parent Id"},"role":{"type":"string","title":"Role","default":"parent"},"is_new":{"type":"boolean","title":"Is New"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"restored_from_closing":{"type":"boolean","title":"Restored From Closing","default":false}},"type":"object","required":["access_token","refresh_token","expires_in","parent_id","is_new"],"title":"ParentTokenResponse"},"ParentViewPolicyCommand":{"properties":{"policy_id":{"type":"string","maxLength":128,"minLength":3,"title":"Policy Id"},"version":{"type":"string","maxLength":32,"minLength":1,"title":"Version"},"proof_types":{"items":{"type":"string"},"type":"array","maxItems":64,"minItems":1,"title":"Proof Types"},"allowed_metric_keys":{"items":{"type":"string"},"type":"array","maxItems":128,"title":"Allowed Metric Keys"},"allowed_action_keys":{"items":{"type":"string"},"type":"array","maxItems":64,"title":"Allowed Action Keys"},"max_age_seconds":{"type":"integer","maximum":31536000.0,"minimum":300.0,"title":"Max Age Seconds","default":2592000},"min_confidence":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Min Confidence","default":0.55},"state":{"type":"string","enum":["DRAFT","ACTIVE","RETIRED"],"title":"State","default":"DRAFT"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os12_parent_safe__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["policy_id","version","proof_types","actor_id","evidence_refs"],"title":"ParentViewPolicyCommand"},"ParetoLayerProjection":{"properties":{"layer_no":{"type":"integer","minimum":1.0,"title":"Layer No"},"eligibility_lane":{"type":"string","enum":["ELIGIBLE","CONDITIONAL","REVIEW_REQUIRED","UNKNOWN","INELIGIBLE"],"title":"Eligibility Lane"},"route_ids":{"items":{"type":"string","format":"uuid"},"type":"array","minItems":1,"title":"Route Ids"},"display_order":{"items":{"type":"string","format":"uuid"},"type":"array","minItems":1,"title":"Display Order"},"comparable_objectives":{"items":{"type":"string","enum":["TIME_MONTHS","COST_MINOR","FIT_INTEREST","FIT_APTITUDE_EVIDENCE","FIT_LEARNING_MODE","FIT_ENVIRONMENT","FIT_TIME_RISK","FIT_CONSTRAINT_ALIGNMENT","OPTIONALITY","SOURCE_QUALITY","OUTCOME_EVIDENCE"]},"type":"array","title":"Comparable Objectives"},"reason_codes":{"items":{"type":"string"},"type":"array","title":"Reason Codes","default":[]}},"additionalProperties":false,"type":"object","required":["layer_no","eligibility_lane","route_ids","display_order","comparable_objectives"],"title":"ParetoLayerProjection"},"ParticipationBody":{"properties":{"manifest_digest":{"type":"string","maxLength":64,"minLength":64,"title":"Manifest Digest"},"prior_result_consent":{"type":"string","pattern":"^(GRANT|DECLINE)$","title":"Prior Result Consent"},"idempotency_key":{"type":"string","maxLength":96,"minLength":8,"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["manifest_digest","prior_result_consent","idempotency_key"],"title":"ParticipationBody"},"PasswordChange":{"properties":{"current_password":{"type":"string","maxLength":200,"minLength":1,"title":"Current Password"},"new_password":{"type":"string","maxLength":200,"minLength":10,"title":"New Password"}},"type":"object","required":["current_password","new_password"],"title":"PasswordChange"},"PathwayContextRequest":{"properties":{"graph_release_id":{"type":"string","format":"uuid","title":"Graph Release Id"},"purpose":{"type":"string","enum":["PATHWAY","RECOVERY","SWITCH"],"title":"Purpose","default":"PATHWAY"},"jurisdiction":{"type":"string","maxLength":120,"minLength":2,"title":"Jurisdiction"},"facts":{"type":"object","title":"Facts"},"preference_passport_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Preference Passport Version Id"},"soft_profile_ref":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Soft Profile Ref"}},"additionalProperties":false,"type":"object","required":["graph_release_id","jurisdiction","facts"],"title":"PathwayContextRequest"},"PathwayDecisionEnvelopeRead":{"properties":{"frontier":{"$ref":"#/components/schemas/PathwayFrontierProjection"},"envelopes":{"items":{"$ref":"#/components/schemas/PathwayEnvelopeProjection"},"type":"array","title":"Envelopes"},"fit_vectors":{"items":{"$ref":"#/components/schemas/PathwayFitVectorProjection"},"type":"array","title":"Fit Vectors"}},"additionalProperties":false,"type":"object","required":["frontier","envelopes","fit_vectors"],"title":"PathwayDecisionEnvelopeRead"},"PathwayEnvelopeProjection":{"properties":{"envelope_decision_id":{"type":"string","format":"uuid","title":"Envelope Decision Id"},"owner_id":{"type":"string","title":"Owner Id"},"pathway_context_id":{"type":"string","format":"uuid","title":"Pathway Context Id"},"graph_release_id":{"type":"string","format":"uuid","title":"Graph Release Id"},"source_pathway_decision_id":{"type":"string","format":"uuid","title":"Source Pathway Decision Id"},"route_id":{"type":"string","format":"uuid","title":"Route Id"},"route_digest":{"type":"string","title":"Route Digest"},"cost_profile_version_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Cost Profile Version Ids"},"time":{"$ref":"#/components/schemas/TimeEnvelopeProjection"},"cost":{"$ref":"#/components/schemas/CostEnvelopeProjection"},"state":{"type":"string","enum":["READY","PARTIAL_SOURCE","SOURCE_STALE","HELD"],"title":"State"},"reason_codes":{"items":{"type":"string"},"type":"array","title":"Reason Codes"},"decision_digest":{"type":"string","title":"Decision Digest"},"persisted":{"type":"boolean","title":"Persisted","default":false},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"}},"additionalProperties":false,"type":"object","required":["envelope_decision_id","owner_id","pathway_context_id","graph_release_id","source_pathway_decision_id","route_id","route_digest","cost_profile_version_ids","time","cost","state","reason_codes","decision_digest"],"title":"PathwayEnvelopeProjection"},"PathwayFitVectorProjection":{"properties":{"fit_vector_id":{"type":"string","format":"uuid","title":"Fit Vector Id"},"owner_id":{"type":"string","title":"Owner Id"},"pathway_context_id":{"type":"string","format":"uuid","title":"Pathway Context Id"},"graph_release_id":{"type":"string","format":"uuid","title":"Graph Release Id"},"route_id":{"type":"string","format":"uuid","title":"Route Id"},"preference_passport_version_id":{"type":"string","format":"uuid","title":"Preference Passport Version Id"},"spre_projection_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Spre Projection Id"},"consent_state":{"type":"string","enum":["ACTIVE","MISSING","EXPIRED","REVOKED"],"title":"Consent State"},"consent_receipt_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Consent Receipt Ref"},"purpose":{"type":"string","enum":["PATHWAY_COMPARE"],"const":"PATHWAY_COMPARE","title":"Purpose","default":"PATHWAY_COMPARE"},"state":{"type":"string","enum":["READY","PARTIAL_SIGNAL","UNAVAILABLE","CONSENT_REQUIRED","HELD"],"title":"State"},"dimensions":{"items":{"$ref":"#/components/schemas/FitDimensionProjection"},"type":"array","title":"Dimensions"},"hard_gate_authorised":{"type":"boolean","enum":[false],"const":false,"title":"Hard Gate Authorised","default":false},"reason_codes":{"items":{"type":"string"},"type":"array","title":"Reason Codes"},"vector_digest":{"type":"string","title":"Vector Digest"},"persisted":{"type":"boolean","title":"Persisted","default":false},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"}},"additionalProperties":false,"type":"object","required":["fit_vector_id","owner_id","pathway_context_id","graph_release_id","route_id","preference_passport_version_id","consent_state","state","dimensions","reason_codes","vector_digest"],"title":"PathwayFitVectorProjection"},"PathwayFrontierMutationEnvelope":{"properties":{"receipt":{"type":"object","title":"Receipt"},"resource":{"$ref":"#/components/schemas/PathwayFrontierProjection"},"envelopes":{"items":{"$ref":"#/components/schemas/PathwayEnvelopeProjection"},"type":"array","title":"Envelopes"},"fit_vectors":{"items":{"$ref":"#/components/schemas/PathwayFitVectorProjection"},"type":"array","title":"Fit Vectors"}},"additionalProperties":false,"type":"object","required":["receipt","resource","envelopes","fit_vectors"],"title":"PathwayFrontierMutationEnvelope"},"PathwayFrontierProjection":{"properties":{"frontier_decision_id":{"type":"string","format":"uuid","title":"Frontier Decision Id"},"owner_id":{"type":"string","title":"Owner Id"},"pathway_context_id":{"type":"string","format":"uuid","title":"Pathway Context Id"},"graph_release_id":{"type":"string","format":"uuid","title":"Graph Release Id"},"version_no":{"type":"integer","minimum":1.0,"title":"Version No"},"predecessor_frontier_decision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Predecessor Frontier Decision Id"},"state":{"type":"string","enum":["READY","PARTIAL_SOURCE","HELD"],"title":"State"},"comparison_policy_version":{"type":"string","title":"Comparison Policy Version"},"priority_preset":{"type":"string","enum":["BALANCED","TIME_FIRST","COST_FIRST","FIT_FIRST","CUSTOM"],"title":"Priority Preset"},"priority_order":{"items":{"type":"string","enum":["TIME_MONTHS","COST_MINOR","FIT_INTEREST","FIT_APTITUDE_EVIDENCE","FIT_LEARNING_MODE","FIT_ENVIRONMENT","FIT_TIME_RISK","FIT_CONSTRAINT_ALIGNMENT","OPTIONALITY","SOURCE_QUALITY","OUTCOME_EVIDENCE"]},"type":"array","title":"Priority Order"},"routes":{"items":{"$ref":"#/components/schemas/RouteFrontierVector"},"type":"array","title":"Routes"},"pareto_layers":{"items":{"$ref":"#/components/schemas/ParetoLayerProjection"},"type":"array","title":"Pareto Layers"},"tradeoffs":{"items":{"$ref":"#/components/schemas/RouteTradeoffProjection"},"type":"array","title":"Tradeoffs"},"reason_codes":{"items":{"type":"string"},"type":"array","title":"Reason Codes"},"decision_digest":{"type":"string","title":"Decision Digest"},"persisted":{"type":"boolean","title":"Persisted","default":false},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"}},"additionalProperties":false,"type":"object","required":["frontier_decision_id","owner_id","pathway_context_id","graph_release_id","version_no","state","comparison_policy_version","priority_preset","priority_order","routes","pareto_layers","tradeoffs","reason_codes","decision_digest"],"title":"PathwayFrontierProjection"},"PathwayMutationEnvelope":{"properties":{"receipt":{"type":"object","title":"Receipt"},"resource":{"type":"object","title":"Resource"}},"additionalProperties":false,"type":"object","required":["receipt","resource"],"title":"PathwayMutationEnvelope"},"PathwayPlanMutationEnvelope":{"properties":{"receipt":{"type":"object","title":"Receipt"},"resource":{"$ref":"#/components/schemas/PathwayPlanProjection"},"handoffs":{"items":{"$ref":"#/components/schemas/PlanHandoffReceipt"},"type":"array","title":"Handoffs","default":[]},"replan_event_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Replan Event Id"},"replan_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Replan Note"}},"additionalProperties":false,"type":"object","required":["receipt","resource"],"title":"PathwayPlanMutationEnvelope"},"PathwayPlanProjection":{"properties":{"plan_id":{"type":"string","format":"uuid","title":"Plan Id"},"owner_id":{"type":"string","title":"Owner Id"},"pathway_context_id":{"type":"string","format":"uuid","title":"Pathway Context Id"},"graph_release_id":{"type":"string","format":"uuid","title":"Graph Release Id"},"source_frontier_decision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Source Frontier Decision Id"},"source_frontier_version_no":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Source Frontier Version No"},"recovery_decision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Recovery Decision Id"},"recovery_decision_digest":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recovery Decision Digest"},"recovery_route_acceptance_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Recovery Route Acceptance Id"},"recovery_route_choice_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Recovery Route Choice Id"},"route_producer_type":{"type":"string","enum":["FRONTIER_COMPARISON","FORWARD_TRAVERSAL","REVERSE_TRAVERSAL","RECOVERY"],"title":"Route Producer Type","default":"FRONTIER_COMPARISON"},"selected_route_id":{"type":"string","format":"uuid","title":"Selected Route Id"},"selected_route_digest":{"type":"string","title":"Selected Route Digest"},"version_no":{"type":"integer","minimum":1.0,"title":"Version No"},"predecessor_plan_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Predecessor Plan Id"},"superseded_by_plan_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Superseded By Plan Id"},"state":{"type":"string","enum":["ACTIVE","PARTIAL_SOURCE","HELD","STALE","COMPLETED","SUPERSEDED"],"title":"State"},"plan_policy_version":{"type":"string","title":"Plan Policy Version"},"source_bundle_id":{"type":"string","format":"uuid","title":"Source Bundle Id"},"source_bundle_digest":{"type":"string","title":"Source Bundle Digest"},"labour_signal":{"anyOf":[{"$ref":"#/components/schemas/LabourSignalProjection"},{"type":"null"}]},"steps":{"items":{"$ref":"#/components/schemas/PlanStepProjection"},"type":"array","title":"Steps"},"completed_step_count":{"type":"integer","minimum":0.0,"title":"Completed Step Count"},"reason_codes":{"items":{"type":"string"},"type":"array","title":"Reason Codes","default":[]},"plan_digest":{"type":"string","title":"Plan Digest"},"next_action":{"anyOf":[{"$ref":"#/components/schemas/NextActionProjection"},{"type":"null"}]},"automatic_submission_authorised":{"type":"boolean","enum":[false],"const":false,"title":"Automatic Submission Authorised","default":false},"study_plan_mutation_authorised":{"type":"boolean","enum":[false],"const":false,"title":"Study Plan Mutation Authorised","default":false},"persisted":{"type":"boolean","title":"Persisted","default":false},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"ledger_citation":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Ledger Citation"},"route_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Route Title"},"route_start_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Route Start Label"},"route_goal_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Route Goal Label"},"step_names":{"items":{"$ref":"#/components/schemas/PlanStepNames"},"type":"array","title":"Step Names","default":[]}},"additionalProperties":false,"type":"object","required":["plan_id","owner_id","pathway_context_id","graph_release_id","selected_route_id","selected_route_digest","version_no","state","plan_policy_version","source_bundle_id","source_bundle_digest","steps","completed_step_count","plan_digest"],"title":"PathwayPlanProjection"},"PathwayRecoveryMutationEnvelope":{"properties":{"receipt":{"type":"object","title":"Receipt"},"resource":{"type":"object","title":"Resource"}},"additionalProperties":false,"type":"object","required":["receipt","resource"],"title":"PathwayRecoveryMutationEnvelope"},"PathwayTraversalMutationEnvelope":{"properties":{"receipt":{"type":"object","title":"Receipt"},"resource":{"type":"object","title":"Resource"}},"additionalProperties":false,"type":"object","required":["receipt","resource"],"title":"PathwayTraversalMutationEnvelope"},"PathwaysConsentDecision":{"properties":{"notice_version":{"type":"string","maxLength":80,"minLength":1,"title":"Notice Version","default":"pathways-money-consent-v1"},"include_optional":{"type":"boolean","title":"Include Optional","default":false}},"additionalProperties":false,"type":"object","title":"PathwaysConsentDecision"},"PaymentCorrectionBody":{"properties":{"owner_id":{"type":"string","maxLength":64,"minLength":3,"title":"Owner Id"},"payment_id":{"type":"string","maxLength":120,"minLength":3,"title":"Payment Id"},"correction_kind":{"type":"string","enum":["refund","chargeback","cancellation"],"title":"Correction Kind"},"requested_minor_units":{"type":"integer","minimum":0.0,"title":"Requested Minor Units"},"reason":{"type":"string","maxLength":500,"minLength":3,"title":"Reason"},"provider_ref":{"type":"string","maxLength":240,"minLength":3,"title":"Provider Ref"},"idempotency_key":{"type":"string","maxLength":200,"minLength":8,"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["owner_id","payment_id","correction_kind","requested_minor_units","reason","provider_ref","idempotency_key"],"title":"PaymentCorrectionBody"},"PdfArtifactCreate":{"properties":{"object_ref":{"type":"string","maxLength":500,"minLength":4,"title":"Object Ref"},"checksum_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Checksum Sha256"},"bytes":{"type":"integer","maximum":250000000.0,"exclusiveMinimum":0.0,"title":"Bytes"},"page_count":{"type":"integer","maximum":5000.0,"exclusiveMinimum":0.0,"title":"Page Count"},"purpose":{"type":"string","enum":["private_retrieval","learning_support"],"title":"Purpose"},"title":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Title"},"retention_until":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Retention Until"},"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version","default":0}},"additionalProperties":false,"type":"object","required":["object_ref","checksum_sha256","bytes","page_count","purpose"],"title":"PdfArtifactCreate"},"PdfIngestBody":{"properties":{"title":{"type":"string","maxLength":255,"minLength":1,"title":"Title"},"pdf_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pdf Url","description":"S3 URL of pre-uploaded PDF; or extracted_text directly"},"extracted_text":{"anyOf":[{"type":"string","maxLength":500000},{"type":"null"}],"title":"Extracted Text"},"pdf_bytes":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Pdf Bytes"},"pdf_pages":{"anyOf":[{"type":"integer","maximum":2000.0,"minimum":1.0},{"type":"null"}],"title":"Pdf Pages","description":"Page count when known; otherwise estimated from the text for metering"},"purpose_consent_ref":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Purpose Consent Ref","description":"Consent receipt for reading this file (JOB-1052)"},"source_object_namespace":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Source Object Namespace"},"source_object_id":{"anyOf":[{"type":"string","maxLength":300,"minLength":1},{"type":"null"}],"title":"Source Object Id"},"product_context_receipt_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Context Receipt Id"},"product_context_hash":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}],"title":"Product Context Hash"}},"type":"object","required":["title"],"title":"PdfIngestBody"},"PdfReadPublication":{"properties":{"source_state":{"type":"string","enum":["CURRENT","STALE","REVOKED","PURGING","MISSING"],"title":"Source State"},"index_version":{"type":"string","maxLength":160,"minLength":1,"title":"Index Version"},"spans":{"items":{"$ref":"#/components/schemas/PdfSourceSpan"},"type":"array","title":"Spans"},"retrieval_coverage":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Retrieval Coverage"},"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"}},"additionalProperties":false,"type":"object","required":["source_state","index_version","retrieval_coverage","expected_version"],"title":"PdfReadPublication"},"PdfSourceSpan":{"properties":{"span_id":{"type":"string","maxLength":160,"minLength":1,"title":"Span Id"},"page":{"type":"integer","exclusiveMinimum":0.0,"title":"Page"},"start_offset":{"type":"integer","minimum":0.0,"title":"Start Offset"},"end_offset":{"type":"integer","exclusiveMinimum":0.0,"title":"End Offset"},"text_digest":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Text Digest"},"citation":{"type":"string","maxLength":500,"minLength":1,"title":"Citation"},"support_score":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Support Score"}},"additionalProperties":false,"type":"object","required":["span_id","page","start_offset","end_offset","text_digest","citation","support_score"],"title":"PdfSourceSpan"},"PdfTurnCreate":{"properties":{"question":{"type":"string","maxLength":12000,"minLength":1,"title":"Question"},"page":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Page"},"source_span_ids":{"items":{"type":"string"},"type":"array","title":"Source Span Ids"},"expected_turn_version":{"type":"integer","minimum":0.0,"title":"Expected Turn Version","default":0},"entry_mode":{"type":"string","maxLength":120,"minLength":2,"title":"Entry Mode","default":"pdf_doubt"},"return_ref":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Return Ref"}},"additionalProperties":false,"type":"object","required":["question"],"title":"PdfTurnCreate"},"PendingProofCommand":{"properties":{"pending_proof_id":{"type":"string","format":"uuid","title":"Pending Proof Id"},"queue_id":{"type":"string","format":"uuid","title":"Queue Id"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"source_owner_os":{"type":"string","maxLength":16,"minLength":2,"title":"Source Owner Os"},"proof_type":{"type":"string","maxLength":120,"minLength":1,"title":"Proof Type"},"status":{"type":"string","enum":["PENDING","RECONCILED","FAILED"],"title":"Status","default":"PENDING"},"server_proof_id":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"Server Proof Id"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os20_offline_sync__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["queue_id","actor_id","source_owner_os","proof_type","evidence_refs"],"title":"PendingProofCommand"},"PercentageEstimateBody":{"properties":{"sku_id":{"type":"string","maxLength":120,"minLength":3,"title":"Sku Id"},"declared_work_value_minor_units":{"type":"integer","maximum":9007199254740991.0,"minimum":50000.0,"title":"Declared Work Value Minor Units"},"currency":{"type":"string","enum":["INR"],"const":"INR","title":"Currency"},"rounding_mode":{"type":"string","enum":["HALF_UP","FLOOR","CEILING"],"title":"Rounding Mode"},"tax_inclusive":{"type":"boolean","title":"Tax Inclusive"},"tax_rate_basis_points":{"anyOf":[{"type":"integer","maximum":10000.0,"minimum":0.0},{"type":"null"}],"title":"Tax Rate Basis Points"}},"additionalProperties":false,"type":"object","required":["sku_id","declared_work_value_minor_units","currency","rounding_mode","tax_inclusive","tax_rate_basis_points"],"title":"PercentageEstimateBody","description":"Explicit operator inputs, not authority to charge or fund a worker."},"PermanentConceptCreate":{"properties":{"canonical_key":{"type":"string","maxLength":256,"minLength":3,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Canonical Key"},"entity_type":{"type":"string","enum":["subject","chapter","topic","concept"],"title":"Entity Type","default":"concept"},"semantic_definition":{"type":"string","maxLength":8000,"minLength":3,"title":"Semantic Definition"},"semantic_version":{"type":"integer","minimum":1.0,"title":"Semantic Version","default":1},"reason":{"type":"string","maxLength":1000,"minLength":3,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["canonical_key","semantic_definition","reason"],"title":"PermanentConceptCreate","description":"A permanent semantic entity; release placement is deliberately separate."},"PermanentConceptReview":{"properties":{"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version"},"reason":{"type":"string","maxLength":1000,"minLength":3,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["expected_version","reason"],"title":"PermanentConceptReview"},"PermissionGrant":{"properties":{"purpose":{"type":"string","maxLength":120,"minLength":2,"title":"Purpose"},"actions":{"items":{"type":"string"},"type":"array","maxItems":100,"minItems":1,"title":"Actions"},"environments":{"items":{"type":"string"},"type":"array","minItems":1,"title":"Environments"},"tenant_scope":{"anyOf":[{"$ref":"#/components/schemas/TenantScope"},{"type":"null"}]},"entity_scope":{"anyOf":[{"$ref":"#/components/schemas/EntityScope"},{"type":"null"}]},"condition":{"type":"object","title":"Condition"},"risk_ceiling":{"allOf":[{"$ref":"#/components/schemas/RiskLevel"}],"default":"R1"}},"additionalProperties":false,"type":"object","required":["purpose","actions"],"title":"PermissionGrant"},"PermissionGrantCommand":{"properties":{"permission_id":{"type":"string","format":"uuid","title":"Permission Id"},"canonical_key":{"type":"string","maxLength":240,"minLength":3,"title":"Canonical Key"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"actor_role":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Actor Role"},"purpose":{"type":"string","maxLength":120,"minLength":2,"title":"Purpose"},"source_authority":{"type":"string","maxLength":40,"minLength":2,"title":"Source Authority"},"source_grant_id":{"type":"string","maxLength":180,"minLength":1,"title":"Source Grant Id"},"source_version":{"type":"string","maxLength":80,"minLength":1,"title":"Source Version"},"granted_at":{"type":"string","format":"date-time","title":"Granted At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"issued_by":{"type":"string","maxLength":128,"minLength":1,"title":"Issued By"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os14_universal_index__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["canonical_key","actor_id","purpose","source_authority","source_grant_id","source_version","granted_at","issued_by","evidence_refs"],"title":"PermissionGrantCommand"},"PermissionRevokeCommand":{"properties":{"permission_id":{"type":"string","format":"uuid","title":"Permission Id"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"reason_codes":{"items":{"type":"string"},"type":"array","maxItems":32,"minItems":1,"title":"Reason Codes"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os14_universal_index__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["permission_id","actor_id","reason_codes","evidence_refs"],"title":"PermissionRevokeCommand"},"PermittedAction":{"properties":{"native_action_code":{"type":"string","maxLength":80,"minLength":1,"title":"Native Action Code"},"native_action_label":{"type":"string","minLength":1,"title":"Native Action Label"},"semantic_class":{"type":"string","enum":["ACCEPT_FINAL","ACCEPT_AND_UPGRADE","ACCEPT_AND_BRANCH_UPGRADE","DECLINE","WITHDRAW","WAIT","PARTICIPATE","UNKNOWN"],"title":"Semantic Class"},"retains_current_offer":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Retains Current Offer"},"preserves_future_rounds":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Preserves Future Rounds"},"irreversible":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Irreversible"},"rule_clause_ref":{"type":"string","minLength":1,"title":"Rule Clause Ref"},"availability_condition":{"type":"string","enum":["ALWAYS","ONLY_IF_ALLOTMENT_NOT_FIRST_CHOICE","ONLY_IF_ALLOTMENT_IS_FIRST_CHOICE"],"title":"Availability Condition","default":"ALWAYS"},"seat_system_scope":{"type":"string","enum":["ANY","IIT_IISC","NIT_PLUS"],"title":"Seat System Scope","default":"ANY"},"financial_exposure_minor":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Financial Exposure Minor"},"financial_exposure_currency":{"anyOf":[{"type":"string","pattern":"^[A-Z]{3}$"},{"type":"null"}],"title":"Financial Exposure Currency"}},"additionalProperties":false,"type":"object","required":["native_action_code","native_action_label","semantic_class","retains_current_offer","preserves_future_rounds","irreversible","rule_clause_ref"],"title":"PermittedAction","description":"One action a published release actually permits, in the authority's\nown word for it. Never invented -- every field here is copied from a row\na human reviewer encoded (`authority_round_actions`), never inferred from\na caller's request or a PDF."},"PersonaInferReq":{"properties":{"student_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Student Id"},"answers":{"additionalProperties":{"type":"string"},"type":"object","title":"Answers","description":"Map of question_id → choice_id from the 5-question forced-choice flow."}},"type":"object","title":"PersonaInferReq"},"PersonalPushChange":{"properties":{"enabled":{"type":"boolean","title":"Enabled"},"reason":{"type":"string","maxLength":500,"minLength":3,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["enabled","reason"],"title":"PersonalPushChange"},"PersonalizationResolutionCommand":{"properties":{"resolution_id":{"type":"string","format":"uuid","title":"Resolution Id"},"subject_id":{"type":"string","maxLength":128,"minLength":1,"title":"Subject Id"},"subject_age_years":{"anyOf":[{"type":"integer","maximum":120.0,"minimum":1.0},{"type":"null"}],"title":"Subject Age Years"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"surface":{"type":"string","maxLength":120,"minLength":2,"title":"Surface"},"purpose":{"type":"string","maxLength":120,"minLength":2,"title":"Purpose"},"requested_scopes":{"items":{"type":"string"},"type":"array","maxItems":32,"minItems":1,"title":"Requested Scopes"},"privacy_class":{"type":"string","enum":["standard","student_private","guardian_visible","sensitive","minor_sensitive","public"],"title":"Privacy Class","default":"student_private"},"context":{"type":"object","title":"Context"},"policy_version":{"type":"string","maxLength":80,"minLength":1,"title":"Policy Version"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os21_privacy_safety__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["subject_id","actor_id","surface","purpose","requested_scopes","policy_version","evidence_refs"],"title":"PersonalizationResolutionCommand"},"PhysicsSimReq":{"properties":{"problem_type":{"type":"string","title":"Problem Type"},"parameters":{"type":"object","title":"Parameters"}},"type":"object","required":["problem_type"],"title":"PhysicsSimReq"},"PickReq":{"properties":{"student_id":{"type":"string","title":"Student Id"},"trigger_key":{"type":"string","title":"Trigger Key","description":"One of TRIGGER_KEYS in atrix_orchestrator.py"},"context":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Context"},"surface":{"type":"string","title":"Surface","default":"twin_home"},"channel":{"type":"string","title":"Channel","default":"in_app"},"auto_record":{"type":"boolean","title":"Auto Record","default":true}},"type":"object","required":["student_id","trigger_key"],"title":"PickReq"},"PickupBody":{"properties":{"agent":{"type":"string","maxLength":120,"minLength":1,"title":"Agent"},"agent_kind":{"type":"string","enum":["claude_chat","codex","cloud_worker","other"],"title":"Agent Kind","default":"claude_chat"},"repo":{"type":"string","enum":["aspireace","trututor"],"title":"Repo","default":"aspireace"},"decision_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":200,"title":"Decision Ids"},"since":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Since"}},"type":"object","required":["agent"],"title":"PickupBody"},"PilotChangeRequest":{"properties":{"student_ids":{"items":{"type":"string"},"type":"array","maxItems":500,"minItems":1,"title":"Student Ids"},"reason":{"type":"string","maxLength":240,"minLength":3,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["student_ids","reason"],"title":"PilotChangeRequest","description":"Add or remove students on the explicit canary pilot list."},"PilotOperationRequest":{"properties":{"audience":{"type":"string","enum":["JEE","NEET","GLOBAL"],"title":"Audience"},"draft_key":{"type":"string","enum":["DRAFT_NC_001","DRAFT_NC_002","DRAFT_NC_003","DRAFT_NC_004","DRAFT_NC_005","DRAFT_NC_006","DRAFT_NC_007","WORKSHEET","POLICY"],"title":"Draft Key"},"expected_object_version":{"type":"string","maxLength":80,"minLength":1,"title":"Expected Object Version"},"action":{"type":"string","enum":["source.bind","source.evaluate","rights.evidence.issue","passport.create","rights.create","mapping.create","candidate.create","quality.assess","candidate.bind","candidate.validate","candidate.publish","worksheet.create","worksheet.bind","worksheet.quality.assess","worksheet.validate","worksheet.publish","os01.question.propose","os01.question.review","os01.treatment.propose","os01.treatment.review","source.policy.record_reviewed","source.policy.activate"],"title":"Action"},"facts":{"type":"object","title":"Facts"}},"additionalProperties":false,"type":"object","required":["audience","draft_key","expected_object_version","action"],"title":"PilotOperationRequest"},"PilotPolicyActivationCommand":{"properties":{"expected_state":{"type":"string","enum":["REVIEWED"],"const":"REVIEWED","title":"Expected State","default":"REVIEWED"},"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"reason":{"type":"string","maxLength":1000,"minLength":4,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["reason"],"title":"PilotPolicyActivationCommand","description":"Explicit second-stage activation guarded by current native evidence."},"PilotPolicyReviewCommand":{"properties":{"expected_state":{"type":"string","enum":["DRAFT"],"const":"DRAFT","title":"Expected State","default":"DRAFT"},"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"reason":{"type":"string","maxLength":1000,"minLength":4,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["reason"],"title":"PilotPolicyReviewCommand","description":"Owner attestation for the exact bounded pilot policy; never activates it."},"PilotQualityAssessmentCommand":{"properties":{"subject_id":{"type":"string","format":"uuid","title":"Subject Id"},"object_version":{"type":"string","maxLength":80,"minLength":1,"title":"Object Version"},"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["subject_id","object_version"],"title":"PilotQualityAssessmentCommand","description":"Identify an OS10 pilot subject; signals are always server-derived."},"PilotReviewQueueClaimCommand":{"properties":{"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"audience":{"type":"string","enum":["JEE","NEET"],"title":"Audience"},"lease_seconds":{"type":"integer","maximum":3600.0,"minimum":60.0,"title":"Lease Seconds","default":900},"assignment_reason":{"type":"string","maxLength":1000,"minLength":3,"title":"Assignment Reason","default":"CNTIMP-PR06 bounded per-question quality review"}},"additionalProperties":false,"type":"object","required":["audience"],"title":"PilotReviewQueueClaimCommand","description":"Cookie-console request limited to one audience in the frozen PR06 set."},"PinBody":{"properties":{"pinned":{"type":"boolean","title":"Pinned"}},"type":"object","required":["pinned"],"title":"PinBody"},"PlaceOrderBody":{"properties":{"edition_ref":{"type":"string","maxLength":80,"minLength":3,"title":"Edition Ref"},"version":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Version"},"offer_ref":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Offer Ref"},"idempotency_key":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["edition_ref"],"title":"PlaceOrderBody"},"PlacementPlan":{"properties":{"placement_id":{"type":"string","title":"Placement Id"},"schema":{"type":"string","title":"Schema"},"cohort":{"type":"string","title":"Cohort"},"screen_id":{"type":"string","title":"Screen Id"},"ttl_seconds":{"type":"integer","title":"Ttl Seconds","default":900},"slots":{"items":{"$ref":"#/components/schemas/SlotResult"},"type":"array","title":"Slots"},"degradation_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Degradation Reason"}},"type":"object","required":["placement_id","cohort","screen_id","slots"],"title":"PlacementPlan"},"PlacementRequest":{"properties":{"user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"},"screen_id":{"type":"string","title":"Screen Id","default":"SCR-HOME-001"},"mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mode"},"exam_target":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Exam Target"},"tier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tier"}},"type":"object","title":"PlacementRequest"},"PlanBlockCommandRequest":{"properties":{"command":{"$ref":"#/components/schemas/BlockCommand"},"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version"},"idempotency_key":{"type":"string","maxLength":200,"minLength":8,"title":"Idempotency Key"},"evidence_ref":{"anyOf":[{"type":"string","maxLength":240,"minLength":4},{"type":"null"}],"title":"Evidence Ref"},"reason_code":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Reason Code"},"time_ms":{"anyOf":[{"type":"integer","maximum":86400000.0,"minimum":0.0},{"type":"null"}],"title":"Time Ms"}},"additionalProperties":false,"type":"object","required":["command","expected_version","idempotency_key"],"title":"PlanBlockCommandRequest"},"PlanBody":{"properties":{"purpose":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Purpose"},"contract_version":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Contract Version"},"expected_version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expected Version"},"idempotency_key":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Idempotency Key"},"gap_id":{"type":"string","maxLength":64,"title":"Gap Id"},"intervention_id":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Intervention Id"},"chosen_by":{"type":"string","maxLength":16,"title":"Chosen By"},"closure_policy_release_id":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Closure Policy Release Id"},"max_minutes":{"anyOf":[{"type":"integer","maximum":100000.0,"minimum":1.0},{"type":"null"}],"title":"Max Minutes"},"max_cost_paise":{"anyOf":[{"type":"integer","maximum":100000000.0,"minimum":0.0},{"type":"null"}],"title":"Max Cost Paise"}},"additionalProperties":false,"type":"object","required":["gap_id","chosen_by"],"title":"PlanBody"},"PlanDecisionBody":{"properties":{"decision":{"type":"string","pattern":"^(approve|request_lighter)$","title":"Decision"}},"type":"object","required":["decision"],"title":"PlanDecisionBody"},"PlanEvidenceReceiptRequest":{"properties":{"owner_id":{"type":"string","maxLength":160,"minLength":1,"title":"Owner Id"},"authority_plan_id":{"type":"string","maxLength":160,"minLength":8,"title":"Authority Plan Id"},"evidence_ref":{"type":"string","maxLength":240,"minLength":4,"title":"Evidence Ref"},"source_authority":{"type":"string","maxLength":160,"minLength":3,"title":"Source Authority"},"source_version":{"type":"string","maxLength":120,"minLength":1,"title":"Source Version"},"eligible":{"type":"boolean","title":"Eligible"},"strength":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Strength"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"},"subject":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Subject"},"topic_id":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Topic Id"},"product_id":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Product Id"},"proof_ref":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Proof Ref"},"exact_block_id":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Exact Block Id"},"idempotency_key":{"type":"string","maxLength":200,"minLength":8,"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["owner_id","authority_plan_id","evidence_ref","source_authority","source_version","eligible","strength","occurred_at","idempotency_key"],"title":"PlanEvidenceReceiptRequest"},"PlanGenerationRequest":{"properties":{"local_date":{"type":"string","format":"date","title":"Local Date"},"timezone":{"type":"string","maxLength":80,"minLength":1,"title":"Timezone"},"mode":{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{1,79}$","title":"Mode","default":"daily"},"capacity_minutes":{"anyOf":[{"type":"integer","maximum":1440.0,"minimum":15.0},{"type":"null"}],"title":"Capacity Minutes"},"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version","default":0},"idempotency_key":{"type":"string","maxLength":200,"minLength":8,"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["local_date","timezone","idempotency_key"],"title":"PlanGenerationRequest"},"PlanHandoffReceipt":{"properties":{"handoff_receipt_id":{"type":"string","format":"uuid","title":"Handoff Receipt Id"},"plan_id":{"type":"string","format":"uuid","title":"Plan Id"},"step_id":{"type":"string","format":"uuid","title":"Step Id"},"target_product":{"type":"string","enum":["STUDY_PLAN","PRACTICE","ACES_PREDICT","COUNSELLOR","DOCUMENTS"],"title":"Target Product"},"handoff_scope":{"type":"string","title":"Handoff Scope"},"payload_ref":{"type":"string","title":"Payload Ref"},"payload_digest":{"type":"string","title":"Payload Digest"},"mutation_authorised":{"type":"boolean","enum":[false],"const":false,"title":"Mutation Authorised","default":false},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"}},"additionalProperties":false,"type":"object","required":["handoff_receipt_id","plan_id","step_id","target_product","handoff_scope","payload_ref","payload_digest"],"title":"PlanHandoffReceipt"},"PlanReplanConfirmRequest":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"idempotency_key":{"type":"string","maxLength":200,"minLength":8,"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["expected_version","idempotency_key"],"title":"PlanReplanConfirmRequest"},"PlanReplanProposalRequest":{"properties":{"reason":{"type":"string","enum":["capacity_change","wellness_shift","missed_block","evidence_credit"],"title":"Reason"},"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"idempotency_key":{"type":"string","maxLength":200,"minLength":8,"title":"Idempotency Key"},"target_capacity_minutes":{"anyOf":[{"type":"integer","maximum":1440.0,"minimum":15.0},{"type":"null"}],"title":"Target Capacity Minutes"},"affected_block_id":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Affected Block Id"},"evidence_ref":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Evidence Ref"}},"additionalProperties":false,"type":"object","required":["reason","expected_version","idempotency_key"],"title":"PlanReplanProposalRequest"},"PlanStartBody":{"properties":{"idempotency_key":{"anyOf":[{"type":"string","maxLength":80,"minLength":8},{"type":"null"}],"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","title":"PlanStartBody"},"PlanStepCompletionEnvelope":{"properties":{"receipt":{"type":"object","title":"Receipt"},"resource":{"$ref":"#/components/schemas/PlanStepCompletionProjection"}},"additionalProperties":false,"type":"object","required":["receipt","resource"],"title":"PlanStepCompletionEnvelope"},"PlanStepCompletionProjection":{"properties":{"completion_id":{"type":"string","format":"uuid","title":"Completion Id"},"plan_id":{"type":"string","format":"uuid","title":"Plan Id"},"step_id":{"type":"string","format":"uuid","title":"Step Id"},"owner_id":{"type":"string","title":"Owner Id"},"proof_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Proof Ref"},"proof_digest":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Proof Digest"},"narrative":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Narrative"},"completion_digest":{"type":"string","title":"Completion Digest"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"}},"additionalProperties":false,"type":"object","required":["completion_id","plan_id","step_id","owner_id","completion_digest"],"title":"PlanStepCompletionProjection"},"PlanStepNames":{"properties":{"step_id":{"type":"string","format":"uuid","title":"Step Id"},"from_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"From Label"},"to_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"To Label"},"display_title":{"type":"string","title":"Display Title"},"display_description":{"type":"string","title":"Display Description"}},"additionalProperties":false,"type":"object","required":["step_id","display_title","display_description"],"title":"PlanStepNames","description":"Read-time plain-words layer for one step. Never stored and never part of any digest."},"PlanStepProjection":{"properties":{"step_id":{"type":"string","format":"uuid","title":"Step Id"},"plan_id":{"type":"string","format":"uuid","title":"Plan Id"},"position":{"type":"integer","minimum":1.0,"title":"Position"},"source_step_key":{"type":"string","title":"Source Step Key"},"step_type":{"type":"string","enum":["MILESTONE","EXAM","APPLICATION","DOCUMENT","CREDENTIAL","COURSE","PRACTICE","COUNSELLOR","EXTERNAL_ACTION","INTERNAL_HANDOFF"],"title":"Step Type"},"action_kind":{"type":"string","enum":["INTERNAL","EXTERNAL","INFORMATIONAL"],"title":"Action Kind"},"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description"},"due_start":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Due Start"},"due_end":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Due End"},"proof_required":{"type":"boolean","title":"Proof Required"},"proof_types":{"items":{"type":"string"},"type":"array","title":"Proof Types","default":[]},"source_refs":{"items":{"$ref":"#/components/schemas/SourceFactReference"},"type":"array","title":"Source Refs"},"target_product":{"anyOf":[{"type":"string","enum":["STUDY_PLAN","PRACTICE","ACES_PREDICT","COUNSELLOR","DOCUMENTS"]},{"type":"null"}],"title":"Target Product"},"handoff_receipt_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Handoff Receipt Id"},"completion_state":{"type":"string","enum":["PENDING","COMPLETED"],"title":"Completion State","default":"PENDING"},"external_execution_authorised":{"type":"boolean","enum":[false],"const":false,"title":"External Execution Authorised","default":false},"step_digest":{"type":"string","title":"Step Digest"}},"additionalProperties":false,"type":"object","required":["step_id","plan_id","position","source_step_key","step_type","action_kind","title","description","proof_required","source_refs","step_digest"],"title":"PlanStepProjection"},"PlanStepUpdate":{"properties":{"done":{"type":"boolean","title":"Done"}},"additionalProperties":false,"type":"object","required":["done"],"title":"PlanStepUpdate"},"PlanVersionRef":{"properties":{"plan_id":{"type":"string","format":"uuid","title":"Plan Id"},"version_no":{"type":"integer","minimum":1.0,"title":"Version No"},"digest":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Digest"}},"additionalProperties":false,"type":"object","required":["plan_id","version_no","digest"],"title":"PlanVersionRef"},"PolicyAct":{"properties":{"document_id":{"type":"string","maxLength":40,"minLength":3,"title":"Document Id"},"action":{"type":"string","title":"Action"},"version":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Version"},"effective_from":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Effective From"},"content_hash":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Content Hash"},"reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Reason"},"text":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Text"},"confirm_name":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Confirm Name"}},"type":"object","required":["document_id","action"],"title":"PolicyAct"},"PolicyActivateBody":{"properties":{"activation_receipt_ref":{"type":"string","maxLength":512,"minLength":1,"title":"Activation Receipt Ref"}},"additionalProperties":false,"type":"object","required":["activation_receipt_ref"],"title":"PolicyActivateBody"},"PolicyDefinition":{"properties":{"use":{"type":"string","maxLength":80,"minLength":1,"title":"Use"},"impact":{"type":"string","enum":["low","medium","high","critical"],"title":"Impact"},"version":{"type":"string","maxLength":80,"minLength":1,"title":"Version"},"required_dimensions":{"items":{"type":"string"},"type":"array","maxItems":10,"minItems":1,"title":"Required Dimensions"},"thresholds":{"additionalProperties":{"type":"number"},"type":"object","title":"Thresholds"},"conflict_tolerance":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Conflict Tolerance","default":0.15},"max_signal_age_seconds":{"type":"integer","maximum":31536000.0,"minimum":60.0,"title":"Max Signal Age Seconds","default":86400},"allowed_populations":{"items":{"type":"string"},"type":"array","title":"Allowed Populations"},"state":{"type":"string","enum":["DRAFT","REVIEWED","ACTIVE","RETIRED"],"title":"State","default":"DRAFT"}},"type":"object","required":["use","impact","version","required_dimensions","thresholds"],"title":"PolicyDefinition"},"PolicyRetireBody":{"properties":{"retirement_receipt_ref":{"type":"string","maxLength":512,"minLength":1,"title":"Retirement Receipt Ref"}},"additionalProperties":false,"type":"object","required":["retirement_receipt_ref"],"title":"PolicyRetireBody"},"PolicyStageBody":{"properties":{"policy_ref":{"type":"string","maxLength":512,"minLength":1,"title":"Policy Ref"},"policy_version":{"type":"string","maxLength":80,"minLength":1,"title":"Policy Version"},"definition_ref":{"type":"string","maxLength":512,"minLength":1,"title":"Definition Ref"},"material_change_fields":{"items":{"type":"string"},"type":"array","maxItems":4,"minItems":1,"title":"Material Change Fields"},"idempotency_key":{"type":"string","maxLength":160,"minLength":8,"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["policy_ref","policy_version","definition_ref","material_change_fields","idempotency_key"],"title":"PolicyStageBody"},"PortfolioAddRequest":{"properties":{"demonstrates":{"type":"string","maxLength":500,"minLength":1,"title":"Demonstrates"},"permission":{"type":"string","enum":["OWN_WORK","PERMITTED","UNCLEAR"],"title":"Permission"},"service_id":{"anyOf":[{"type":"string","maxLength":36,"minLength":36},{"type":"null"}],"title":"Service Id"},"asset_ref":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}],"title":"Asset Ref"},"idempotency_key":{"type":"string","maxLength":80,"minLength":8,"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["demonstrates","permission","idempotency_key"],"title":"PortfolioAddRequest"},"PortfolioDecision":{"properties":{"reason":{"type":"string","maxLength":1000,"minLength":8,"title":"Reason"},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Evidence Refs"},"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"decision":{"type":"string","enum":["CONTINUE","HOLD","STOP","REALLOCATE"],"title":"Decision"},"transition_plan":{"type":"string","maxLength":1000,"minLength":8,"title":"Transition Plan"},"approval_id":{"type":"string","format":"uuid","title":"Approval Id"}},"additionalProperties":false,"type":"object","required":["reason","expected_version","decision","transition_plan","approval_id"],"title":"PortfolioDecision"},"PositionEligibility":{"properties":{"position":{"type":"integer","minimum":1.0,"title":"Position"},"option_id":{"type":"string","title":"Option Id"},"institution_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Institution Name"},"programme_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Programme Name"},"state":{"type":"string","enum":["CHECKED","STALE","NOT_CHECKED","UNAVAILABLE"],"title":"State"},"band":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Band"},"abstain_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Abstain Reason"},"sentence":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sentence"},"checked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Checked At"},"check_receipt_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Check Receipt Id"},"rule_release_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rule Release Ref"},"college_lane":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"College Lane"},"not_checked_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Not Checked Reason"}},"additionalProperties":false,"type":"object","required":["position","option_id","state"],"title":"PositionEligibility"},"PositionSource":{"properties":{"position":{"type":"integer","minimum":1.0,"title":"Position"},"option_id":{"type":"string","title":"Option Id"},"institution_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Institution Id"},"programme_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Programme Id"},"institution_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Institution Name"},"programme_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Programme Name"},"cutoff_source":{"anyOf":[{"$ref":"#/components/schemas/SourceFact"},{"type":"null"}]},"rule_source":{"anyOf":[{"$ref":"#/components/schemas/SourceFact"},{"type":"null"}]},"state":{"type":"string","enum":["CURRENT","SUPERSEDED","UNKNOWN"],"title":"State"},"unknown_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unknown Reason"}},"additionalProperties":false,"type":"object","required":["position","option_id","state"],"title":"PositionSource"},"PowerBody":{"properties":{"level":{"type":"string","pattern":"^(none|see|act)$","title":"Level"}},"type":"object","required":["level"],"title":"PowerBody"},"PracticeRankSuccessorRequest":{"properties":{"attempt_refs":{"items":{"type":"object"},"type":"array","minItems":1,"title":"Attempt Refs"},"feature_snapshot":{"type":"object","title":"Feature Snapshot"},"low_rank":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Low Rank"},"high_rank":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"High Rank"}},"additionalProperties":false,"type":"object","required":["attempt_refs"],"title":"PracticeRankSuccessorRequest"},"PredictMutationEnvelope":{"properties":{"receipt":{"type":"object","title":"Receipt"},"resource":{"type":"object","title":"Resource"}},"additionalProperties":false,"type":"object","required":["receipt","resource"],"title":"PredictMutationEnvelope"},"PredictionContextUpsertRequest":{"properties":{"context_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Context Id"},"exam_type":{"type":"string","title":"Exam Type"},"input_source":{"type":"string","enum":["typed"],"const":"typed","title":"Input Source","default":"typed"},"payload":{"type":"object","title":"Payload"},"entered_at_product":{"type":"string","title":"Entered At Product"},"entry_mode":{"type":"string","title":"Entry Mode","default":"menu"},"seo_source_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Seo Source Slug"}},"type":"object","required":["exam_type","entered_at_product"],"title":"PredictionContextUpsertRequest"},"PredictionCorrectionRequest":{"properties":{"reason_code":{"type":"string","maxLength":120,"minLength":3,"title":"Reason Code"}},"additionalProperties":false,"type":"object","required":["reason_code"],"title":"PredictionCorrectionRequest"},"PredictionDimensionsUpsertRequest":{"properties":{"context_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Context Id"},"exam_type":{"type":"string","enum":["JEE_MAIN","JEE_ADVANCED","NEET"],"title":"Exam Type"},"rank_universe":{"type":"string","maxLength":96,"minLength":2,"title":"Rank Universe"},"category_rank_kind":{"type":"string","enum":["OVERALL","CATEGORY"],"title":"Category Rank Kind"},"category":{"type":"string","enum":["General","OBC","EWS","SC","ST"],"title":"Category"},"gender_code":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Gender Code"},"quota":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Quota"},"domicile_scope":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Domicile Scope"},"domicile_state":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Domicile State"},"authority":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Authority"},"entry_mode":{"type":"string","enum":["menu","deeplink"],"title":"Entry Mode","default":"menu"}},"additionalProperties":false,"type":"object","required":["exam_type","rank_universe","category_rank_kind","category"],"title":"PredictionDimensionsUpsertRequest","description":"Mutable pre-decision context; immutable decisions copy this into a passport."},"PredictionOutcomeBody":{"properties":{"claim_id":{"type":"string","maxLength":128,"minLength":1,"title":"Claim Id"},"student_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Student Id"},"outcome_value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Outcome Value"},"outcome_unit":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Outcome Unit"},"outcome_label":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Outcome Label"},"outcome_payload":{"type":"object","title":"Outcome Payload"},"source_product_id":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Source Product Id"}},"type":"object","required":["claim_id"],"title":"PredictionOutcomeBody"},"PredictionParentProjectionRequest":{"properties":{"purpose":{"type":"string","enum":["academic_support","counselling_support"],"title":"Purpose","default":"academic_support"}},"additionalProperties":false,"type":"object","title":"PredictionParentProjectionRequest"},"PredictionRecoveryRef":{"properties":{"ref_type":{"type":"string","enum":["SEAT_DECISION","COLLEGE_DECISION","RANK_DECISION","NO_SEAT_RECEIPT"],"title":"Ref Type"},"ref_id":{"type":"string","format":"uuid","title":"Ref Id"},"ref_version":{"type":"integer","minimum":1.0,"title":"Ref Version"},"ref_digest":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Ref Digest"},"owner_id":{"type":"string","maxLength":160,"minLength":1,"title":"Owner Id"},"state":{"type":"string","maxLength":80,"minLength":2,"title":"State"}},"additionalProperties":false,"type":"object","required":["ref_type","ref_id","ref_version","ref_digest","owner_id","state"],"title":"PredictionRecoveryRef"},"PredictionThreadCreateRequest":{"properties":{"rank_decision_id":{"type":"string","maxLength":64,"minLength":8,"title":"Rank Decision Id"},"college_decision_id":{"type":"string","maxLength":64,"minLength":8,"title":"College Decision Id"},"seat_decision_id":{"anyOf":[{"type":"string","maxLength":64,"minLength":8},{"type":"null"}],"title":"Seat Decision Id"},"return_product":{"type":"string","enum":["rank","colleges","seat","suite_home"],"title":"Return Product","default":"seat"}},"additionalProperties":false,"type":"object","required":["rank_decision_id","college_decision_id"],"title":"PredictionThreadCreateRequest"},"PredictionThreadSaveRequest":{"properties":{"label":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Label"}},"additionalProperties":false,"type":"object","title":"PredictionThreadSaveRequest"},"PredimpHandoff":{"properties":{"handoff_type":{"type":"string","title":"Handoff Type","default":"PREDIMP_COLLEGE_REQUEST"},"durable_decision_owner":{"type":"string","title":"Durable Decision Owner","default":"PREDIMP"},"mutation_authorised":{"type":"boolean","title":"Mutation Authorised","default":false},"exam_type":{"type":"string","title":"Exam Type"},"rank":{"type":"integer","title":"Rank"},"rank_universe":{"type":"string","title":"Rank Universe"},"request_dimensions":{"type":"object","title":"Request Dimensions"},"request_digest":{"type":"string","title":"Request Digest"},"candidate_projection_digest":{"type":"string","title":"Candidate Projection Digest"},"candidate_option_ids":{"items":{"type":"string"},"type":"array","title":"Candidate Option Ids"}},"additionalProperties":false,"type":"object","required":["exam_type","rank","rank_universe","request_dimensions","request_digest","candidate_projection_digest","candidate_option_ids"],"title":"PredimpHandoff"},"PreferenceFieldInput":{"properties":{"field_path":{"type":"string","pattern":"^(common|admission|pathway)\\.[a-z0-9][a-z0-9_.-]{0,119}$","title":"Field Path"},"state":{"type":"string","enum":["KNOWN","UNKNOWN","CONTESTED","EXCLUDED"],"title":"State"},"value":{"anyOf":[{},{"type":"null"}],"title":"Value"},"source_kind":{"type":"string","enum":["STUDENT_DECLARED","PARENT_DECLARED","COUNSELLOR_RECORDED","EVIDENCE_DERIVED"],"title":"Source Kind","default":"STUDENT_DECLARED"},"evidence_refs":{"items":{"type":"string"},"type":"array","title":"Evidence Refs","default":[]},"source_receipt_ref":{"anyOf":[{"type":"string","maxLength":300,"minLength":4},{"type":"null"}],"title":"Source Receipt Ref"}},"additionalProperties":false,"type":"object","required":["field_path","state"],"title":"PreferenceFieldInput"},"PreferenceFieldProjection":{"properties":{"field_path":{"type":"string","title":"Field Path"},"state":{"type":"string","enum":["KNOWN","UNKNOWN","CONTESTED","EXCLUDED"],"title":"State"},"value":{"anyOf":[{},{"type":"null"}],"title":"Value"},"source_kind":{"type":"string","enum":["STUDENT_DECLARED","PARENT_DECLARED","COUNSELLOR_RECORDED","EVIDENCE_DERIVED"],"title":"Source Kind"},"evidence_refs":{"items":{"type":"string"},"type":"array","title":"Evidence Refs","default":[]},"source_receipt_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Receipt Ref"},"value_digest":{"type":"string","title":"Value Digest"}},"additionalProperties":false,"type":"object","required":["field_path","state","source_kind","value_digest"],"title":"PreferenceFieldProjection"},"PreferencePassportProjection":{"properties":{"passport_id":{"type":"string","format":"uuid","title":"Passport Id"},"owner_id":{"type":"string","title":"Owner Id"},"status":{"type":"string","enum":["DRAFT","ACTIVE","SUPERSEDED","REVOKED"],"title":"Status"},"current_version_id":{"type":"string","format":"uuid","title":"Current Version Id"},"current_version":{"$ref":"#/components/schemas/PreferenceVersionProjection"},"resource_version":{"type":"integer","minimum":1.0,"title":"Resource Version"},"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":["passport_id","owner_id","status","current_version_id","current_version","resource_version","created_at","updated_at"],"title":"PreferencePassportProjection"},"PreferenceUpdate":{"properties":{"notification_dpp_reminder":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Notification Dpp Reminder"},"notification_grade_ready":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Notification Grade Ready"},"notification_rank_update":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Notification Rank Update"},"notification_parent_request":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Notification Parent Request"},"study_reminder_time":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Study Reminder Time"},"theme":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Theme"},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"},"daily_goal_minutes":{"anyOf":[{"type":"integer","maximum":480.0,"minimum":10.0},{"type":"null"}],"title":"Daily Goal Minutes"},"subjects_enabled":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Subjects Enabled"}},"type":"object","title":"PreferenceUpdate"},"PreferenceUpdateCommand":{"properties":{"recipient_id":{"type":"string","maxLength":128,"minLength":1,"title":"Recipient Id"},"audience":{"type":"string","enum":["student","parent","guardian","teacher","operator"],"title":"Audience"},"timezone_name":{"type":"string","maxLength":64,"minLength":3,"title":"Timezone Name","default":"Asia/Kolkata"},"enabled_channels":{"items":{"type":"string","enum":["in_app","push","email","sms","whatsapp"]},"type":"array","title":"Enabled Channels"},"quiet_start_minute":{"anyOf":[{"type":"integer","maximum":1439.0,"minimum":0.0},{"type":"null"}],"title":"Quiet Start Minute"},"quiet_end_minute":{"anyOf":[{"type":"integer","maximum":1439.0,"minimum":0.0},{"type":"null"}],"title":"Quiet End Minute"},"daily_cap":{"anyOf":[{"type":"integer","maximum":50.0,"minimum":0.0},{"type":"null"}],"title":"Daily Cap"},"weekly_cap":{"anyOf":[{"type":"integer","maximum":200.0,"minimum":0.0},{"type":"null"}],"title":"Weekly Cap"},"disabled_families":{"items":{"type":"string"},"type":"array","maxItems":128,"title":"Disabled Families"},"state":{"type":"string","enum":["ACTIVE","DISABLED","REVOKED"],"title":"State","default":"ACTIVE"},"expected_version":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Expected Version"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os13_intervention_timing__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["recipient_id","audience","actor_id","evidence_refs"],"title":"PreferenceUpdateCommand"},"PreferenceVersionProjection":{"properties":{"passport_version_id":{"type":"string","format":"uuid","title":"Passport Version Id"},"passport_id":{"type":"string","format":"uuid","title":"Passport Id"},"owner_id":{"type":"string","title":"Owner Id"},"version_no":{"type":"integer","minimum":1.0,"title":"Version No"},"status":{"type":"string","enum":["ACTIVE","SUPERSEDED","REVOKED"],"title":"Status"},"purpose_scopes":{"items":{"type":"string","enum":["ADMISSION","PATHWAY","COMBINED"]},"type":"array","title":"Purpose Scopes"},"fields":{"items":{"$ref":"#/components/schemas/PreferenceFieldProjection"},"type":"array","title":"Fields"},"consent_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Consent Ref"},"supersedes_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Supersedes Version Id"},"content_digest":{"type":"string","title":"Content Digest"},"effective_at":{"type":"string","format":"date-time","title":"Effective At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"superseded_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Superseded At"}},"additionalProperties":false,"type":"object","required":["passport_version_id","passport_id","owner_id","version_no","status","purpose_scopes","fields","content_digest","effective_at","created_at"],"title":"PreferenceVersionProjection"},"PreferenceVersionReference":{"properties":{"passport_version_id":{"type":"string","format":"uuid","title":"Passport Version Id"},"version_no":{"type":"integer","minimum":1.0,"title":"Version No"},"content_digest":{"type":"string","title":"Content Digest"}},"additionalProperties":false,"type":"object","required":["passport_version_id","version_no","content_digest"],"title":"PreferenceVersionReference"},"PreferencesPatch":{"properties":{"pinned_product_ids":{"anyOf":[{"items":{"type":"string","maxLength":240,"minLength":1},"type":"array","maxItems":24},{"type":"null"}],"title":"Pinned Product Ids"},"favorite_product_ids":{"anyOf":[{"items":{"type":"string","maxLength":240,"minLength":1},"type":"array","maxItems":100},{"type":"null"}],"title":"Favorite Product Ids"},"hidden_product_ids":{"anyOf":[{"items":{"type":"string","maxLength":240,"minLength":1},"type":"array","maxItems":100},{"type":"null"}],"title":"Hidden Product Ids"},"hidden_shelf_ids":{"anyOf":[{"items":{"type":"string","maxLength":240,"minLength":1},"type":"array","maxItems":100},{"type":"null"}],"title":"Hidden Shelf Ids"}},"additionalProperties":false,"type":"object","title":"PreferencesPatch","description":"Which products you pinned, hid or favourited.\n\nWritten to `home_user_discovery_preferences`, the record the Home already\nowns. There is no second preferences store, so this and the Home cannot\ndisagree -- they are the same row."},"PreflightEnvelopeRequest":{"properties":{"budget_id":{"type":"string","format":"uuid","title":"Budget Id"},"route_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":50,"minItems":1,"title":"Route Ids"},"reserve_ratio":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"string"}],"title":"Reserve Ratio","default":"0.10"}},"additionalProperties":false,"type":"object","required":["budget_id","route_ids"],"title":"PreflightEnvelopeRequest","description":"The family picks routes by id; the server prices them."},"PreflightProgrammeRequest":{"properties":{"programme_definition_ref":{"type":"string","maxLength":200,"minLength":1,"title":"Programme Definition Ref"},"term_ref":{"type":"string","maxLength":100,"minLength":1,"title":"Term Ref"},"grade_band":{"type":"string","maxLength":80,"minLength":1,"title":"Grade Band"},"requested_quantity":{"type":"integer","maximum":5000.0,"minimum":1.0,"title":"Requested Quantity"},"source_release_id":{"type":"string","maxLength":200,"minLength":1,"title":"Source Release Id"},"policy_version":{"type":"string","maxLength":40,"minLength":1,"title":"Policy Version"},"provider_requirements":{"items":{"$ref":"#/components/schemas/ProviderRequirementInput"},"type":"array","title":"Provider Requirements","default":[]}},"additionalProperties":false,"type":"object","required":["programme_definition_ref","term_ref","grade_band","requested_quantity","source_release_id","policy_version"],"title":"PreflightProgrammeRequest"},"PreflightSponsorshipRequest":{"properties":{"target_definition_ref":{"type":"string","maxLength":200,"minLength":2,"title":"Target Definition Ref"},"offer_version_id":{"type":"string","format":"uuid","title":"Offer Version Id"},"beneficiary_student_id":{"type":"string","maxLength":160,"minLength":1,"title":"Beneficiary Student Id"},"return_nonce":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Return Nonce"}},"additionalProperties":false,"type":"object","required":["target_definition_ref","offer_version_id","beneficiary_student_id"],"title":"PreflightSponsorshipRequest"},"PreparationBody":{"properties":{"done_item_ids":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":60},{"type":"null"}],"title":"Done Item Ids"},"draft_lines":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":3},{"type":"null"}],"title":"Draft Lines"}},"additionalProperties":false,"type":"object","title":"PreparationBody"},"PresenceBody":{"properties":{"scope":{"type":"string","pattern":"^(aspireace|trututor|all)$","title":"Scope","default":"aspireace"}},"type":"object","title":"PresenceBody"},"PresentRecoveryOptionsRequest":{"properties":{"instance_ref":{"type":"string","format":"uuid","title":"Instance Ref"},"option_refs":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":20,"minItems":1,"title":"Option Refs"},"presentation_revision":{"type":"integer","minimum":1.0,"title":"Presentation Revision"}},"additionalProperties":false,"type":"object","required":["instance_ref","option_refs","presentation_revision"],"title":"PresentRecoveryOptionsRequest"},"PresentationPreferenceCommand":{"properties":{"density":{"type":"string","enum":["STANDARD","FOCUS","EXPANDED"],"title":"Density"},"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version"},"attempt_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Attempt Id"}},"additionalProperties":false,"type":"object","required":["density","expected_version"],"title":"PresentationPreferenceCommand","description":"HU-15's bounded preference: presentation only, never composition."},"PreviewChoiceListRequest":{"properties":{"exam_type":{"type":"string","maxLength":80,"minLength":1,"title":"Exam Type"},"body_key":{"type":"string","maxLength":120,"minLength":1,"title":"Body Key"},"year":{"type":"integer","maximum":2100.0,"minimum":1990.0,"title":"Year"},"options":{"items":{"$ref":"#/components/schemas/BuilderLine"},"type":"array","maxItems":80,"minItems":1,"title":"Options"},"inputs":{"allOf":[{"$ref":"#/components/schemas/FamilyInputs"}],"default":{"wanted_branches":[],"rejected_branches":[],"wanted_institutes":[],"rejected_institutes":[],"home_state_seats_first":false,"fees_unknown_ok":true}},"locks":{"items":{"$ref":"#/components/schemas/OrderLock"},"type":"array","title":"Locks","default":[]},"precedence":{"items":{"$ref":"#/components/schemas/OrderPrecedence"},"type":"array","title":"Precedence","default":[]}},"additionalProperties":false,"type":"object","required":["exam_type","body_key","year","options"],"title":"PreviewChoiceListRequest"},"PreviewProjection":{"properties":{"preview_id":{"type":"string","format":"uuid","title":"Preview Id"},"graph_release_id":{"type":"string","format":"uuid","title":"Graph Release Id"},"context_digest":{"type":"string","title":"Context Digest"},"families_shown":{"type":"integer","minimum":0.0,"title":"Families Shown"},"families_withheld":{"type":"integer","minimum":0.0,"title":"Families Withheld"},"limit_rule":{"type":"string","enum":["NONE_PUBLISHED"],"const":"NONE_PUBLISHED","title":"Limit Rule","default":"NONE_PUBLISHED"},"family_names":{"items":{"type":"string"},"type":"array","title":"Family Names","default":[]},"state":{"type":"string","enum":["PREVIEW_READY","NO_PUBLISHED_ROUTES"],"title":"State"},"reason_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason Code"},"message":{"type":"string","title":"Message"},"labelled_preview":{"type":"boolean","enum":[true],"const":true,"title":"Labelled Preview","default":true}},"additionalProperties":false,"type":"object","required":["preview_id","graph_release_id","context_digest","families_shown","families_withheld","state","message"],"title":"PreviewProjection"},"PriceBody":{"properties":{"price_state":{"type":"string","enum":["OFF","ON"],"title":"Price State"},"amount_minor":{"anyOf":[{"type":"integer","maximum":10000000.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Amount Minor"},"commerce_offer_receipt_ref":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Commerce Offer Receipt Ref"},"note":{"type":"string","maxLength":500,"minLength":3,"title":"Note"}},"additionalProperties":false,"type":"object","required":["price_state","note"],"title":"PriceBody","description":"A new version of the price setting. OFF means free; ON needs an amount and the reviewed offer."},"PricingUpdate":{"properties":{"price_amount":{"anyOf":[{"type":"number","maximum":10000000.0,"minimum":0.0},{"type":"string"}],"title":"Price Amount"},"hours_assumed":{"anyOf":[{"type":"number","maximum":168.0,"minimum":0.0},{"type":"string"}],"title":"Hours Assumed"},"rationale_text":{"type":"string","maxLength":1000,"minLength":1,"title":"Rationale Text"},"expected_version":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Expected Version"}},"additionalProperties":false,"type":"object","required":["price_amount","hours_assumed","rationale_text"],"title":"PricingUpdate"},"PrintAssignmentBody":{"properties":{"student_id":{"type":"string","title":"Student Id"},"sitting_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sitting Id"},"paper_revision":{"type":"string","title":"Paper Revision","default":"1"},"destination_custody_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Destination Custody Ref"},"quantity":{"type":"integer","title":"Quantity","default":1},"consent_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Consent Ref"},"payer_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payer Ref"},"roster_recipient_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Roster Recipient Ref"},"beneficiary_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Beneficiary Ref"},"idempotency_key":{"type":"string","title":"Idempotency Key"},"expected_revision":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expected Revision"},"payload_digest":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payload Digest"}},"type":"object","required":["student_id","idempotency_key"],"title":"PrintAssignmentBody"},"PrioritiesIn":{"properties":{"items":{"items":{"type":"string"},"type":"array","maxItems":16,"title":"Items","default":[]},"preset":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Preset"}},"additionalProperties":false,"type":"object","title":"PrioritiesIn","description":"What the family said mattered, in the order they said it."},"PrivacyCheckCommand":{"properties":{"subject_id":{"type":"string","maxLength":128,"minLength":1,"title":"Subject Id"},"subject_age_years":{"anyOf":[{"type":"integer","maximum":120.0,"minimum":1.0},{"type":"null"}],"title":"Subject Age Years"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"actor_class":{"type":"string","enum":["student","parent","teacher","operator","system"],"title":"Actor Class"},"purpose":{"type":"string","maxLength":120,"minLength":2,"title":"Purpose"},"required_scopes":{"items":{"type":"string"},"type":"array","maxItems":32,"minItems":1,"title":"Required Scopes"},"data_categories":{"items":{"type":"string"},"type":"array","maxItems":64,"title":"Data Categories"},"surface":{"type":"string","maxLength":120,"minLength":2,"title":"Surface"},"privacy_class":{"type":"string","enum":["standard","student_private","guardian_visible","sensitive","minor_sensitive","public"],"title":"Privacy Class","default":"student_private"}},"additionalProperties":false,"type":"object","required":["subject_id","actor_id","actor_class","purpose","required_scopes","surface"],"title":"PrivacyCheckCommand"},"PrivacyClass":{"type":"string","enum":["PUBLIC","INTERNAL","CONFIDENTIAL","RESTRICTED"],"title":"PrivacyClass"},"PrivilegedSessionCreateRequest":{"properties":{"identity_id":{"type":"string","format":"uuid","title":"Identity Id"},"assurance_level":{"$ref":"#/components/schemas/AssuranceLevel"},"reason":{"type":"string","maxLength":2000,"minLength":8,"title":"Reason"},"incident_ref":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Incident Ref"},"tenant_scope":{"$ref":"#/components/schemas/TenantScope"},"entity_scope":{"$ref":"#/components/schemas/EntityScope"},"risk_ceiling":{"$ref":"#/components/schemas/RiskLevel"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"approval_receipt_id":{"type":"string","format":"uuid","title":"Approval Receipt Id"}},"additionalProperties":false,"type":"object","required":["identity_id","assurance_level","reason","tenant_scope","entity_scope","risk_ceiling","expires_at","approval_receipt_id"],"title":"PrivilegedSessionCreateRequest"},"ProcessingBody":{"properties":{"stopped":{"type":"boolean","title":"Stopped"}},"additionalProperties":false,"type":"object","required":["stopped"],"title":"ProcessingBody"},"Product":{"type":"string","enum":["aspireace","trututor"],"title":"Product"},"ProductBody":{"properties":{"product_ref":{"type":"string","maxLength":80,"minLength":3,"title":"Product Ref"},"edition_ref":{"type":"string","maxLength":80,"minLength":3,"title":"Edition Ref"},"title":{"type":"string","maxLength":160,"minLength":3,"title":"Title"},"subject":{"type":"string","maxLength":60,"title":"Subject","default":""},"exam":{"type":"string","maxLength":60,"title":"Exam","default":""},"status":{"type":"string","maxLength":10,"title":"Status","default":"LISTED"}},"additionalProperties":false,"type":"object","required":["product_ref","edition_ref","title"],"title":"ProductBody"},"ProductCandidate":{"properties":{"candidate_id":{"type":"string","maxLength":128,"minLength":1,"title":"Candidate Id"},"kind":{"type":"string","enum":["learning","practice","repair","content","teacher","marketplace","commerce","parent"],"title":"Kind"},"product_key":{"type":"string","maxLength":128,"minLength":1,"title":"Product Key"},"route":{"type":"string","maxLength":200,"minLength":1,"title":"Route"},"label":{"type":"string","maxLength":160,"minLength":1,"title":"Label"},"utility_score":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Utility Score","default":0},"reason_codes":{"items":{"type":"string"},"type":"array","maxItems":12,"title":"Reason Codes"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os08_product_thread__models__EvidenceRef"},"type":"array","maxItems":24,"title":"Evidence Refs"},"suppressible":{"type":"boolean","title":"Suppressible","default":true},"metadata":{"type":"object","title":"Metadata"}},"type":"object","required":["candidate_id","kind","product_key","route","label"],"title":"ProductCandidate"},"ProductCard":{"properties":{"card_id":{"type":"string","title":"Card Id"},"card_type":{"type":"string","enum":["exam","admission_route","counselling_system","programme_route"],"title":"Card Type"},"title":{"type":"string","title":"Title"},"subtitle":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subtitle"},"badges":{"items":{"type":"string"},"type":"array","title":"Badges"},"facts":{"items":{"additionalProperties":{"type":"string"},"type":"object"},"type":"array","title":"Facts"},"source_count":{"type":"integer","title":"Source Count","default":0},"source_state":{"type":"string","title":"Source State"},"detail_path":{"type":"string","title":"Detail Path"},"decision_output":{"type":"boolean","title":"Decision Output","default":false}},"additionalProperties":false,"type":"object","required":["card_id","card_type","title","source_state","detail_path"],"title":"ProductCard"},"ProductContextTransition":{"properties":{"consumer_id":{"type":"string","enum":["mock","grade","dpp","plan","today","home","strengths_weaknesses","drill_practice","ncert","pyq","notes_assets","search_ask_socratic","os07_repair","chapter_mastery_certificates","home_os_aos","trututor","parent_surfaces"],"title":"Consumer Id"},"transition":{"type":"string","enum":["ENTRY","ACTION","RECEIPT","RETURN"],"title":"Transition"},"route":{"type":"string","maxLength":512,"pattern":"^/[^ ]*$","title":"Route"},"os01_concept_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Os01 Concept Id"},"object_namespace":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Object Namespace"},"object_id":{"anyOf":[{"type":"string","maxLength":300,"minLength":1},{"type":"null"}],"title":"Object Id"},"source_receipt_ref":{"anyOf":[{"type":"string","maxLength":500,"minLength":4},{"type":"null"}],"title":"Source Receipt Ref"},"predecessor_receipt_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Predecessor Receipt Id"},"expected_context_hash":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}],"title":"Expected Context Hash"},"metadata":{"type":"object","title":"Metadata"}},"additionalProperties":false,"type":"object","required":["consumer_id","transition","route"],"title":"ProductContextTransition"},"ProductListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ProductRead"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["items","total"],"title":"ProductListResponse"},"ProductRead":{"properties":{"product_id":{"type":"string","title":"Product Id"},"cluster_id":{"type":"string","title":"Cluster Id"},"surface":{"type":"string","title":"Surface"},"title":{"type":"string","title":"Title"},"subtitle":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subtitle"},"icon_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icon Name"},"required_tier":{"type":"string","title":"Required Tier"},"exam_targets":{"items":{"type":"string"},"type":"array","title":"Exam Targets"},"status":{"type":"string","title":"Status"},"default_priority":{"type":"integer","title":"Default Priority"},"cta_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cta Label"},"deeplink":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Deeplink"},"eligible_slot_types":{"items":{"type":"string"},"type":"array","title":"Eligible Slot Types","default":[]},"intent_group":{"type":"string","title":"Intent Group","default":"LIBRARY"},"home_candidate_allowed":{"type":"boolean","title":"Home Candidate Allowed","default":false},"fallback_product":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fallback Product"},"preview_available":{"type":"boolean","title":"Preview Available","default":false},"user_tier":{"type":"string","title":"User Tier","default":"FREE"},"is_locked":{"type":"boolean","title":"Is Locked","default":false},"lock_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lock Reason"},"upgrade_tier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Upgrade Tier"}},"type":"object","required":["product_id","cluster_id","surface","title","required_tier","exam_targets","status","default_priority"],"title":"ProductRead"},"ProductReceiptRequest":{"properties":{"candidate_commit":{"type":"string","pattern":"^[a-f0-9]{40}$","title":"Candidate Commit"},"graph_release_id":{"type":"string","format":"uuid","title":"Graph Release Id"},"graph_release_digest":{"type":"string","title":"Graph Release Digest"},"model_card_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Model Card Ids"},"open_correction_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Open Correction Ids","default":[]},"evidence":{"items":{"$ref":"#/components/schemas/RuntimeEvidenceItem"},"type":"array","maxItems":100,"minItems":1,"title":"Evidence"},"external_gates":{"items":{"type":"string"},"type":"array","title":"External Gates"},"receipt_policy_version":{"type":"string","maxLength":100,"minLength":3,"title":"Receipt Policy Version"}},"additionalProperties":false,"type":"object","required":["candidate_commit","graph_release_id","graph_release_digest","model_card_ids","evidence","external_gates","receipt_policy_version"],"title":"ProductReceiptRequest"},"ProductSurfaceResponse":{"properties":{"availability":{"$ref":"#/components/schemas/Availability"},"publication_state":{"$ref":"#/components/schemas/PublicationState"},"coverage":{"$ref":"#/components/schemas/CoverageDisclosure"},"source_disclosure":{"items":{"$ref":"#/components/schemas/SourceDisclosure"},"type":"array","title":"Source Disclosure"},"limitations":{"items":{"type":"string"},"type":"array","title":"Limitations"},"authority_boundary":{"$ref":"#/components/schemas/AuthorityBoundary"},"surface":{"type":"string","title":"Surface"},"cards":{"items":{"$ref":"#/components/schemas/ProductCard"},"type":"array","title":"Cards"}},"additionalProperties":false,"type":"object","required":["availability","publication_state","coverage","surface"],"title":"ProductSurfaceResponse"},"ProductThreadContext":{"properties":{"thread_id":{"type":"string","format":"uuid","title":"Thread Id"},"student_id":{"type":"string","maxLength":128,"minLength":1,"title":"Student Id"},"host_surface":{"type":"string","enum":["home","grade_result","ask","practice","repair","notes","ncert","pyq","marketplace"],"title":"Host Surface"},"source_route":{"type":"string","maxLength":160,"minLength":1,"title":"Source Route"},"required_action":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Required Action"},"concept_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Concept Id"},"subject_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Subject Id"},"active_loop_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Active Loop Id"},"repair_episode_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Repair Episode Id"},"assessment_attempt_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assessment Attempt Id"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os08_product_thread__models__EvidenceRef"},"type":"array","maxItems":24,"title":"Evidence Refs"},"max_candidates":{"type":"integer","maximum":5.0,"minimum":1.0,"title":"Max Candidates","default":3},"purpose":{"type":"string","maxLength":64,"title":"Purpose","default":"learning_support"}},"type":"object","required":["student_id","host_surface","source_route"],"title":"ProductThreadContext"},"ProfileBody":{"properties":{"stage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stage"},"home_state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Home State"},"home_district":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Home District"},"weekly_hours_available":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Weekly Hours Available"},"remote_ok":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Remote Ok"}},"additionalProperties":false,"type":"object","title":"ProfileBody"},"ProgrammeCreate":{"properties":{"reason":{"type":"string","maxLength":1000,"minLength":8,"title":"Reason"},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Evidence Refs"},"programme_id":{"type":"string","maxLength":80,"minLength":3,"pattern":"^[A-Za-z0-9._-]+$","title":"Programme Id"},"name":{"type":"string","maxLength":240,"minLength":4,"title":"Name"},"outcome":{"type":"string","maxLength":1000,"minLength":8,"title":"Outcome"},"owner_ref":{"type":"string","maxLength":160,"minLength":2,"title":"Owner Ref"},"priority":{"type":"string","enum":["P0","P1","P2","P3"],"title":"Priority","default":"P1"},"stage":{"type":"string","maxLength":40,"minLength":2,"title":"Stage","default":"S1"}},"additionalProperties":false,"type":"object","required":["reason","programme_id","name","outcome","owner_ref"],"title":"ProgrammeCreate"},"ProgrammeCreateBody":{"properties":{"exam_lane":{"type":"string","maxLength":32,"minLength":1,"title":"Exam Lane"},"subject_scope":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Subject Scope"},"paper_ref":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Paper Ref"},"marking_policy_ref":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Marking Policy Ref"},"command_key":{"type":"string","maxLength":240,"minLength":1,"title":"Command Key"}},"type":"object","required":["exam_lane","command_key"],"title":"ProgrammeCreateBody"},"ProgrammeExecutionFreezeCommand":{"properties":{"schema_version":{"type":"string","enum":["os01.programme-execution-freeze.v1"],"const":"os01.programme-execution-freeze.v1","title":"Schema Version"},"release_scope":{"type":"string","maxLength":120,"minLength":3,"title":"Release Scope"},"personal_source_commit_sha":{"type":"string","pattern":"^[0-9a-f]{40}$","title":"Personal Source Commit Sha"},"target_commit_sha":{"type":"string","pattern":"^[0-9a-f]{40}$","title":"Target Commit Sha"},"cloudfront_manifest_url":{"type":"string","maxLength":256,"pattern":"^https://(app\\.)?aspireace\\.in/deployment-manifest\\.json$","title":"Cloudfront Manifest Url"},"cloudfront_manifest_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Cloudfront Manifest Sha256"},"expected_snapshot_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Expected Snapshot Sha256"},"maker_id":{"type":"string","maxLength":256,"minLength":1,"title":"Maker Id"},"authorization_ref":{"type":"string","maxLength":1000,"minLength":3,"title":"Authorization Ref"},"authorization_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Authorization Sha256"},"reason":{"type":"string","maxLength":2000,"minLength":3,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["schema_version","release_scope","personal_source_commit_sha","target_commit_sha","cloudfront_manifest_url","cloudfront_manifest_sha256","expected_snapshot_sha256","maker_id","authorization_ref","authorization_sha256","reason"],"title":"ProgrammeExecutionFreezeCommand","description":"Freeze one exact full-programme starting truth in shadow mode.\n\nRuntime, database, migration, registry and inventory identities are derived\nby the server.  The command carries only externally visible Git/frontend\nprovenance plus the digest returned by the immediately preceding plan."},"ProgrammeStateChange":{"properties":{"reason":{"type":"string","maxLength":1000,"minLength":8,"title":"Reason"},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Evidence Refs"},"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"state":{"type":"string","enum":["ACTIVE","HELD","RESUMED","EXITED"],"title":"State"}},"additionalProperties":false,"type":"object","required":["reason","expected_version","state"],"title":"ProgrammeStateChange"},"ProjectCreateRequest":{"properties":{"brief_id":{"type":"string","maxLength":120,"minLength":1,"title":"Brief Id"},"brief_version":{"type":"integer","maximum":10000.0,"minimum":1.0,"title":"Brief Version"},"declared_role":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Declared Role"},"request_id":{"type":"string","maxLength":128,"minLength":1,"title":"Request Id"},"entry_mode":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Entry Mode"}},"additionalProperties":false,"type":"object","required":["brief_id","brief_version","request_id"],"title":"ProjectCreateRequest"},"ProjectionReceiptCommand":{"properties":{"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version"},"projection_digest":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Projection Digest"},"entry_mode":{"type":"string","pattern":"^[a-z0-9][a-z0-9._:-]{2,120}$","title":"Entry Mode"}},"additionalProperties":false,"type":"object","required":["expected_version","projection_digest","entry_mode"],"title":"ProjectionReceiptCommand"},"ProjectionRequest":{"properties":{"audience_type":{"type":"string","enum":["OWNER","PARENT","COUNSELLOR","INSTITUTION"],"title":"Audience Type"},"audience_id":{"type":"string","maxLength":160,"minLength":1,"title":"Audience Id"},"relationship_ref":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Relationship Ref"},"consent_ref":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Consent Ref"},"journey":{"$ref":"#/components/schemas/JourneySnapshot"}},"additionalProperties":false,"type":"object","required":["audience_type","audience_id","journey"],"title":"ProjectionRequest"},"ProjectionRunRequest":{"properties":{"limit":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Limit","default":100}},"additionalProperties":false,"type":"object","title":"ProjectionRunRequest"},"PromptIn":{"properties":{"os01_concept_id":{"type":"string","title":"Os01 Concept Id"},"prompt_group_key":{"type":"string","title":"Prompt Group Key"},"language":{"type":"string","title":"Language"},"prompt_text":{"type":"string","maxLength":600,"minLength":1,"title":"Prompt Text"},"prompt_style":{"type":"string","title":"Prompt Style","default":"explain_to_a_friend"},"understanding_rubric":{"items":{"$ref":"#/components/schemas/RubricElementIn"},"type":"array","title":"Understanding Rubric"},"candidate_misconceptions":{"items":{"type":"string"},"type":"array","maxItems":12,"title":"Candidate Misconceptions"},"estimated_minutes":{"type":"integer","maximum":20.0,"minimum":1.0,"title":"Estimated Minutes","default":4},"subject":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Subject"},"source_ref":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Source Ref"}},"additionalProperties":false,"type":"object","required":["os01_concept_id","prompt_group_key","language","prompt_text","understanding_rubric"],"title":"PromptIn"},"ProofArtifactCommand":{"properties":{"artifact_id":{"type":"string","format":"uuid","title":"Artifact Id"},"candidate_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Candidate Id"},"manifest_sha256":{"anyOf":[{"type":"string","maxLength":64,"minLength":64,"pattern":"^[a-fA-F0-9]{64}$"},{"type":"null"}],"title":"Manifest Sha256"},"requirement_id":{"type":"string","format":"uuid","title":"Requirement Id"},"release_scope":{"type":"string","maxLength":120,"minLength":2,"title":"Release Scope"},"commit_sha":{"type":"string","maxLength":64,"minLength":7,"title":"Commit Sha"},"environment":{"type":"string","maxLength":120,"minLength":2,"title":"Environment"},"proof_class":{"type":"string","enum":["static","unit","integration","migration","browser","accessibility","privacy","telemetry","rollback","human_review"],"title":"Proof Class"},"command":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Command"},"artifact_uri":{"type":"string","maxLength":500,"minLength":3,"title":"Artifact Uri"},"result":{"type":"string","enum":["PASS","FAIL","BLOCKED","NOT_RUN","WAIVED"],"title":"Result"},"executed":{"type":"boolean","title":"Executed","default":false},"executed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Executed At"},"duration_ms":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Duration Ms"},"browser_matrix":{"type":"object","title":"Browser Matrix"},"summary":{"type":"string","maxLength":1200,"minLength":1,"title":"Summary"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os18_release_gate__models__EvidenceRef"},"type":"array","maxItems":32,"title":"Evidence Refs"},"metadata":{"type":"object","title":"Metadata"}},"additionalProperties":false,"type":"object","required":["requirement_id","release_scope","commit_sha","environment","proof_class","artifact_uri","result","summary","actor_id"],"title":"ProofArtifactCommand"},"ProofArtifactCreate":{"properties":{"artifact_type":{"type":"string","maxLength":64,"title":"Artifact Type","default":"grade_receipt"},"product_id":{"type":"string","maxLength":96,"title":"Product Id","default":"ai-grader"},"concept_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Concept Id"},"source_event_id":{"type":"string","maxLength":160,"minLength":1,"title":"Source Event Id"},"proof_status":{"type":"string","maxLength":32,"title":"Proof Status","default":"verified"},"confidence":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Confidence"},"payload":{"type":"object","title":"Payload"}},"type":"object","required":["source_event_id"],"title":"ProofArtifactCreate"},"ProofClaim":{"properties":{"claim_key":{"type":"string","maxLength":120,"minLength":1,"title":"Claim Key"},"claim_value":{"title":"Claim Value"},"material":{"type":"boolean","title":"Material","default":true}},"type":"object","required":["claim_key","claim_value"],"title":"ProofClaim"},"ProofRequirementCommand":{"properties":{"requirement_id":{"type":"string","format":"uuid","title":"Requirement Id"},"release_scope":{"type":"string","maxLength":120,"minLength":2,"title":"Release Scope"},"os_id":{"type":"string","maxLength":16,"minLength":2,"title":"Os Id"},"proof_class":{"type":"string","enum":["static","unit","integration","migration","browser","accessibility","privacy","telemetry","rollback","human_review"],"title":"Proof Class"},"title":{"type":"string","maxLength":240,"minLength":3,"title":"Title"},"required_command":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Required Command"},"required_environment":{"type":"string","maxLength":120,"minLength":2,"title":"Required Environment"},"criticality":{"type":"string","enum":["advisory","required","critical"],"title":"Criticality","default":"required"},"owner":{"type":"string","maxLength":128,"minLength":1,"title":"Owner"},"valid_for_hours":{"type":"integer","maximum":2160.0,"minimum":1.0,"title":"Valid For Hours","default":72},"state":{"type":"string","enum":["ACTIVE","RETIRED"],"title":"State","default":"ACTIVE"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os18_release_gate__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["release_scope","os_id","proof_class","title","required_environment","owner","actor_id","evidence_refs"],"title":"ProofRequirementCommand"},"ProofReviewRequest":{"properties":{"piece_id":{"anyOf":[{"type":"string","maxLength":36,"minLength":36},{"type":"null"}],"title":"Piece Id"},"idempotency_key":{"type":"string","maxLength":80,"minLength":8,"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["idempotency_key"],"title":"ProofReviewRequest"},"ProofTransition":{"properties":{"reason":{"type":"string","maxLength":1000,"minLength":8,"title":"Reason"},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Evidence Refs"},"milestone_id":{"type":"string","maxLength":100,"minLength":3,"title":"Milestone Id"},"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"target_state":{"type":"string","enum":["EVIDENCE_PENDING","UNDER_REVIEW","ACCEPTED","REOPENED"],"title":"Target State"}},"additionalProperties":false,"type":"object","required":["reason","milestone_id","expected_version","target_state"],"title":"ProofTransition"},"ProposalBody":{"properties":{"start_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"},"entry_mode":{"type":"string","maxLength":64,"minLength":1,"title":"Entry Mode","default":"parent_console"}},"type":"object","title":"ProposalBody"},"ProposalDecisionBody":{"properties":{"action":{"type":"string","enum":["approve","request_lighter"],"title":"Action"},"entry_mode":{"type":"string","maxLength":64,"minLength":1,"title":"Entry Mode","default":"parent_console"}},"type":"object","required":["action"],"title":"ProposalDecisionBody"},"ProposeBody":{"properties":{"mode":{"type":"string","title":"Mode"},"sku_id":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Sku Id"},"minor_units":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Minor Units"},"reverts_offer_version_id":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Reverts Offer Version Id"},"body":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Body"},"source_ref":{"type":"string","maxLength":300,"minLength":3,"title":"Source Ref"},"readiness_receipt_ref":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Readiness Receipt Ref"},"offer_version_id":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Offer Version Id"},"provider_mode":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Provider Mode"},"reason":{"type":"string","maxLength":500,"minLength":3,"title":"Reason"}},"type":"object","required":["mode","source_ref","reason"],"title":"ProposeBody"},"ProviderBody":{"properties":{"provider_kind":{"type":"string","enum":["AA_TEAM","EXTERNAL"],"title":"Provider Kind"},"display_name":{"type":"string","maxLength":120,"minLength":2,"title":"Display Name"},"need_codes":{"items":{"type":"string","enum":["CHOICE_FILLING","ROUND_DECISION","COLLEGE_OR_BRANCH","WHICH_COUNSELLING","DOCUMENTS_AND_REPORTING","FEES_AND_REFUNDS","OTHER"]},"type":"array","minItems":1,"title":"Need Codes"},"languages":{"items":{"type":"string","enum":["en","hi","bn","ta","te","mr","gu","kn","ml","pa","or"]},"type":"array","minItems":1,"title":"Languages"},"transport_kind":{"type":"string","enum":["AA_DESK","HTTPS_JSON","NONE"],"title":"Transport Kind"},"transport_endpoint":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Transport Endpoint"},"transport_secret_env":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Transport Secret Env"},"terms_ref":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Terms Ref"},"staff_account_ref":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Staff Account Ref"},"alert_email":{"anyOf":[{"type":"string","maxLength":200,"pattern":"^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$"},{"type":"null"}],"title":"Alert Email"},"alert_phone":{"anyOf":[{"type":"string","maxLength":16,"pattern":"^\\+?[0-9]{10,15}$"},{"type":"null"}],"title":"Alert Phone"},"priority":{"type":"integer","maximum":1000.0,"minimum":0.0,"title":"Priority","default":100},"max_open_requests":{"type":"integer","maximum":500.0,"minimum":1.0,"title":"Max Open Requests","default":20}},"additionalProperties":false,"type":"object","required":["provider_kind","display_name","need_codes","languages","transport_kind"],"title":"ProviderBody","description":"A provider row. Staff register it; the founder alone approves its terms."},"ProviderCandidate":{"properties":{"provider_id":{"type":"string","maxLength":120,"minLength":1,"title":"Provider Id"},"route_id":{"type":"string","maxLength":160,"minLength":1,"title":"Route Id"},"capabilities":{"items":{"type":"string"},"type":"array","title":"Capabilities"},"healthy":{"type":"boolean","title":"Healthy","default":true},"source_grounding":{"type":"boolean","title":"Source Grounding","default":false},"numeric_owner":{"type":"boolean","title":"Numeric Owner","default":false},"safety_qualified":{"type":"boolean","title":"Safety Qualified","default":true},"estimated_cost_micros":{"type":"integer","minimum":0.0,"title":"Estimated Cost Micros","default":0},"estimated_latency_ms":{"type":"integer","minimum":0.0,"title":"Estimated Latency Ms","default":0},"priority":{"type":"integer","minimum":0.0,"title":"Priority","default":100}},"additionalProperties":false,"type":"object","required":["provider_id","route_id"],"title":"ProviderCandidate"},"ProviderCapacityAck":{"properties":{"ack_id":{"type":"string","maxLength":200,"minLength":1,"title":"Ack Id"},"provider_ref":{"type":"string","maxLength":200,"minLength":1,"title":"Provider Ref"},"accepted_quantity":{"type":"integer","maximum":5000.0,"minimum":0.0,"title":"Accepted Quantity"},"status":{"type":"string","enum":["CONFIRMED","PENDING","UNKNOWN","REVOKED"],"title":"Status"},"response_digest":{"type":"string","title":"Response Digest"}},"additionalProperties":false,"type":"object","required":["ack_id","provider_ref","accepted_quantity","status","response_digest"],"title":"ProviderCapacityAck"},"ProviderIncidentCommand":{"properties":{"incident_id":{"type":"string","format":"uuid","title":"Incident Id"},"provider_id":{"type":"string","maxLength":80,"minLength":2,"title":"Provider Id"},"model_id":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Model Id"},"incident_type":{"type":"string","enum":["outage","latency","quality_regression","privacy_hold","budget_hold"],"title":"Incident Type"},"severity":{"type":"string","enum":["info","warning","critical"],"title":"Severity"},"state":{"type":"string","enum":["OPEN","RESOLVED"],"title":"State","default":"OPEN"},"reason":{"type":"string","maxLength":500,"minLength":2,"title":"Reason"},"starts_at":{"type":"string","format":"date-time","title":"Starts At"},"ends_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ends At"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os16_ai_routing__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["provider_id","incident_type","severity","reason","actor_id","evidence_refs"],"title":"ProviderIncidentCommand"},"ProviderModelCommand":{"properties":{"provider_id":{"type":"string","maxLength":80,"minLength":2,"title":"Provider Id"},"model_id":{"type":"string","maxLength":160,"minLength":2,"title":"Model Id"},"model_version":{"type":"string","maxLength":120,"minLength":1,"title":"Model Version"},"display_name":{"type":"string","maxLength":200,"minLength":1,"title":"Display Name"},"task_types":{"items":{"type":"string","enum":["text_tutor","vision_doubt","grading_feedback","content_generation","content_review","search_summarization","rank_reasoning","safety_triage","operator_analysis"]},"type":"array","maxItems":32,"minItems":1,"title":"Task Types"},"modalities":{"items":{"type":"string","enum":["text","vision","audio","pdf","tool"]},"type":"array","maxItems":8,"minItems":1,"title":"Modalities"},"capabilities":{"items":{"type":"string"},"type":"array","maxItems":64,"minItems":1,"title":"Capabilities"},"privacy_classes_allowed":{"items":{"type":"string","enum":["public","student_private","parent_private","safety_sensitive","pii_restricted","raw_media"]},"type":"array","maxItems":8,"minItems":1,"title":"Privacy Classes Allowed"},"context_window_tokens":{"type":"integer","maximum":2000000.0,"minimum":256.0,"title":"Context Window Tokens"},"max_output_tokens":{"type":"integer","maximum":200000.0,"minimum":64.0,"title":"Max Output Tokens"},"latency_p95_ms":{"type":"integer","maximum":300000.0,"minimum":1.0,"title":"Latency P95 Ms"},"input_cost_micro_usd_per_1k":{"type":"integer","maximum":10000000.0,"minimum":0.0,"title":"Input Cost Micro Usd Per 1K"},"output_cost_micro_usd_per_1k":{"type":"integer","maximum":10000000.0,"minimum":0.0,"title":"Output Cost Micro Usd Per 1K"},"quality_score":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Quality Score"},"supports_streaming":{"type":"boolean","title":"Supports Streaming","default":false},"supports_offline":{"type":"boolean","title":"Supports Offline","default":false},"external_provider":{"type":"boolean","title":"External Provider","default":true},"state":{"type":"string","enum":["AVAILABLE","DEGRADED","UNAVAILABLE","DISABLED"],"title":"State","default":"AVAILABLE"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os16_ai_routing__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["provider_id","model_id","model_version","display_name","task_types","modalities","capabilities","privacy_classes_allowed","context_window_tokens","max_output_tokens","latency_p95_ms","input_cost_micro_usd_per_1k","output_cost_micro_usd_per_1k","quality_score","actor_id","evidence_refs"],"title":"ProviderModelCommand"},"ProviderRequirementInput":{"properties":{"provider_type":{"type":"string","maxLength":80,"minLength":1,"title":"Provider Type"},"capability_codes":{"items":{"type":"string"},"type":"array","maxItems":50,"minItems":1,"title":"Capability Codes"},"required_quantity":{"type":"integer","maximum":5000.0,"minimum":1.0,"title":"Required Quantity"},"window_start":{"type":"string","format":"date-time","title":"Window Start"},"window_end":{"type":"string","format":"date-time","title":"Window End"},"capacity_ref":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Capacity Ref"}},"additionalProperties":false,"type":"object","required":["provider_type","capability_codes","required_quantity","window_start","window_end"],"title":"ProviderRequirementInput"},"ProviderReturnAliasBody":{"properties":{"provider_intent_id":{"type":"string","maxLength":240,"minLength":3,"title":"Provider Intent Id"},"checkout_id":{"type":"string","maxLength":120,"minLength":3,"title":"Checkout Id"}},"additionalProperties":false,"type":"object","required":["provider_intent_id","checkout_id"],"title":"ProviderReturnAliasBody"},"ProviderReturnBody":{"properties":{"provider_intent_id":{"type":"string","maxLength":240,"minLength":3,"title":"Provider Intent Id"}},"additionalProperties":false,"type":"object","required":["provider_intent_id"],"title":"ProviderReturnBody"},"PublicClaimCommand":{"properties":{"claim_id":{"type":"string","format":"uuid","title":"Claim Id"},"surface_id":{"type":"string","format":"uuid","title":"Surface Id"},"claim_type":{"type":"string","enum":["informational","rank_context","college_context","product_context","pricing_context"],"title":"Claim Type"},"claim_text":{"type":"string","maxLength":280,"minLength":1,"title":"Claim Text"},"limitations":{"items":{"type":"string"},"type":"array","maxItems":8,"minItems":1,"title":"Limitations"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os22_public_growth__models__EvidenceRef"},"type":"array","minItems":1,"title":"Evidence Refs"},"source_fresh_until":{"type":"string","format":"date-time","title":"Source Fresh Until"},"policy_version":{"type":"string","maxLength":32,"minLength":1,"title":"Policy Version"},"anonymous_personalization":{"type":"boolean","title":"Anonymous Personalization","default":false},"private_data_required":{"type":"boolean","title":"Private Data Required","default":false},"actor_id":{"type":"string","maxLength":80,"minLength":1,"title":"Actor Id"},"metadata":{"type":"object","title":"Metadata"}},"additionalProperties":false,"type":"object","required":["surface_id","claim_type","claim_text","limitations","evidence_refs","source_fresh_until","policy_version","actor_id"],"title":"PublicClaimCommand"},"PublicPredictBody":{"properties":{"exam":{"type":"string","maxLength":16,"title":"Exam"},"score_type":{"type":"string","maxLength":16,"title":"Score Type","default":"rank"},"value":{"type":"number","exclusiveMinimum":0.0,"title":"Value"},"category":{"type":"string","maxLength":32,"title":"Category","default":"General"},"home_state":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Home State"},"quota":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Quota"}},"type":"object","required":["exam","value"],"title":"PublicPredictBody"},"PublicPredictionContextBody":{"properties":{"context_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Context Id"},"exam_type":{"type":"string","title":"Exam Type"},"input_source":{"type":"string","enum":["typed"],"const":"typed","title":"Input Source","default":"typed"},"payload":{"type":"object","title":"Payload"},"entered_at_product":{"type":"string","enum":["rank","colleges","seat","trajectory","suite_home"],"title":"Entered At Product"},"entry_mode":{"type":"string","enum":["public_free_tool","seo_landing"],"title":"Entry Mode","default":"public_free_tool"},"seo_source_slug":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Seo Source Slug"}},"type":"object","required":["exam_type","entered_at_product"],"title":"PublicPredictionContextBody"},"PublicPredictorBody":{"properties":{"exam_type":{"type":"string","title":"Exam Type"},"rank":{"type":"integer","minimum":1.0,"title":"Rank"},"category":{"type":"string","title":"Category","default":"General"},"rank_universe":{"type":"string","title":"Rank Universe","default":"CRL"},"rank_qualifier":{"type":"string","title":"Rank Qualifier","default":"standard"},"authority":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authority"},"counselling_year":{"anyOf":[{"type":"integer","maximum":2035.0,"minimum":2015.0},{"type":"null"}],"title":"Counselling Year"},"round_no":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Round No"},"quota":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Quota"},"gender_code":{"type":"string","title":"Gender Code","default":"GENDER_NEUTRAL"},"domicile_scope":{"type":"string","title":"Domicile Scope","default":"not_applicable"},"domicile_state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Domicile State"},"seat_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Seat Type"},"candidate_scope":{"type":"string","title":"Candidate Scope","default":"auto_eligible"},"limit":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Limit","default":50},"result_intent":{"type":"string","title":"Result Intent","default":"college"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"},"context_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Context Id"},"seo_source_slug":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Seo Source Slug"}},"type":"object","required":["exam_type","rank"],"title":"PublicPredictorBody"},"PublicQuestionAttemptBody":{"properties":{"attempt_token":{"type":"string","maxLength":2048,"minLength":20,"title":"Attempt Token"},"selected_index":{"anyOf":[{"type":"integer","maximum":20.0,"minimum":0.0},{"type":"null"}],"title":"Selected Index"},"answer":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Answer"}},"type":"object","required":["attempt_token"],"title":"PublicQuestionAttemptBody"},"PublicRankPredictorBody":{"properties":{"exam_type":{"type":"string","enum":["JEE_MAIN","JEE_ADVANCED","NEET"],"title":"Exam Type"},"rank":{"type":"integer","maximum":10000000.0,"minimum":1.0,"title":"Rank"},"context_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Context Id"},"entry_mode":{"type":"string","enum":["public_free_tool","seo_landing"],"title":"Entry Mode","default":"public_free_tool"},"seo_source_slug":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Seo Source Slug"}},"type":"object","required":["exam_type","rank"],"title":"PublicRankPredictorBody"},"PublicSeatPredictorBody":{"properties":{"exam_type":{"type":"string","enum":["JEE_MAIN","JEE_ADVANCED","NEET"],"title":"Exam Type"},"rank":{"type":"integer","maximum":10000000.0,"minimum":1.0,"title":"Rank"},"college":{"type":"string","maxLength":240,"minLength":1,"title":"College"},"branch":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Branch"},"category":{"type":"string","maxLength":80,"title":"Category","default":"General"},"authority":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Authority"},"quota":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Quota"},"counselling_year":{"anyOf":[{"type":"integer","maximum":2035.0,"minimum":2015.0},{"type":"null"}],"title":"Counselling Year"},"context_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Context Id"},"entry_mode":{"type":"string","enum":["public_free_tool","seo_landing"],"title":"Entry Mode","default":"public_free_tool"},"seo_source_slug":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Seo Source Slug"}},"type":"object","required":["exam_type","rank","college"],"title":"PublicSeatPredictorBody"},"PublicStatusBody":{"properties":{"action":{"type":"string","pattern":"^(draft|publish|retire)$","title":"Action"},"text":{"anyOf":[{"type":"string","maxLength":900,"minLength":30},{"type":"null"}],"title":"Text"}},"type":"object","required":["action"],"title":"PublicStatusBody"},"PublicSurfaceCommand":{"properties":{"surface_id":{"type":"string","format":"uuid","title":"Surface Id"},"route_path":{"type":"string","maxLength":240,"minLength":1,"title":"Route Path"},"surface_type":{"type":"string","enum":["landing","seo","share","predictor","content_preview","pricing"],"title":"Surface Type"},"title":{"type":"string","maxLength":160,"minLength":1,"title":"Title"},"state":{"type":"string","enum":["PUBLIC_READY","SOURCE_THIN","ANONYMOUS","HANDOFF_PENDING","PRIVATE_REQUIRED","DEGRADED","BLOCKED"],"title":"State","default":"PUBLIC_READY"},"allowed_anonymous":{"type":"boolean","title":"Allowed Anonymous","default":true},"private_required_reason":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Private Required Reason"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os22_public_growth__models__EvidenceRef"},"type":"array","title":"Evidence Refs"},"source_fresh_until":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Source Fresh Until"},"policy_version":{"type":"string","maxLength":32,"minLength":1,"title":"Policy Version"},"actor_id":{"type":"string","maxLength":80,"minLength":1,"title":"Actor Id"},"metadata":{"type":"object","title":"Metadata"}},"additionalProperties":false,"type":"object","required":["route_path","surface_type","title","policy_version","actor_id"],"title":"PublicSurfaceCommand"},"PublicationApproval":{"properties":{"content_reviewer_id":{"type":"string","maxLength":120,"minLength":1,"title":"Content Reviewer Id"},"rights_reviewer_id":{"type":"string","maxLength":120,"minLength":1,"title":"Rights Reviewer Id"},"product_approver_id":{"type":"string","maxLength":120,"minLength":1,"title":"Product Approver Id"},"gate_snapshot":{"$ref":"#/components/schemas/GateSnapshot"},"approval_note":{"type":"string","maxLength":1000,"minLength":1,"title":"Approval Note"}},"additionalProperties":false,"type":"object","required":["content_reviewer_id","rights_reviewer_id","product_approver_id","gate_snapshot","approval_note"],"title":"PublicationApproval"},"PublicationDraft":{"properties":{"catalogue_version":{"type":"string","maxLength":100,"minLength":3,"title":"Catalogue Version"},"unit_slug":{"type":"string","title":"Unit Slug"},"display_name":{"type":"string","maxLength":160,"minLength":1,"title":"Display Name"},"route":{"type":"string","title":"Route"},"provider_key":{"type":"string","maxLength":120,"minLength":1,"title":"Provider Key"},"renderer_allowlist":{"items":{"type":"string"},"type":"array","maxItems":24,"minItems":1,"title":"Renderer Allowlist"},"launch_capability":{"type":"string","maxLength":80,"minLength":1,"title":"Launch Capability"},"audience_scope":{"items":{"type":"string"},"type":"array","maxItems":32,"minItems":1,"title":"Audience Scope"},"exam_scope":{"items":{"type":"string"},"type":"array","maxItems":64,"title":"Exam Scope"},"zero_data_capable":{"type":"boolean","title":"Zero Data Capable","default":false},"hero_eligible":{"type":"boolean","title":"Hero Eligible","default":false},"available_from":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Available From"},"available_until":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Available Until"},"metadata":{"type":"object","title":"Metadata"},"source_record_refs":{"items":{"type":"string"},"type":"array","maxItems":256,"title":"Source Record Refs"}},"additionalProperties":false,"type":"object","required":["catalogue_version","unit_slug","display_name","route","provider_key","renderer_allowlist","launch_capability","audience_scope"],"title":"PublicationDraft"},"PublicationState":{"type":"string","enum":["DATAIMP_PROMOTED_NOT_PATHIMP_PUBLISHED","NO_DATAIMP_PROMOTED_RELEASE","DATABASE_UNAVAILABLE"],"title":"PublicationState"},"PublishBody":{"properties":{"signed_off_by":{"type":"string","maxLength":120,"minLength":2,"title":"Signed Off By"},"capacity":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Capacity"}},"additionalProperties":false,"type":"object","required":["signed_off_by"],"title":"PublishBody"},"PublishContentCommand":{"properties":{"candidate_id":{"type":"string","format":"uuid","title":"Candidate Id"},"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"publisher_id":{"type":"string","maxLength":128,"minLength":1,"title":"Publisher Id"},"release_channel":{"type":"string","maxLength":80,"minLength":2,"title":"Release Channel","default":"student_app"},"publication_reason":{"type":"string","maxLength":1000,"minLength":3,"title":"Publication Reason"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os10_content_ops__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"}},"type":"object","required":["candidate_id","expected_version","publisher_id","publication_reason","evidence_refs"],"title":"PublishContentCommand"},"PublishCoveragePolicyBody":{"properties":{"acknowledgement":{"type":"string","enum":["publish-reviewed-coverage-policy"],"const":"publish-reviewed-coverage-policy","title":"Acknowledgement"},"policy_key":{"type":"string","maxLength":240,"minLength":8,"title":"Policy Key"}},"additionalProperties":false,"type":"object","required":["acknowledgement","policy_key"],"title":"PublishCoveragePolicyBody"},"PublishHeldOfferBody":{"properties":{"sku_id":{"type":"string","maxLength":120,"minLength":3,"title":"Sku Id"},"provider_mode":{"type":"string","pattern":"^(sandbox|live)$","title":"Provider Mode"},"readiness_receipt_ref":{"type":"string","maxLength":200,"minLength":3,"title":"Readiness Receipt Ref"},"offer_version_id":{"type":"string","maxLength":120,"minLength":3,"title":"Offer Version Id"},"offer_version":{"type":"integer","minimum":1.0,"title":"Offer Version"},"provider_plan_ref":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Provider Plan Ref"},"body":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Body"}},"additionalProperties":false,"type":"object","required":["sku_id","provider_mode","readiness_receipt_ref","offer_version_id","offer_version"],"title":"PublishHeldOfferBody"},"PublishLabourSignalVersionRequest":{"properties":{"occupation_id":{"type":"string","format":"uuid","title":"Occupation Id"},"graph_release_id":{"type":"string","format":"uuid","title":"Graph Release Id"},"geography_code":{"type":"string","pattern":"^[A-Z0-9][A-Z0-9._:-]{1,79}$","title":"Geography Code"},"period_start":{"type":"string","format":"date","title":"Period Start"},"period_end":{"type":"string","format":"date","title":"Period End"},"taxonomy_version":{"type":"string","maxLength":100,"minLength":2,"title":"Taxonomy Version"},"signal_policy_version":{"type":"string","maxLength":100,"minLength":3,"title":"Signal Policy Version"},"quality":{"type":"string","enum":["AUTHORITY_STATISTIC","APPROVED_AGGREGATE","CURATED","THIN_SAMPLE"],"title":"Quality"},"state":{"type":"string","enum":["APPROVED","HELD"],"title":"State"},"metrics":{"items":{"$ref":"#/components/schemas/LabourMetricObservation"},"type":"array","maxItems":20,"minItems":1,"title":"Metrics"},"predecessor_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Predecessor Version Id"}},"additionalProperties":false,"type":"object","required":["occupation_id","graph_release_id","geography_code","period_start","period_end","taxonomy_version","signal_policy_version","quality","state","metrics"],"title":"PublishLabourSignalVersionRequest"},"PublishLegacyRequest":{"properties":{"publication_ref":{"type":"string","maxLength":240,"minLength":1,"title":"Publication Ref"},"source_version":{"type":"string","maxLength":120,"minLength":1,"title":"Source Version"},"marking_policy_version":{"type":"string","maxLength":120,"minLength":1,"title":"Marking Policy Version","default":"MOCKIMP-PR01/1.0.0"},"integrity_policy_version":{"type":"string","maxLength":120,"minLength":1,"title":"Integrity Policy Version","default":"MOCKIMP-PR01/1.0.0"},"paper_ids":{"items":{"type":"string"},"type":"array","maxItems":200,"title":"Paper Ids"},"rights_state_override":{"type":"string","maxLength":20,"title":"Rights State Override","default":""},"rights_ref_override":{"type":"string","maxLength":240,"title":"Rights Ref Override","default":""},"dry_run":{"type":"boolean","title":"Dry Run","default":false}},"type":"object","required":["publication_ref","source_version"],"title":"PublishLegacyRequest"},"PublishOfferBody":{"properties":{"product_id":{"type":"string","maxLength":96,"minLength":3,"title":"Product Id"},"display_name":{"type":"string","maxLength":200,"minLength":2,"title":"Display Name"},"launch_route":{"type":"string","maxLength":300,"minLength":2,"title":"Launch Route"},"owner_service":{"type":"string","maxLength":120,"minLength":2,"title":"Owner Service"},"capabilities":{"items":{"type":"string"},"type":"array","minItems":1,"title":"Capabilities"},"source_ref":{"type":"string","maxLength":300,"minLength":3,"title":"Source Ref"},"sku_id":{"type":"string","maxLength":120,"minLength":3,"title":"Sku Id"},"recurrence":{"type":"string","enum":["one_time","monthly","annual","token_pack"],"title":"Recurrence"},"quota_policy":{"type":"object","title":"Quota Policy"},"offer_version_id":{"type":"string","maxLength":120,"minLength":3,"title":"Offer Version Id"},"offer_version":{"type":"integer","minimum":1.0,"title":"Offer Version"},"money":{"$ref":"#/components/schemas/sysimp_pr01_routes__MoneyBody"},"provider_mode":{"type":"string","enum":["sandbox","live"],"title":"Provider Mode"},"readiness_receipt_ref":{"type":"string","maxLength":300,"minLength":3,"title":"Readiness Receipt Ref"},"support_policy":{"type":"object","title":"Support Policy"},"cancellation_policy":{"type":"object","title":"Cancellation Policy"},"refund_policy":{"type":"object","title":"Refund Policy"},"eligibility_policy":{"type":"object","title":"Eligibility Policy"},"terms":{"type":"object","title":"Terms"},"object_scope_contract":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Object Scope Contract"}},"additionalProperties":false,"type":"object","required":["product_id","display_name","launch_route","owner_service","capabilities","source_ref","sku_id","recurrence","offer_version_id","offer_version","money","provider_mode","readiness_receipt_ref"],"title":"PublishOfferBody"},"PublishProofCommand":{"properties":{"artifact_type":{"type":"string","maxLength":64,"minLength":1,"title":"Artifact Type"},"product_id":{"type":"string","maxLength":96,"minLength":1,"title":"Product Id"},"subject_id":{"type":"string","maxLength":128,"minLength":1,"title":"Subject Id"},"concept_id":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Concept Id"},"producer_os":{"type":"string","maxLength":32,"minLength":2,"title":"Producer Os"},"producer_version":{"type":"string","maxLength":80,"minLength":1,"title":"Producer Version"},"object_type":{"type":"string","maxLength":80,"minLength":1,"title":"Object Type"},"object_id":{"type":"string","maxLength":160,"minLength":1,"title":"Object Id"},"object_version":{"type":"string","maxLength":80,"minLength":1,"title":"Object Version"},"source_event_id":{"type":"string","maxLength":160,"minLength":1,"title":"Source Event Id"},"provenance_ref":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Provenance Ref"},"quality_ref":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Quality Ref"},"quality_state":{"type":"string","maxLength":40,"title":"Quality State","default":"SUPPORTED"},"confidence":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Confidence"},"claims":{"items":{"$ref":"#/components/schemas/ProofClaim"},"type":"array","maxItems":100,"minItems":1,"title":"Claims"},"evidence_refs":{"items":{"$ref":"#/components/schemas/EvidenceReference"},"type":"array","maxItems":100,"title":"Evidence Refs"},"audience":{"items":{"type":"string"},"type":"array","maxItems":8,"title":"Audience"},"payload":{"type":"object","title":"Payload"}},"type":"object","required":["artifact_type","product_id","subject_id","producer_os","producer_version","object_type","object_id","object_version","source_event_id","claims"],"title":"PublishProofCommand"},"PublishRegisterRequest":{"properties":{"register_version":{"type":"integer","minimum":1.0,"title":"Register Version"},"triggers":{"items":{"$ref":"#/components/schemas/RegisterTrigger"},"type":"array","maxItems":20,"minItems":1,"title":"Triggers"},"predecessor_version":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Predecessor Version"}},"additionalProperties":false,"type":"object","required":["register_version","triggers"],"title":"PublishRegisterRequest"},"PublishReleaseRequest":{"properties":{"reviewed_by":{"type":"string","maxLength":160,"minLength":1,"title":"Reviewed By"}},"additionalProperties":false,"type":"object","required":["reviewed_by"],"title":"PublishReleaseRequest"},"PublishRuleVersionRequest":{"properties":{"rule_key":{"type":"string","pattern":"^[a-z0-9][a-z0-9:._/-]{2,299}$","title":"Rule Key"},"rule_type":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{2,79}$","title":"Rule Type"},"target_entity_id":{"type":"string","format":"uuid","title":"Target Entity Id"},"jurisdiction":{"anyOf":[{"type":"string","maxLength":120,"minLength":2},{"type":"null"}],"title":"Jurisdiction"},"effective_from":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Effective From"},"effective_to":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Effective To"},"regulated_route":{"type":"boolean","title":"Regulated Route","default":false},"regulated_review_ref":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Regulated Review Ref"},"polarity":{"type":"string","enum":["POSITIVE_REQUIREMENT","NEGATIVE_SCOPED"],"title":"Polarity","default":"POSITIVE_REQUIREMENT"},"hard_gate_authorised":{"type":"boolean","title":"Hard Gate Authorised","default":false},"applicability_required":{"type":"boolean","title":"Applicability Required","default":false},"applicability_expression":{"anyOf":[{"$ref":"#/components/schemas/RuleExpression"},{"type":"null"}]},"expression":{"$ref":"#/components/schemas/RuleExpression"},"source_refs":{"items":{"$ref":"#/components/schemas/SourceReferenceInput"},"type":"array","minItems":1,"title":"Source Refs"},"tests":{"items":{"$ref":"#/components/schemas/RuleTestCase"},"type":"array","minItems":1,"title":"Tests"},"predecessor_rule_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Predecessor Rule Version Id"}},"additionalProperties":false,"type":"object","required":["rule_key","rule_type","target_entity_id","expression","source_refs","tests"],"title":"PublishRuleVersionRequest"},"PublishedRoundRule":{"properties":{"authority":{"type":"string","minLength":1,"title":"Authority"},"round_id":{"type":"string","minLength":1,"title":"Round Id"},"rule_release_id":{"type":"string","format":"uuid","title":"Rule Release Id"},"rule_release_ref":{"type":"string","minLength":1,"title":"Rule Release Ref"},"rule_release_digest":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Rule Release Digest"},"authority_rule_version":{"type":"string","minLength":1,"title":"Authority Rule Version"},"permitted_actions":{"items":{"$ref":"#/components/schemas/PermittedAction"},"type":"array","minItems":1,"title":"Permitted Actions"},"undetermined_actions":{"items":{"$ref":"#/components/schemas/UndeterminedAction"},"type":"array","title":"Undetermined Actions","default":[]},"resolver_digest":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Resolver Digest"},"resolved_at":{"type":"string","format":"date-time","title":"Resolved At"},"is_synthetic":{"type":"boolean","title":"Is Synthetic"}},"additionalProperties":false,"type":"object","required":["authority","round_id","rule_release_id","rule_release_ref","rule_release_digest","authority_rule_version","permitted_actions","resolver_digest","resolved_at","is_synthetic"],"title":"PublishedRoundRule","description":"The resolved answer: exactly what an authority's published,\ncurrently-effective release permits for this round, right now, for the\nfamily facts the caller supplied."},"PullBody":{"properties":{"provider":{"type":"string","maxLength":80,"title":"Provider"},"month":{"type":"string","title":"Month"}},"type":"object","required":["provider","month"],"title":"PullBody"},"PullResponse":{"properties":{"engine_id":{"type":"string","title":"Engine Id","default":"ACE-OFFLINE-001"},"engine_name":{"type":"string","title":"Engine Name","default":"Offline CRDT Personalization"},"events":{"items":{"type":"object"},"type":"array","title":"Events"},"server_vector_clock":{"additionalProperties":{"type":"integer"},"type":"object","title":"Server Vector Clock"},"server_time_ms":{"type":"integer","title":"Server Time Ms"}},"type":"object","required":["events","server_vector_clock","server_time_ms"],"title":"PullResponse"},"PulseBody":{"properties":{"sleep":{"type":"integer","maximum":5.0,"minimum":1.0,"title":"Sleep"},"mood":{"type":"integer","maximum":5.0,"minimum":1.0,"title":"Mood"},"focus":{"type":"integer","maximum":5.0,"minimum":1.0,"title":"Focus"},"fatigue":{"type":"integer","maximum":5.0,"minimum":1.0,"title":"Fatigue"},"note":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}],"title":"Note"}},"type":"object","required":["sleep","mood","focus","fatigue"],"title":"PulseBody","description":"PR-340 5-question pulse payload. The FE WellnessCheckScreen actually\nasks 4 questions (sleep, mood, focus, fatigue) — the catalogue calls it\na 5-question pulse but the 5th has historically been 'overall' which\nwe derive from the 4 sub-scores. Keep the body shape minimal so the FE\ncan extend later without an API break."},"PurchaseConfirmedCommand":{"properties":{"purchase_id":{"type":"string","format":"uuid","title":"Purchase Id"},"idempotency_key":{"type":"string","maxLength":160,"minLength":8,"title":"Idempotency Key"},"student_id":{"type":"string","maxLength":128,"minLength":1,"title":"Student Id"},"sku_id":{"type":"string","maxLength":128,"minLength":3,"title":"Sku Id"},"provider":{"type":"string","maxLength":40,"minLength":2,"title":"Provider"},"provider_payment_id":{"type":"string","maxLength":160,"minLength":3,"title":"Provider Payment Id"},"amount_paise":{"type":"integer","minimum":0.0,"title":"Amount Paise"},"currency":{"type":"string","maxLength":3,"minLength":3,"title":"Currency","default":"INR"},"captured_at":{"type":"string","format":"date-time","title":"Captured At"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os09_commerce__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["idempotency_key","student_id","sku_id","provider","provider_payment_id","amount_paise","actor_id","evidence_refs"],"title":"PurchaseConfirmedCommand"},"PurchaseIntentBody":{"properties":{"intent_key":{"type":"string","maxLength":160,"minLength":4,"title":"Intent Key"}},"type":"object","required":["intent_key"],"title":"PurchaseIntentBody"},"PurgeAllBody":{"properties":{"typed_confirmation":{"type":"string","title":"Typed Confirmation","default":""}},"type":"object","title":"PurgeAllBody"},"PurgeBody":{"properties":{"confirm":{"type":"boolean","title":"Confirm","default":false}},"type":"object","title":"PurgeBody"},"PurgeCompleteCommand":{"properties":{"purge_receipt_ref":{"type":"string","maxLength":300,"minLength":8,"title":"Purge Receipt Ref"},"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"}},"additionalProperties":false,"type":"object","required":["purge_receipt_ref","expected_version"],"title":"PurgeCompleteCommand"},"PurgeTargetPublication":{"properties":{"target_ref":{"type":"string","maxLength":200,"minLength":1,"title":"Target Ref"},"origin":{"type":"string","enum":["provider","store"],"title":"Origin"},"target":{"type":"string","maxLength":200,"minLength":1,"title":"Target"},"mode":{"type":"string","enum":["DELETE","ANONYMIZE","REVOKE"],"title":"Mode","default":"DELETE"},"active":{"type":"boolean","title":"Active","default":true},"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version","default":0}},"additionalProperties":false,"type":"object","required":["target_ref","origin","target"],"title":"PurgeTargetPublication"},"PurgeTaskCompletionCommand":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"state":{"type":"string","enum":["COMPLETE","FAILED","RETRYABLE"],"title":"State"},"owning_receipt_ref":{"type":"string","maxLength":240,"minLength":8,"title":"Owning Receipt Ref"},"detail":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Detail"}},"additionalProperties":false,"type":"object","required":["expected_version","state","owning_receipt_ref"],"title":"PurgeTaskCompletionCommand"},"PurposeBoundPreferenceProjection":{"properties":{"passport_id":{"type":"string","format":"uuid","title":"Passport Id"},"passport_version_id":{"type":"string","format":"uuid","title":"Passport Version Id"},"owner_id":{"type":"string","title":"Owner Id"},"purpose":{"type":"string","enum":["ADMISSION","PATHWAY","COMBINED"],"title":"Purpose"},"version_no":{"type":"integer","minimum":1.0,"title":"Version No"},"state":{"type":"string","enum":["READY","PARTIAL","UNKNOWN"],"title":"State"},"fields":{"items":{"$ref":"#/components/schemas/PreferenceFieldProjection"},"type":"array","title":"Fields"},"omitted_field_count":{"type":"integer","minimum":0.0,"title":"Omitted Field Count"},"projection_digest":{"type":"string","title":"Projection Digest"},"source_content_digest":{"type":"string","title":"Source Content Digest"}},"additionalProperties":false,"type":"object","required":["passport_id","passport_version_id","owner_id","purpose","version_no","state","fields","omitted_field_count","projection_digest","source_content_digest"],"title":"PurposeBoundPreferenceProjection"},"PurposePolicyCommand":{"properties":{"purpose":{"type":"string","maxLength":80,"minLength":1,"title":"Purpose"},"version":{"type":"string","maxLength":80,"minLength":1,"title":"Version"},"allowed_roles":{"items":{"type":"string"},"type":"array","maxItems":30,"minItems":1,"title":"Allowed Roles"},"allowed_licences":{"items":{"type":"string"},"type":"array","maxItems":30,"minItems":1,"title":"Allowed Licences"},"max_age_seconds":{"type":"integer","maximum":31536000.0,"minimum":60.0,"title":"Max Age Seconds"},"high_impact_requires_current":{"type":"boolean","title":"High Impact Requires Current","default":true},"state":{"type":"string","enum":["DRAFT","REVIEWED"],"title":"State","default":"DRAFT"}},"type":"object","required":["purpose","version","allowed_roles","allowed_licences","max_age_seconds"],"title":"PurposePolicyCommand"},"PushRequest":{"properties":{"client_id":{"type":"string","title":"Client Id"},"events":{"items":{"$ref":"#/components/schemas/SyncEvent"},"type":"array","title":"Events"}},"type":"object","required":["client_id"],"title":"PushRequest"},"PushResponse":{"properties":{"engine_id":{"type":"string","title":"Engine Id","default":"ACE-OFFLINE-001"},"engine_name":{"type":"string","title":"Engine Name","default":"Offline CRDT Personalization"},"accepted":{"type":"integer","title":"Accepted"},"rejected":{"items":{"type":"object"},"type":"array","title":"Rejected"},"server_vector_clock":{"additionalProperties":{"type":"integer"},"type":"object","title":"Server Vector Clock"},"conflicts":{"items":{"type":"object"},"type":"array","title":"Conflicts"}},"type":"object","required":["accepted","server_vector_clock"],"title":"PushResponse"},"PushSubscribeBody":{"properties":{"provider":{"type":"string","pattern":"^(fcm|apns|webpush|email)$","title":"Provider"},"endpoint":{"type":"string","minLength":1,"title":"Endpoint"},"p256dh_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"P256Dh Key"},"auth_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Auth Key"}},"type":"object","required":["provider","endpoint"],"title":"PushSubscribeBody"},"PyqProjectionRequest":{"properties":{"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"academic_scope":{"$ref":"#/components/schemas/os_runtime__os10_content_ops__cntimp_pr01__AcademicScope"},"year_window":{"type":"integer","maximum":50.0,"minimum":1.0,"title":"Year Window","default":10},"solve_limit":{"type":"integer","maximum":500.0,"minimum":1.0,"title":"Solve Limit","default":100}},"additionalProperties":false,"type":"object","required":["idempotency_key","academic_scope"],"title":"PyqProjectionRequest"},"QualifiedExposureInput":{"properties":{"impression_id":{"type":"string","maxLength":160,"minLength":3,"title":"Impression Id"},"decision_id":{"type":"string","maxLength":160,"minLength":3,"title":"Decision Id"},"product_id":{"type":"string","pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","title":"Product Id"},"object_id":{"type":"string","maxLength":240,"minLength":1,"title":"Object Id"},"slot_id":{"type":"string","pattern":"^S[0-6]$","title":"Slot Id"},"position":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Position"},"visible_ratio":{"type":"number","maximum":1.0,"minimum":0.5,"title":"Visible Ratio"},"visible_ms":{"type":"integer","maximum":3600000.0,"minimum":1000.0,"title":"Visible Ms"},"viewport_width":{"type":"integer","maximum":10000.0,"minimum":240.0,"title":"Viewport Width"},"idempotency_key":{"type":"string","maxLength":160,"minLength":8,"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["impression_id","decision_id","product_id","object_id","slot_id","position","visible_ratio","visible_ms","viewport_width","idempotency_key"],"title":"QualifiedExposureInput"},"QualityEvaluateRequest":{"properties":{"object_type":{"type":"string","maxLength":80,"minLength":1,"title":"Object Type"},"object_id":{"type":"string","maxLength":160,"minLength":1,"title":"Object Id"},"object_version":{"type":"string","maxLength":80,"minLength":1,"title":"Object Version"},"use":{"type":"string","maxLength":80,"minLength":1,"title":"Use"},"impact":{"type":"string","enum":["low","medium","high","critical"],"title":"Impact","default":"medium"},"population":{"type":"string","maxLength":120,"minLength":1,"title":"Population"},"signals":{"items":{"$ref":"#/components/schemas/QualitySignal"},"type":"array","maxItems":100,"minItems":1,"title":"Signals"},"provenance_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provenance Ref"},"assessment_evidence_receipt_ref":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Assessment Evidence Receipt Ref"}},"type":"object","required":["object_type","object_id","object_version","use","population","signals"],"title":"QualityEvaluateRequest"},"QualitySignal":{"properties":{"signal_type":{"type":"string","maxLength":80,"minLength":1,"title":"Signal Type"},"dimension":{"type":"string","title":"Dimension"},"scale":{"type":"string","title":"Scale"},"raw_value":{"anyOf":[{},{"type":"null"}],"title":"Raw Value"},"population":{"type":"string","maxLength":120,"minLength":1,"title":"Population"},"owner_os":{"type":"string","maxLength":32,"minLength":2,"title":"Owner Os"},"object_version":{"type":"string","maxLength":80,"minLength":1,"title":"Object Version"},"observed_at":{"type":"string","format":"date-time","title":"Observed At"},"calibration_ref":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Calibration Ref"},"metadata":{"type":"object","title":"Metadata"}},"type":"object","required":["signal_type","dimension","scale","population","owner_os","object_version","observed_at"],"title":"QualitySignal"},"QuestionInput":{"properties":{"question_no":{"type":"integer","maximum":50.0,"minimum":1.0,"title":"Question No"},"question_text":{"type":"string","title":"Question Text"},"expected_answer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expected Answer"},"max_score":{"type":"number","title":"Max Score","default":10.0},"rubric":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Rubric"}},"type":"object","required":["question_no","question_text"],"title":"QuestionInput"},"QuestionPublicationRef":{"properties":{"question_id":{"type":"string","format":"uuid","title":"Question Id"},"publication_id":{"type":"string","format":"uuid","title":"Publication Id"},"publication_version":{"type":"integer","minimum":1.0,"title":"Publication Version"},"projection_digest":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Projection Digest"}},"additionalProperties":false,"type":"object","required":["question_id","publication_id","publication_version","projection_digest"],"title":"QuestionPublicationRef"},"QuestionScopeBody":{"properties":{"scope":{"$ref":"#/components/schemas/os_runtime__os10_content_ops__cntimp_pr01__AcademicScope"},"limit":{"type":"integer","maximum":500.0,"minimum":1.0,"title":"Limit","default":50}},"additionalProperties":false,"type":"object","required":["scope"],"title":"QuestionScopeBody"},"QuestionType":{"type":"string","enum":["mcq","numerical","subjective","handwritten","diagram"],"title":"QuestionType"},"QueuePost":{"properties":{"repo":{"type":"string","pattern":"^(aspireace|trututor)$","title":"Repo"},"commit":{"type":"string","maxLength":64,"title":"Commit","default":""},"open_rows":{"items":{"$ref":"#/components/schemas/QueueRow"},"type":"array","maxItems":600,"title":"Open Rows"},"resolved_refs":{"items":{"type":"string","pattern":"^[0-9a-f]{12,64}(#[0-9a-f]{6}[0-9]{0,2})?$"},"type":"array","maxItems":20000,"title":"Resolved Refs"},"complete":{"type":"boolean","title":"Complete","default":true}},"additionalProperties":false,"type":"object","required":["repo"],"title":"QueuePost"},"QueueRequestCommand":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"queued_by":{"type":"string","maxLength":128,"minLength":1,"title":"Queued By"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os11_teacher_hitl__models__EvidenceRef"},"type":"array","maxItems":16,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["request_id","expected_version","queued_by","evidence_refs"],"title":"QueueRequestCommand"},"QueueRow":{"properties":{"ref":{"type":"string","pattern":"^[0-9a-f]{12,64}(#[0-9a-f]{6}[0-9]{0,2})?$","title":"Ref"},"aliases":{"items":{"type":"string","pattern":"^[0-9a-f]{12,64}(#[0-9a-f]{6}[0-9]{0,2})?$"},"type":"array","maxItems":3,"title":"Aliases"},"section":{"type":"string","maxLength":120,"title":"Section","default":""},"date":{"type":"string","maxLength":24,"title":"Date","default":""},"chat":{"type":"string","maxLength":300,"title":"Chat","default":""},"item":{"type":"string","maxLength":6000,"minLength":1,"title":"Item"},"blocks":{"type":"string","maxLength":3000,"title":"Blocks","default":""},"recommendation":{"type":"string","maxLength":3000,"title":"Recommendation","default":""}},"additionalProperties":false,"type":"object","required":["ref","item"],"title":"QueueRow"},"QueuedMutationCommand":{"properties":{"queue_id":{"type":"string","format":"uuid","title":"Queue Id"},"idempotency_key":{"type":"string","maxLength":200,"minLength":8,"title":"Idempotency Key"},"product_surface":{"type":"string","maxLength":120,"minLength":1,"title":"Product Surface"},"route_path":{"type":"string","maxLength":300,"minLength":1,"pattern":"^/","title":"Route Path"},"mutation_type":{"type":"string","maxLength":120,"minLength":1,"title":"Mutation Type"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"client_id":{"type":"string","maxLength":128,"minLength":1,"title":"Client Id"},"payload_ref":{"type":"string","maxLength":240,"minLength":1,"title":"Payload Ref"},"payload_hash":{"type":"string","maxLength":128,"minLength":32,"title":"Payload Hash"},"payload_size_bytes":{"type":"integer","maximum":1000000.0,"minimum":0.0,"title":"Payload Size Bytes"},"entitlement_snapshot_id":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"Entitlement Snapshot Id"},"source_snapshot_id":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"Source Snapshot Id"},"client_created_at":{"type":"string","format":"date-time","title":"Client Created At"},"metadata":{"type":"object","title":"Metadata"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os20_offline_sync__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["idempotency_key","product_surface","route_path","mutation_type","actor_id","client_id","payload_ref","payload_hash","payload_size_bytes","evidence_refs"],"title":"QueuedMutationCommand"},"QuotaAdjustmentCommand":{"properties":{"student_id":{"type":"string","maxLength":128,"minLength":1,"title":"Student Id"},"feature_key":{"type":"string","maxLength":128,"minLength":1,"title":"Feature Key"},"period_key":{"type":"string","maxLength":64,"minLength":1,"title":"Period Key"},"delta_units":{"type":"integer","maximum":1000000.0,"minimum":-1000000.0,"title":"Delta Units"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"reason_codes":{"items":{"type":"string"},"type":"array","maxItems":16,"minItems":1,"title":"Reason Codes"},"idempotency_key":{"type":"string","maxLength":160,"minLength":8,"title":"Idempotency Key"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os09_commerce__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["student_id","feature_key","period_key","delta_units","actor_id","reason_codes","idempotency_key","evidence_refs"],"title":"QuotaAdjustmentCommand"},"QuotaConsumeCommand":{"properties":{"student_id":{"type":"string","maxLength":128,"minLength":1,"title":"Student Id"},"feature_key":{"type":"string","maxLength":128,"minLength":1,"title":"Feature Key"},"period_key":{"type":"string","maxLength":64,"minLength":1,"title":"Period Key"},"units":{"type":"integer","maximum":10000.0,"minimum":1.0,"title":"Units","default":1},"idempotency_key":{"type":"string","maxLength":160,"minLength":8,"title":"Idempotency Key"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os09_commerce__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["student_id","feature_key","period_key","idempotency_key","evidence_refs"],"title":"QuotaConsumeCommand"},"QuotaPublication":{"properties":{"state":{"type":"string","enum":["RESERVED","DENIED","RELEASED","COMMITTED"],"title":"State"},"quota_receipt_ref":{"type":"string","maxLength":300,"minLength":8,"title":"Quota Receipt Ref"},"capability":{"type":"string","maxLength":160,"minLength":3,"title":"Capability","default":"image-doubt.solve"},"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"}},"additionalProperties":false,"type":"object","required":["state","quota_receipt_ref","expected_version"],"title":"QuotaPublication"},"QuoteCheckoutBody":{"properties":{"product_id":{"type":"string","maxLength":96,"minLength":3,"title":"Product Id"},"offer_version_id":{"type":"string","maxLength":120,"minLength":3,"title":"Offer Version Id"},"object_request":{"anyOf":[{"$ref":"#/components/schemas/ObjectRequestBody"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["product_id","offer_version_id"],"title":"QuoteCheckoutBody"},"QuoteRequestBody":{"properties":{"product_id":{"type":"string","maxLength":96,"minLength":3,"title":"Product Id"},"sku_id":{"type":"string","maxLength":120,"minLength":3,"title":"Sku Id"},"purchase_scope":{"type":"object","minProperties":1,"title":"Purchase Scope"},"request_reference":{"type":"string","maxLength":300,"minLength":3,"title":"Request Reference"}},"additionalProperties":false,"type":"object","required":["product_id","sku_id","purchase_scope","request_reference"],"title":"QuoteRequestBody"},"RAGSearchRequest":{"properties":{"query":{"type":"string","title":"Query"},"top_k":{"type":"integer","title":"Top K","default":5},"subject":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"},"chapter":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chapter"},"student_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Student Id"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"},"product_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Id"},"entry_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Entry Mode"}},"type":"object","required":["query"],"title":"RAGSearchRequest"},"RagBody":{"properties":{"question":{"type":"string","maxLength":2000,"minLength":2,"title":"Question"},"note_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Note Ids","description":"Specific notes to scope; None = all"}},"type":"object","required":["question"],"title":"RagBody"},"RagChunk":{"properties":{"source":{"type":"string","title":"Source"},"id":{"type":"string","title":"Id"},"text":{"type":"string","title":"Text"},"score":{"type":"number","title":"Score"},"backend":{"type":"string","title":"Backend"}},"type":"object","required":["source","id","text","score","backend"],"title":"RagChunk"},"RagRetrieveRequest":{"properties":{"message":{"type":"string","minLength":1,"title":"Message"},"top_k":{"type":"integer","maximum":20.0,"minimum":1.0,"title":"Top K","default":3}},"type":"object","required":["message"],"title":"RagRetrieveRequest"},"RagRetrieveResponse":{"properties":{"chunks":{"items":{"$ref":"#/components/schemas/RagChunk"},"type":"array","title":"Chunks"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},"type":"object","title":"RagRetrieveResponse"},"RailDefinition":{"properties":{"title":{"type":"string","maxLength":60,"minLength":1,"title":"Title"},"title_hi":{"type":"string","maxLength":120,"minLength":1,"title":"Title Hi"},"kind":{"type":"string","enum":["picked","recommend","season","family"],"title":"Kind"},"fill":{"type":"string","enum":["engine","hand","engine_pins"],"title":"Fill"},"family_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Family Id"},"card_ids":{"items":{"type":"string"},"type":"array","maxItems":24,"title":"Card Ids"},"pinned_card_ids":{"items":{"type":"string"},"type":"array","maxItems":24,"title":"Pinned Card Ids"},"audience":{"type":"string","enum":["all","guest","new","returning","parent"],"title":"Audience","default":"all"},"reason":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Reason"},"reason_hi":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Reason Hi"},"exams":{"items":{"type":"string"},"type":"array","maxItems":11,"title":"Exams"},"starts_on":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Starts On"},"ends_on":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Ends On"}},"additionalProperties":false,"type":"object","required":["title","title_hi","kind","fill"],"title":"RailDefinition"},"RailSave":{"properties":{"rail_id":{"type":"string","title":"Rail Id"},"definition":{"$ref":"#/components/schemas/RailDefinition"},"reason":{"type":"string","maxLength":500,"minLength":3,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["rail_id","definition","reason"],"title":"RailSave"},"RailStateChange":{"properties":{"position":{"anyOf":[{"type":"integer","maximum":10000.0,"minimum":0.0},{"type":"null"}],"title":"Position"},"pinned_top":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Pinned Top"},"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enabled"},"reason":{"type":"string","maxLength":500,"minLength":3,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["reason"],"title":"RailStateChange"},"RangeProjection":{"properties":{"minimum":{"anyOf":[{"type":"number"},{"type":"integer"},{"type":"null"}],"title":"Minimum"},"expected":{"anyOf":[{"type":"number"},{"type":"integer"},{"type":"null"}],"title":"Expected"},"maximum":{"anyOf":[{"type":"number"},{"type":"integer"},{"type":"null"}],"title":"Maximum"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit"}},"additionalProperties":false,"type":"object","title":"RangeProjection"},"RankDecisionCreateRequest":{"properties":{"exam_type":{"type":"string","maxLength":48,"minLength":2,"title":"Exam Type"},"rank_universe":{"type":"string","maxLength":96,"minLength":2,"title":"Rank Universe"},"horizon_days":{"type":"integer","maximum":730.0,"minimum":1.0,"title":"Horizon Days","default":90},"input_kind":{"type":"string","enum":["typed","practice"],"title":"Input Kind"},"input_ref":{"type":"object","minProperties":1,"title":"Input Ref"},"dimensions":{"type":"object","title":"Dimensions"},"attempt_refs":{"items":{"type":"object"},"type":"array","title":"Attempt Refs"},"feature_snapshot":{"type":"object","title":"Feature Snapshot"},"evidence_eligible":{"type":"boolean","title":"Evidence Eligible","default":false},"evidence_reason_codes":{"items":{"type":"string"},"type":"array","title":"Evidence Reason Codes"},"low_rank":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Low Rank"},"high_rank":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"High Rank"},"calibration_version_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Calibration Version Id"},"reason_codes":{"items":{"type":"string"},"type":"array","title":"Reason Codes"}},"additionalProperties":false,"type":"object","required":["exam_type","rank_universe","input_kind","input_ref"],"title":"RankDecisionCreateRequest","description":"Strict PR01 command. A range appears only with explicitly eligible evidence."},"RankList":{"properties":{"key":{"type":"string","title":"Key"},"label":{"type":"string","title":"Label"},"stream":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stream"},"rank_universe":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rank Universe"},"rank_qualifier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rank Qualifier"},"category_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category Code"},"seats_in_band":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Seats In Band"}},"additionalProperties":false,"type":"object","required":["key","label"],"title":"RankList","description":"One rank list. Every row of a band page belongs to the one list named on the page."},"RankMovementProjection":{"properties":{"movement_attribution_id":{"type":"string","format":"uuid","title":"Movement Attribution Id"},"owner_id":{"type":"string","title":"Owner Id"},"predecessor_rank_decision_id":{"type":"string","format":"uuid","title":"Predecessor Rank Decision Id"},"successor_rank_decision_id":{"type":"string","format":"uuid","title":"Successor Rank Decision Id"},"state":{"type":"string","enum":["READY","HELD"],"title":"State"},"observed_rank_improvement":{"type":"number","title":"Observed Rank Improvement"},"contributors":{"items":{"$ref":"#/components/schemas/MovementContributor"},"type":"array","title":"Contributors"},"residual":{"type":"number","title":"Residual"},"residual_state":{"type":"string","enum":["RECONCILED","PARTIAL","UNEXPLAINED"],"title":"Residual State"},"warnings":{"items":{"type":"string"},"type":"array","title":"Warnings"},"policy_version":{"type":"string","title":"Policy Version"},"evidence_digest":{"type":"string","title":"Evidence Digest"},"decision_digest":{"type":"string","title":"Decision Digest"},"persisted":{"type":"boolean","title":"Persisted"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"}},"additionalProperties":false,"type":"object","required":["movement_attribution_id","owner_id","predecessor_rank_decision_id","successor_rank_decision_id","state","observed_rank_improvement","contributors","residual","residual_state","warnings","policy_version","evidence_digest","decision_digest","persisted"],"title":"RankMovementProjection"},"RankStabilityProjection":{"properties":{"stability_decision_id":{"type":"string","format":"uuid","title":"Stability Decision Id"},"owner_id":{"type":"string","title":"Owner Id"},"rank_decision_id":{"type":"string","format":"uuid","title":"Rank Decision Id"},"state":{"type":"string","enum":["READY","HELD"],"title":"State"},"stability_class":{"type":"string","enum":["STABLE","MODERATE","VOLATILE","INSUFFICIENT"],"title":"Stability Class"},"metrics":{"additionalProperties":{"anyOf":[{"type":"number"},{"type":"integer"},{"type":"string"}]},"type":"object","title":"Metrics"},"drivers":{"items":{"type":"string"},"type":"array","title":"Drivers"},"history_decision_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"History Decision Ids"},"evidence_digest":{"type":"string","title":"Evidence Digest"},"policy_version":{"type":"string","title":"Policy Version"},"decision_digest":{"type":"string","title":"Decision Digest"},"persisted":{"type":"boolean","title":"Persisted"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"target_gap_handoff":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Target Gap Handoff"}},"additionalProperties":false,"type":"object","required":["stability_decision_id","owner_id","rank_decision_id","state","stability_class","metrics","drivers","history_decision_ids","evidence_digest","policy_version","decision_digest","persisted"],"title":"RankStabilityProjection"},"RankWalkRequest":{"properties":{"year":{"type":"integer","maximum":2100.0,"minimum":2000.0,"title":"Year"},"rank":{"type":"integer","maximum":10000000.0,"minimum":1.0,"title":"Rank"},"category":{"anyOf":[{"type":"string","maxLength":40,"minLength":1},{"type":"null"}],"title":"Category"},"quota":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Quota"},"rank_universe":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Rank Universe"}},"additionalProperties":false,"type":"object","required":["year","rank"],"title":"RankWalkRequest","description":"One question. The rank is the student's and is not kept anywhere."},"ReachDecisionCommand":{"properties":{"decision_id":{"type":"string","format":"uuid","title":"Decision Id"},"release_scope":{"type":"string","maxLength":160,"minLength":2,"title":"Release Scope"},"route_path":{"type":"string","maxLength":300,"minLength":1,"pattern":"^/","title":"Route Path"},"surface_class":{"type":"string","enum":["student","parent","teacher","operator","public"],"title":"Surface Class"},"locale":{"type":"string","maxLength":20,"minLength":2,"title":"Locale"},"device_class":{"type":"string","maxLength":80,"minLength":2,"title":"Device Class"},"profile_id":{"type":"string","maxLength":120,"minLength":3,"title":"Profile Id"},"profile_version":{"type":"string","maxLength":80,"minLength":1,"title":"Profile Version"},"proof_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":200,"minItems":1,"title":"Proof Ids"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"}},"additionalProperties":false,"type":"object","required":["release_scope","route_path","surface_class","locale","device_class","profile_id","profile_version","proof_ids","actor_id"],"title":"ReachDecisionCommand"},"ReachProofCommand":{"properties":{"proof_id":{"type":"string","format":"uuid","title":"Proof Id"},"release_scope":{"type":"string","maxLength":160,"minLength":2,"title":"Release Scope"},"route_path":{"type":"string","maxLength":300,"minLength":1,"pattern":"^/","title":"Route Path"},"surface_class":{"type":"string","enum":["student","parent","teacher","operator","public"],"title":"Surface Class"},"profile_id":{"type":"string","maxLength":120,"minLength":3,"title":"Profile Id"},"profile_version":{"type":"string","maxLength":80,"minLength":1,"title":"Profile Version"},"locale":{"type":"string","maxLength":20,"minLength":2,"title":"Locale"},"device_class":{"type":"string","maxLength":80,"minLength":2,"title":"Device Class"},"viewport_width":{"type":"integer","maximum":7680.0,"minimum":320.0,"title":"Viewport Width"},"viewport_height":{"type":"integer","maximum":4320.0,"minimum":320.0,"title":"Viewport Height"},"zoom_percent":{"type":"integer","maximum":400.0,"minimum":100.0,"title":"Zoom Percent","default":100},"reduced_motion":{"type":"boolean","title":"Reduced Motion","default":false},"reduced_data":{"type":"boolean","title":"Reduced Data","default":false},"result":{"type":"string","enum":["PASS","WARN","FAIL","BLOCKED"],"title":"Result"},"executed":{"type":"boolean","title":"Executed"},"executed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Executed At"},"tool":{"type":"string","maxLength":120,"minLength":1,"title":"Tool"},"commit_sha":{"type":"string","maxLength":64,"minLength":7,"title":"Commit Sha"},"environment":{"type":"string","maxLength":120,"minLength":2,"title":"Environment"},"metrics":{"type":"object","title":"Metrics"},"violations":{"items":{"type":"object"},"type":"array","maxItems":200,"title":"Violations"},"artifact_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os19_reach__models__EvidenceRef"},"type":"array","maxItems":64,"minItems":1,"title":"Artifact Refs"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"}},"additionalProperties":false,"type":"object","required":["release_scope","route_path","surface_class","profile_id","profile_version","locale","device_class","viewport_width","viewport_height","result","executed","tool","commit_sha","environment","artifact_refs","actor_id"],"title":"ReachProofCommand"},"ReadBody":{"properties":{"kind":{"type":"string","pattern":"^(handovers|questions|answers|maps)$","title":"Kind"},"file_name":{"type":"string","maxLength":160,"minLength":4,"title":"File Name"}},"type":"object","required":["kind","file_name"],"title":"ReadBody"},"ReadConfirmRequest":{"properties":{"corrections":{"items":{"$ref":"#/components/schemas/ReadPageCorrection"},"type":"array","maxItems":200,"title":"Corrections"}},"type":"object","title":"ReadConfirmRequest"},"ReadPageCorrection":{"properties":{"page_no":{"type":"integer","minimum":1.0,"title":"Page No"},"corrected_text":{"type":"string","maxLength":100000,"title":"Corrected Text"}},"type":"object","required":["page_no","corrected_text"],"title":"ReadPageCorrection"},"ReadReceiptBody":{"properties":{"chapter_id":{"type":"string","maxLength":128,"minLength":1,"title":"Chapter Id"},"topic_id":{"anyOf":[{"type":"string","maxLength":96},{"type":"null"}],"title":"Topic Id"},"section_id":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Section Id"},"manifest_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Manifest Id"}},"type":"object","required":["chapter_id"],"title":"ReadReceiptBody"},"ReadRule":{"properties":{"rule_version_id":{"type":"string","format":"uuid","title":"Rule Version Id"},"content_digest":{"type":"string","title":"Content Digest"}},"additionalProperties":false,"type":"object","required":["rule_version_id","content_digest"],"title":"ReadRule"},"ReadinessEvidenceSubmit":{"properties":{"capability_id":{"type":"string","maxLength":180,"minLength":8,"title":"Capability Id"},"proof_dimension":{"type":"string","enum":["code","tests","runtime","browser","data","access","telemetry","rollback","production"],"title":"Proof Dimension"},"proof_state":{"type":"string","enum":["PASS","PASS_LOCAL","PARTIAL","OPEN","BLOCKED","RECHECK_REQUIRED","NOT_APPLICABLE","UNASSESSED"],"title":"Proof State"},"assertion":{"type":"string","maxLength":2000,"minLength":12,"title":"Assertion"},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":40,"minItems":1,"title":"Evidence Refs"},"source_system":{"type":"string","maxLength":120,"minLength":3,"title":"Source System"},"source_version":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Source Version"},"observed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Observed At"},"result":{"type":"string","enum":["SUCCEEDED","FAILED","PARTIAL"],"title":"Result","default":"SUCCEEDED"},"approval_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Approval Id"},"supersedes_receipt_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Supersedes Receipt Id"},"metadata":{"type":"object","title":"Metadata"}},"additionalProperties":false,"type":"object","required":["capability_id","proof_dimension","proof_state","assertion","evidence_refs","source_system"],"title":"ReadinessEvidenceSubmit"},"ReadinessEvidenceVerify":{"properties":{"receipt_id":{"type":"string","format":"uuid","title":"Receipt Id"},"expected_hash":{"anyOf":[{"type":"string","pattern":"^[a-f0-9]{64}$"},{"type":"null"}],"title":"Expected Hash"},"reason":{"type":"string","maxLength":1000,"minLength":8,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["receipt_id","reason"],"title":"ReadinessEvidenceVerify"},"ReasonIn":{"properties":{"text":{"type":"string","maxLength":4000,"minLength":1,"title":"Text"}},"additionalProperties":false,"type":"object","required":["text"],"title":"ReasonIn","description":"The family's own words. There is no other way to fill this."},"ReasonRequest":{"properties":{"reason":{"type":"string","maxLength":1000,"minLength":3,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["reason"],"title":"ReasonRequest"},"ReassessmentOutcomeCommand":{"properties":{"episode_id":{"type":"string","format":"uuid","title":"Episode Id"},"reassessment_attempt_id":{"type":"string","format":"uuid","title":"Reassessment Attempt Id"},"before_score":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Before Score"},"after_score":{"type":"number","maximum":1.0,"minimum":0.0,"title":"After Score"},"evidence_refs":{"items":{"type":"object"},"type":"array","maxItems":24,"title":"Evidence Refs"}},"type":"object","required":["episode_id","reassessment_attempt_id","before_score","after_score"],"title":"ReassessmentOutcomeCommand"},"ReauthReceiptPublication":{"properties":{"student_id":{"type":"string","maxLength":80,"minLength":1,"title":"Student Id"},"receipt_ref":{"type":"string","maxLength":240,"minLength":8,"title":"Receipt Ref"},"state":{"type":"string","enum":["VERIFIED","REVOKED"],"title":"State","default":"VERIFIED"},"authentication_method":{"type":"string","maxLength":80,"minLength":2,"title":"Authentication Method"},"valid_until":{"type":"string","format":"date-time","title":"Valid Until"}},"additionalProperties":false,"type":"object","required":["student_id","receipt_ref","authentication_method","valid_until"],"title":"ReauthReceiptPublication"},"RecallAcknowledgementCommand":{"properties":{"dependency_id":{"type":"string","format":"uuid","title":"Dependency Id"},"consumer_id":{"type":"string","maxLength":160,"minLength":2,"title":"Consumer Id"},"object_ref":{"type":"string","maxLength":300,"minLength":3,"title":"Object Ref"},"state":{"type":"string","enum":["ACKNOWLEDGED","FAILED","NOT_APPLICABLE"],"title":"State"},"error_code":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Error Code"},"purge_receipt_ref":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Purge Receipt Ref"}},"additionalProperties":false,"type":"object","required":["dependency_id","consumer_id","object_ref","state"],"title":"RecallAcknowledgementCommand"},"RecallBody":{"properties":{"notice":{"type":"string","maxLength":2000,"minLength":5,"title":"Notice"}},"type":"object","required":["notice"],"title":"RecallBody"},"RecallContentCommand":{"properties":{"publication_id":{"type":"string","format":"uuid","title":"Publication Id"},"expected_publication_version":{"type":"integer","minimum":1.0,"title":"Expected Publication Version"},"recalled_by":{"type":"string","maxLength":128,"minLength":1,"title":"Recalled By"},"severity":{"type":"string","enum":["advisory","important","critical"],"title":"Severity","default":"important"},"reason_codes":{"items":{"type":"string"},"type":"array","maxItems":24,"minItems":1,"title":"Reason Codes"},"rationale":{"type":"string","maxLength":4000,"minLength":3,"title":"Rationale"},"replacement_publication_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Replacement Publication Id"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os10_content_ops__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"}},"type":"object","required":["publication_id","expected_publication_version","recalled_by","reason_codes","rationale","evidence_refs"],"title":"RecallContentCommand"},"RecallGraphReleaseRequest":{"properties":{"reason_code":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{2,79}$","title":"Reason Code"},"narrative":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Narrative"},"last_good_release_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Last Good Release Id"}},"additionalProperties":false,"type":"object","required":["reason_code"],"title":"RecallGraphReleaseRequest"},"RecapCreate":{"properties":{"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version"},"period_start":{"type":"string","format":"date","title":"Period Start"},"period_end":{"type":"string","format":"date","title":"Period End"},"timezone":{"type":"string","maxLength":64,"minLength":3,"title":"Timezone"}},"additionalProperties":false,"type":"object","required":["expected_version","period_start","period_end","timezone"],"title":"RecapCreate"},"RecapNextWeekCommitBody":{"properties":{"student_id":{"type":"string","maxLength":64,"minLength":1,"title":"Student Id"},"focus":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"Focus"},"alternate_focus":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"Alternate Focus"},"focus_concept_ids":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":6},{"type":"null"}],"title":"Focus Concept Ids"}},"type":"object","required":["student_id"],"title":"RecapNextWeekCommitBody"},"RecapPlanProposalCreate":{"properties":{"expected_plan_version":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Expected Plan Version"},"action_refs":{"items":{"type":"string"},"type":"array","maxItems":10,"minItems":1,"title":"Action Refs"},"expires_in_hours":{"type":"integer","maximum":168.0,"minimum":1.0,"title":"Expires In Hours","default":72}},"additionalProperties":false,"type":"object","required":["action_refs"],"title":"RecapPlanProposalCreate"},"RecapShareBody":{"properties":{"student_id":{"type":"string","maxLength":64,"minLength":1,"title":"Student Id"},"share_platform":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Share Platform","default":"parent_preview"}},"type":"object","required":["student_id"],"title":"RecapShareBody"},"RecapShareCreate":{"properties":{"purpose":{"type":"string","enum":["parent_weekly_recap"],"const":"parent_weekly_recap","title":"Purpose","default":"parent_weekly_recap"}},"additionalProperties":false,"type":"object","title":"RecapShareCreate"},"ReceiptBody":{"properties":{"reason":{"type":"string","maxLength":500,"minLength":3,"title":"Reason"},"receipt_ref":{"type":"string","maxLength":200,"minLength":3,"title":"Receipt Ref"}},"type":"object","required":["reason","receipt_ref"],"title":"ReceiptBody"},"ReceiptIssueRequest":{"properties":{"receipt_type":{"type":"string","maxLength":80,"minLength":3,"title":"Receipt Type"},"entity_ref":{"$ref":"#/components/schemas/EntityRef"},"actor_ref":{"$ref":"#/components/schemas/EntityRef"},"purpose":{"type":"string","maxLength":120,"minLength":3,"title":"Purpose"},"action":{"type":"string","maxLength":160,"minLength":3,"title":"Action"},"input_refs":{"items":{"type":"string"},"type":"array","maxItems":100,"title":"Input Refs"},"output_refs":{"items":{"type":"string"},"type":"array","maxItems":100,"title":"Output Refs"},"source_versions":{"additionalProperties":{"type":"string"},"type":"object","title":"Source Versions"},"approval_refs":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Approval Refs"},"result":{"type":"string","enum":["SUCCEEDED","FAILED","PARTIAL","ROLLED_BACK"],"title":"Result"},"readback":{"type":"object","title":"Readback"},"supersedes":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Supersedes"},"rollback_ref":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Rollback Ref"},"idempotency_key":{"type":"string","maxLength":200,"minLength":8,"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["receipt_type","entity_ref","actor_ref","purpose","action","result","idempotency_key"],"title":"ReceiptIssueRequest"},"ReceiptRequest":{"properties":{"contract_version":{"type":"string","maxLength":40,"title":"Contract Version","default":"market-radar/v1"},"snapshot_id":{"type":"string","maxLength":64,"minLength":1,"title":"Snapshot Id"},"idempotency_key":{"type":"string","maxLength":200,"minLength":8,"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["snapshot_id","idempotency_key"],"title":"ReceiptRequest","description":"A public receipt accepts no owner, tenant or subject: any such field is a 422."},"ReceiptVerifyRequest":{"properties":{"receipt_id":{"type":"string","format":"uuid","title":"Receipt Id"},"expected_hash":{"anyOf":[{"type":"string","pattern":"^[a-f0-9]{64}$"},{"type":"null"}],"title":"Expected Hash"},"reason":{"type":"string","maxLength":1000,"minLength":8,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["receipt_id","reason"],"title":"ReceiptVerifyRequest"},"RecentCommand":{"properties":{"operation":{"type":"string","enum":["VISIT","REMOVE","CLEAR"],"title":"Operation"},"product_key":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Product Key"},"expected_revision":{"type":"integer","maximum":9007199254740991.0,"minimum":0.0,"title":"Expected Revision"}},"additionalProperties":false,"type":"object","required":["operation","expected_revision"],"title":"RecentCommand"},"RecheckBody":{"properties":{"purpose":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Purpose"},"contract_version":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Contract Version"},"expected_version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expected Version"},"idempotency_key":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Idempotency Key"},"reason_code":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Reason Code"},"evidence_refs":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":20},{"type":"null"}],"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","title":"RecheckBody"},"RecheckRequest":{"properties":{"request_id":{"type":"string","maxLength":120,"minLength":8,"title":"Request Id"},"confirm_allowance":{"type":"boolean","title":"Confirm Allowance","default":false},"beneficiary_id":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Beneficiary Id"}},"additionalProperties":false,"type":"object","required":["request_id"],"title":"RecheckRequest"},"RecompareRequest":{"properties":{"priority":{"items":{"type":"string","enum":["duration","cost","gates","opens","closes"]},"type":"array","title":"Priority","default":[]}},"additionalProperties":false,"type":"object","title":"RecompareRequest"},"RecompareView":{"properties":{"comparison":{"$ref":"#/components/schemas/ComparisonView"},"new_version":{"type":"boolean","title":"New Version"},"previous_version_no":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Previous Version No"},"message":{"type":"string","title":"Message"}},"additionalProperties":false,"type":"object","required":["comparison","new_version","message"],"title":"RecompareView"},"RecomputeBody":{"properties":{"exam":{"type":"string","pattern":"^(JEE|NEET|jee|neet)$","title":"Exam"},"subject":{"type":"string","maxLength":16,"minLength":2,"title":"Subject"},"reason":{"type":"string","maxLength":500,"minLength":3,"title":"Reason"},"request_id":{"type":"string","maxLength":96,"minLength":8,"pattern":"^[A-Za-z0-9._:-]+$","title":"Request Id"}},"type":"object","required":["exam","subject","reason","request_id"],"title":"RecomputeBody"},"ReconcileAskAttemptBody":{"properties":{"actual_usd":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string"}],"title":"Actual Usd"},"billing_evidence_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Billing Evidence Sha256"},"reason":{"type":"string","maxLength":400,"minLength":5,"title":"Reason"}},"type":"object","required":["actual_usd","billing_evidence_sha256","reason"],"title":"ReconcileAskAttemptBody"},"ReconcileSeriesCommand":{"properties":{"current_proof_id":{"type":"string","title":"Current Proof Id"},"reason":{"type":"string","maxLength":1000,"minLength":4,"title":"Reason"},"expected_series_version":{"type":"integer","minimum":1.0,"title":"Expected Series Version"}},"type":"object","required":["current_proof_id","reason","expected_series_version"],"title":"ReconcileSeriesCommand"},"RecordAfterTheFactRequest":{"properties":{"receipt_domain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Receipt Domain"},"decision_kind":{"type":"string","maxLength":120,"minLength":1,"title":"Decision Kind"},"subject":{"$ref":"#/components/schemas/SubjectIn"},"decided_at":{"type":"string","format":"date-time","title":"Decided At"},"basis":{"type":"string","maxLength":40,"minLength":1,"title":"Basis"},"decision_statement":{"anyOf":[{"type":"string","maxLength":2000,"minLength":1},{"type":"null"}],"title":"Decision Statement"},"decision_authority":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Decision Authority"},"decision_round_ref":{"anyOf":[{"type":"string","maxLength":127,"minLength":2},{"type":"null"}],"title":"Decision Round Ref"},"options":{"items":{"$ref":"#/components/schemas/decision_universe__service_decision_receipt__OptionIn"},"type":"array","maxItems":100,"title":"Options","default":[]},"options_complete":{"type":"boolean","title":"Options Complete","default":false},"stated_reason":{"anyOf":[{"$ref":"#/components/schemas/ReasonIn"},{"type":"null"}]},"source_release":{"anyOf":[{"$ref":"#/components/schemas/ReleaseIn"},{"type":"null"}]},"rule_release":{"anyOf":[{"$ref":"#/components/schemas/ReleaseIn"},{"type":"null"}]},"priorities":{"anyOf":[{"$ref":"#/components/schemas/PrioritiesIn"},{"type":"null"}]},"graph_release_id":{"anyOf":[{"type":"string","maxLength":127},{"type":"null"}],"title":"Graph Release Id"},"rule_release_ref":{"anyOf":[{"type":"string","maxLength":127},{"type":"null"}],"title":"Rule Release Ref"},"context_id":{"anyOf":[{"type":"string","maxLength":127},{"type":"null"}],"title":"Context Id"}},"additionalProperties":false,"type":"object","required":["decision_kind","subject","decided_at","basis"],"title":"RecordAfterTheFactRequest","description":"A decision made earlier, typed in now.\n\nThe route that takes this cannot write a contemporaneous receipt: there is no\ncapture_mode field to send, and an unknown field is refused. The date is the\nfamily's, required, and never defaulted to today."},"RecordCouponBody":{"properties":{"student_id":{"type":"string","maxLength":64,"minLength":1,"title":"Student Id"},"coupon_id":{"type":"string","maxLength":64,"minLength":1,"title":"Coupon Id"},"coupon_code":{"type":"string","maxLength":64,"minLength":1,"title":"Coupon Code"},"discount_paise":{"type":"integer","maximum":100000000.0,"minimum":1.0,"title":"Discount Paise"},"currency":{"type":"string","maxLength":3,"minLength":3,"title":"Currency","default":"INR"},"valid_from":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Valid From"},"valid_until":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Valid Until"},"max_uses":{"anyOf":[{"type":"integer","maximum":1000000.0,"minimum":1.0},{"type":"null"}],"title":"Max Uses"}},"type":"object","required":["student_id","coupon_id","coupon_code","discount_paise"],"title":"RecordCouponBody"},"RecordSourceAuthorityRequest":{"properties":{"paper_ref":{"type":"string","maxLength":120,"minLength":1,"title":"Paper Ref"},"source_ref":{"type":"string","maxLength":240,"minLength":1,"title":"Source Ref"},"source_version":{"type":"string","maxLength":120,"minLength":1,"title":"Source Version"},"exam":{"type":"string","maxLength":40,"minLength":2,"title":"Exam"},"class_level":{"type":"integer","maximum":14.0,"minimum":1.0,"title":"Class Level"},"subject":{"type":"string","maxLength":80,"minLength":2,"title":"Subject"},"session":{"type":"string","maxLength":20,"minLength":4,"title":"Session"},"publisher":{"type":"string","maxLength":300,"minLength":2,"title":"Publisher"},"documents":{"items":{"$ref":"#/components/schemas/SourceDocument"},"type":"array","maxItems":10,"minItems":1,"title":"Documents"},"rights_basis":{"type":"string","enum":["OFFICIAL_PUBLICATION","LICENSED","OWNED","PUBLIC_DOMAIN"],"title":"Rights Basis"},"rights_holder":{"type":"string","maxLength":300,"minLength":2,"title":"Rights Holder"},"decision":{"type":"string","maxLength":300,"minLength":2,"title":"Decision"},"credit":{"type":"string","maxLength":300,"minLength":2,"title":"Credit"},"decided_by":{"type":"string","maxLength":300,"minLength":3,"title":"Decided By"},"decision_note":{"type":"string","maxLength":1000,"title":"Decision Note","default":""},"declaration_ref":{"type":"string","maxLength":400,"title":"Declaration Ref","default":""},"distribution_scopes":{"items":{"type":"string"},"type":"array","minItems":1,"title":"Distribution Scopes"},"territories":{"items":{"type":"string"},"type":"array","minItems":1,"title":"Territories"},"dry_run":{"type":"boolean","title":"Dry Run","default":false}},"type":"object","required":["paper_ref","source_ref","source_version","exam","class_level","subject","session","publisher","documents","rights_basis","rights_holder","decision","credit","decided_by"],"title":"RecordSourceAuthorityRequest"},"RecordStageRequest":{"properties":{"stage":{"$ref":"#/components/schemas/AcceptanceStage"},"status":{"$ref":"#/components/schemas/StageStatus"},"reason_codes":{"items":{"type":"string"},"type":"array","maxItems":64,"title":"Reason Codes"},"evidence_refs":{"items":{"$ref":"#/components/schemas/insights_runtime_acceptance_core__EvidenceRef"},"type":"array","maxItems":128,"title":"Evidence Refs"},"metrics":{"additionalProperties":{"type":"number"},"type":"object","maxProperties":64,"title":"Metrics"},"blocker_owner":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Blocker Owner"},"started_at":{"type":"string","format":"date-time","title":"Started At"},"completed_at":{"type":"string","format":"date-time","title":"Completed At"},"expected_stage_version":{"type":"integer","minimum":0.0,"title":"Expected Stage Version","default":0},"candidate_sha":{"type":"string","pattern":"^[a-f0-9]{40}$","title":"Candidate Sha"},"image_digest":{"type":"string","pattern":"^sha256:[a-f0-9]{64}$","title":"Image Digest"},"environment":{"type":"string","enum":["local","staging","production_equivalent","production"],"title":"Environment"},"external_authority":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"External Authority"}},"additionalProperties":false,"type":"object","required":["stage","status","started_at","completed_at","candidate_sha","image_digest","environment"],"title":"RecordStageRequest"},"RecordStatedConfidenceRequest":{"properties":{"attempt_ref":{"type":"string","maxLength":200,"minLength":1,"title":"Attempt Ref"},"item_ref":{"type":"string","maxLength":200,"minLength":1,"title":"Item Ref"},"source_product_id":{"type":"string","maxLength":64,"minLength":1,"title":"Source Product Id"},"stated_confidence":{"type":"string","maxLength":32,"minLength":1,"title":"Stated Confidence"},"confidence_scale":{"type":"string","maxLength":32,"minLength":1,"title":"Confidence Scale"},"concept_ref":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Concept Ref"},"client_event_id":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Client Event Id"}},"additionalProperties":false,"type":"object","required":["attempt_ref","item_ref","source_product_id","stated_confidence","confidence_scale"],"title":"RecordStatedConfidenceRequest"},"RecordViewRequest":{"properties":{"occupation_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Occupation Id"},"entry_kind":{"type":"string","enum":["SEARCH","FIELD","SUBJECT","HANDOFF","DIRECT"],"title":"Entry Kind","default":"DIRECT"},"rendered_states":{"additionalProperties":{"type":"string"},"type":"object","maxProperties":6,"title":"Rendered States"},"ui_event":{"anyOf":[{"type":"string","enum":["explorer_opened","entry_used","source_drawer_opened","handoff_sent"]},{"type":"null"}],"title":"Ui Event"}},"additionalProperties":false,"type":"object","title":"RecordViewRequest"},"RecordWatchCheckRequest":{"properties":{"attempted_at":{"type":"string","format":"date-time","title":"Attempted At"},"outcome":{"type":"string","enum":["NO_CHANGE","CHANGED","FAILED","SKIPPED"],"title":"Outcome"},"failure_reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Failure Reason"},"snapshot_digest":{"anyOf":[{"type":"string","pattern":"^[a-f0-9]{64}$"},{"type":"null"}],"title":"Snapshot Digest"}},"additionalProperties":false,"type":"object","required":["attempted_at","outcome"],"title":"RecordWatchCheckRequest"},"RecoveryAcceptBody":{"properties":{"move":{"type":"string","maxLength":64,"title":"Move","default":"lighter_plan_today"},"reason":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Reason","default":"student_requested_recovery"}},"type":"object","title":"RecoveryAcceptBody","description":"WELL-002 one-kind-move accept payload.\n\nThe move lightens pending work; it never locks content, never marks\ncompleted work down, and never asks the student to earn access back."},"RecoveryGoal":{"properties":{"goal_type":{"type":"string","enum":["FIELD","LOCATION","CREDENTIAL_LEVEL","OCCUPATION","TIME","COST"],"title":"Goal Type"},"value_ref":{"type":"string","maxLength":240,"minLength":1,"title":"Value Ref"},"priority":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Priority"},"preserved":{"type":"boolean","title":"Preserved","default":true}},"additionalProperties":false,"type":"object","required":["goal_type","value_ref","priority"],"title":"RecoveryGoal"},"RecoveryRefundBody":{"properties":{"refund_id":{"type":"string","pattern":"^rfnd_[A-Za-z0-9]+$","title":"Refund Id"},"reason":{"type":"string","maxLength":500,"minLength":3,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["refund_id","reason"],"title":"RecoveryRefundBody"},"RecurringIssuedInvoiceBody":{"properties":{"invoice_number":{"type":"string","maxLength":120,"minLength":1,"title":"Invoice Number"},"invoice_provider_ref":{"type":"string","maxLength":240,"minLength":1,"title":"Invoice Provider Ref"},"evidence_ref":{"type":"string","maxLength":300,"minLength":3,"title":"Evidence Ref"}},"additionalProperties":false,"type":"object","required":["invoice_number","invoice_provider_ref","evidence_ref"],"title":"RecurringIssuedInvoiceBody"},"RedeemForChildBody":{"properties":{"code":{"type":"string","maxLength":64,"minLength":1,"title":"Code"},"child_id":{"type":"string","maxLength":64,"minLength":1,"title":"Child Id"}},"additionalProperties":false,"type":"object","required":["code","child_id"],"title":"RedeemForChildBody"},"ReferenceCreate":{"properties":{"source_ref":{"$ref":"#/components/schemas/SourceReferenceBody"},"collection_id":{"type":"string","maxLength":240,"minLength":1,"title":"Collection Id"},"collection_revision":{"type":"integer","maximum":9007199254740991.0,"minimum":1.0,"title":"Collection Revision"},"user_label":{"anyOf":[{"type":"string","maxLength":160,"minLength":1},{"type":"null"}],"title":"User Label"}},"additionalProperties":false,"type":"object","required":["source_ref","collection_id","collection_revision"],"title":"ReferenceCreate"},"ReferenceFigure":{"properties":{"closing_rank":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Closing Rank"},"opening_rank":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Opening Rank"},"round_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Round Key"},"round_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Round Label"},"year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Year"},"body_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body Label"},"source_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Id"},"source_authority":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Authority"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url"},"source_captured_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Captured At"},"read_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Read At"},"closings_held":{"type":"integer","title":"Closings Held","default":0},"closing_tightest":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Closing Tightest"}},"additionalProperties":false,"type":"object","title":"ReferenceFigure","description":"The published figure behind a position, with where and when it came from."},"ReferenceRenameLabel":{"properties":{"operation":{"type":"string","enum":["RENAME_LABEL"],"const":"RENAME_LABEL","title":"Operation"},"user_label":{"anyOf":[{"type":"string","maxLength":160,"minLength":1},{"type":"null"}],"title":"User Label"}},"additionalProperties":false,"type":"object","required":["operation","user_label"],"title":"ReferenceRenameLabel"},"RefreshRequest":{"properties":{"refresh_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Refresh Token"}},"type":"object","title":"RefreshRequest"},"RefundIntentBody":{"properties":{"owner_id":{"type":"string","maxLength":64,"minLength":3,"title":"Owner Id"},"requested_minor_units":{"type":"integer","exclusiveMinimum":0.0,"title":"Requested Minor Units"},"idempotency_key":{"type":"string","maxLength":200,"minLength":8,"title":"Idempotency Key"},"reason":{"type":"string","maxLength":500,"minLength":3,"title":"Reason"},"policy_version":{"type":"string","enum":["refund-full-v1"],"const":"refund-full-v1","title":"Policy Version"}},"additionalProperties":false,"type":"object","required":["owner_id","requested_minor_units","idempotency_key","reason","policy_version"],"title":"RefundIntentBody"},"RefundOperationBody":{"properties":{"owner_id":{"type":"string","maxLength":64,"minLength":3,"title":"Owner Id"}},"additionalProperties":false,"type":"object","required":["owner_id"],"title":"RefundOperationBody"},"RegenerateBody":{"properties":{"student_id":{"type":"string","maxLength":64,"minLength":1,"title":"Student Id"},"reason":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Reason"}},"type":"object","required":["student_id"],"title":"RegenerateBody"},"RegionBucket":{"type":"string","enum":["india_north","india_south","india_east","india_west","india_central","india_northeast","remote_or_unknown"],"title":"RegionBucket"},"RegisterProjection":{"properties":{"register_version":{"type":"integer","title":"Register Version"},"published_at":{"type":"string","format":"date-time","title":"Published At"},"triggers":{"items":{"$ref":"#/components/schemas/RegisterTrigger"},"type":"array","title":"Triggers"},"metered":{"type":"boolean","enum":[false],"const":false,"title":"Metered","default":false}},"additionalProperties":false,"type":"object","required":["register_version","published_at","triggers"],"title":"RegisterProjection"},"RegisterReceipt":{"properties":{"register_version":{"type":"integer","title":"Register Version"},"trigger_ids":{"items":{"type":"string"},"type":"array","title":"Trigger Ids"},"published_at":{"type":"string","format":"date-time","title":"Published At"},"state":{"type":"string","enum":["PUBLISHED","HELD"],"title":"State"},"publication_digest":{"type":"string","title":"Publication Digest"},"replayed":{"type":"boolean","title":"Replayed","default":false}},"additionalProperties":false,"type":"object","required":["register_version","trigger_ids","published_at","state","publication_digest"],"title":"RegisterReceipt"},"RegisterTrigger":{"properties":{"trigger_id":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{2,63}$","title":"Trigger Id"},"description":{"type":"string","maxLength":500,"minLength":1,"title":"Description"},"applies_to":{"type":"string","enum":["SAVED_ROUTE","ACTION_PLAN_CREATED","COMPARE_RESOLVED","HANDOFF_ACCEPTED","EXPLICIT_LEARNER_CONFIRMATION"],"title":"Applies To"}},"additionalProperties":false,"type":"object","required":["trigger_id","description","applies_to"],"title":"RegisterTrigger"},"RegistryLockCommand":{"properties":{"lock_id":{"type":"string","format":"uuid","title":"Lock Id"},"release_scope":{"type":"string","title":"Release Scope"},"registry_name":{"type":"string","maxLength":120,"minLength":2,"title":"Registry Name"},"registry_version":{"type":"string","maxLength":80,"minLength":1,"title":"Registry Version"},"locked_commit_sha":{"type":"string","maxLength":80,"minLength":7,"title":"Locked Commit Sha"},"contract_refs":{"items":{"type":"string"},"type":"array","minItems":1,"title":"Contract Refs"},"drift_scan_ref":{"type":"string","maxLength":240,"minLength":4,"title":"Drift Scan Ref"},"metadata":{"type":"object","title":"Metadata"}},"type":"object","required":["release_scope","registry_name","registry_version","locked_commit_sha","contract_refs","drift_scan_ref"],"title":"RegistryLockCommand"},"RejectBody":{"properties":{"reason":{"type":"string","maxLength":1000,"minLength":3,"title":"Reason"}},"type":"object","required":["reason"],"title":"RejectBody"},"RelationshipClaimBody":{"properties":{"invitation_token":{"type":"string","maxLength":2048,"minLength":40,"title":"Invitation Token"}},"type":"object","required":["invitation_token"],"title":"RelationshipClaimBody"},"RelationshipInviteCreateBody":{"properties":{"relationship_type":{"type":"string","enum":["guardian","payer","sponsor","support_contact"],"title":"Relationship Type"},"purposes":{"items":{"type":"string"},"type":"array","maxItems":6,"minItems":1,"title":"Purposes"},"expires_in_days":{"type":"integer","maximum":30.0,"minimum":1.0,"title":"Expires In Days","default":7},"label":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Label"}},"type":"object","required":["relationship_type","purposes"],"title":"RelationshipInviteCreateBody"},"RelayBackfillCommand":{"properties":{"dry_run":{"type":"boolean","title":"Dry Run","default":true},"event_prefix":{"type":"string","maxLength":64,"minLength":3,"pattern":"^[a-z][a-z0-9_.-]*\\.$","title":"Event Prefix","default":"os01."},"limit":{"type":"integer","maximum":500.0,"minimum":1.0,"title":"Limit","default":100}},"additionalProperties":false,"type":"object","title":"RelayBackfillCommand","description":"Bounded, dry-run-first adoption of pre-relay canonical outbox rows."},"ReleaseActivation":{"properties":{"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version"},"impact_acknowledged":{"type":"boolean","title":"Impact Acknowledged"}},"additionalProperties":false,"type":"object","required":["expected_version","impact_acknowledged"],"title":"ReleaseActivation"},"ReleaseBody":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ReleaseItem"},"type":"array","maxItems":200,"minItems":1,"title":"Items"}},"type":"object","required":["items"],"title":"ReleaseBody"},"ReleaseCandidateCommand":{"properties":{"candidate_id":{"type":"string","format":"uuid","title":"Candidate Id"},"release_scope":{"type":"string","maxLength":120,"minLength":2,"title":"Release Scope"},"commit_sha":{"type":"string","maxLength":64,"minLength":7,"title":"Commit Sha"},"base_sha":{"type":"string","maxLength":64,"minLength":7,"title":"Base Sha"},"environment":{"type":"string","maxLength":120,"minLength":2,"title":"Environment"},"manifest_sha256":{"type":"string","maxLength":64,"minLength":64,"pattern":"^[a-fA-F0-9]{64}$","title":"Manifest Sha256"},"mandatory_profile":{"type":"string","enum":["OS18_FULL_RELEASE_V1"],"const":"OS18_FULL_RELEASE_V1","title":"Mandatory Profile","default":"OS18_FULL_RELEASE_V1"},"included_prs":{"items":{"type":"string"},"type":"array","maxItems":128,"title":"Included Prs"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os18_release_gate__models__EvidenceRef"},"type":"array","maxItems":64,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["release_scope","commit_sha","base_sha","environment","manifest_sha256","actor_id","evidence_refs"],"title":"ReleaseCandidateCommand"},"ReleaseControlEnvelope":{"properties":{"mode":{"$ref":"#/components/schemas/ReleaseMode"},"rollout_percent":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Rollout Percent","default":0},"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version"},"acceptance_run_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Acceptance Run Id"},"last_good_commit":{"type":"string","pattern":"^[a-f0-9]{40}$","title":"Last Good Commit"},"reason":{"type":"string","maxLength":300,"minLength":3,"title":"Reason"},"control_id":{"type":"string","format":"uuid","title":"Control Id","default":"5a398a58-e1d1-56c1-948f-3a8973c6a427"}},"additionalProperties":false,"type":"object","required":["mode","expected_version","last_good_commit","reason"],"title":"ReleaseControlEnvelope"},"ReleaseDecisionRevocationCommand":{"properties":{"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"decision_note":{"type":"string","maxLength":1600,"minLength":8,"title":"Decision Note"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os18_release_gate__models__EvidenceRef"},"type":"array","maxItems":64,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["actor_id","decision_note","evidence_refs"],"title":"ReleaseDecisionRevocationCommand"},"ReleaseDecisionState":{"type":"string","enum":["COLLECTING","BLOCKED","READY_FOR_RELEASE","CONDITIONALLY_READY","REVOKED"],"title":"ReleaseDecisionState"},"ReleaseEvidenceCommand":{"properties":{"evidence_id":{"type":"string","format":"uuid","title":"Evidence Id"},"release_scope":{"type":"string","title":"Release Scope"},"evidence_class":{"type":"string","maxLength":80,"minLength":2,"title":"Evidence Class"},"result":{"$ref":"#/components/schemas/os_runtime__aos_pr24_release_cutover__models__EvidenceResult"},"executed":{"type":"boolean","title":"Executed","default":false},"executed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Executed At"},"artifact_refs":{"items":{"type":"string"},"type":"array","title":"Artifact Refs"},"environment":{"type":"string","maxLength":80,"title":"Environment","default":"rehearsal"},"command":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Command"},"metadata":{"type":"object","title":"Metadata"}},"type":"object","required":["release_scope","evidence_class","result"],"title":"ReleaseEvidenceCommand"},"ReleaseIn":{"properties":{"ref":{"anyOf":[{"type":"string","maxLength":127},{"type":"null"}],"title":"Ref"},"digest":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Digest"},"publisher":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Publisher"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"},"read_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Read At"},"authority":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Authority"}},"additionalProperties":false,"type":"object","title":"ReleaseIn"},"ReleaseItem":{"properties":{"response_id":{"type":"string","maxLength":64,"minLength":1,"title":"Response Id"},"action":{"type":"string","enum":["confirm","change"],"title":"Action"},"score":{"anyOf":[{"type":"number","maximum":100000.0,"minimum":0.0},{"type":"null"}],"title":"Score"}},"type":"object","required":["response_id","action"],"title":"ReleaseItem"},"ReleaseMode":{"type":"string","enum":["legacy","observe","canary","active","rollback"],"title":"ReleaseMode"},"ReleaseNoteBody":{"properties":{"service":{"type":"string","title":"Service"},"commit":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Commit"},"body":{"type":"string","maxLength":2000,"minLength":3,"title":"Body"}},"type":"object","required":["service","body"],"title":"ReleaseNoteBody"},"ReleaseRequest":{"properties":{"turn_id":{"type":"string","maxLength":160,"minLength":1,"title":"Turn Id"},"turn_version":{"type":"integer","minimum":1.0,"title":"Turn Version"},"route_decision_ref":{"type":"string","maxLength":300,"minLength":1,"title":"Route Decision Ref"},"context":{"$ref":"#/components/schemas/askimgimp_pr01_authority__AcademicContext"},"sections":{"items":{"$ref":"#/components/schemas/AnswerSection"},"type":"array","minItems":1,"title":"Sections"},"claims":{"items":{"$ref":"#/components/schemas/ClaimCandidate"},"type":"array","title":"Claims"},"required_claim_coverage":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Required Claim Coverage","default":0.8},"safety_allowed":{"type":"boolean","title":"Safety Allowed","default":true},"provider_completed":{"type":"boolean","title":"Provider Completed","default":true}},"additionalProperties":false,"type":"object","required":["turn_id","turn_version","route_decision_ref","context","sections"],"title":"ReleaseRequest"},"ReleaseRetirement":{"properties":{"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version"},"maker_id":{"type":"string","maxLength":256,"minLength":1,"title":"Maker Id"},"impact_acknowledged":{"type":"boolean","title":"Impact Acknowledged"},"reason":{"type":"string","maxLength":1000,"minLength":3,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["expected_version","maker_id","impact_acknowledged","reason"],"title":"ReleaseRetirement","description":"Governed, append-only curriculum release retirement command.\n\nThe authenticated caller is the checker.  ``maker_id`` identifies the\nindependent operator who proposed the retirement."},"ReleaseReview":{"properties":{"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version"},"maker_id":{"type":"string","maxLength":256,"minLength":1,"title":"Maker Id"},"reason":{"type":"string","maxLength":1000,"minLength":3,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["expected_version","maker_id","reason"],"title":"ReleaseReview"},"ReleaseState":{"type":"string","enum":["DRAFT_RELEASE","REVIEWED","ACTIVE","SUPERSEDED","RETIRED"],"title":"ReleaseState"},"ReleaseView":{"properties":{"graph_release_id":{"type":"string","title":"Graph Release Id"},"release_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Release Key"},"version_no":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Version No"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"},"state":{"type":"string","title":"State"}},"additionalProperties":false,"type":"object","required":["graph_release_id","state"],"title":"ReleaseView"},"RemedyBody":{"properties":{"requested_remedy":{"type":"string","title":"Requested Remedy"},"dispute_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dispute Ref"},"basis_receipt_refs":{"items":{"type":"string"},"type":"array","title":"Basis Receipt Refs","default":[]},"expected_remote_revision":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expected Remote Revision"},"correlation_id":{"type":"string","title":"Correlation Id"}},"additionalProperties":false,"type":"object","required":["requested_remedy","correlation_id"],"title":"RemedyBody"},"RemedySponsorshipRequest":{"properties":{"sponsorship_id":{"type":"string","format":"uuid","title":"Sponsorship Id"},"requested_action":{"type":"string","enum":["RECHECK","RELEASE","REFUND_REVIEW"],"title":"Requested Action"}},"additionalProperties":false,"type":"object","required":["sponsorship_id","requested_action"],"title":"RemedySponsorshipRequest"},"RemoveConfirmIn":{"properties":{"token":{"type":"string","maxLength":200,"title":"Token"}},"additionalProperties":false,"type":"object","required":["token"],"title":"RemoveConfirmIn"},"RemoveRequestIn":{"properties":{"channel":{"type":"string","maxLength":10,"title":"Channel"},"contact":{"type":"string","maxLength":254,"title":"Contact"}},"additionalProperties":false,"type":"object","required":["channel","contact"],"title":"RemoveRequestIn"},"RenderAck":{"properties":{"home_decision_ref":{"type":"string","maxLength":96,"minLength":8,"title":"Home Decision Ref"},"object_ids":{"items":{"type":"string"},"type":"array","maxItems":100,"minItems":1,"title":"Object Ids"},"first_content_at":{"type":"string","format":"date-time","title":"First Content At"},"viewport":{"type":"string","maxLength":40,"minLength":3,"title":"Viewport"},"route":{"type":"string","maxLength":300,"minLength":1,"title":"Route"},"idempotency_key":{"type":"string","maxLength":200,"minLength":8,"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["home_decision_ref","object_ids","first_content_at","viewport","route","idempotency_key"],"title":"RenderAck"},"RenderAcknowledgementRequest":{"properties":{"bridge_projection_id":{"type":"string","title":"Bridge Projection Id"},"bridge_digest":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Bridge Digest"},"composition_receipt_id":{"type":"string","title":"Composition Receipt Id"},"composition_feed_digest":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Composition Feed Digest"},"feed_replay_id":{"type":"string","title":"Feed Replay Id"},"recipe_id":{"type":"string","title":"Recipe Id"},"recipe_key":{"type":"string","title":"Recipe Key"},"home_type":{"type":"string","title":"Home Type"},"cold_state":{"type":"string","title":"Cold State"},"rendered_object_ids":{"items":{"type":"string"},"type":"array","title":"Rendered Object Ids"},"viewport_width":{"type":"integer","maximum":7680.0,"minimum":280.0,"title":"Viewport Width"},"viewport_height":{"type":"integer","maximum":7680.0,"minimum":320.0,"title":"Viewport Height"},"reduced_motion":{"type":"boolean","title":"Reduced Motion"},"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version"}},"additionalProperties":false,"type":"object","required":["bridge_projection_id","bridge_digest","composition_receipt_id","composition_feed_digest","feed_replay_id","recipe_id","recipe_key","home_type","cold_state","rendered_object_ids","viewport_width","viewport_height","reduced_motion","expected_version"],"title":"RenderAcknowledgementRequest"},"RenderPdfBody":{"properties":{"trim_size":{"type":"string","pattern":"^(A4|A5|B5|LETTER|a4|a5|b5|letter)$","title":"Trim Size","default":"A4"},"force":{"type":"boolean","title":"Force","default":false},"force_reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Force Reason"}},"type":"object","title":"RenderPdfBody"},"RepairCandidateCommand":{"properties":{"student_id":{"type":"string","maxLength":128,"minLength":1,"title":"Student Id"},"source_error_id":{"type":"string","format":"uuid","title":"Source Error Id"},"source_attempt_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Source Attempt Id"},"concept_id":{"type":"string","maxLength":128,"minLength":1,"title":"Concept Id"},"subject_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Subject Id"},"evidence_refs":{"items":{"type":"object"},"type":"array","maxItems":24,"title":"Evidence Refs"},"error_type":{"type":"string","maxLength":128,"minLength":1,"title":"Error Type"},"severity":{"type":"string","enum":["low","medium","high","critical"],"title":"Severity","default":"medium"},"confidence":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Confidence"},"admitted_at":{"type":"string","format":"date-time","title":"Admitted At"}},"type":"object","required":["student_id","source_error_id","concept_id","error_type","confidence"],"title":"RepairCandidateCommand"},"RepairConfirmationRequest":{"properties":{"treatment_kind":{"type":"string","enum":["micro_drill","worked_example","concept_refresh","teacher_review"],"title":"Treatment Kind","default":"micro_drill"}},"type":"object","title":"RepairConfirmationRequest"},"RepairEpisodeCommand":{"properties":{"candidate_id":{"type":"string","format":"uuid","title":"Candidate Id"},"student_id":{"type":"string","maxLength":128,"minLength":1,"title":"Student Id"},"treatment_kind":{"type":"string","enum":["micro_drill","worked_example","concept_refresh","teacher_review","full_reteach"],"title":"Treatment Kind"},"policy_id":{"type":"string","maxLength":128,"minLength":3,"title":"Policy Id"},"policy_version":{"type":"string","maxLength":32,"minLength":1,"title":"Policy Version"},"max_steps":{"anyOf":[{"type":"integer","maximum":12.0,"minimum":1.0},{"type":"null"}],"title":"Max Steps"}},"type":"object","required":["candidate_id","student_id","treatment_kind","policy_id","policy_version"],"title":"RepairEpisodeCommand"},"RepairStepCommand":{"properties":{"episode_id":{"type":"string","format":"uuid","title":"Episode Id"},"step_type":{"type":"string","maxLength":80,"minLength":1,"title":"Step Type"},"state":{"type":"string","enum":["STARTED","DONE","SKIPPED","FAILED"],"title":"State","default":"DONE"},"evidence_refs":{"items":{"type":"object"},"type":"array","maxItems":24,"title":"Evidence Refs"},"metadata":{"type":"object","title":"Metadata"}},"type":"object","required":["episode_id","step_type"],"title":"RepairStepCommand"},"RepairWorksheetCreateCommand":{"properties":{"content_key":{"type":"string","maxLength":160,"minLength":3,"title":"Content Key"},"title":{"type":"string","maxLength":240,"minLength":1,"title":"Title"},"instructions":{"type":"string","maxLength":2000,"minLength":4,"title":"Instructions"},"concept_ref":{"type":"string","format":"uuid","title":"Concept Ref"},"curriculum_release_id":{"type":"string","format":"uuid","title":"Curriculum Release Id"},"source_passport_id":{"type":"string","format":"uuid","title":"Source Passport Id"},"rights_decision_id":{"type":"string","format":"uuid","title":"Rights Decision Id"},"curriculum_mapping_id":{"type":"string","format":"uuid","title":"Curriculum Mapping Id"},"question_publications":{"items":{"$ref":"#/components/schemas/QuestionPublicationRef"},"type":"array","maxItems":20,"minItems":5,"title":"Question Publications"}},"additionalProperties":false,"type":"object","required":["content_key","title","instructions","concept_ref","curriculum_release_id","source_passport_id","rights_decision_id","curriculum_mapping_id","question_publications"],"title":"RepairWorksheetCreateCommand","description":"Console command; actor and idempotency identity are injected server-side."},"ReplanCauseInput":{"properties":{"assumption_key":{"type":"string","maxLength":80,"minLength":3,"pattern":"^[A-Z][A-Z0-9_]+$","title":"Assumption Key"},"assumption_statement":{"anyOf":[{"type":"string","maxLength":280,"minLength":3},{"type":"null"}],"title":"Assumption Statement"},"trigger":{"anyOf":[{"$ref":"#/components/schemas/TriggerRef"},{"type":"null"}]},"cause":{"anyOf":[{"$ref":"#/components/schemas/CauseCitation"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["assumption_key"],"title":"ReplanCauseInput","description":"Optional block on the plan-create request: why this version replaces the last.\n\nAbsent means the cause is recorded as UNRESOLVED and named as such. The event still\nwrites. The scope lists are never part of this block."},"ReplayAnswersRequest":{"properties":{"events":{"items":{"$ref":"#/components/schemas/ReplayEvent"},"type":"array","maxItems":100,"minItems":1,"title":"Events"},"expected_session_version":{"type":"integer","minimum":1.0,"title":"Expected Session Version"}},"additionalProperties":false,"type":"object","required":["events","expected_session_version"],"title":"ReplayAnswersRequest"},"ReplayCommand":{"properties":{"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version"},"reason":{"type":"string","maxLength":500,"minLength":4,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["expected_version","reason"],"title":"ReplayCommand"},"ReplayDayCommand":{"properties":{"run_id":{"type":"string","format":"uuid","title":"Run Id"},"expected_trace_fingerprint":{"type":"string","maxLength":64,"minLength":64,"pattern":"^[0-9a-f]{64}$","title":"Expected Trace Fingerprint"},"replayed_by":{"type":"string","maxLength":120,"minLength":2,"title":"Replayed By"},"artifact_refs":{"items":{"type":"string"},"type":"array","title":"Artifact Refs"},"replayed_at":{"type":"string","format":"date-time","title":"Replayed At"}},"type":"object","required":["run_id","expected_trace_fingerprint","replayed_by"],"title":"ReplayDayCommand"},"ReplayEvent":{"properties":{"client_event_id":{"type":"string","maxLength":200,"minLength":8,"title":"Client Event Id"},"actor_id":{"type":"string","maxLength":160,"minLength":1,"title":"Actor Id"},"session_id":{"type":"string","maxLength":200,"minLength":4,"title":"Session Id"},"definition_id":{"type":"string","maxLength":200,"minLength":4,"title":"Definition Id"},"definition_digest":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Definition Digest"},"item_ref":{"type":"string","maxLength":200,"minLength":1,"title":"Item Ref"},"item_version":{"type":"string","maxLength":80,"minLength":1,"title":"Item Version"},"answer":{"type":"string","maxLength":2000,"minLength":1,"title":"Answer"},"client_sequence":{"type":"integer","minimum":0.0,"title":"Client Sequence"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"}},"additionalProperties":false,"type":"object","required":["client_event_id","actor_id","session_id","definition_id","definition_digest","item_ref","item_version","answer","client_sequence","occurred_at"],"title":"ReplayEvent"},"ReplayRequest":{"properties":{"expected_row_version":{"type":"integer","minimum":0.0,"title":"Expected Row Version"}},"additionalProperties":false,"type":"object","required":["expected_row_version"],"title":"ReplayRequest"},"ReplyBody":{"properties":{"channel":{"type":"string","pattern":"^(email|in_app)$","title":"Channel"},"body_text":{"type":"string","maxLength":4000,"minLength":2,"title":"Body Text"},"template_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Template Id"}},"type":"object","required":["channel","body_text"],"title":"ReplyBody"},"ReportBody":{"properties":{"repo":{"type":"string","title":"Repo"},"prs":{"items":{"$ref":"#/components/schemas/ReportedPr"},"type":"array","maxItems":250,"title":"Prs"},"complete_open_list":{"type":"boolean","title":"Complete Open List","default":true}},"type":"object","required":["repo","prs"],"title":"ReportBody"},"ReportIn":{"properties":{"category":{"type":"string","enum":["safety_concern","inappropriate_contact","mentor_no_show","other"],"title":"Category"},"details":{"type":"string","maxLength":2000,"title":"Details","default":""},"do_not_tell_guardian":{"type":"boolean","title":"Do Not Tell Guardian","default":false}},"additionalProperties":false,"type":"object","required":["category"],"title":"ReportIn"},"ReportedCheck":{"properties":{"key":{"type":"string","maxLength":40,"title":"Key"},"name":{"type":"string","maxLength":160,"title":"Name","default":""},"result":{"type":"string","pattern":"^(pass|fail|pending)$","title":"Result"},"url":{"type":"string","maxLength":400,"title":"Url","default":""}},"type":"object","required":["key","result"],"title":"ReportedCheck"},"ReportedPr":{"properties":{"number":{"type":"integer","maximum":10000000.0,"minimum":1.0,"title":"Number"},"title":{"type":"string","maxLength":300,"title":"Title","default":""},"branch":{"type":"string","maxLength":200,"title":"Branch","default":""},"head_sha":{"type":"string","maxLength":64,"minLength":7,"title":"Head Sha"},"author":{"type":"string","maxLength":80,"title":"Author","default":""},"state":{"type":"string","pattern":"^(open|merged|closed)$","title":"State","default":"open"},"merge_state":{"type":"string","maxLength":40,"title":"Merge State","default":""},"url":{"type":"string","maxLength":300,"title":"Url","default":""},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"},"checks":{"items":{"$ref":"#/components/schemas/ReportedCheck"},"type":"array","maxItems":60,"title":"Checks"},"draft":{"type":"boolean","title":"Draft","default":false},"review_verdict":{"type":"string","maxLength":40,"title":"Review Verdict","default":""},"base_branch":{"type":"string","maxLength":100,"title":"Base Branch","default":""},"merged_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Merged At"},"merge_commit_sha":{"type":"string","maxLength":64,"title":"Merge Commit Sha","default":""}},"type":"object","required":["number","head_sha"],"title":"ReportedPr"},"ReporterLease":{"properties":{"action":{"type":"string","pattern":"^(take|renew|release)$","title":"Action"},"scope_kind":{"type":"string","title":"Scope Kind"},"scope_value":{"type":"string","maxLength":300,"title":"Scope Value"},"chat":{"type":"string","maxLength":80,"minLength":2,"title":"Chat"},"platform":{"type":"string","title":"Platform","default":"aspireace"}},"type":"object","required":["action","scope_kind","scope_value","chat"],"title":"ReporterLease"},"RequestBody":{"properties":{"kind":{"type":"string","enum":["deploy","rollback","migration_apply","backup","restore_rehearsal"],"title":"Kind"},"service":{"type":"string","maxLength":40,"minLength":3,"title":"Service"},"commit":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Commit"},"from_commit":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"From Commit"},"migration_path":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Migration Path"},"migration_sha256":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Migration Sha256"},"reason":{"type":"string","maxLength":300,"minLength":5,"title":"Reason"},"confirm":{"type":"boolean","title":"Confirm","default":false}},"additionalProperties":false,"type":"object","required":["kind","service","reason"],"title":"RequestBody"},"RequestIn":{"properties":{"mentor_ref":{"type":"string","maxLength":64,"title":"Mentor Ref"},"topic":{"type":"string","maxLength":2000,"title":"Topic"}},"additionalProperties":false,"type":"object","required":["mentor_ref","topic"],"title":"RequestIn"},"RequestModelOperationBody":{"properties":{"acknowledgement":{"type":"string","enum":["request-reviewed-model-operation"],"const":"request-reviewed-model-operation","title":"Acknowledgement"},"model_key":{"type":"string","maxLength":64,"minLength":64,"title":"Model Key"},"operation_type":{"type":"string","enum":["promote","rollback","quarantine","restore","retire"],"title":"Operation Type"},"reason_code":{"type":"string","maxLength":240,"minLength":8,"title":"Reason Code"},"to_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"To Version Id"},"backtest_run_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Backtest Run Id"}},"additionalProperties":false,"type":"object","required":["acknowledgement","model_key","operation_type","reason_code"],"title":"RequestModelOperationBody"},"RequestNew":{"properties":{"request_type":{"type":"string","title":"Request Type"},"requester_words":{"type":"string","maxLength":4000,"minLength":3,"title":"Requester Words"},"requester_email":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Requester Email"},"source_ref":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Source Ref"},"account_ref":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Account Ref"},"received_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Received At"}},"type":"object","required":["request_type","requester_words"],"title":"RequestNew"},"RequirementStatus":{"properties":{"requirement_ref":{"type":"string","title":"Requirement Ref"},"document_type":{"type":"string","title":"Document Type"},"authority":{"type":"string","title":"Authority"},"obligation_state":{"type":"string","enum":["MANDATORY","CONDITIONAL","ADVISORY"],"title":"Obligation State"},"held_document_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Held Document Id"},"status":{"type":"string","enum":["HELD","MISSING","EXPIRED_BEFORE_DEADLINE","NOT_USABLE","UNKNOWN"],"title":"Status"},"needed_by":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Needed By"},"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail"},"issuer_requirements":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Issuer Requirements"},"validity_requirements":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Validity Requirements"}},"additionalProperties":false,"type":"object","required":["requirement_ref","document_type","authority","obligation_state","status"],"title":"RequirementStatus","description":"One thing an authority will ask for, and whether the family has it.\n\n`held_document_id` is None when they do not. That is not an error state and\nis not styled as one: a family who has not uploaded a certificate yet is at\nthe start of a task, not in a failure."},"RerunRequest":{"properties":{"declared_capabilities":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":30},{"type":"null"}],"title":"Declared Capabilities"}},"additionalProperties":false,"type":"object","title":"RerunRequest","description":"`declared_capabilities` replaces the declared part of the position for this run\nonly when supplied; omitted means the position carried by the last run."},"RescheduleDeliveryRequest":{"properties":{"delivery_ref":{"type":"string","format":"uuid","title":"Delivery Ref"},"new_window":{"$ref":"#/components/schemas/SessionWindow"},"reason_code":{"type":"string","maxLength":200,"minLength":1,"title":"Reason Code"},"provider_ack":{"$ref":"#/components/schemas/ProviderCapacityAck"}},"additionalProperties":false,"type":"object","required":["delivery_ref","new_window","reason_code","provider_ack"],"title":"RescheduleDeliveryRequest"},"ReservationBody":{"properties":{"provider_owner_ref":{"type":"string","title":"Provider Owner Ref"},"service_scope":{"$ref":"#/components/schemas/ServiceScopeBody"},"consent_ref":{"type":"string","title":"Consent Ref"},"purpose_code":{"type":"string","title":"Purpose Code"},"capacity_class":{"type":"string","title":"Capacity Class","default":"STANDARD"},"capacity_snapshot_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Capacity Snapshot Ref"},"source_release_refs":{"items":{"type":"string"},"type":"array","title":"Source Release Refs","default":[]},"source_digest":{"type":"string","title":"Source Digest"},"source_freshness_policy_version":{"type":"string","title":"Source Freshness Policy Version","default":"v1"},"correlation_id":{"type":"string","title":"Correlation Id"}},"additionalProperties":false,"type":"object","required":["provider_owner_ref","service_scope","consent_ref","purpose_code","source_digest","correlation_id"],"title":"ReservationBody","description":"What a family may send. Nothing here can assert a provider state.\n\nThere is no field for `reservation_state`, `accepted`, `provider_revision`\nor an amount, and that absence is the contract: a caller cannot tell this\nproduct that a provider agreed to something."},"ResetPasswordRequest":{"properties":{"token":{"type":"string","maxLength":256,"minLength":16,"title":"Token"},"new_password":{"type":"string","maxLength":200,"minLength":1,"title":"New Password"}},"type":"object","required":["token","new_password"],"title":"ResetPasswordRequest"},"ResidualDeferralCommand":{"properties":{"residual_id":{"type":"string","format":"uuid","title":"Residual Id"},"release_scope":{"type":"string","title":"Release Scope"},"residual_type":{"type":"string","maxLength":80,"minLength":2,"title":"Residual Type"},"owner":{"type":"string","maxLength":120,"minLength":2,"title":"Owner"},"reason":{"type":"string","maxLength":500,"minLength":5,"title":"Reason"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"compensating_control":{"type":"string","maxLength":500,"minLength":5,"title":"Compensating Control"},"proof_refs":{"items":{"type":"string"},"type":"array","title":"Proof Refs"}},"type":"object","required":["release_scope","residual_type","owner","reason","expires_at","compensating_control"],"title":"ResidualDeferralCommand"},"ResolveAddressRequest":{"properties":{"entry_mode":{"type":"string","enum":["HOME","MENU","SEARCH","DIRECT","FULLSCREEN","EMBED","API","PARENT"],"title":"Entry Mode"},"receipt_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Receipt Id"},"view":{"anyOf":[{"type":"string","enum":["LIST","OPEN","SOURCES","PRINT","RECORD","PARENT"]},{"type":"null"}],"title":"View"},"address":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Address"},"beneficiary_ref":{"anyOf":[{"type":"string","maxLength":127},{"type":"null"}],"title":"Beneficiary Ref"},"return_to":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Return To"},"return_nonce":{"anyOf":[{"type":"string","maxLength":200,"minLength":32},{"type":"null"}],"title":"Return Nonce"}},"additionalProperties":false,"type":"object","required":["entry_mode"],"title":"ResolveAddressRequest"},"ResolveAptitudeEvidenceRequest":{"properties":{"context_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Context Id"},"evidence_refs":{"items":{"$ref":"#/components/schemas/EvidenceRefInput"},"type":"array","maxItems":30,"title":"Evidence Refs","default":[]},"consent_ref":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Consent Ref"},"purpose":{"type":"string","enum":["STREAM_DISCUSSION"],"const":"STREAM_DISCUSSION","title":"Purpose","default":"STREAM_DISCUSSION"},"include_observed_attempts":{"type":"boolean","title":"Include Observed Attempts","default":false}},"additionalProperties":false,"type":"object","title":"ResolveAptitudeEvidenceRequest"},"ResolveExceptionBody":{"properties":{"action":{"type":"string","enum":["grant","dismiss"],"title":"Action"},"note":{"type":"string","maxLength":500,"minLength":10,"title":"Note"}},"type":"object","required":["action","note"],"title":"ResolveExceptionBody"},"ResolveFamilyBudgetContextRequest":{"properties":{"currency":{"type":"string","pattern":"^[A-Z]{3}$","title":"Currency","default":"INR"},"period":{"type":"string","enum":["YEAR","MONTH"],"title":"Period","default":"YEAR"},"net_budget_minor":{"type":"integer","maximum":1000000000000.0,"minimum":0.0,"title":"Net Budget Minor"},"fixed_cost_minor":{"type":"integer","maximum":1000000000000.0,"minimum":0.0,"title":"Fixed Cost Minor"},"variable_cost_minor":{"type":"integer","maximum":1000000000000.0,"minimum":0.0,"title":"Variable Cost Minor"},"expiry":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expiry"},"predecessor_budget_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Predecessor Budget Id"}},"additionalProperties":false,"type":"object","required":["net_budget_minor","fixed_cost_minor","variable_cost_minor"],"title":"ResolveFamilyBudgetContextRequest","description":"Beneficiary is never in the body -- the actor cannot choose who they are\nreporting a family budget for. It is always the caller's own context. Neither\nis a consent id: the server asks OS21 whether this learner has granted\n``pathways_family_budget`` and stores the receipt that proved it."},"ResolveLearnerScopeRequest":{"properties":{"geography_code":{"type":"string","maxLength":20,"minLength":2,"title":"Geography Code"},"study_level":{"type":"string","maxLength":80,"minLength":2,"title":"Study Level"},"household_band":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Household Band"},"facts":{"anyOf":[{"$ref":"#/components/schemas/ScopeFacts"},{"type":"null"}]},"source_as_of":{"type":"string","format":"date","title":"Source As Of"},"policy_version":{"type":"string","maxLength":40,"minLength":1,"title":"Policy Version","default":"1.0.0"}},"additionalProperties":false,"type":"object","required":["geography_code","study_level","source_as_of"],"title":"ResolveLearnerScopeRequest","description":"No consent id in the body: the server checks the learner's own OS21 grant."},"ResolveObjectRequest":{"properties":{"object_type":{"type":"string","maxLength":64,"minLength":1,"title":"Object Type"},"object_id":{"type":"string","maxLength":200,"minLength":1,"title":"Object Id"},"requested_scope":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Requested Scope"},"subject_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Subject Id"},"chapter_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Chapter Id"},"topic_id":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Topic Id"},"concept_id":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Concept Id"},"subject":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Subject"},"chapter":{"anyOf":[{"type":"string","maxLength":220},{"type":"null"}],"title":"Chapter"},"topic":{"anyOf":[{"type":"string","maxLength":220},{"type":"null"}],"title":"Topic"},"source_refs":{"items":{"type":"string"},"type":"array","maxItems":16,"title":"Source Refs"}},"additionalProperties":false,"type":"object","required":["object_type","object_id"],"title":"ResolveObjectRequest"},"ResolveRepeatYearContextRequest":{"properties":{"source_decision_id":{"type":"string","format":"uuid","title":"Source Decision Id"},"context_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Context Id"},"release_id":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Release Id"},"reason_codes":{"items":{"type":"string"},"type":"array","maxItems":20,"minItems":1,"title":"Reason Codes"},"evidence_refs":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":30,"title":"Evidence Refs","default":[]},"source_kind":{"type":"string","enum":["GRAPH_DECISION","SEAT_DECISION","NO_SEAT_RECEIPT"],"title":"Source Kind","default":"GRAPH_DECISION"}},"additionalProperties":false,"type":"object","required":["source_decision_id","reason_codes"],"title":"ResolveRepeatYearContextRequest","description":"`source_kind` is additive and optional: omitted means GRAPH_DECISION, the\noriginal shape, which still needs `context_id` and `release_id`. A seat-check\nsource (SEAT_DECISION / NO_SEAT_RECEIPT) names the learner's own seat check in\n`source_decision_id` and needs neither."},"ResolveResultRequest":{"properties":{"student_id":{"type":"string","maxLength":64,"minLength":1,"title":"Student Id"},"result_source_ref":{"type":"string","maxLength":160,"minLength":1,"title":"Result Source Ref"},"result_source_version":{"type":"integer","minimum":1.0,"title":"Result Source Version"}},"type":"object","required":["student_id","result_source_ref","result_source_version"],"title":"ResolveResultRequest"},"ResolveReviewCommand":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"assignment_id":{"type":"string","format":"uuid","title":"Assignment Id"},"review_id":{"type":"string","format":"uuid","title":"Review Id"},"reviewer_id":{"type":"string","maxLength":128,"minLength":1,"title":"Reviewer Id"},"outcome":{"type":"string","enum":["uphold_ai","adjust_ai","overturn_ai","approve_content","reject_content","request_changes","escalate"],"title":"Outcome"},"human_payload":{"type":"object","title":"Human Payload"},"ai_human_delta":{"type":"object","title":"Ai Human Delta"},"rationale":{"type":"string","maxLength":4000,"minLength":1,"title":"Rationale"},"reason_codes":{"items":{"type":"string"},"type":"array","maxItems":16,"minItems":1,"title":"Reason Codes"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os11_teacher_hitl__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"},"target_owner_os":{"type":"string","enum":["OS06","OS10","OS21","EXTERNAL"],"title":"Target Owner Os"},"target_object_type":{"type":"string","maxLength":80,"minLength":1,"title":"Target Object Type"},"target_object_id":{"type":"string","maxLength":160,"minLength":1,"title":"Target Object Id"},"expected_request_version":{"type":"integer","minimum":1.0,"title":"Expected Request Version"},"expected_assignment_version":{"type":"integer","minimum":1.0,"title":"Expected Assignment Version"}},"additionalProperties":false,"type":"object","required":["request_id","assignment_id","reviewer_id","outcome","rationale","reason_codes","evidence_refs","target_owner_os","target_object_type","target_object_id","expected_request_version","expected_assignment_version"],"title":"ResolveReviewCommand"},"ResponseCommit":{"properties":{"grade_job_ref":{"type":"string","maxLength":64,"minLength":1,"title":"Grade Job Ref"}},"type":"object","required":["grade_job_ref"],"title":"ResponseCommit"},"ResponseRelease":{"properties":{"reason":{"type":"string","maxLength":200,"minLength":3,"title":"Reason"}},"type":"object","required":["reason"],"title":"ResponseRelease"},"ResponseRequest":{"properties":{"action":{"type":"string","pattern":"^(RESPOND|DECLINE|REQUEST_CLARIFICATION)$","title":"Action"},"response_payload":{"type":"object","title":"Response Payload"}},"additionalProperties":false,"type":"object","required":["action"],"title":"ResponseRequest"},"ResponseReserve":{"properties":{"beneficiary_ref":{"type":"string","maxLength":64,"title":"Beneficiary Ref","default":""},"consent_receipt":{"type":"string","maxLength":160,"title":"Consent Receipt","default":""},"payload_digest":{"type":"string","maxLength":80,"title":"Payload Digest","default":""}},"type":"object","title":"ResponseReserve"},"RestPermitCreate":{"properties":{"rest_date":{"type":"string","format":"date","title":"Rest Date"},"timezone":{"type":"string","maxLength":64,"minLength":1,"title":"Timezone"},"request_id":{"type":"string","maxLength":200,"minLength":8,"title":"Request Id"}},"type":"object","required":["rest_date","timezone","request_id"],"title":"RestPermitCreate"},"RestPermitExpiryPolicy":{"properties":{"policy_version":{"type":"string","maxLength":64,"minLength":1,"pattern":"^[a-z0-9._-]+$","title":"Policy Version"},"expires_after_seconds":{"type":"integer","maximum":9.223372036854776e+18,"minimum":1.0,"title":"Expires After Seconds"},"os17_retention_days":{"type":"integer","maximum":3650.0,"minimum":1.0,"title":"Os17 Retention Days"}},"type":"object","required":["policy_version","expires_after_seconds","os17_retention_days"],"title":"RestPermitExpiryPolicy"},"RestPermitRevoke":{"properties":{"request_id":{"type":"string","maxLength":200,"minLength":8,"title":"Request Id"}},"type":"object","required":["request_id"],"title":"RestPermitRevoke"},"RestoreRequest":{"properties":{"deletion_receipt_id":{"type":"string","maxLength":240,"minLength":1,"title":"Deletion Receipt Id"},"collection_revision":{"type":"integer","maximum":9007199254740991.0,"minimum":1.0,"title":"Collection Revision"}},"additionalProperties":false,"type":"object","required":["deletion_receipt_id","collection_revision"],"title":"RestoreRequest"},"ResultAcknowledgement":{"properties":{"score_id":{"type":"string","maxLength":80,"minLength":1,"title":"Score Id"},"score_version":{"type":"integer","minimum":1.0,"title":"Score Version"},"submission_id":{"type":"string","maxLength":80,"minLength":1,"title":"Submission Id"}},"additionalProperties":false,"type":"object","required":["score_id","score_version","submission_id"],"title":"ResultAcknowledgement"},"ResultOpenCommand":{"properties":{"query_id":{"type":"string","format":"uuid","title":"Query Id"},"document_id":{"type":"string","format":"uuid","title":"Document Id"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"position":{"type":"integer","maximum":1000.0,"minimum":0.0,"title":"Position"},"opened_at":{"type":"string","format":"date-time","title":"Opened At"}},"additionalProperties":false,"type":"object","required":["query_id","document_id","actor_id","position"],"title":"ResultOpenCommand"},"ResultRef":{"properties":{"kind":{"type":"string","maxLength":64,"title":"Kind"},"id":{"type":"string","maxLength":160,"title":"Id"},"source_id":{"type":"string","maxLength":160,"title":"Source Id"},"methodology_version":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Methodology Version"},"as_of":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"As Of"}},"type":"object","required":["kind","id","source_id"],"title":"ResultRef"},"ResumeRequest":{"properties":{"device_id":{"type":"string","maxLength":160,"minLength":1,"title":"Device Id"},"client_seen_version":{"type":"integer","minimum":1.0,"title":"Client Seen Version"}},"type":"object","required":["device_id","client_seen_version"],"title":"ResumeRequest"},"RetainedOutcomePolicyInput":{"properties":{"minimum_delay_seconds":{"type":"integer","exclusiveMinimum":0.0,"title":"Minimum Delay Seconds"},"maximum_delay_seconds":{"type":"integer","exclusiveMinimum":0.0,"title":"Maximum Delay Seconds"},"owner_receipt_ref":{"type":"string","format":"uuid","title":"Owner Receipt Ref"}},"additionalProperties":false,"type":"object","required":["minimum_delay_seconds","maximum_delay_seconds","owner_receipt_ref"],"title":"RetainedOutcomePolicyInput"},"RetentionUpdate":{"properties":{"raw_image_retention_until":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Raw Image Retention Until"},"read_retention_until":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Read Retention Until"},"answer_retention_until":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Answer Retention Until"},"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"}},"additionalProperties":false,"type":"object","required":["expected_version"],"title":"RetentionUpdate"},"RetireBody":{"properties":{"reason":{"type":"string","maxLength":2000,"minLength":3,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["reason"],"title":"RetireBody"},"RetireIn":{"properties":{"reason":{"type":"string","maxLength":500,"minLength":5,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["reason"],"title":"RetireIn"},"ReturnBody":{"properties":{"return_contract_ref":{"type":"string","maxLength":128,"minLength":1,"title":"Return Contract Ref"},"request_id":{"type":"string","maxLength":64,"minLength":8,"title":"Request Id"}},"type":"object","required":["return_contract_ref","request_id"],"title":"ReturnBody"},"ReturnCommand":{"properties":{"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version"},"source_product_id":{"type":"string","pattern":"^[a-z0-9][a-z0-9._-]{1,119}$","title":"Source Product Id"},"source_route":{"type":"string","pattern":"^/[^ ]*$","title":"Source Route"},"entry_mode":{"type":"string","pattern":"^[a-z0-9][a-z0-9._:-]{2,120}$","title":"Entry Mode"},"thread_ref":{"$ref":"#/components/schemas/plan_surface_models__OS08Ref"},"return_receipt_ref":{"$ref":"#/components/schemas/plan_surface_models__OS08Ref"}},"additionalProperties":false,"type":"object","required":["expected_version","source_product_id","source_route","entry_mode","thread_ref","return_receipt_ref"],"title":"ReturnCommand"},"ReturnReadinessProjection":{"properties":{"schema_version":{"type":"string","enum":["insights-return-readiness.v1"],"const":"insights-return-readiness.v1","title":"Schema Version"},"case_entry_id":{"type":"string","format":"uuid","title":"Case Entry Id"},"state":{"type":"string","enum":["WAITING","READY","HELD","RETURNED"],"title":"State"},"expected_case_version":{"type":"integer","minimum":1.0,"title":"Expected Case Version"},"thread":{"anyOf":[{"$ref":"#/components/schemas/ReturnReadinessThread"},{"type":"null"}]},"reassessment_outcome_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Reassessment Outcome Id"},"outcome_state":{"anyOf":[{"type":"string","enum":["IMPROVED","UNCHANGED","REGRESSED","INCONCLUSIVE"]},{"type":"null"}],"title":"Outcome State"},"reason_code":{"type":"string","enum":["product_thread_not_bound","bound_product_thread_unavailable","reassessment_not_recorded","case_reassessment_reference_unverified","ambiguous_current_reassessment","reassessment_receipt_not_current","reassessment_receipt_mismatch","reassessment_receipt_missing","reassessment_evidence_unverified","thread_return_outcome_mismatch","case_return_projection_mismatch","case_return_projection_pending","verified_reassessment_ready","return_committed"],"title":"Reason Code"},"repair_pending":{"type":"boolean","title":"Repair Pending"}},"additionalProperties":false,"type":"object","required":["schema_version","case_entry_id","state","expected_case_version","reason_code","repair_pending"],"title":"ReturnReadinessProjection"},"ReturnReadinessThread":{"properties":{"thread_id":{"type":"string","format":"uuid","title":"Thread Id"},"state":{"type":"string","maxLength":32,"minLength":1,"title":"State"},"thread_version":{"type":"integer","minimum":1.0,"title":"Thread Version"}},"additionalProperties":false,"type":"object","required":["thread_id","state","thread_version"],"title":"ReturnReadinessThread"},"ReturnRequest":{"properties":{"return_context_ref":{"type":"string","maxLength":160,"minLength":8,"title":"Return Context Ref"}},"additionalProperties":false,"type":"object","required":["return_context_ref"],"title":"ReturnRequest"},"ReturnTrailEntry":{"properties":{"label":{"type":"string","maxLength":80,"minLength":1,"title":"Label"},"pack_id":{"type":"string","maxLength":32,"minLength":1,"title":"Pack Id"},"product_id":{"type":"string","maxLength":128,"minLength":1,"title":"Product Id"},"screen_id":{"type":"string","maxLength":160,"minLength":1,"title":"Screen Id"},"route":{"type":"string","maxLength":300,"minLength":1,"title":"Route"},"state_hint":{"type":"object","title":"State Hint"}},"additionalProperties":false,"type":"object","required":["label","pack_id","product_id","screen_id","route"],"title":"ReturnTrailEntry"},"ReviewAssignmentCommand":{"properties":{"candidate_id":{"type":"string","format":"uuid","title":"Candidate Id"},"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"reviewer_id":{"type":"string","maxLength":128,"minLength":1,"title":"Reviewer Id"},"reviewer_role":{"type":"string","maxLength":80,"minLength":2,"title":"Reviewer Role"},"assigned_by":{"type":"string","maxLength":128,"minLength":1,"title":"Assigned By"},"due_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Due At"},"assignment_reason":{"type":"string","maxLength":1000,"minLength":3,"title":"Assignment Reason"}},"type":"object","required":["candidate_id","expected_version","reviewer_id","reviewer_role","assigned_by","assignment_reason"],"title":"ReviewAssignmentCommand"},"ReviewBacktestBody":{"properties":{"decision":{"type":"string","enum":["approve","reject"],"title":"Decision"},"reason":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Reason"}},"additionalProperties":false,"type":"object","required":["decision"],"title":"ReviewBacktestBody"},"ReviewCalibrationDatasetBody":{"properties":{"decision":{"type":"string","enum":["approve","reject"],"title":"Decision"},"reason":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Reason"}},"additionalProperties":false,"type":"object","required":["decision"],"title":"ReviewCalibrationDatasetBody"},"ReviewCalibrationModelBody":{"properties":{"decision":{"type":"string","enum":["publish","reject"],"title":"Decision"},"reason":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Reason"}},"additionalProperties":false,"type":"object","required":["decision"],"title":"ReviewCalibrationModelBody"},"ReviewDecisionCommand":{"properties":{"candidate_id":{"type":"string","format":"uuid","title":"Candidate Id"},"task_id":{"type":"string","format":"uuid","title":"Task Id"},"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"reviewer_id":{"type":"string","maxLength":128,"minLength":1,"title":"Reviewer Id"},"decision":{"type":"string","enum":["approve","reject","request_changes"],"title":"Decision"},"reason_codes":{"items":{"type":"string"},"type":"array","maxItems":24,"minItems":1,"title":"Reason Codes"},"rationale":{"type":"string","maxLength":4000,"minLength":3,"title":"Rationale"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os10_content_ops__models__EvidenceRef"},"type":"array","maxItems":32,"title":"Evidence Refs"},"corrected_payload":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Corrected Payload"}},"type":"object","required":["candidate_id","task_id","expected_version","reviewer_id","decision","reason_codes","rationale"],"title":"ReviewDecisionCommand"},"ReviewDecisionReceiptProjection":{"properties":{"review_decision_receipt_id":{"type":"string","format":"uuid","title":"Review Decision Receipt Id"},"review_case_id":{"type":"string","format":"uuid","title":"Review Case Id"},"reviewer_id":{"type":"string","title":"Reviewer Id"},"decision_code":{"type":"string","enum":["ADVISE_ACCEPT","ADVISE_RECONSIDER","ADVISE_ESCALATE","NO_ADVICE"],"title":"Decision Code"},"rationale_codes":{"items":{"type":"string"},"type":"array","title":"Rationale Codes"},"advisory_summary":{"type":"string","title":"Advisory Summary"},"next_action_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Action Code"},"disagreement_field_paths":{"items":{"type":"string"},"type":"array","title":"Disagreement Field Paths","default":[]},"subject_ref_digest":{"type":"string","title":"Subject Ref Digest"},"receipt_digest":{"type":"string","title":"Receipt Digest"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"additionalProperties":false,"type":"object","required":["review_decision_receipt_id","review_case_id","reviewer_id","decision_code","rationale_codes","advisory_summary","subject_ref_digest","receipt_digest","created_at"],"title":"ReviewDecisionReceiptProjection"},"ReviewEvidenceRef":{"properties":{"ref_type":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{2,79}$","title":"Ref Type"},"ref_id":{"type":"string","format":"uuid","title":"Ref Id"},"ref_version":{"type":"integer","minimum":1.0,"title":"Ref Version"},"ref_digest":{"type":"string","title":"Ref Digest"}},"additionalProperties":false,"type":"object","required":["ref_type","ref_id","ref_version","ref_digest"],"title":"ReviewEvidenceRef"},"ReviewIn":{"properties":{"decision":{"type":"string","title":"Decision"},"note":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Note"}},"additionalProperties":false,"type":"object","required":["decision"],"title":"ReviewIn"},"ReviewLane":{"type":"string","enum":["GENERAL","QUESTION","NCERT","PYQ","MEDIA","SAFETY"],"title":"ReviewLane"},"ReviewLeaseHeartbeatCommand":{"properties":{"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"task_id":{"type":"string","format":"uuid","title":"Task Id"},"lease_token":{"type":"string","format":"uuid","title":"Lease Token"},"expected_task_version":{"type":"integer","minimum":1.0,"title":"Expected Task Version"},"extend_seconds":{"type":"integer","maximum":1800.0,"minimum":60.0,"title":"Extend Seconds","default":300}},"additionalProperties":false,"type":"object","required":["task_id","lease_token","expected_task_version"],"title":"ReviewLeaseHeartbeatCommand"},"ReviewLeaseReleaseCommand":{"properties":{"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"task_id":{"type":"string","format":"uuid","title":"Task Id"},"lease_token":{"type":"string","format":"uuid","title":"Lease Token"},"expected_task_version":{"type":"integer","minimum":1.0,"title":"Expected Task Version"},"reason_codes":{"items":{"type":"string"},"type":"array","maxItems":24,"minItems":1,"title":"Reason Codes"},"rationale":{"type":"string","maxLength":2000,"minLength":3,"title":"Rationale"}},"additionalProperties":false,"type":"object","required":["task_id","lease_token","expected_task_version","reason_codes","rationale"],"title":"ReviewLeaseReleaseCommand"},"ReviewModelOperationBody":{"properties":{"acknowledgement":{"type":"string","enum":["review-model-operation"],"const":"review-model-operation","title":"Acknowledgement"},"decision":{"type":"string","enum":["approve","reject"],"title":"Decision"},"reason":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Reason"}},"additionalProperties":false,"type":"object","required":["acknowledgement","decision"],"title":"ReviewModelOperationBody"},"ReviewMutationEnvelope":{"properties":{"receipt":{"type":"object","title":"Receipt"},"resource":{"type":"object","title":"Resource"}},"additionalProperties":false,"type":"object","required":["receipt","resource"],"title":"ReviewMutationEnvelope"},"ReviewQueueClaimCommand":{"properties":{"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"queue_lane":{"allOf":[{"$ref":"#/components/schemas/ReviewLane"}],"default":"GENERAL"},"reviewer_role":{"type":"string","maxLength":80,"minLength":2,"title":"Reviewer Role"},"assignment_reason":{"type":"string","maxLength":1000,"minLength":3,"title":"Assignment Reason"},"lease_seconds":{"type":"integer","maximum":3600.0,"minimum":60.0,"title":"Lease Seconds","default":900},"minimum_priority":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Minimum Priority","default":0},"subject_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Subject Id"},"candidate_kind":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Candidate Kind"},"pilot_audience":{"anyOf":[{"type":"string","enum":["JEE","NEET"]},{"type":"null"}],"title":"Pilot Audience"}},"additionalProperties":false,"type":"object","required":["reviewer_role","assignment_reason"],"title":"ReviewQueueClaimCommand"},"ReviewRow":{"properties":{"topic_id":{"type":"string","maxLength":96,"minLength":1,"title":"Topic Id","description":"The report row key (chapter_id)."},"verdict":{"type":"string","pattern":"^(ACCEPT|ADJUST|ABSTAIN)$","title":"Verdict"},"adjusted_label":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Adjusted Label"},"reason":{"type":"string","maxLength":500,"minLength":3,"title":"Reason"}},"type":"object","required":["topic_id","verdict","reason"],"title":"ReviewRow"},"ReviewTargetedClaimCommand":{"properties":{"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"candidate_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Candidate Id"},"legacy_record_id":{"anyOf":[{"type":"string","maxLength":256,"minLength":1},{"type":"null"}],"title":"Legacy Record Id"},"reviewer_role":{"type":"string","maxLength":80,"minLength":2,"title":"Reviewer Role"},"assignment_reason":{"type":"string","maxLength":1000,"minLength":3,"title":"Assignment Reason"},"priority_bypass_reason":{"type":"string","maxLength":1000,"minLength":10,"title":"Priority Bypass Reason"},"lease_seconds":{"type":"integer","maximum":3600.0,"minimum":60.0,"title":"Lease Seconds","default":900}},"additionalProperties":false,"type":"object","required":["reviewer_role","assignment_reason","priority_bypass_reason"],"title":"ReviewTargetedClaimCommand","description":"Claim one named candidate (by OS10 id or by its legacy record id) instead of the next one in priority order.\nIt takes the same lock and writes the same lease, task and receipts as claim-next; the only difference is that the queue's priority order is\nbypassed, and that bypass is a required, recorded reason (it travels in the receipt, the task's assignment reason and the outbox event)."},"ReviewTaskDecisionCommand":{"properties":{"idempotency_key":{"type":"string","format":"uuid","title":"Idempotency Key"},"task_id":{"type":"string","format":"uuid","title":"Task Id"},"lease_token":{"type":"string","format":"uuid","title":"Lease Token"},"expected_task_version":{"type":"integer","minimum":1.0,"title":"Expected Task Version"},"expected_candidate_version":{"type":"integer","minimum":1.0,"title":"Expected Candidate Version"},"decision":{"$ref":"#/components/schemas/os_runtime__os10_content_ops__cntimp_pr02__ReviewDecision"},"reason_codes":{"items":{"type":"string"},"type":"array","maxItems":24,"minItems":1,"title":"Reason Codes"},"rationale":{"type":"string","maxLength":4000,"minLength":3,"title":"Rationale"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os10_content_ops__models__EvidenceRef"},"type":"array","maxItems":32,"title":"Evidence Refs"},"content_quality_instrument":{"anyOf":[{"$ref":"#/components/schemas/ContentPilotQuestionReview"},{"type":"null"}]},"corrected_payload":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Corrected Payload"}},"additionalProperties":false,"type":"object","required":["task_id","lease_token","expected_task_version","expected_candidate_version","decision","reason_codes","rationale"],"title":"ReviewTaskDecisionCommand"},"ReviewTaskPublishBody":{"properties":{"student_id":{"type":"string","maxLength":200,"minLength":1,"title":"Student Id"},"predecessor_decision_id":{"type":"string","maxLength":36,"minLength":36,"title":"Predecessor Decision Id"},"current_decision_id":{"type":"string","maxLength":36,"minLength":36,"title":"Current Decision Id"},"policy_id":{"type":"string","maxLength":36,"minLength":36,"title":"Policy Id"},"idempotency_key":{"type":"string","maxLength":160,"minLength":8,"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["student_id","predecessor_decision_id","current_decision_id","policy_id","idempotency_key"],"title":"ReviewTaskPublishBody"},"ReviewTaskWithdrawBody":{"properties":{"withdrawal_receipt_ref":{"type":"string","maxLength":512,"minLength":1,"title":"Withdrawal Receipt Ref"}},"additionalProperties":false,"type":"object","required":["withdrawal_receipt_ref"],"title":"ReviewTaskWithdrawBody"},"ReviewVerdict":{"properties":{"verdict":{"type":"string","enum":["correct","wrong_answer","bad_question","duplicate","unsure"],"title":"Verdict"},"note":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Note"}},"additionalProperties":false,"type":"object","required":["verdict"],"title":"ReviewVerdict"},"ReviewerAssignmentCommand":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"assignment_id":{"type":"string","format":"uuid","title":"Assignment Id"},"reviewer_id":{"type":"string","maxLength":128,"minLength":1,"title":"Reviewer Id"},"reviewer_role":{"type":"string","enum":["teacher","sme","senior_teacher","admin","quality_reviewer"],"title":"Reviewer Role"},"assigned_by":{"type":"string","maxLength":128,"minLength":1,"title":"Assigned By"},"subject_scope":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Subject Scope"},"expected_request_version":{"type":"integer","minimum":1.0,"title":"Expected Request Version"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os11_teacher_hitl__models__EvidenceRef"},"type":"array","maxItems":16,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["request_id","reviewer_id","reviewer_role","assigned_by","expected_request_version","expires_at","evidence_refs"],"title":"ReviewerAssignmentCommand"},"ReviewerReturnRequest":{"properties":{"feedback_text":{"type":"string","maxLength":8000,"minLength":1,"title":"Feedback Text"}},"additionalProperties":false,"type":"object","required":["feedback_text"],"title":"ReviewerReturnRequest"},"RevisionBody":{"properties":{"expected_revision":{"type":"integer","minimum":1.0,"title":"Expected Revision"}},"additionalProperties":false,"type":"object","required":["expected_revision"],"title":"RevisionBody"},"RevocationRequest":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"reason_code":{"type":"string","maxLength":80,"minLength":3,"title":"Reason Code"},"idempotency_key":{"type":"string","maxLength":200,"minLength":8,"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["expected_version","reason_code","idempotency_key"],"title":"RevocationRequest"},"RevokeConsent":{"properties":{"consent_receipt_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Consent Receipt Id"},"confirm_revoke":{"type":"boolean","title":"Confirm Revoke"}},"additionalProperties":false,"type":"object","required":["confirm_revoke"],"title":"RevokeConsent"},"RevokeOutcomeRecordRequest":{"properties":{"reason_code":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{2,79}$","title":"Reason Code"},"narrative":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Narrative"},"replacement_outcome_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Replacement Outcome Id"}},"additionalProperties":false,"type":"object","required":["reason_code"],"title":"RevokeOutcomeRecordRequest"},"RevokeProofCommand":{"properties":{"reason_code":{"type":"string","maxLength":80,"minLength":4,"title":"Reason Code"},"reason":{"type":"string","maxLength":1000,"minLength":4,"title":"Reason"},"expected_series_version":{"type":"integer","minimum":1.0,"title":"Expected Series Version"}},"type":"object","required":["reason_code","reason","expected_series_version"],"title":"RevokeProofCommand"},"RevokeRequest":{"properties":{"consent_id":{"type":"string","maxLength":160,"minLength":1,"title":"Consent Id"}},"additionalProperties":false,"type":"object","required":["consent_id"],"title":"RevokeRequest"},"RightsBasis":{"type":"string","enum":["OWNED","LICENSED","OFFICIAL_PUBLICATION","PUBLIC_DOMAIN","OER","UNKNOWN"],"title":"RightsBasis"},"RightsDecision":{"properties":{"decision":{"type":"string","pattern":"^(cleared|not_cleared|needs_more)$","title":"Decision"},"basis":{"type":"string","maxLength":300,"title":"Basis","default":""},"clearance_ref":{"type":"string","maxLength":500,"title":"Clearance Ref","default":""},"evidence_url":{"type":"string","maxLength":500,"title":"Evidence Url","default":""},"expires_on":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Expires On"},"typed_name":{"type":"string","maxLength":120,"title":"Typed Name"},"reason":{"type":"string","maxLength":500,"title":"Reason","default":""}},"type":"object","required":["decision","typed_name"],"title":"RightsDecision"},"RightsDecisionCommand":{"properties":{"basis":{"$ref":"#/components/schemas/RightsBasis"},"rights_holder":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Rights Holder"},"distribution_scopes":{"items":{"type":"string"},"type":"array","title":"Distribution Scopes"},"territories":{"items":{"type":"string"},"type":"array","title":"Territories"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"revoked":{"type":"boolean","title":"Revoked","default":false},"evidence_receipt_ref":{"type":"string","maxLength":300,"minLength":4,"title":"Evidence Receipt Ref"}},"additionalProperties":false,"type":"object","required":["basis","evidence_receipt_ref"],"title":"RightsDecisionCommand"},"RightsEvidence":{"properties":{"evidence_url":{"type":"string","maxLength":500,"title":"Evidence Url"},"typed_name":{"type":"string","maxLength":120,"title":"Typed Name"}},"type":"object","required":["evidence_url","typed_name"],"title":"RightsEvidence"},"RightsEvidenceIssuance":{"properties":{"review_packet_ref":{"type":"string","maxLength":500,"minLength":3,"title":"Review Packet Ref"},"founder_review_reference":{"type":"string","maxLength":500,"minLength":3,"title":"Founder Review Reference"},"approval_reference":{"type":"string","maxLength":500,"minLength":8,"title":"Approval Reference"},"items":{"items":{"$ref":"#/components/schemas/RightsEvidenceItem"},"type":"array","maxItems":100,"minItems":1,"title":"Items"},"rights_basis":{"$ref":"#/components/schemas/RightsBasis"},"rights_holder":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Rights Holder"},"distribution_scopes":{"items":{"type":"string"},"type":"array","maxItems":32,"title":"Distribution Scopes"},"territories":{"items":{"type":"string"},"type":"array","maxItems":64,"title":"Territories"},"approved_expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Approved Expires At"},"approved_expiry_mode":{"anyOf":[{"type":"string","enum":["date","no_expiry"]},{"type":"null"}],"title":"Approved Expiry Mode"},"expiry_mode_owner_confirmed":{"type":"boolean","title":"Expiry Mode Owner Confirmed","default":false},"student_serve":{"type":"boolean","title":"Student Serve"},"rights_evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":32,"title":"Rights Evidence Refs"}},"additionalProperties":false,"type":"object","required":["review_packet_ref","founder_review_reference","approval_reference","items","rights_basis","student_serve"],"title":"RightsEvidenceIssuance"},"RightsEvidenceItem":{"properties":{"item_ref":{"type":"string","maxLength":300,"minLength":3,"title":"Item Ref"},"source_ref":{"type":"string","maxLength":500,"minLength":3,"title":"Source Ref"},"source_version_ref":{"type":"string","maxLength":300,"minLength":3,"title":"Source Version Ref"},"payload_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Payload Sha256"},"decision":{"type":"string","enum":["APPROVE","REVISE","REJECT"],"title":"Decision"},"decision_note":{"type":"string","maxLength":1000,"title":"Decision Note","default":""}},"additionalProperties":false,"type":"object","required":["item_ref","source_ref","source_version_ref","payload_sha256","decision"],"title":"RightsEvidenceItem"},"RightsExpiry":{"properties":{"expires_on":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Expires On"},"typed_name":{"type":"string","maxLength":120,"title":"Typed Name"}},"type":"object","required":["typed_name"],"title":"RightsExpiry"},"RightsReviewBody":{"properties":{"rights_ref":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Rights Ref"}},"additionalProperties":false,"type":"object","title":"RightsReviewBody"},"RiskAcceptance":{"properties":{"reason":{"type":"string","maxLength":1000,"minLength":8,"title":"Reason"},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Evidence Refs"},"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"review_at":{"type":"string","maxLength":64,"minLength":10,"title":"Review At"},"approval_id":{"type":"string","format":"uuid","title":"Approval Id"},"conditions":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Conditions"}},"additionalProperties":false,"type":"object","required":["reason","expected_version","review_at","approval_id"],"title":"RiskAcceptance"},"RiskLevel":{"type":"string","enum":["R1","R2","R3","R4"],"title":"RiskLevel"},"RiskScreeningUpdate":{"properties":{"answers":{"items":{"$ref":"#/components/schemas/ScreeningAnswerIn"},"type":"array","maxItems":20,"minItems":1,"title":"Answers"},"expected_version":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Expected Version"}},"additionalProperties":false,"type":"object","required":["answers"],"title":"RiskScreeningUpdate"},"RoleBindingCreateRequest":{"properties":{"identity_id":{"type":"string","format":"uuid","title":"Identity Id"},"role_id":{"type":"string","maxLength":80,"minLength":3,"title":"Role Id"},"role_version":{"type":"integer","minimum":1.0,"title":"Role Version"},"tenant_scope":{"$ref":"#/components/schemas/TenantScope"},"entity_scope":{"$ref":"#/components/schemas/EntityScope"},"valid_from":{"type":"string","format":"date-time","title":"Valid From"},"valid_until":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Valid Until"},"reason":{"type":"string","maxLength":2000,"minLength":8,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["identity_id","role_id","role_version","tenant_scope","entity_scope","valid_from","reason"],"title":"RoleBindingCreateRequest"},"RoleBody":{"properties":{"role":{"type":"string","title":"Role"}},"type":"object","required":["role"],"title":"RoleBody"},"RoleDefinitionCreateRequest":{"properties":{"role_id":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{2,79}$","title":"Role Id"},"purpose":{"type":"string","maxLength":1000,"minLength":8,"title":"Purpose"},"risk_ceiling":{"$ref":"#/components/schemas/RiskLevel"},"permissions":{"items":{"$ref":"#/components/schemas/PermissionGrant"},"type":"array","maxItems":200,"minItems":1,"title":"Permissions"},"reason":{"type":"string","maxLength":2000,"minLength":8,"title":"Reason"},"supersedes_version":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Supersedes Version"}},"additionalProperties":false,"type":"object","required":["role_id","purpose","risk_ceiling","permissions","reason"],"title":"RoleDefinitionCreateRequest"},"RoleGrantApprovalRequest":{"properties":{"reason":{"type":"string","maxLength":256,"minLength":3,"title":"Reason"},"evidence_ref":{"type":"string","maxLength":256,"minLength":8,"title":"Evidence Ref"}},"type":"object","required":["reason","evidence_ref"],"title":"RoleGrantApprovalRequest"},"RoleGrantProvisionRequest":{"properties":{"subject_id":{"type":"string","maxLength":128,"minLength":1,"title":"Subject Id"},"role":{"type":"string","maxLength":32,"minLength":1,"title":"Role"},"scope_type":{"type":"string","maxLength":32,"minLength":1,"title":"Scope Type"},"scope_id":{"type":"string","maxLength":128,"minLength":1,"title":"Scope Id"},"evidence_ref":{"type":"string","maxLength":256,"minLength":8,"title":"Evidence Ref"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"}},"type":"object","required":["subject_id","role","scope_type","scope_id","evidence_ref"],"title":"RoleGrantProvisionRequest"},"RoleGrantRevokeRequest":{"properties":{"reason":{"type":"string","maxLength":256,"minLength":3,"title":"Reason"},"evidence_ref":{"type":"string","maxLength":256,"minLength":8,"title":"Evidence Ref"}},"type":"object","required":["reason","evidence_ref"],"title":"RoleGrantRevokeRequest"},"RoleList":{"properties":{"graph_release_id":{"type":"string","format":"uuid","title":"Graph Release Id"},"read_at":{"type":"string","format":"date-time","title":"Read At"},"query":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Query"},"field":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Field"},"items":{"items":{"$ref":"#/components/schemas/RoleRow"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"source_thin":{"type":"boolean","title":"Source Thin"},"source_thin_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Thin Text"}},"additionalProperties":false,"type":"object","required":["graph_release_id","read_at","items","source_thin"],"title":"RoleList"},"RolePage":{"properties":{"occupation_id":{"type":"string","format":"uuid","title":"Occupation Id"},"graph_release_id":{"type":"string","format":"uuid","title":"Graph Release Id"},"release_published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Release Published At"},"read_at":{"type":"string","format":"date-time","title":"Read At"},"entity_version_id":{"type":"string","format":"uuid","title":"Entity Version Id"},"version_digest":{"type":"string","title":"Version Digest"},"state":{"type":"string","enum":["PUBLISHED","WITHDRAWN"],"title":"State"},"label":{"type":"string","title":"Label"},"aliases":{"items":{"type":"string"},"type":"array","title":"Aliases","default":[]},"nco_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nco Code"},"classification":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Classification"},"field_of_work":{"anyOf":[{"$ref":"#/components/schemas/FieldOfWork"},{"type":"null"}]},"geography_code":{"type":"string","title":"Geography Code"},"work":{"$ref":"#/components/schemas/HonestBlock"},"route":{"$ref":"#/components/schemas/HonestBlock"},"requirements":{"$ref":"#/components/schemas/HonestBlock"},"labour":{"$ref":"#/components/schemas/HonestBlock"},"identity_sources":{"items":{"$ref":"#/components/schemas/SourceStrip"},"type":"array","title":"Identity Sources"},"standing_limit":{"type":"string","title":"Standing Limit"}},"additionalProperties":false,"type":"object","required":["occupation_id","graph_release_id","read_at","entity_version_id","version_digest","state","label","geography_code","work","route","requirements","labour","identity_sources","standing_limit"],"title":"RolePage"},"RoleRow":{"properties":{"occupation_id":{"type":"string","format":"uuid","title":"Occupation Id"},"label":{"type":"string","title":"Label"},"nco_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nco Code"},"field_of_work":{"anyOf":[{"$ref":"#/components/schemas/FieldOfWork"},{"type":"null"}]},"pay_state":{"type":"string","enum":["SOURCED","FIELD_AVERAGE","UNKNOWN"],"title":"Pay State"},"work_text_state":{"type":"string","enum":["PUBLISHED","NOT_PUBLISHED"],"title":"Work Text State","default":"NOT_PUBLISHED"}},"additionalProperties":false,"type":"object","required":["occupation_id","label","pay_state"],"title":"RoleRow"},"RoleSafeExpressionReviewCommand":{"properties":{"review_id":{"type":"string","format":"uuid","title":"Review Id"},"run_id":{"type":"string","format":"uuid","title":"Run Id"},"reviewed_by":{"type":"string","maxLength":120,"minLength":2,"title":"Reviewed By"},"roles_reviewed":{"items":{"type":"string","enum":["parent","student","anonymous","operator"]},"type":"array","minItems":1,"title":"Roles Reviewed"},"result":{"$ref":"#/components/schemas/os_runtime__aos_pr23_golden_slice_b__models__EvidenceResult"},"notes":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Notes"},"artifact_refs":{"items":{"type":"string"},"type":"array","title":"Artifact Refs"},"reviewed_at":{"type":"string","format":"date-time","title":"Reviewed At"}},"type":"object","required":["run_id","reviewed_by","roles_reviewed","result"],"title":"RoleSafeExpressionReviewCommand"},"RoleSelectionRequest":{"properties":{"role":{"type":"string","maxLength":32,"minLength":1,"title":"Role"},"exam_target":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Exam Target"}},"type":"object","required":["role"],"title":"RoleSelectionRequest"},"RoleSources":{"properties":{"occupation_id":{"type":"string","format":"uuid","title":"Occupation Id"},"graph_release_id":{"type":"string","format":"uuid","title":"Graph Release Id"},"read_at":{"type":"string","format":"date-time","title":"Read At"},"label":{"type":"string","title":"Label"},"version_digest":{"type":"string","title":"Version Digest"},"sources":{"items":{"$ref":"#/components/schemas/SourceStrip"},"type":"array","title":"Sources"},"content_sources":{"items":{"$ref":"#/components/schemas/SourceStrip"},"type":"array","title":"Content Sources","default":[]},"labour_sources":{"items":{"$ref":"#/components/schemas/SourceStrip"},"type":"array","title":"Labour Sources"},"labour_state":{"type":"string","title":"Labour State"}},"additionalProperties":false,"type":"object","required":["occupation_id","graph_release_id","read_at","label","version_digest","sources","labour_sources","labour_state"],"title":"RoleSources"},"RoleSurfaceMatrixCommand":{"properties":{"matrix_id":{"type":"string","format":"uuid","title":"Matrix Id"},"run_id":{"type":"string","format":"uuid","title":"Run Id"},"role":{"type":"string","enum":["parent","student","anonymous","operator"],"title":"Role"},"surface":{"type":"string","enum":["parent","commerce","public","offline"],"title":"Surface"},"viewport":{"type":"string","enum":["mobile_375","desktop_1366"],"title":"Viewport"},"state_name":{"type":"string","maxLength":120,"minLength":2,"title":"State Name"},"result":{"$ref":"#/components/schemas/os_runtime__aos_pr23_golden_slice_b__models__EvidenceResult"},"artifact_refs":{"items":{"type":"string"},"type":"array","title":"Artifact Refs"}},"type":"object","required":["run_id","role","surface","viewport","state_name","result"],"title":"RoleSurfaceMatrixCommand"},"RollNoIn":{"properties":{"roll_no":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Roll No"}},"type":"object","title":"RollNoIn"},"RollbackEvidenceCommand":{"properties":{"run_id":{"type":"string","format":"uuid","title":"Run Id"},"rollback_id":{"type":"string","format":"uuid","title":"Rollback Id"},"organ_id":{"type":"string","pattern":"^OS\\d{2}$","title":"Organ Id"},"result":{"$ref":"#/components/schemas/os_runtime__aos_golden_slice_c_day__models__EvidenceResult"},"os18_receipt_id":{"type":"string","format":"uuid","title":"Os18 Receipt Id"},"executed_command":{"type":"string","maxLength":500,"minLength":3,"title":"Executed Command"},"before_mode":{"type":"string","maxLength":32,"minLength":2,"title":"Before Mode"},"after_mode":{"type":"string","maxLength":32,"minLength":2,"title":"After Mode"},"artifact_refs":{"items":{"type":"string"},"type":"array","minItems":1,"title":"Artifact Refs"},"metadata":{"type":"object","title":"Metadata"},"executed_at":{"type":"string","format":"date-time","title":"Executed At"}},"type":"object","required":["run_id","organ_id","result","os18_receipt_id","executed_command","before_mode","after_mode","artifact_refs"],"title":"RollbackEvidenceCommand"},"RollbackProofCommand":{"properties":{"rollback_id":{"type":"string","format":"uuid","title":"Rollback Id"},"release_scope":{"type":"string","maxLength":120,"minLength":2,"title":"Release Scope"},"candidate_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Candidate Id"},"manifest_sha256":{"anyOf":[{"type":"string","maxLength":64,"minLength":64,"pattern":"^[a-fA-F0-9]{64}$"},{"type":"null"}],"title":"Manifest Sha256"},"commit_sha":{"type":"string","maxLength":64,"minLength":7,"title":"Commit Sha"},"environment":{"type":"string","maxLength":120,"minLength":2,"title":"Environment"},"rollback_command":{"type":"string","maxLength":1000,"minLength":2,"title":"Rollback Command"},"started_at":{"type":"string","format":"date-time","title":"Started At"},"finished_at":{"type":"string","format":"date-time","title":"Finished At"},"result":{"type":"string","enum":["PASS","FAIL","BLOCKED","NOT_RUN","WAIVED"],"title":"Result"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os18_release_gate__models__EvidenceRef"},"type":"array","maxItems":64,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["release_scope","commit_sha","environment","rollback_command","started_at","finished_at","result","actor_id","evidence_refs"],"title":"RollbackProofCommand"},"RolloutCreate":{"properties":{"reason":{"type":"string","maxLength":1000,"minLength":8,"title":"Reason"},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Evidence Refs"},"target_ref":{"type":"string","maxLength":160,"minLength":2,"title":"Target Ref"},"release_ref":{"type":"string","maxLength":160,"minLength":2,"title":"Release Ref"},"cohort":{"type":"object","title":"Cohort"},"exposure_percent":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Exposure Percent"},"guardrails":{"items":{"type":"string"},"type":"array","maxItems":30,"minItems":1,"title":"Guardrails"},"rollback_plan":{"items":{"type":"string"},"type":"array","maxItems":30,"minItems":1,"title":"Rollback Plan"}},"additionalProperties":false,"type":"object","required":["reason","target_ref","release_ref","cohort","exposure_percent","guardrails","rollback_plan"],"title":"RolloutCreate"},"RolloutHold":{"properties":{"reason":{"type":"string","maxLength":1000,"minLength":8,"title":"Reason"},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Evidence Refs"},"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"approval_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Approval Id"},"user_handling":{"type":"string","maxLength":1000,"minLength":8,"title":"User Handling"},"restart_gate":{"type":"string","maxLength":1000,"minLength":8,"title":"Restart Gate"}},"additionalProperties":false,"type":"object","required":["reason","expected_version","user_handling","restart_gate"],"title":"RolloutHold"},"RoundActionConsequenceRow":{"properties":{"native_action_code":{"type":"string","title":"Native Action Code"},"semantic_class":{"type":"string","title":"Semantic Class"},"is_advised":{"type":"boolean","title":"Is Advised"},"consequence_state":{"type":"string","enum":["STATED","NOT_KNOWN"],"title":"Consequence State"},"keeps":{"items":{"type":"string"},"type":"array","title":"Keeps"},"gives_up":{"items":{"type":"string"},"type":"array","title":"Gives Up"},"reversibility":{"type":"string","enum":["REVERSIBLE","IRREVERSIBLE","NOT_STATED"],"title":"Reversibility"},"financial_exposure_minor":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Financial Exposure Minor"},"financial_exposure_known":{"type":"boolean","title":"Financial Exposure Known"},"reason_codes":{"items":{"type":"string"},"type":"array","title":"Reason Codes"}},"additionalProperties":false,"type":"object","required":["native_action_code","semantic_class","is_advised","consequence_state","keeps","gives_up","reversibility","financial_exposure_minor","financial_exposure_known","reason_codes"],"title":"RoundActionConsequenceRow","description":"One permitted action, in the authority's own word (part 003/004).\n\nconsequence_state='NOT_KNOWN' on every row this product cannot actually\nexplain from what it stored. The write path (migration 710) persists the\nfull option detail -- semantic class, keeps/gives-up, reversibility,\nfinancial exposure -- for the advised action only; every alternative is\nreconstructed from its bare action code alone, so it is honestly marked\nNOT_KNOWN rather than filled in from a guess. See\nalgorithms_counselling.derive_round_action_consequences, which this\nprojection mirrors field for field."},"RoundActionConsequenceTableProjection":{"properties":{"round_action_decision_id":{"type":"string","format":"uuid","title":"Round Action Decision Id"},"state":{"type":"string","enum":["READY","HELD","EXPIRED"],"title":"State"},"advisory_policy_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Advisory Policy Version"},"rows":{"items":{"$ref":"#/components/schemas/RoundActionConsequenceRow"},"type":"array","title":"Rows"},"no_guarantee":{"type":"boolean","title":"No Guarantee","default":true},"derivation":{"type":"string","enum":["RESOLVED_FROM_RULE_RELEASE","RECONSTRUCTED_FROM_STORED_DECISION","RECONSTRUCTED_AFTER_RULE_LOOKUP_FAILED"],"title":"Derivation","default":"RECONSTRUCTED_FROM_STORED_DECISION"}},"additionalProperties":false,"type":"object","required":["round_action_decision_id","state","advisory_policy_version","rows"],"title":"RoundActionConsequenceTableProjection"},"RoundActionCurrentProjection":{"properties":{"has_open_round":{"type":"boolean","title":"Has Open Round"},"decision":{"anyOf":[{"$ref":"#/components/schemas/RoundActionDecisionRead"},{"type":"null"}]},"reason_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason Code"}},"additionalProperties":false,"type":"object","required":["has_open_round","decision"],"title":"RoundActionCurrentProjection","description":"Parts 001, 002 and 006: the round the family should act on right now,\nor the honest reason there is nothing to show. has_open_round is False\nwhenever no stored decision has a future deadline for this owner (and\nauthority, when given) -- an EXPIRED or long-past decision never counts\nas \"open\" even though it is still the most recent row on file."},"RoundActionDecisionRead":{"properties":{"round_action_decision_id":{"type":"string","format":"uuid","title":"Round Action Decision Id"},"owner_id":{"type":"string","title":"Owner Id"},"seat_decision_id":{"type":"string","format":"uuid","title":"Seat Decision Id"},"seat_decision_digest":{"type":"string","title":"Seat Decision Digest"},"seat_decision_version":{"type":"integer","title":"Seat Decision Version"},"choice_list_id":{"type":"string","format":"uuid","title":"Choice List Id"},"choice_list_digest":{"type":"string","title":"Choice List Digest"},"coordination_decision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Coordination Decision Id"},"authority":{"type":"string","title":"Authority"},"round_id":{"type":"string","title":"Round Id"},"state":{"type":"string","enum":["READY","HELD","EXPIRED"],"title":"State"},"advised_native_action_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Advised Native Action Code"},"alternatives":{"items":{"type":"string"},"type":"array","title":"Alternatives"},"retained_offer":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Retained Offer"},"preserves_future_rounds":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Preserves Future Rounds"},"irreversible":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Irreversible"},"deadline_at":{"type":"string","format":"date-time","title":"Deadline At"},"advisory_policy_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Advisory Policy Version"},"reason_codes":{"items":{"type":"string"},"type":"array","title":"Reason Codes"},"assumptions":{"items":{"type":"string"},"type":"array","title":"Assumptions"},"allotment_ref":{"type":"string","title":"Allotment Ref"},"allotment_digest":{"type":"string","title":"Allotment Digest"},"allotment_verified":{"type":"boolean","title":"Allotment Verified"},"rule_source_ref":{"type":"string","title":"Rule Source Ref"},"rule_source_digest":{"type":"string","title":"Rule Source Digest"},"authority_rule_version":{"type":"string","title":"Authority Rule Version"},"no_guarantee":{"type":"boolean","title":"No Guarantee"},"submission_authorised":{"type":"boolean","title":"Submission Authorised"},"decision_digest":{"type":"string","title":"Decision Digest"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"ledger_citation":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Ledger Citation"}},"additionalProperties":false,"type":"object","required":["round_action_decision_id","owner_id","seat_decision_id","seat_decision_digest","seat_decision_version","choice_list_id","choice_list_digest","coordination_decision_id","authority","round_id","state","advised_native_action_code","alternatives","retained_offer","preserves_future_rounds","irreversible","deadline_at","advisory_policy_version","reason_codes","assumptions","allotment_ref","allotment_digest","allotment_verified","rule_source_ref","rule_source_digest","authority_rule_version","no_guarantee","submission_authorised","decision_digest","created_at"],"title":"RoundActionDecisionRead","description":"The full record a learner may read back (parts 005 and 007).\n\nOne-to-one with decision_universe.predict_round_action_decisions. Nothing\nhere is invented: there is no allotment institute/programme (only the\nopaque, source-checked allotment_ref), and no per-option consequence\nbeyond the three booleans the write path kept for the one option it\nadvised."},"RoundActionEntryProjection":{"properties":{"state":{"type":"string","enum":["SEASON_ENDED","NOT_YET_OPEN","NOT_PUBLISHED","RULES_AVAILABLE","RULES_UNRESOLVED"],"title":"State"},"message":{"type":"string","title":"Message"},"season":{"anyOf":[{"$ref":"#/components/schemas/AuthoritySeasonStatus"},{"type":"null"}]},"rule":{"anyOf":[{"$ref":"#/components/schemas/EntryRule"},{"type":"null"}]},"refusal_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Refusal Code"},"advice_available":{"type":"boolean","title":"Advice Available","default":false},"advice_reason_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Advice Reason Code"},"advice_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Advice Message"},"decision_created":{"type":"boolean","title":"Decision Created","default":false},"saved":{"type":"boolean","title":"Saved","default":false},"stated_by_family":{"type":"object","title":"Stated By Family"},"read_at":{"type":"string","format":"date-time","title":"Read At"}},"additionalProperties":false,"type":"object","required":["state","message","stated_by_family","read_at"],"title":"RoundActionEntryProjection"},"RoundActionEntryRequest":{"properties":{"authority":{"type":"string","maxLength":120,"minLength":2,"title":"Authority"},"round_id":{"type":"string","maxLength":80,"minLength":1,"title":"Round Id"},"allotment_is_first_choice":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Allotment Is First Choice"},"category":{"anyOf":[{"type":"string","enum":["OPEN","GEN_EWS","OBC_NCL","SC","ST","OPEN_PWD","GEN_EWS_PWD","OBC_NCL_PWD","SC_PWD","ST_PWD","OTHER"]},{"type":"null"}],"title":"Category"},"allotted_seat_text":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Allotted Seat Text"}},"additionalProperties":false,"type":"object","required":["authority","round_id"],"title":"RoundActionEntryRequest"},"RoundActionExport":{"properties":{"export_id":{"type":"string","format":"uuid","title":"Export Id"},"round_action_decision_id":{"type":"string","format":"uuid","title":"Round Action Decision Id"},"format":{"type":"string","enum":["JSON"],"const":"JSON","title":"Format","default":"JSON"},"state":{"type":"string","enum":["READY","REVOKED","EXPIRED"],"title":"State"},"digest":{"type":"string","title":"Digest"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"expires_at":{"type":"string","title":"Expires At"},"replayed":{"type":"boolean","title":"Replayed","default":false},"document":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Document"}},"additionalProperties":false,"type":"object","required":["export_id","round_action_decision_id","state","digest","expires_at"],"title":"RoundActionExport","description":"The receipt for a copy. `document` is present when the copy is fetched or\nhas just been made, and is absent (with state REVOKED or EXPIRED) once the\ncopy has been removed."},"RoundActionExportRemoved":{"properties":{"export_id":{"type":"string","format":"uuid","title":"Export Id"},"round_action_decision_id":{"type":"string","format":"uuid","title":"Round Action Decision Id"},"state":{"type":"string","enum":["READY","REVOKED","EXPIRED"],"title":"State"},"message":{"type":"string","title":"Message"}},"additionalProperties":false,"type":"object","required":["export_id","round_action_decision_id","state","message"],"title":"RoundActionExportRemoved"},"RoundActionHistoryProjection":{"properties":{"owner_id":{"type":"string","title":"Owner Id"},"authority":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authority"},"season":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Season"},"items":{"items":{"$ref":"#/components/schemas/RoundActionDecisionRead"},"type":"array","title":"Items"}},"additionalProperties":false,"type":"object","required":["owner_id","authority","season","items"],"title":"RoundActionHistoryProjection","description":"Part 005: the season's receipted advice, so the next round starts\nfrom a record instead of from memory."},"RoundActionOption":{"properties":{"native_action_code":{"type":"string","maxLength":80,"minLength":1,"title":"Native Action Code"},"semantic_class":{"type":"string","enum":["ACCEPT_FINAL","ACCEPT_AND_UPGRADE","ACCEPT_AND_BRANCH_UPGRADE","DECLINE","WITHDRAW","WAIT","PARTICIPATE","UNKNOWN"],"title":"Semantic Class"},"retains_current_offer":{"type":"boolean","title":"Retains Current Offer"},"preserves_future_rounds":{"type":"boolean","title":"Preserves Future Rounds"},"irreversible":{"type":"boolean","title":"Irreversible","default":false},"financial_exposure_minor":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Financial Exposure Minor"},"reason_codes":{"items":{"type":"string"},"type":"array","title":"Reason Codes","default":[]}},"additionalProperties":false,"type":"object","required":["native_action_code","semantic_class","retains_current_offer","preserves_future_rounds"],"title":"RoundActionOption"},"RoundActionParentProjection":{"properties":{"round_action_decision_id":{"type":"string","format":"uuid","title":"Round Action Decision Id"},"authority":{"type":"string","title":"Authority"},"round_id":{"type":"string","title":"Round Id"},"state":{"type":"string","enum":["READY","HELD","EXPIRED"],"title":"State"},"retained_offer":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Retained Offer"},"preserves_future_rounds":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Preserves Future Rounds"},"irreversible":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Irreversible"},"deadline_at":{"type":"string","format":"date-time","title":"Deadline At"},"reason_codes":{"items":{"type":"string"},"type":"array","title":"Reason Codes"},"no_guarantee":{"type":"boolean","title":"No Guarantee"},"submission_authorised":{"type":"boolean","title":"Submission Authorised"},"generated_at":{"type":"string","format":"date-time","title":"Generated At"},"omitted_fields":{"items":{"type":"string"},"type":"array","title":"Omitted Fields"},"projection_digest":{"type":"string","title":"Projection Digest"}},"additionalProperties":false,"type":"object","required":["round_action_decision_id","authority","round_id","state","retained_offer","preserves_future_rounds","irreversible","deadline_at","reason_codes","no_guarantee","submission_authorised","generated_at","omitted_fields","projection_digest"],"title":"RoundActionParentProjection","description":"Part 004/005, purpose-scoped and server-filtered for a linked parent\n(PRD section 7 and the R06 route note: \"guardian only through an explicit\nparent-safe projection\").\n\nDeliberately narrow, and narrower than the PRD states outright, per the\ninstruction to narrow and say so where the spec under-specifies: this\nomits round_action_decision ownership id, seat_decision_id/digest,\nchoice_list_id/digest, coordination_decision_id, allotment_ref/digest\n(the sourced position itself), rule_source_ref/digest,\nauthority_rule_version, decision_digest, owner_id, and -- unlike the\nlearner-only RoundActionDecisionRead -- advised_native_action_code and\nalternatives. Those two are the authority's own round-action vocabulary,\nwhich in some counselling systems encodes branch/programme-level detail\ninside the action word itself; nothing in the PRD confirms it never does,\nso it is treated as position-identifying and held back. What a parent\nkeeps: the round identity, its state, the coarse shape of what the advice\nkeeps and gives up (as three booleans, not the vocabulary), the deadline,\nthe process-level reason codes, and the two refusal booleans the\ndatabase itself enforces."},"RoundActionRuleProjection":{"properties":{"round_action_decision_id":{"type":"string","format":"uuid","title":"Round Action Decision Id"},"authority":{"type":"string","title":"Authority"},"round_id":{"type":"string","title":"Round Id"},"authority_rule_version":{"type":"string","title":"Authority Rule Version"},"rule_source_ref":{"type":"string","title":"Rule Source Ref"},"rule_source_digest":{"type":"string","title":"Rule Source Digest"},"trusted_at_advice_time":{"type":"boolean","title":"Trusted At Advice Time"},"source_lookup":{"type":"string","enum":["FOUND","NOT_FOUND"],"title":"Source Lookup","default":"NOT_FOUND"},"publisher":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Publisher"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"},"effective_from":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Effective From"},"effective_to":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Effective To"},"currently_approved":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Currently Approved"},"currently_recalled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Currently Recalled"}},"additionalProperties":false,"type":"object","required":["round_action_decision_id","authority","round_id","authority_rule_version","rule_source_ref","rule_source_digest","trusted_at_advice_time"],"title":"RoundActionRuleProjection","description":"Part 007: the exact rule release behind the advice."},"RoundRuleMutationEnvelope":{"properties":{"receipt":{"type":"object","title":"Receipt"},"resource":{"type":"object","title":"Resource"}},"additionalProperties":false,"type":"object","required":["receipt","resource"],"title":"RoundRuleMutationEnvelope"},"RoundSeasonStatus":{"properties":{"round_id":{"type":"string","title":"Round Id"},"state":{"type":"string","enum":["OPEN","NOT_YET_OPEN","ENDED","NOT_PUBLISHED"],"title":"State"},"authority_rule_version":{"type":"string","title":"Authority Rule Version"},"effective_from":{"type":"string","format":"date-time","title":"Effective From"},"effective_to":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Effective To"}},"additionalProperties":false,"type":"object","required":["round_id","state","authority_rule_version","effective_from"],"title":"RoundSeasonStatus"},"RouteBody":{"properties":{"channel_key":{"type":"string","maxLength":60,"title":"Channel Key"}},"type":"object","required":["channel_key"],"title":"RouteBody"},"RouteChoiceEventReceipt":{"properties":{"route_choice_id":{"type":"string","format":"uuid","title":"Route Choice Id"},"trigger_id":{"type":"string","title":"Trigger Id"},"register_version":{"type":"integer","title":"Register Version"},"pathway_decision_id":{"type":"string","format":"uuid","title":"Pathway Decision Id"},"route_id":{"type":"string","format":"uuid","title":"Route Id"},"state":{"type":"string","enum":["RECORDED","RECONCILING"],"title":"State"},"successor_ref":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Successor Ref"},"replayed":{"type":"boolean","title":"Replayed","default":false}},"additionalProperties":false,"type":"object","required":["route_choice_id","trigger_id","register_version","pathway_decision_id","route_id","state"],"title":"RouteChoiceEventReceipt"},"RouteChoiceEventRequest":{"properties":{"trigger_id":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{2,63}$","title":"Trigger Id"},"pathway_decision_id":{"type":"string","format":"uuid","title":"Pathway Decision Id"},"route_id":{"type":"string","format":"uuid","title":"Route Id"},"graph_release_id":{"type":"string","format":"uuid","title":"Graph Release Id"},"context_digest":{"type":"string","title":"Context Digest"},"trigger_version":{"type":"integer","minimum":1.0,"title":"Trigger Version"},"correlation_ref":{"type":"string","maxLength":200,"minLength":1,"title":"Correlation Ref"}},"additionalProperties":false,"type":"object","required":["trigger_id","pathway_decision_id","route_id","graph_release_id","context_digest","trigger_version","correlation_ref"],"title":"RouteChoiceEventRequest"},"RouteColumn":{"properties":{"route_id":{"type":"string","title":"Route Id"},"label":{"type":"string","title":"Label"},"steps":{"items":{"type":"string"},"type":"array","title":"Steps","default":[]},"direction":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Direction"},"lane":{"type":"string","title":"Lane"},"lane_text":{"type":"string","title":"Lane Text"}},"additionalProperties":false,"type":"object","required":["route_id","label","lane","lane_text"],"title":"RouteColumn"},"RouteCompletionCommand":{"properties":{"decision_id":{"type":"string","format":"uuid","title":"Decision Id"},"task_id":{"type":"string","format":"uuid","title":"Task Id"},"provider_id":{"type":"string","maxLength":80,"minLength":2,"title":"Provider Id"},"model_id":{"type":"string","maxLength":160,"minLength":2,"title":"Model Id"},"status":{"type":"string","enum":["COMPLETED","FAILED","TIMEOUT","CANCELLED"],"title":"Status"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"},"latency_ms":{"anyOf":[{"type":"integer","maximum":600000.0,"minimum":0.0},{"type":"null"}],"title":"Latency Ms"},"input_tokens":{"anyOf":[{"type":"integer","maximum":2000000.0,"minimum":0.0},{"type":"null"}],"title":"Input Tokens"},"output_tokens":{"anyOf":[{"type":"integer","maximum":2000000.0,"minimum":0.0},{"type":"null"}],"title":"Output Tokens"},"actual_cost_micro_usd":{"anyOf":[{"type":"integer","maximum":100000000.0,"minimum":0.0},{"type":"null"}],"title":"Actual Cost Micro Usd"},"provider_request_id_hash":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Provider Request Id Hash"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os16_ai_routing__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["decision_id","task_id","provider_id","model_id","status","actor_id","evidence_refs"],"title":"RouteCompletionCommand"},"RouteDeltaMember":{"properties":{"route_id":{"type":"string","format":"uuid","title":"Route Id"},"route_digest":{"type":"string","title":"Route Digest"},"step_count":{"type":"integer","minimum":0.0,"title":"Step Count"},"unique_steps":{"items":{"$ref":"#/components/schemas/StepRef"},"type":"array","title":"Unique Steps","default":[]},"unique_entity_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Unique Entity Ids","default":[]}},"additionalProperties":false,"type":"object","required":["route_id","route_digest","step_count"],"title":"RouteDeltaMember","description":"One route's side of the comparison."},"RouteDeltaProjection":{"properties":{"state":{"type":"string","enum":["COMPARED","NOT_COMPARABLE"],"title":"State"},"graph_release_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Graph Release Id"},"members":{"items":{"$ref":"#/components/schemas/RouteDeltaMember"},"type":"array","title":"Members","default":[]},"shared_step_digests":{"items":{"type":"string"},"type":"array","title":"Shared Step Digests","default":[]},"shared_entity_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Shared Entity Ids","default":[]},"step_count_spread":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Step Count Spread"},"not_comparable_reason":{"anyOf":[{"type":"string","enum":["ROUTE_NOT_FOUND","DIFFERENT_GRAPH_RELEASE","FEWER_THAN_TWO_ROUTES","MORE_THAN_THREE_ROUTES","DUPLICATE_ROUTE"]},{"type":"null"}],"title":"Not Comparable Reason"},"delta_digest":{"type":"string","title":"Delta Digest"}},"additionalProperties":false,"type":"object","required":["state","delta_digest"],"title":"RouteDeltaProjection","description":"The comparison. Descriptive only -- it names no winner."},"RouteDeltaRequest":{"properties":{"route_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":3,"minItems":2,"title":"Route Ids"},"graph_release_id":{"type":"string","format":"uuid","title":"Graph Release Id"}},"additionalProperties":false,"type":"object","required":["route_ids","graph_release_id"],"title":"RouteDeltaRequest","description":"Two or three routes of the same graph release."},"RouteFrontierReference":{"properties":{"source_pathway_decision_id":{"type":"string","format":"uuid","title":"Source Pathway Decision Id"},"route_id":{"type":"string","format":"uuid","title":"Route Id"},"route_digest":{"type":"string","title":"Route Digest"},"cost_profile_refs":{"items":{"$ref":"#/components/schemas/CostProfileVersionReference"},"type":"array","maxItems":40,"title":"Cost Profile Refs","default":[]}},"additionalProperties":false,"type":"object","required":["source_pathway_decision_id","route_id","route_digest"],"title":"RouteFrontierReference"},"RouteFrontierVector":{"properties":{"route_id":{"type":"string","format":"uuid","title":"Route Id"},"route_digest":{"type":"string","title":"Route Digest"},"eligibility_lane":{"type":"string","enum":["ELIGIBLE","CONDITIONAL","REVIEW_REQUIRED","UNKNOWN","INELIGIBLE"],"title":"Eligibility Lane"},"envelope_decision_id":{"type":"string","format":"uuid","title":"Envelope Decision Id"},"fit_vector_id":{"type":"string","format":"uuid","title":"Fit Vector Id"},"objectives":{"items":{"$ref":"#/components/schemas/RouteObjectiveProjection"},"type":"array","title":"Objectives"},"comparability_mask":{"items":{"type":"string","enum":["TIME_MONTHS","COST_MINOR","FIT_INTEREST","FIT_APTITUDE_EVIDENCE","FIT_LEARNING_MODE","FIT_ENVIRONMENT","FIT_TIME_RISK","FIT_CONSTRAINT_ALIGNMENT","OPTIONALITY","SOURCE_QUALITY","OUTCOME_EVIDENCE"]},"type":"array","title":"Comparability Mask"},"reason_codes":{"items":{"type":"string"},"type":"array","title":"Reason Codes","default":[]}},"additionalProperties":false,"type":"object","required":["route_id","route_digest","eligibility_lane","envelope_decision_id","fit_vector_id","objectives","comparability_mask"],"title":"RouteFrontierVector"},"RouteItineraryProjection":{"properties":{"route_id":{"type":"string","format":"uuid","title":"Route Id"},"graph_release_id":{"type":"string","format":"uuid","title":"Graph Release Id"},"direction":{"type":"string","enum":["FORWARD","REVERSE"],"title":"Direction"},"state":{"type":"string","enum":["AVAILABLE","CONDITIONAL","REVIEW_REQUIRED"],"title":"State"},"start":{"$ref":"#/components/schemas/GraphNode"},"goal":{"$ref":"#/components/schemas/GraphNode"},"steps":{"items":{"$ref":"#/components/schemas/RouteStepProjection"},"type":"array","title":"Steps"},"accessible_summary":{"items":{"type":"string"},"type":"array","title":"Accessible Summary"},"route_digest":{"type":"string","title":"Route Digest"},"valid_as_of":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Valid As Of"},"context_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Context Id"},"context_digest":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Context Digest"},"graph_manifest_digest":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Graph Manifest Digest"}},"additionalProperties":false,"type":"object","required":["route_id","graph_release_id","direction","state","start","goal","steps","accessible_summary","route_digest"],"title":"RouteItineraryProjection"},"RouteObjectiveProjection":{"properties":{"objective":{"type":"string","enum":["TIME_MONTHS","COST_MINOR","FIT_INTEREST","FIT_APTITUDE_EVIDENCE","FIT_LEARNING_MODE","FIT_ENVIRONMENT","FIT_TIME_RISK","FIT_CONSTRAINT_ALIGNMENT","OPTIONALITY","SOURCE_QUALITY","OUTCOME_EVIDENCE"],"title":"Objective"},"direction":{"type":"string","enum":["MINIMIZE","MAXIMIZE"],"title":"Direction"},"state":{"type":"string","enum":["KNOWN","UNKNOWN","INCOMPARABLE","WITHHELD"],"title":"State"},"value":{"anyOf":[{"type":"number"},{"type":"integer"},{"type":"null"}],"title":"Value"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit"},"reason_codes":{"items":{"type":"string"},"type":"array","title":"Reason Codes","default":[]}},"additionalProperties":false,"type":"object","required":["objective","direction","state"],"title":"RouteObjectiveProjection"},"RoutePlanReference":{"properties":{"producer_type":{"type":"string","enum":["FRONTIER_COMPARISON","FORWARD_TRAVERSAL","REVERSE_TRAVERSAL","RECOVERY"],"title":"Producer Type","default":"FRONTIER_COMPARISON"},"frontier_decision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Frontier Decision Id"},"frontier_version_no":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Frontier Version No"},"frontier_digest":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Frontier Digest"},"candidate_set_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Candidate Set Id"},"recovery_decision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Recovery Decision Id"},"recovery_decision_digest":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recovery Decision Digest"},"recovery_route_acceptance_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Recovery Route Acceptance Id"},"recovery_route_choice_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Recovery Route Choice Id"},"route_id":{"type":"string","format":"uuid","title":"Route Id"},"route_digest":{"type":"string","title":"Route Digest"}},"additionalProperties":false,"type":"object","required":["route_id","route_digest"],"title":"RoutePlanReference"},"RouteResolution":{"properties":{"requested_route":{"type":"string","title":"Requested Route"},"normalised_route":{"type":"string","title":"Normalised Route"},"product_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Id"},"canonical_route":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Canonical Route"},"binding_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Binding Id"},"state":{"type":"string","enum":["RESOLVED","UNOWNED","BLOCKED","RETIRED"],"title":"State"},"reason_codes":{"items":{"type":"string"},"type":"array","minItems":1,"title":"Reason Codes"},"decision_digest":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Decision Digest"}},"additionalProperties":false,"type":"object","required":["requested_route","normalised_route","product_id","canonical_route","binding_id","state","reason_codes","decision_digest"],"title":"RouteResolution"},"RouteSnapshotCommand":{"properties":{"route_id":{"type":"string","format":"uuid","title":"Route Id"},"path":{"type":"string","maxLength":300,"minLength":1,"pattern":"^/","title":"Path"},"screen":{"type":"string","maxLength":160,"minLength":1,"title":"Screen"},"route_status":{"type":"string","maxLength":40,"minLength":2,"title":"Route Status"},"state":{"type":"string","enum":["ACTIVE","DEFERRED","DEV_ONLY","RETIRED"],"title":"State","default":"ACTIVE"},"registry_version":{"type":"string","maxLength":80,"minLength":1,"title":"Registry Version"},"registry_hash":{"type":"string","maxLength":128,"minLength":32,"title":"Registry Hash"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os14_universal_index__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["path","screen","route_status","registry_version","registry_hash","actor_id","evidence_refs"],"title":"RouteSnapshotCommand"},"RouteStepProjection":{"properties":{"step_no":{"type":"integer","minimum":1.0,"title":"Step No"},"edge_id":{"type":"string","format":"uuid","title":"Edge Id"},"edge_version_id":{"type":"string","format":"uuid","title":"Edge Version Id"},"edge_type":{"type":"string","enum":["REQUIRES","LEADS_TO","TEACHES","AWARDS","OFFERED_BY","EQUIVALENT_TO","PROGRESSES_TO","QUALIFIES_FOR","TRANSITIONS_TO","CONTEXTUALISES","MAPS_TO","ALIGNS_TO","MEMBER_OF","ALLOWS_ENTRY_TO","ALTERNATIVE_TO","BRIDGES_TO","REQUIRES_CAPABILITY","PERFORMS_TASK"],"title":"Edge Type"},"from_entity_id":{"type":"string","format":"uuid","title":"From Entity Id"},"to_entity_id":{"type":"string","format":"uuid","title":"To Entity Id"},"from_entity_version_id":{"type":"string","format":"uuid","title":"From Entity Version Id"},"to_entity_version_id":{"type":"string","format":"uuid","title":"To Entity Version Id"},"state":{"type":"string","enum":["AVAILABLE","CONDITIONAL","REVIEW_REQUIRED"],"title":"State"},"reason_codes":{"items":{"type":"string"},"type":"array","title":"Reason Codes","default":[]},"source_refs":{"items":{"type":"object"},"type":"array","title":"Source Refs","default":[]},"step_digest":{"type":"string","title":"Step Digest"}},"additionalProperties":false,"type":"object","required":["step_no","edge_id","edge_version_id","edge_type","from_entity_id","to_entity_id","from_entity_version_id","to_entity_version_id","state","step_digest"],"title":"RouteStepProjection"},"RouteTradeoffProjection":{"properties":{"route_id":{"type":"string","format":"uuid","title":"Route Id"},"layer_no":{"type":"integer","minimum":1.0,"title":"Layer No"},"eligibility_lane":{"type":"string","enum":["ELIGIBLE","CONDITIONAL","REVIEW_REQUIRED","UNKNOWN","INELIGIBLE"],"title":"Eligibility Lane"},"display_position":{"type":"integer","minimum":1.0,"title":"Display Position"},"strengths":{"items":{"type":"string","enum":["TIME_MONTHS","COST_MINOR","FIT_INTEREST","FIT_APTITUDE_EVIDENCE","FIT_LEARNING_MODE","FIT_ENVIRONMENT","FIT_TIME_RISK","FIT_CONSTRAINT_ALIGNMENT","OPTIONALITY","SOURCE_QUALITY","OUTCOME_EVIDENCE"]},"type":"array","title":"Strengths","default":[]},"compromises":{"items":{"type":"string","enum":["TIME_MONTHS","COST_MINOR","FIT_INTEREST","FIT_APTITUDE_EVIDENCE","FIT_LEARNING_MODE","FIT_ENVIRONMENT","FIT_TIME_RISK","FIT_CONSTRAINT_ALIGNMENT","OPTIONALITY","SOURCE_QUALITY","OUTCOME_EVIDENCE"]},"type":"array","title":"Compromises","default":[]},"unknowns":{"items":{"type":"string","enum":["TIME_MONTHS","COST_MINOR","FIT_INTEREST","FIT_APTITUDE_EVIDENCE","FIT_LEARNING_MODE","FIT_ENVIRONMENT","FIT_TIME_RISK","FIT_CONSTRAINT_ALIGNMENT","OPTIONALITY","SOURCE_QUALITY","OUTCOME_EVIDENCE"]},"type":"array","title":"Unknowns","default":[]},"narrative_codes":{"items":{"type":"string"},"type":"array","title":"Narrative Codes","default":[]},"winner_claim_authorised":{"type":"boolean","enum":[false],"const":false,"title":"Winner Claim Authorised","default":false}},"additionalProperties":false,"type":"object","required":["route_id","layer_no","eligibility_lane","display_position"],"title":"RouteTradeoffProjection"},"RoutingPolicyCommand":{"properties":{"policy_id":{"type":"string","maxLength":120,"minLength":3,"title":"Policy Id"},"version":{"type":"string","maxLength":80,"minLength":1,"title":"Version"},"task_types":{"items":{"type":"string","enum":["text_tutor","vision_doubt","grading_feedback","content_generation","content_review","search_summarization","rank_reasoning","safety_triage","operator_analysis"]},"type":"array","maxItems":32,"minItems":1,"title":"Task Types"},"allowed_provider_ids":{"items":{"type":"string"},"type":"array","maxItems":64,"minItems":1,"title":"Allowed Provider Ids"},"fallback_order":{"items":{"type":"string"},"type":"array","maxItems":128,"minItems":1,"title":"Fallback Order"},"min_quality_score":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Min Quality Score","default":0.5},"max_latency_ms":{"type":"integer","maximum":600000.0,"minimum":100.0,"title":"Max Latency Ms","default":30000},"max_estimated_cost_micro_usd":{"type":"integer","maximum":100000000.0,"minimum":0.0,"title":"Max Estimated Cost Micro Usd","default":100000},"allow_external_provider":{"type":"boolean","title":"Allow External Provider","default":true},"require_offline":{"type":"boolean","title":"Require Offline","default":false},"blocked_privacy_classes":{"items":{"type":"string","enum":["public","student_private","parent_private","safety_sensitive","pii_restricted","raw_media"]},"type":"array","maxItems":8,"title":"Blocked Privacy Classes"},"state":{"type":"string","enum":["ACTIVE","RETIRED"],"title":"State","default":"ACTIVE"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os16_ai_routing__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["policy_id","version","task_types","allowed_provider_ids","fallback_order","actor_id","evidence_refs"],"title":"RoutingPolicyCommand"},"RowView":{"properties":{"key":{"type":"string","enum":["duration","cost","gates","opens","closes"],"title":"Key"},"title":{"type":"string","title":"Title"},"question":{"type":"string","title":"Question"},"shown":{"type":"boolean","title":"Shown"},"same_for_all":{"type":"boolean","title":"Same For All","default":false},"all_unknown":{"type":"boolean","title":"All Unknown","default":false},"cells":{"items":{"$ref":"#/components/schemas/CellView"},"type":"array","title":"Cells"}},"additionalProperties":false,"type":"object","required":["key","title","question","shown","cells"],"title":"RowView"},"RubricApprove":{"properties":{"subject":{"type":"string","maxLength":20,"title":"Subject"},"source_ref":{"type":"string","maxLength":500,"title":"Source Ref"},"criteria":{"items":{},"type":"array","maxItems":10,"title":"Criteria"},"typed_name":{"type":"string","maxLength":120,"title":"Typed Name"}},"type":"object","required":["subject","source_ref","criteria","typed_name"],"title":"RubricApprove"},"RubricCriterion":{"properties":{"criterion_id":{"type":"string","maxLength":64,"minLength":1,"title":"Criterion Id"},"label":{"type":"string","maxLength":160,"minLength":1,"title":"Label"},"max_marks":{"type":"number","minimum":0.0,"title":"Max Marks"},"evidence_required":{"type":"boolean","title":"Evidence Required","default":true}},"type":"object","required":["criterion_id","label","max_marks"],"title":"RubricCriterion"},"RubricElementIn":{"properties":{"must_convey":{"type":"string","maxLength":400,"minLength":1,"title":"Must Convey"},"weight":{"type":"string","title":"Weight","default":"core"},"common_confusions":{"items":{"type":"string"},"type":"array","maxItems":6,"title":"Common Confusions"}},"additionalProperties":false,"type":"object","required":["must_convey"],"title":"RubricElementIn"},"RubricVersionCommand":{"properties":{"rubric_id":{"type":"string","maxLength":128,"minLength":1,"title":"Rubric Id"},"version":{"type":"string","maxLength":64,"minLength":1,"title":"Version"},"subject_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject Id"},"mode":{"type":"string","enum":["objective","subjective","dpp","mock","chapter_test","quick_check","work_check","work_baseline"],"title":"Mode"},"criteria":{"items":{"$ref":"#/components/schemas/RubricCriterion"},"type":"array","title":"Criteria"},"created_by":{"type":"string","maxLength":128,"minLength":1,"title":"Created By"}},"type":"object","required":["rubric_id","version","mode","criteria","created_by"],"title":"RubricVersionCommand"},"RubricWithdraw":{"properties":{"reason":{"type":"string","maxLength":500,"title":"Reason"},"typed_name":{"type":"string","maxLength":120,"title":"Typed Name"}},"type":"object","required":["reason","typed_name"],"title":"RubricWithdraw"},"RuleBody":{"properties":{"name":{"type":"string","maxLength":120,"minLength":3,"title":"Name"},"kind":{"type":"string","maxLength":80,"title":"Kind","default":"*"},"min_severity":{"type":"string","title":"Min Severity","default":"normal"},"platform":{"type":"string","title":"Platform","default":"*"},"reaches":{"items":{"type":"string"},"type":"array","maxItems":20,"minItems":1,"title":"Reaches"},"channel":{"type":"string","title":"Channel","default":"console"},"quiet_hours":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Quiet Hours"},"enabled":{"type":"boolean","title":"Enabled","default":true}},"type":"object","required":["name"],"title":"RuleBody"},"RuleExpression":{"properties":{"op":{"type":"string","enum":["EQ","IN","RANGE","EXISTS","ALL","ANY","NOT"],"title":"Op"},"field":{"anyOf":[{"type":"string","pattern":"^[a-z][a-z0-9_.]{1,119}$"},{"type":"null"}],"title":"Field"},"value":{"title":"Value"},"children":{"items":{"$ref":"#/components/schemas/RuleExpression"},"type":"array","title":"Children","default":[]},"learner_input":{"anyOf":[{"$ref":"#/components/schemas/LearnerInputSchema"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["op"],"title":"RuleExpression"},"RuleTestCase":{"properties":{"facts":{"type":"object","title":"Facts"},"expected":{"type":"string","enum":["TRUE","FALSE","UNKNOWN"],"title":"Expected"}},"additionalProperties":false,"type":"object","required":["facts","expected"],"title":"RuleTestCase"},"RulingBody":{"properties":{"reference":{"type":"string","maxLength":200,"minLength":1,"title":"Reference"},"signed_off_by":{"type":"string","maxLength":120,"minLength":1,"title":"Signed Off By"},"note":{"type":"string","maxLength":400,"title":"Note","default":""}},"additionalProperties":false,"type":"object","required":["reference","signed_off_by"],"title":"RulingBody"},"RulingNew":{"properties":{"title":{"type":"string","maxLength":160,"minLength":5,"title":"Title"},"statement":{"type":"string","maxLength":2000,"minLength":10,"title":"Statement"},"type":{"type":"string","title":"Type"},"platform":{"type":"string","title":"Platform","default":"both"},"rows":{"items":{},"type":"array","title":"Rows"},"areas":{"items":{},"type":"array","title":"Areas"},"forbids":{"items":{},"type":"array","title":"Forbids"},"effective_on":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Effective On"},"until_on":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Until On"},"source_kind":{"type":"string","pattern":"^(decision|quote)$","title":"Source Kind","default":"quote"},"source_ref":{"type":"string","maxLength":600,"title":"Source Ref","default":""},"source_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Source Date"},"decision_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Decision Id"}},"type":"object","required":["title","statement","type"],"title":"RulingNew"},"RunBacktestBody":{"properties":{"acknowledgement":{"type":"string","enum":["run-reviewed-holdout-backtest"],"const":"run-reviewed-holdout-backtest","title":"Acknowledgement"},"plan":{"type":"object","title":"Plan"}},"additionalProperties":false,"type":"object","required":["acknowledgement"],"title":"RunBacktestBody"},"RunBody":{"properties":{"window":{"anyOf":[{"$ref":"#/components/schemas/WindowBody"},{"type":"null"}]},"dry_run":{"type":"boolean","title":"Dry Run","default":true},"mode":{"type":"string","enum":["sweep","ledger","both"],"title":"Mode","default":"both"},"repair":{"type":"boolean","title":"Repair","default":false}},"additionalProperties":false,"type":"object","title":"RunBody"},"RunRequestBody":{"properties":{"kind":{"type":"string","pattern":"^(start|stop|handover)$","title":"Kind"},"brief":{"type":"string","maxLength":2000,"title":"Brief","default":""},"machine":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Machine"},"platform":{"type":"string","pattern":"^(aspireace|trututor|company)$","title":"Platform","default":"aspireace"},"row":{"anyOf":[{"type":"integer","maximum":9999.0,"minimum":1.0},{"type":"null"}],"title":"Row"},"confirm":{"type":"boolean","title":"Confirm","default":false}},"additionalProperties":false,"type":"object","required":["kind"],"title":"RunRequestBody"},"RuntimeEvidenceItem":{"properties":{"evidence_id":{"type":"string","pattern":"^[A-Z0-9][A-Z0-9._:-]{2,119}$","title":"Evidence Id"},"state":{"type":"string","enum":["PASS","FAIL","UNREPORTED","EXTERNAL_GATE"],"title":"State"},"artifact_ref":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Artifact Ref"},"artifact_digest":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Digest"},"candidate_commit":{"anyOf":[{"type":"string","pattern":"^[a-f0-9]{40}$"},{"type":"null"}],"title":"Candidate Commit"},"environment":{"type":"string","enum":["LOCAL","CI","STAGING","PRODUCTION_EQUIVALENT","PRODUCTION"],"title":"Environment"},"notes":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Notes"}},"additionalProperties":false,"type":"object","required":["evidence_id","state","environment"],"title":"RuntimeEvidenceItem"},"SPREBatchIngest":{"properties":{"events":{"items":{"$ref":"#/components/schemas/SPREEventIngest"},"type":"array","title":"Events"},"source":{"type":"string","title":"Source","default":"batch_ingest"},"idempotency_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency Key"}},"type":"object","required":["events"],"title":"SPREBatchIngest","description":"Batch of SPRE events (offline sync, bulk import)."},"SPREDeltaRequest":{"properties":{"student_id":{"type":"string","title":"Student Id"},"source_pipeline":{"type":"string","title":"Source Pipeline"},"deltas":{"additionalProperties":{"type":"number"},"type":"object","title":"Deltas","description":"Theta dimension → delta. E.g. {'physics.optics': +0.03}"},"event_metadata":{"type":"object","title":"Event Metadata"}},"type":"object","required":["student_id","source_pipeline"],"title":"SPREDeltaRequest","description":"Post-grading or post-DPP SPRE update."},"SPREEventIngest":{"properties":{"user_id":{"type":"string","title":"User Id"},"event_type":{"type":"string","title":"Event Type"},"concept_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Concept Id"},"concept_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Concept Name"},"is_correct":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Correct"},"marks_awarded":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Marks Awarded"},"marks_possible":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Marks Possible"},"session_duration_min":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Session Duration Min"},"session_quality":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Session Quality"},"difficulty":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Difficulty"},"metadata":{"type":"object","title":"Metadata"}},"type":"object","required":["user_id","event_type"],"title":"SPREEventIngest","description":"Single SPRE update event."},"SPREProfileCreate":{"properties":{"user_id":{"type":"string","title":"User Id"},"exam_type":{"type":"string","title":"Exam Type","default":"JEE_MAIN"},"initial_subjects":{"items":{"type":"string"},"type":"array","title":"Initial Subjects"}},"type":"object","required":["user_id"],"title":"SPREProfileCreate","description":"Initialize a new SPRE profile."},"SPREProfileFull":{"properties":{"user_id":{"type":"string","title":"User Id"},"exam_type":{"type":"string","title":"Exam Type","default":"JEE_MAIN"},"theta_vector":{"type":"object","title":"Theta Vector"},"weak_topics":{"items":{"type":"string"},"type":"array","title":"Weak Topics"},"strong_topics":{"items":{"type":"string"},"type":"array","title":"Strong Topics"},"burnout_risk":{"type":"number","title":"Burnout Risk","default":0.0},"concepts_mastered":{"type":"integer","title":"Concepts Mastered","default":0},"total_questions":{"type":"integer","title":"Total Questions","default":0},"total_sessions":{"type":"integer","title":"Total Sessions","default":0},"days_on_platform":{"type":"integer","title":"Days On Platform","default":0},"last_active":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Active"},"version":{"type":"integer","title":"Version","default":0},"hash_chain_head":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hash Chain Head"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["user_id"],"title":"SPREProfileFull","description":"Complete SPRE profile response."},"SPREProfileResponse":{"properties":{"student_id":{"type":"string","title":"Student Id"},"theta_vector":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Theta Vector"},"weak_topics":{"items":{"type":"string"},"type":"array","title":"Weak Topics"},"strong_topics":{"items":{"type":"string"},"type":"array","title":"Strong Topics"},"burnout_risk":{"type":"number","title":"Burnout Risk","default":0.0},"concepts_mastered":{"type":"integer","title":"Concepts Mastered","default":0},"total_questions":{"type":"integer","title":"Total Questions","default":0},"days_on_platform":{"type":"integer","title":"Days On Platform","default":0},"version":{"type":"integer","title":"Version","default":0},"hash_chain_valid":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Hash Chain Valid"}},"type":"object","required":["student_id"],"title":"SPREProfileResponse"},"SPREProjectionReference":{"properties":{"projection_id":{"type":"string","format":"uuid","title":"Projection Id"},"projection_digest":{"type":"string","title":"Projection Digest"},"purpose":{"type":"string","enum":["PATHWAY_COMPARE"],"const":"PATHWAY_COMPARE","title":"Purpose","default":"PATHWAY_COMPARE"}},"additionalProperties":false,"type":"object","required":["projection_id","projection_digest"],"title":"SPREProjectionReference"},"SPREThetaResponse":{"properties":{"user_id":{"type":"string","title":"User Id"},"theta_vector":{"type":"object","title":"Theta Vector"},"version":{"type":"integer","title":"Version","default":0}},"type":"object","required":["user_id"],"title":"SPREThetaResponse","description":"Lightweight theta-only response (fast path)."},"SafeResumableStateRef":{"properties":{"owner_product_id":{"type":"string","pattern":"^[a-z0-9][a-z0-9._-]{1,119}$","title":"Owner Product Id"},"opaque_state_id":{"type":"string","maxLength":200,"minLength":8,"title":"Opaque State Id"},"schema_version":{"type":"string","maxLength":80,"minLength":1,"title":"Schema Version"},"state_digest":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"State Digest"}},"additionalProperties":false,"type":"object","required":["owner_product_id","opaque_state_id","schema_version","state_digest"],"title":"SafeResumableStateRef"},"SafeguardingBody":{"properties":{"category":{"type":"string","title":"Category"},"severity":{"type":"string","title":"Severity"},"evidence_refs":{"items":{"type":"string"},"type":"array","title":"Evidence Refs","default":[]},"consent_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Consent Ref"},"correlation_id":{"type":"string","title":"Correlation Id"}},"additionalProperties":false,"type":"object","required":["category","severity","correlation_id"],"title":"SafeguardingBody","description":"The reporter's own words. There is no field here for an assessment."},"SafetyActionBody":{"properties":{"expected_revision":{"type":"integer","minimum":1.0,"title":"Expected Revision"},"note":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Note"}},"additionalProperties":false,"type":"object","required":["expected_revision"],"title":"SafetyActionBody"},"SafetyDecisionCommand":{"properties":{"decision_id":{"type":"string","format":"uuid","title":"Decision Id"},"subject_id":{"type":"string","maxLength":128,"minLength":1,"title":"Subject Id"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"purpose":{"type":"string","maxLength":120,"minLength":2,"title":"Purpose"},"risk_class":{"type":"string","enum":["none","sensitive_inference","minor_safety","self_harm","abuse","financial","medical"],"title":"Risk Class"},"state":{"type":"string","enum":["ALLOWED","SUPPRESSED","BLOCKED","GUARDIAN_REQUIRED"],"title":"State"},"sensitive_categories":{"items":{"type":"string"},"type":"array","maxItems":64,"title":"Sensitive Categories"},"policy_version":{"type":"string","maxLength":80,"minLength":1,"title":"Policy Version"},"safe_explanation":{"type":"string","maxLength":500,"minLength":1,"title":"Safe Explanation"},"decision_payload":{"type":"object","title":"Decision Payload"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os21_privacy_safety__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["subject_id","actor_id","purpose","risk_class","state","policy_version","safe_explanation","evidence_refs"],"title":"SafetyDecisionCommand"},"SafetyReportBody":{"properties":{"category":{"type":"string","enum":["FEELING_UNSAFE","SOMEONE_AT_RISK","COUNSELLOR_CONDUCT","OTHER"],"title":"Category"},"urgency":{"type":"string","enum":["URGENT","NOT_URGENT"],"title":"Urgency"},"text":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Text"}},"additionalProperties":false,"type":"object","required":["category","urgency"],"title":"SafetyReportBody","description":"What the family reports, in their words. Nothing reads it and decides how serious it is."},"SaveChoiceListRequest":{"properties":{"exam_type":{"type":"string","maxLength":80,"minLength":1,"title":"Exam Type"},"body_key":{"type":"string","maxLength":120,"minLength":1,"title":"Body Key"},"year":{"type":"integer","maximum":2100.0,"minimum":1990.0,"title":"Year"},"options":{"items":{"$ref":"#/components/schemas/BuilderLine"},"type":"array","maxItems":80,"minItems":1,"title":"Options"},"inputs":{"allOf":[{"$ref":"#/components/schemas/FamilyInputs"}],"default":{"wanted_branches":[],"rejected_branches":[],"wanted_institutes":[],"rejected_institutes":[],"home_state_seats_first":false,"fees_unknown_ok":true}},"locks":{"items":{"$ref":"#/components/schemas/OrderLock"},"type":"array","title":"Locks","default":[]},"precedence":{"items":{"$ref":"#/components/schemas/OrderPrecedence"},"type":"array","title":"Precedence","default":[]},"series_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Series Id"}},"additionalProperties":false,"type":"object","required":["exam_type","body_key","year","options"],"title":"SaveChoiceListRequest"},"SaveCommand":{"properties":{"expected_turn_version":{"type":"integer","minimum":1.0,"title":"Expected Turn Version"},"expected_save_version":{"type":"integer","minimum":0.0,"title":"Expected Save Version","default":0},"saved":{"type":"boolean","title":"Saved","default":true}},"additionalProperties":false,"type":"object","required":["expected_turn_version"],"title":"SaveCommand"},"SaveInterestRequest":{"properties":{"opportunity_id":{"type":"string","format":"uuid","title":"Opportunity Id"},"opportunity_digest":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Opportunity Digest"},"remind_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Remind At"}},"additionalProperties":false,"type":"object","required":["opportunity_id","opportunity_digest"],"title":"SaveInterestRequest"},"SavePlannerPlanRequest":{"properties":{"candidate_set_id":{"type":"string","format":"uuid","title":"Candidate Set Id"},"route_id":{"type":"string","format":"uuid","title":"Route Id"}},"additionalProperties":false,"type":"object","required":["candidate_set_id","route_id"],"title":"SavePlannerPlanRequest"},"SaveScenarioBody":{"properties":{"student_id":{"type":"string","title":"Student Id"},"label":{"type":"string","title":"Label"},"boosts":{"items":{"type":"object"},"type":"array","title":"Boosts"},"result_snapshot":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Result Snapshot"}},"type":"object","required":["student_id","label","boosts"],"title":"SaveScenarioBody"},"SavedComparisonList":{"properties":{"comparisons":{"items":{"$ref":"#/components/schemas/SavedComparisonSummary"},"type":"array","title":"Comparisons","default":[]}},"additionalProperties":false,"type":"object","title":"SavedComparisonList"},"SavedComparisonSummary":{"properties":{"comparison_id":{"type":"string","title":"Comparison Id"},"version_no":{"type":"integer","title":"Version No"},"state":{"type":"string","enum":["READY","PARTIAL_SOURCE","STALE","HELD"],"title":"State"},"route_count":{"type":"integer","title":"Route Count"},"compared_at":{"type":"string","format":"date-time","title":"Compared At"},"route_ids":{"items":{"type":"string"},"type":"array","title":"Route Ids","default":[]}},"additionalProperties":false,"type":"object","required":["comparison_id","version_no","state","route_count","compared_at"],"title":"SavedComparisonSummary"},"SavedItemCreate":{"properties":{"node":{"$ref":"#/components/schemas/SyllabusNodeRef"},"item_kind":{"type":"string","enum":["node","question","note","flashcard","pyq","capsule","college","visual","other"],"title":"Item Kind"},"source_product":{"type":"string","maxLength":128,"minLength":1,"title":"Source Product"},"source_object_ref":{"type":"string","maxLength":200,"minLength":1,"title":"Source Object Ref"},"title":{"type":"string","maxLength":160,"minLength":1,"title":"Title"},"route":{"type":"string","maxLength":300,"pattern":"^/","title":"Route"},"metadata":{"type":"object","title":"Metadata"}},"additionalProperties":false,"type":"object","required":["node","item_kind","source_product","source_object_ref","title","route"],"title":"SavedItemCreate"},"SavedList":{"properties":{"lane":{"type":"string","enum":["COLLEGE_DECISION","FAMILY_BUILT"],"title":"Lane"},"series_id":{"type":"string","format":"uuid","title":"Series Id"},"choice_list_id":{"type":"string","format":"uuid","title":"Choice List Id"},"version_no":{"type":"integer","minimum":1.0,"title":"Version No"},"state":{"type":"string","title":"State"},"placed_count":{"type":"integer","minimum":0.0,"title":"Placed Count"},"unplaced_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Unplaced Count"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"open_path":{"type":"string","title":"Open Path"},"versions":{"items":{"$ref":"#/components/schemas/SavedListVersion"},"type":"array","title":"Versions","default":[]}},"additionalProperties":false,"type":"object","required":["lane","series_id","choice_list_id","version_no","state","placed_count","open_path"],"title":"SavedList","description":"One list, shown as its newest version with the earlier ones behind it."},"SavedListVersion":{"properties":{"choice_list_id":{"type":"string","format":"uuid","title":"Choice List Id"},"version_no":{"type":"integer","minimum":1.0,"title":"Version No"},"state":{"type":"string","title":"State"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"}},"additionalProperties":false,"type":"object","required":["choice_list_id","version_no","state"],"title":"SavedListVersion"},"SavedLists":{"properties":{"lists":{"items":{"$ref":"#/components/schemas/SavedList"},"type":"array","title":"Lists","default":[]},"read_at":{"type":"string","format":"date-time","title":"Read At"},"unreadable_lanes":{"items":{"type":"string","enum":["COLLEGE_DECISION","FAMILY_BUILT"]},"type":"array","title":"Unreadable Lanes","default":[]},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"}},"additionalProperties":false,"type":"object","required":["read_at"],"title":"SavedLists"},"SavedRoute":{"properties":{"saved_route_id":{"type":"string","format":"uuid","title":"Saved Route Id"},"route_id":{"type":"string","format":"uuid","title":"Route Id"},"decision_id":{"type":"string","format":"uuid","title":"Decision Id"},"graph_release_id":{"type":"string","format":"uuid","title":"Graph Release Id"},"context_digest":{"type":"string","title":"Context Digest"},"label":{"type":"string","title":"Label"},"revision":{"type":"integer","minimum":1.0,"title":"Revision"},"state":{"type":"string","enum":["SAVED","PURGE_PENDING"],"title":"State"},"superseded_by":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Superseded By"},"saved_at":{"type":"string","format":"date-time","title":"Saved At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"release_status":{"type":"string","enum":["CURRENT","SUPERSEDED","RECALLED","UNKNOWN"],"title":"Release Status","default":"UNKNOWN"},"replayed":{"type":"boolean","title":"Replayed","default":false}},"additionalProperties":false,"type":"object","required":["saved_route_id","route_id","decision_id","graph_release_id","context_digest","label","revision","state","saved_at"],"title":"SavedRoute"},"SavedRouteList":{"properties":{"saved_routes":{"items":{"$ref":"#/components/schemas/SavedRoute"},"type":"array","title":"Saved Routes"},"count":{"type":"integer","minimum":0.0,"title":"Count"},"limit_note":{"type":"string","title":"Limit Note"}},"additionalProperties":false,"type":"object","required":["saved_routes","count","limit_note"],"title":"SavedRouteList"},"SavedRouteRequest":{"properties":{"route_id":{"type":"string","format":"uuid","title":"Route Id"},"decision_id":{"type":"string","format":"uuid","title":"Decision Id"},"graph_release_id":{"type":"string","format":"uuid","title":"Graph Release Id"},"context_digest":{"type":"string","title":"Context Digest"},"label":{"type":"string","maxLength":120,"title":"Label","default":""}},"additionalProperties":false,"type":"object","required":["route_id","decision_id","graph_release_id","context_digest"],"title":"SavedRouteRequest"},"SavedViewBody":{"properties":{"page":{"type":"string","enum":["atcom-explorer"],"const":"atcom-explorer","title":"Page","default":"atcom-explorer"},"platform":{"type":"string","enum":["company"],"const":"company","title":"Platform","default":"company"},"name":{"type":"string","maxLength":60,"minLength":1,"title":"Name"},"filters":{"type":"object","title":"Filters"},"expected_version":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Expected Version"},"expected_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Expected Id"}},"additionalProperties":false,"type":"object","required":["name","filters"],"title":"SavedViewBody","description":"Strict AT COM contract; the existing Messages path is not modified."},"SavedViewUpsert":{"properties":{"view_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"View Id"},"workspace_id":{"type":"string","maxLength":80,"minLength":3,"title":"Workspace Id"},"context":{"$ref":"#/components/schemas/OperatorContext"},"filters":{"type":"object","title":"Filters"},"layout_version":{"type":"string","maxLength":40,"minLength":2,"title":"Layout Version"},"expected_version":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Expected Version"},"reason":{"type":"string","maxLength":1000,"minLength":8,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["workspace_id","context","layout_version","reason"],"title":"SavedViewUpsert"},"ScheduleDeliveryRequest":{"properties":{"programme_ref":{"type":"string","format":"uuid","title":"Programme Ref"},"assignment_batch_ref":{"type":"string","format":"uuid","title":"Assignment Batch Ref"},"provider_ref":{"type":"string","maxLength":200,"minLength":1,"title":"Provider Ref"},"session_window":{"$ref":"#/components/schemas/SessionWindow"},"quantity":{"type":"integer","maximum":5000.0,"minimum":1.0,"title":"Quantity"},"provider_capacity_ack":{"$ref":"#/components/schemas/ProviderCapacityAck"}},"additionalProperties":false,"type":"object","required":["programme_ref","assignment_batch_ref","provider_ref","session_window","quantity","provider_capacity_ack"],"title":"ScheduleDeliveryRequest"},"SchedulePreferencesBody":{"properties":{"availability_windows":{"items":{"type":"object"},"type":"array","maxItems":21,"title":"Availability Windows"},"max_daily_minutes":{"type":"integer","maximum":360.0,"minimum":30.0,"title":"Max Daily Minutes","default":90},"preferred_rest_day":{"anyOf":[{"type":"integer","maximum":6.0,"minimum":0.0},{"type":"null"}],"title":"Preferred Rest Day"}},"type":"object","title":"SchedulePreferencesBody"},"ScholarshipAdjustment":{"properties":{"scheme_ref":{"type":"string","maxLength":300,"minLength":3,"title":"Scheme Ref"},"state":{"type":"string","enum":["VERIFIED","ELIGIBLE","UNKNOWN","INELIGIBLE","RECALLED"],"title":"State"},"minimum_minor":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Minimum Minor"},"expected_minor":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Expected Minor"},"maximum_minor":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Maximum Minor"},"currency":{"anyOf":[{"type":"string","pattern":"^[A-Z]{3}$"},{"type":"null"}],"title":"Currency"},"source_refs":{"items":{"$ref":"#/components/schemas/SourceFactReference"},"type":"array","title":"Source Refs","default":[]}},"additionalProperties":false,"type":"object","required":["scheme_ref","state"],"title":"ScholarshipAdjustment"},"Scope":{"properties":{"exam":{"type":"string","maxLength":64,"minLength":1,"title":"Exam"},"board":{"type":"string","maxLength":64,"minLength":1,"title":"Board"},"class_level":{"type":"string","maxLength":32,"minLength":1,"title":"Class Level"},"subject":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Subject"},"language":{"type":"string","maxLength":16,"minLength":2,"title":"Language","default":"en"}},"additionalProperties":false,"type":"object","required":["exam","board","class_level"],"title":"Scope"},"ScopeBody":{"properties":{"exam":{"type":"string","pattern":"^(JEE|NEET|jee|neet)$","title":"Exam"},"subject":{"type":"string","pattern":"^(PHY|CHEM|MATH|BIO|phy|chem|math|bio)$","title":"Subject"},"dry_run":{"type":"boolean","title":"Dry Run","default":true}},"type":"object","required":["exam","subject"],"title":"ScopeBody"},"ScopeCreate":{"properties":{"institution_id":{"type":"string","maxLength":64,"minLength":1,"title":"Institution Id"},"object_id":{"type":"string","maxLength":64,"minLength":1,"title":"Object Id"},"scope_contract":{"type":"object","title":"Scope Contract"}},"additionalProperties":false,"type":"object","required":["institution_id","object_id"],"title":"ScopeCreate"},"ScopeCreateRequest":{"properties":{"scope_key":{"type":"string","maxLength":100,"minLength":3,"pattern":"^[A-Za-z0-9._:-]+$","title":"Scope Key"},"display_label":{"type":"string","maxLength":160,"minLength":2,"title":"Display Label"}},"additionalProperties":false,"type":"object","required":["scope_key","display_label"],"title":"ScopeCreateRequest"},"ScopeFacts":{"properties":{"class12_percentile":{"anyOf":[{"type":"number"},{"type":"string"},{"type":"null"}],"title":"Class12 Percentile"},"age_years":{"anyOf":[{"type":"integer"},{"type":"string"},{"type":"null"}],"title":"Age Years"},"gender":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gender"},"social_category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Social Category"},"disability_percent":{"anyOf":[{"type":"integer"},{"type":"string"},{"type":"null"}],"title":"Disability Percent"},"religious_minority":{"anyOf":[{"type":"boolean"},{"type":"string"},{"type":"null"}],"title":"Religious Minority"},"admission_stage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Admission Stage"}},"additionalProperties":false,"type":"object","title":"ScopeFacts","description":"Optional facts a scheme may ask about. Every field is optional and every field can be left as\n\"prefer not to say\" (``None`` or the PREFER_NOT_TO_SAY token). A fact left out is never guessed:\nthe finder reports that it could not confirm the matching rule.\n\nThese values are sensitive. They are stored on the scope only and never leave it: not in events,\nnot in logs, not in exports, not in any list."},"ScopeGrantCreateRequest":{"properties":{"scope_key":{"type":"string","maxLength":100,"minLength":3,"title":"Scope Key"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"issuer":{"type":"string","enum":["trututor"],"const":"trututor","title":"Issuer"},"producer_key":{"type":"string","format":"uuid","title":"Producer Key"},"key_id":{"type":"string","pattern":"^ttk_[0-9a-f]{32}$","title":"Key Id"},"reason":{"type":"string","enum":["INITIAL_AUTHORIZATION","KEY_ROTATION","SCOPE_REAUTHORIZATION"],"title":"Reason"}},"additionalProperties":false,"type":"object","required":["scope_key","expires_at","issuer","producer_key","key_id","reason"],"title":"ScopeGrantCreateRequest"},"ScopeGrantRevokeRequest":{"properties":{"reason":{"type":"string","enum":["AUTHORITY_WITHDRAWN","CONTRACT_ENDED","KEY_COMPROMISED","SECURITY_OR_RETENTION_ACTION"],"title":"Reason"}},"additionalProperties":false,"type":"object","required":["reason"],"title":"ScopeGrantRevokeRequest"},"ScopeUpdate":{"properties":{"included":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Included"},"excluded":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Excluded"},"undecided":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Undecided"},"expected_version":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Expected Version"}},"additionalProperties":false,"type":"object","title":"ScopeUpdate"},"ScoreReconstructionCommand":{"properties":{"attempt_id":{"type":"string","format":"uuid","title":"Attempt Id"},"rubric_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rubric Id"},"rubric_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rubric Version"},"scorer_id":{"type":"string","maxLength":128,"minLength":1,"title":"Scorer Id"},"criterion_scores":{"items":{"$ref":"#/components/schemas/CriterionScore"},"type":"array","title":"Criterion Scores"},"model_trace_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model Trace Ref"},"quality_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os06_assessment_evidence__models__EvidenceRef"},"type":"array","title":"Quality Refs"}},"type":"object","required":["attempt_id","scorer_id","criterion_scores"],"title":"ScoreReconstructionCommand"},"ScreeningAnswerIn":{"properties":{"key":{"type":"string","maxLength":60,"minLength":1,"title":"Key"},"answer":{"type":"string","enum":["YES","NO","UNKNOWN"],"title":"Answer"},"mitigated":{"type":"boolean","title":"Mitigated","default":false}},"additionalProperties":false,"type":"object","required":["key","answer"],"title":"ScreeningAnswerIn"},"SearchBody":{"properties":{"q":{"type":"string","maxLength":100,"minLength":2,"title":"Q"},"per_group_limit":{"type":"integer","maximum":5.0,"minimum":1.0,"title":"Per Group Limit","default":5}},"type":"object","required":["q"],"title":"SearchBody"},"SearchDocumentCommand":{"properties":{"document_id":{"type":"string","format":"uuid","title":"Document Id"},"entity_type":{"type":"string","enum":["concept","chapter","product","route","proof","note","report","source","content"],"title":"Entity Type"},"canonical_key":{"type":"string","maxLength":240,"minLength":3,"title":"Canonical Key"},"source_owner_os":{"type":"string","maxLength":16,"minLength":2,"title":"Source Owner Os"},"source_object_id":{"type":"string","maxLength":180,"minLength":1,"title":"Source Object Id"},"source_version":{"type":"string","maxLength":100,"minLength":1,"title":"Source Version"},"adapter_id":{"type":"string","maxLength":100,"minLength":2,"title":"Adapter Id"},"title":{"type":"string","maxLength":300,"minLength":1,"title":"Title"},"subtitle":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Subtitle"},"search_text":{"type":"string","maxLength":8000,"minLength":1,"title":"Search Text"},"excerpt":{"anyOf":[{"type":"string","maxLength":1200},{"type":"null"}],"title":"Excerpt"},"aliases":{"items":{"type":"string"},"type":"array","maxItems":100,"title":"Aliases"},"tags":{"items":{"type":"string"},"type":"array","maxItems":100,"title":"Tags"},"locale":{"type":"string","maxLength":20,"minLength":2,"title":"Locale","default":"en-IN"},"route_path":{"type":"string","maxLength":300,"minLength":1,"pattern":"^/","title":"Route Path"},"route_params":{"type":"object","title":"Route Params"},"visibility":{"type":"string","enum":["PUBLIC","AUTHENTICATED","OWNER","SHARED","ROLE","OPERATOR"],"title":"Visibility"},"owner_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Owner Id"},"allowed_roles":{"items":{"type":"string"},"type":"array","maxItems":32,"title":"Allowed Roles"},"quality_score":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Quality Score","default":0.5},"confidence_state":{"type":"string","enum":["verified","supported","uncertain","source_thin","missing","conflicted","stale"],"title":"Confidence State"},"source_created_at":{"type":"string","format":"date-time","title":"Source Created At"},"source_updated_at":{"type":"string","format":"date-time","title":"Source Updated At"},"state":{"type":"string","enum":["DRAFT","ACTIVE","WITHDRAWN","STALE","RECALLED"],"title":"State","default":"ACTIVE"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"idempotency_key":{"type":"string","maxLength":200,"minLength":8,"title":"Idempotency Key"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os14_universal_index__models__EvidenceRef"},"type":"array","maxItems":64,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["entity_type","canonical_key","source_owner_os","source_object_id","source_version","adapter_id","title","search_text","route_path","visibility","confidence_state","source_created_at","source_updated_at","actor_id","idempotency_key","evidence_refs"],"title":"SearchDocumentCommand"},"SearchQualifiedOpportunitiesRequest":{"properties":{"scope_id":{"type":"string","format":"uuid","title":"Scope Id"},"deadline_from":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Deadline From"},"deadline_to":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Deadline To"},"limit":{"type":"integer","maximum":50.0,"minimum":1.0,"title":"Limit","default":20},"cursor":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Cursor"}},"additionalProperties":false,"type":"object","required":["scope_id"],"title":"SearchQualifiedOpportunitiesRequest"},"SearchQuery":{"properties":{"q":{"type":"string","maxLength":300,"minLength":1,"title":"Q"},"entity_types":{"items":{"type":"string","enum":["concept","chapter","product","route","proof","note","report","source","content"]},"type":"array","maxItems":16,"title":"Entity Types"},"locale":{"type":"string","maxLength":20,"minLength":2,"title":"Locale","default":"en-IN"},"limit":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Limit","default":20},"include_diagnostics":{"type":"boolean","title":"Include Diagnostics","default":false}},"additionalProperties":false,"type":"object","required":["q"],"title":"SearchQuery"},"SearchReindexRequest":{"properties":{"reason":{"type":"string","maxLength":1000,"minLength":8,"title":"Reason"},"source_version":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Source Version"}},"additionalProperties":false,"type":"object","required":["reason"],"title":"SearchReindexRequest"},"SeasonBodyAddRequest":{"properties":{"authority":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9 &.()'\\-]{0,78}[A-Za-z0-9)]$","title":"Authority"},"registration_state":{"type":"string","enum":["NOT_STARTED","REGISTERED","FEE_PAID","DOCUMENTS_PENDING","VERIFIED","ROUND_OPEN","ALLOTMENT_RECEIVED","ACTION_DUE","EXITED","UNKNOWN"],"title":"Registration State","default":"NOT_STARTED"}},"additionalProperties":false,"type":"object","required":["authority"],"title":"SeasonBodyAddRequest"},"SeasonBodyStateRequest":{"properties":{"registration_state":{"type":"string","enum":["NOT_STARTED","REGISTERED","FEE_PAID","DOCUMENTS_PENDING","VERIFIED","ROUND_OPEN","ALLOTMENT_RECEIVED","ACTION_DUE","EXITED","UNKNOWN"],"title":"Registration State"}},"additionalProperties":false,"type":"object","required":["registration_state"],"title":"SeasonBodyStateRequest"},"SeasonCreateRequest":{"properties":{"exam_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9 _.\\-]{0,38}[A-Za-z0-9]$","title":"Exam Id"},"cycle_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9 _.\\-]{0,38}[A-Za-z0-9]$","title":"Cycle Id"},"timezone":{"type":"string","maxLength":64,"minLength":3,"title":"Timezone"}},"additionalProperties":false,"type":"object","required":["exam_id","cycle_id","timezone"],"title":"SeasonCreateRequest"},"SeasonDateReportRequest":{"properties":{"starts_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Starts At"},"deadline_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deadline At"}},"additionalProperties":false,"type":"object","title":"SeasonDateReportRequest"},"SeasonObligationAddRequest":{"properties":{"obligation_kind":{"type":"string","enum":["REGISTRATION","FEE","DOCUMENT_UPLOAD","DOCUMENT_VERIFICATION","CHOICE_SUBMISSION","CHOICE_LOCK","ROUND_RESPONSE","ACCEPTANCE","DEPOSIT","REPORTING","WITHDRAWAL","OTHER"],"title":"Obligation Kind"},"round_label":{"anyOf":[{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9 .\\-]{0,38}$"},{"type":"null"}],"title":"Round Label"},"reversibility":{"type":"string","enum":["REVERSIBLE","COSTLY","IRREVERSIBLE","UNKNOWN"],"title":"Reversibility","default":"UNKNOWN"}},"additionalProperties":false,"type":"object","required":["obligation_kind"],"title":"SeasonObligationAddRequest"},"SeasonObligationCompleteRequest":{"properties":{"evidence_class":{"type":"string","enum":["FAMILY_ATTESTATION","PORTAL_REFERENCE_NUMBER"],"title":"Evidence Class","default":"FAMILY_ATTESTATION"},"evidence_ref":{"anyOf":[{"type":"string","maxLength":60,"minLength":3,"pattern":"^[A-Za-z0-9][A-Za-z0-9\\-_/ ]*$"},{"type":"null"}],"title":"Evidence Ref"}},"additionalProperties":false,"type":"object","title":"SeasonObligationCompleteRequest"},"SeasonStatusProjection":{"properties":{"read_at":{"type":"string","format":"date-time","title":"Read At"},"authorities":{"items":{"$ref":"#/components/schemas/AuthoritySeasonStatus"},"type":"array","title":"Authorities"},"authorities_without_rules":{"items":{"$ref":"#/components/schemas/AuthorityWithoutRules"},"type":"array","title":"Authorities Without Rules","default":[]},"nothing_published_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nothing Published Message"},"advice_saving_enabled":{"type":"boolean","title":"Advice Saving Enabled"},"advice_saving_notice":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Advice Saving Notice"}},"additionalProperties":false,"type":"object","required":["read_at","authorities","advice_saving_enabled"],"title":"SeasonStatusProjection"},"SeatDecisionCreateRequest":{"properties":{"college_decision_id":{"type":"string","maxLength":64,"minLength":8,"title":"College Decision Id"},"choice_order":{"items":{"type":"string"},"type":"array","title":"Choice Order"}},"additionalProperties":false,"type":"object","required":["college_decision_id"],"title":"SeatDecisionCreateRequest","description":"Request advisory Seat guidance for one owned College decision."},"SeatSimulationBody":{"properties":{"exam_type":{"type":"string","title":"Exam Type","description":"JEE_MAIN | JEE_ADVANCED | NEET","default":"JEE_MAIN"},"rank":{"type":"integer","minimum":1.0,"title":"Rank","description":"Exam-specific rank for the counselling body"},"category":{"type":"string","title":"Category","description":"General/OBC/SC/ST/EWS or loaded counselling category","default":"General"},"authority":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authority","description":"josaa | jac_delhi | mcc | aaccc"},"institute_code":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Institute Code","description":"Canonical published institute code when a specific option is selected"},"programme_code":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Programme Code","description":"Canonical published programme code when a specific option is selected"},"gender_code":{"type":"string","title":"Gender Code","description":"Exact published gender pool","default":"GENDER_NEUTRAL"},"rank_universe":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rank Universe","description":"Exact exam-specific rank universe"},"quota":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Quota","description":"AI/HS/OS for JEE; AIQ/State/Deemed for NEET when loaded"},"round_no":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Round No","description":"Optional single round filter; omit for full timeline"},"domicile_scope":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Domicile Scope","description":"all_india | home_state | other_state when required by quota"},"domicile_state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Domicile State","description":"Class 12 state/UT or counselling domicile state when required"},"counselling_year":{"anyOf":[{"type":"integer","maximum":2030.0,"minimum":2015.0},{"type":"null"}],"title":"Counselling Year"},"choice_list":{"items":{"type":"object"},"type":"array","title":"Choice List","description":"Optional ordered choices with college/branch"},"limit":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Limit","description":"Maximum choices to simulate when choice_list is omitted","default":12},"rank_decision_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rank Decision Id","description":"Immutable PREDIMP-PR01 rank decision reference"},"college_decision_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"College Decision Id","description":"Immutable PREDIMP-PR02 College decision reference"},"advisory_only":{"type":"boolean","title":"Advisory Only","description":"Bounded standalone advisory only; never a full Seat decision","default":false},"prediction_chain_id":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Prediction Chain Id"},"prediction_context_id":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Prediction Context Id"},"prediction_chain":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Prediction Chain"}},"type":"object","required":["rank"],"title":"SeatSimulationBody"},"SectionIn":{"properties":{"section_key":{"anyOf":[{"type":"string","maxLength":48},{"type":"null"}],"title":"Section Key"},"heading":{"type":"string","maxLength":160,"minLength":1,"title":"Heading"},"body":{"type":"string","maxLength":4000,"minLength":1,"title":"Body"},"clause_ref":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Clause Ref","description":"where in the notice this comes from"}},"additionalProperties":false,"type":"object","required":["heading","body"],"title":"SectionIn"},"SelectCompareRoutesRequest":{"properties":{"route_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Route Ids"},"decision_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Decision Ids"},"graph_release_id":{"type":"string","format":"uuid","title":"Graph Release Id"},"context_id":{"type":"string","format":"uuid","title":"Context Id"},"route_digests":{"items":{"type":"string"},"type":"array","title":"Route Digests"}},"additionalProperties":false,"type":"object","required":["route_ids","decision_ids","graph_release_id","context_id","route_digests"],"title":"SelectCompareRoutesRequest","description":"Exactly two or three routes, one graph release. \"Never fill/merge\":\na caller who sends 1 or 4+ routes, or mixes releases inside the request,\nnever reaches the service layer — pydantic rejects it here as 422."},"SelectExactEligibleTargetRequest":{"properties":{"sponsorship_id":{"type":"string","format":"uuid","title":"Sponsorship Id"},"target_definition_ref":{"type":"string","maxLength":200,"minLength":2,"title":"Target Definition Ref"},"offer_version_id":{"type":"string","format":"uuid","title":"Offer Version Id"}},"additionalProperties":false,"type":"object","required":["sponsorship_id","target_definition_ref","offer_version_id"],"title":"SelectExactEligibleTargetRequest"},"Selection":{"properties":{"selection_ref":{"type":"string","maxLength":160,"minLength":1,"title":"Selection Ref"},"permission_epoch":{"type":"string","maxLength":128,"minLength":1,"title":"Permission Epoch"},"context_generation":{"type":"string","maxLength":128,"minLength":1,"title":"Context Generation"}},"additionalProperties":false,"type":"object","required":["selection_ref","permission_epoch","context_generation"],"title":"Selection"},"SellerBody":{"properties":{"legal_name":{"type":"string","maxLength":200,"title":"Legal Name","default":""},"address":{"type":"string","maxLength":500,"title":"Address","default":""},"gstin":{"type":"string","maxLength":20,"title":"Gstin","default":""},"grievance_officer_name":{"type":"string","maxLength":200,"title":"Grievance Officer Name","default":""},"grievance_officer_contact":{"type":"string","maxLength":200,"title":"Grievance Officer Contact","default":""}},"additionalProperties":false,"type":"object","title":"SellerBody"},"SemanticLifecycleAction":{"type":"string","enum":["RENAME","SPLIT","MERGE","RETIRE"],"title":"SemanticLifecycleAction"},"SendEvidenceRequest":{"properties":{"destination_product_id":{"type":"string","maxLength":120,"minLength":1,"title":"Destination Product Id"},"expiry_days":{"type":"integer","maximum":30.0,"minimum":1.0,"title":"Expiry Days"},"request_id":{"type":"string","maxLength":128,"minLength":1,"title":"Request Id"}},"additionalProperties":false,"type":"object","required":["destination_product_id","expiry_days","request_id"],"title":"SendEvidenceRequest"},"SensitiveFieldRejectionCommand":{"properties":{"decision_id":{"type":"string","format":"uuid","title":"Decision Id"},"subject_id":{"type":"string","maxLength":128,"minLength":1,"title":"Subject Id"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"surface":{"type":"string","maxLength":120,"minLength":2,"title":"Surface"},"purpose":{"type":"string","maxLength":120,"minLength":2,"title":"Purpose"},"field_path":{"type":"string","maxLength":240,"minLength":1,"title":"Field Path"},"sensitive_marker":{"type":"string","maxLength":120,"minLength":2,"title":"Sensitive Marker"},"policy_version":{"type":"string","maxLength":80,"minLength":1,"title":"Policy Version"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os21_privacy_safety__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["subject_id","actor_id","surface","purpose","field_path","sensitive_marker","policy_version","evidence_refs"],"title":"SensitiveFieldRejectionCommand"},"SeriesPaperIn":{"properties":{"image_b64":{"type":"string","minLength":100,"title":"Image B64"},"paper_label":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Paper Label"},"mock_date":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Mock Date"},"image_url":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Image Url"}},"type":"object","required":["image_b64"],"title":"SeriesPaperIn"},"SeriesStartBody":{"properties":{"series_name":{"type":"string","maxLength":120,"minLength":1,"title":"Series Name"},"exam_context":{"type":"string","maxLength":16,"title":"Exam Context","default":"NEET"},"coaching_brand":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Coaching Brand"},"papers":{"items":{"$ref":"#/components/schemas/SeriesPaperIn"},"type":"array","maxItems":20,"minItems":1,"title":"Papers"}},"type":"object","required":["series_name","papers"],"title":"SeriesStartBody"},"ServiceAccountCreateRequest":{"properties":{"name":{"type":"string","maxLength":120,"minLength":3,"title":"Name"},"owner_identity_id":{"type":"string","format":"uuid","title":"Owner Identity Id"},"purpose":{"type":"string","maxLength":1000,"minLength":8,"title":"Purpose"},"environment":{"type":"string","maxLength":40,"minLength":2,"title":"Environment"},"scopes":{"items":{"type":"string"},"type":"array","maxItems":100,"minItems":1,"title":"Scopes"},"credential_ref":{"type":"string","maxLength":512,"minLength":8,"title":"Credential Ref"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"reason":{"type":"string","maxLength":2000,"minLength":8,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["name","owner_identity_id","purpose","environment","scopes","credential_ref","expires_at","reason"],"title":"ServiceAccountCreateRequest"},"ServiceAccountRevokeRequest":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"reason":{"type":"string","maxLength":2000,"minLength":8,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["expected_version","reason"],"title":"ServiceAccountRevokeRequest"},"ServiceAccountRotateRequest":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"credential_ref":{"type":"string","maxLength":512,"minLength":8,"title":"Credential Ref"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"reason":{"type":"string","maxLength":2000,"minLength":8,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["expected_version","credential_ref","expires_at","reason"],"title":"ServiceAccountRotateRequest"},"ServiceAggregate":{"properties":{"delivery_state":{"type":"string","enum":["DELIVERED","PARTIAL","UNAVAILABLE"],"title":"Delivery State"},"attendance_state":{"type":"string","enum":["AVAILABLE","PARTIAL","UNAVAILABLE"],"title":"Attendance State"},"session_outcome_state":{"type":"string","enum":["AVAILABLE","PARTIAL","INCONCLUSIVE","UNAVAILABLE"],"title":"Session Outcome State"}},"additionalProperties":false,"type":"object","required":["delivery_state","attendance_state","session_outcome_state"],"title":"ServiceAggregate"},"ServiceCreateRequest":{"properties":{"skill_id":{"type":"string","maxLength":36,"minLength":36,"title":"Skill Id"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"summary":{"type":"string","maxLength":1000,"minLength":1,"title":"Summary"},"declared_capacity_hours":{"anyOf":[{"type":"integer","maximum":168.0,"minimum":0.0},{"type":"null"}],"title":"Declared Capacity Hours"},"idempotency_key":{"type":"string","maxLength":80,"minLength":8,"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["skill_id","name","summary","idempotency_key"],"title":"ServiceCreateRequest"},"ServiceReceiptPacket":{"properties":{"schema_version":{"type":"string","enum":["trututor.batch_service_receipt.v1"],"const":"trututor.batch_service_receipt.v1","title":"Schema Version"},"receipt_id":{"type":"string","pattern":"^birex_[0-9a-f]{32}$","title":"Receipt Id"},"batch_id":{"type":"string","pattern":"^batch_[0-9a-f]{32}$","title":"Batch Id"},"key_id":{"type":"string","pattern":"^ttk_[0-9a-f]{32}$","title":"Key Id"},"producer_key":{"type":"string","format":"uuid","title":"Producer Key"},"issuer":{"type":"string","enum":["trututor"],"const":"trututor","title":"Issuer"},"issued_at":{"type":"string","format":"date-time","title":"Issued At"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"retention_until":{"type":"string","format":"date-time","title":"Retention Until"},"institution_scope_grant":{"type":"string","pattern":"^p60g_[0-9a-f]{32}$","title":"Institution Scope Grant"},"purpose_scope":{"type":"string","enum":["INSTITUTION_SERVICE_EVIDENCE"],"const":"INSTITUTION_SERVICE_EVIDENCE","title":"Purpose Scope"},"coverage_state":{"type":"string","enum":["CURRENT","PARTIAL","INCONCLUSIVE","UNAVAILABLE","REVOKED"],"title":"Coverage State"},"delivery_attendance_session_outcome_aggregate":{"$ref":"#/components/schemas/ServiceAggregate"},"correction_revocation_status":{"type":"string","enum":["CURRENT","CORRECTED","REVOKED","SUPERSEDED"],"title":"Correction Revocation Status"},"source_version":{"type":"string","pattern":"^source_[0-9a-f]{32}$","title":"Source Version"},"supersedes_receipt_id":{"anyOf":[{"type":"string","pattern":"^birex_[0-9a-f]{32}$"},{"type":"null"}],"title":"Supersedes Receipt Id"},"payload_hash":{"type":"string","maxLength":64,"minLength":64,"pattern":"^[a-f0-9]{64}$","title":"Payload Hash"}},"additionalProperties":false,"type":"object","required":["schema_version","receipt_id","batch_id","key_id","producer_key","issuer","issued_at","expires_at","retention_until","institution_scope_grant","purpose_scope","coverage_state","delivery_attendance_session_outcome_aggregate","correction_revocation_status","source_version","payload_hash"],"title":"ServiceReceiptPacket"},"ServiceScopeBody":{"properties":{"exam_ref":{"type":"string","title":"Exam Ref"},"authority_ref":{"type":"string","title":"Authority Ref"},"cycle_ref":{"type":"string","title":"Cycle Ref"},"decision_refs":{"items":{"type":"string"},"type":"array","title":"Decision Refs","default":[]},"timezone":{"type":"string","title":"Timezone"},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"},"access_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Ref"}},"additionalProperties":false,"type":"object","required":["exam_ref","authority_ref","cycle_ref","timezone"],"title":"ServiceScopeBody"},"ServingAction":{"type":"string","enum":["NONE","HOLD"],"title":"ServingAction"},"SessionCreateBody":{"properties":{"entry_mode":{"type":"string","title":"Entry Mode","default":"DIRECT"},"sender_product_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Sender Product Id"},"return_contract_ref":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Return Contract Ref"},"declared_intent":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Declared Intent"},"concern_text":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Concern Text"},"request_id":{"type":"string","maxLength":64,"minLength":8,"title":"Request Id"}},"type":"object","required":["request_id"],"title":"SessionCreateBody"},"SessionRenameRequest":{"properties":{"label":{"type":"string","maxLength":128,"minLength":1,"title":"Label"}},"type":"object","required":["label"],"title":"SessionRenameRequest"},"SessionSecurityReportRequest":{"properties":{"reason":{"type":"string","maxLength":256,"minLength":3,"title":"Reason"}},"type":"object","required":["reason"],"title":"SessionSecurityReportRequest"},"SessionWindow":{"properties":{"start":{"type":"string","format":"date-time","title":"Start"},"end":{"type":"string","format":"date-time","title":"End"},"tz":{"type":"string","maxLength":64,"minLength":1,"title":"Tz"}},"additionalProperties":false,"type":"object","required":["start","end","tz"],"title":"SessionWindow"},"SetTickRequest":{"properties":{"body":{"type":"string","pattern":"^(josaa|csab)$","title":"Body","default":"josaa"},"item_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[a-z0-9_]+$","title":"Item Id"},"ready":{"type":"boolean","title":"Ready"}},"additionalProperties":false,"type":"object","required":["item_id","ready"],"title":"SetTickRequest"},"SettleBody":{"properties":{"expected_revision":{"type":"integer","minimum":1.0,"title":"Expected Revision"},"settle_to":{"type":"string","maxLength":30,"minLength":3,"title":"Settle To"},"note":{"type":"string","maxLength":1000,"minLength":3,"title":"Note"}},"additionalProperties":false,"type":"object","required":["expected_revision","settle_to","note"],"title":"SettleBody"},"ShareAptitudeReportRequest":{"properties":{"recipient_ref":{"type":"string","format":"uuid","title":"Recipient Ref"},"purpose":{"type":"string","enum":["STREAM_DISCUSSION"],"const":"STREAM_DISCUSSION","title":"Purpose","default":"STREAM_DISCUSSION"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"}},"additionalProperties":false,"type":"object","required":["recipient_ref","expires_at"],"title":"ShareAptitudeReportRequest"},"ShareArtifactCommand":{"properties":{"artifact_id":{"type":"string","format":"uuid","title":"Artifact Id"},"surface_id":{"type":"string","format":"uuid","title":"Surface Id"},"claim_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":12,"minItems":1,"title":"Claim Ids"},"channel":{"type":"string","enum":["link","image","social","message"],"title":"Channel"},"canonical_url":{"type":"string","maxLength":360,"minLength":1,"title":"Canonical Url"},"preview_title":{"type":"string","maxLength":160,"minLength":1,"title":"Preview Title"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os22_public_growth__models__EvidenceRef"},"type":"array","minItems":1,"title":"Evidence Refs"},"source_fresh_until":{"type":"string","format":"date-time","title":"Source Fresh Until"},"privacy_policy_version":{"type":"string","maxLength":32,"minLength":1,"title":"Privacy Policy Version"},"actor_id":{"type":"string","maxLength":80,"minLength":1,"title":"Actor Id"},"metadata":{"type":"object","title":"Metadata"}},"additionalProperties":false,"type":"object","required":["surface_id","claim_ids","channel","canonical_url","preview_title","evidence_refs","source_fresh_until","privacy_policy_version","actor_id"],"title":"ShareArtifactCommand"},"ShareIn":{"properties":{"purpose":{"type":"string","maxLength":64,"minLength":1,"title":"Purpose"},"recipient":{"type":"string","maxLength":64,"minLength":1,"title":"Recipient"}},"type":"object","required":["purpose","recipient"],"title":"ShareIn"},"ShareProofCommand":{"properties":{"audience":{"type":"string","enum":["student","parent","teacher","operator","public"],"title":"Audience"},"expires_in_seconds":{"type":"integer","maximum":604800.0,"minimum":60.0,"title":"Expires In Seconds","default":86400}},"type":"object","required":["audience"],"title":"ShareProofCommand"},"SharingGrantBindCommand":{"properties":{"sharing_grant_id":{"type":"string","format":"uuid","title":"Sharing Grant Id"},"parent_id":{"type":"string","maxLength":128,"minLength":1,"title":"Parent Id"},"student_id":{"type":"string","maxLength":128,"minLength":1,"title":"Student Id"},"consent_authority":{"type":"string","enum":["OS21","XPR01","LEGACY_CONSENT"],"title":"Consent Authority"},"consent_id":{"type":"string","maxLength":160,"minLength":1,"title":"Consent Id"},"consent_version":{"type":"string","maxLength":64,"minLength":1,"title":"Consent Version"},"scopes":{"items":{"type":"string"},"type":"array","maxItems":32,"minItems":1,"title":"Scopes"},"purpose":{"type":"string","maxLength":128,"minLength":3,"title":"Purpose","default":"parent_academic_support"},"granted_at":{"type":"string","format":"date-time","title":"Granted At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os12_parent_safe__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["parent_id","student_id","consent_authority","consent_id","consent_version","scopes","actor_id","evidence_refs"],"title":"SharingGrantBindCommand"},"SharingGrantRevokeCommand":{"properties":{"sharing_grant_id":{"type":"string","format":"uuid","title":"Sharing Grant Id"},"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"reason_codes":{"items":{"type":"string"},"type":"array","maxItems":16,"minItems":1,"title":"Reason Codes"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os12_parent_safe__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["sharing_grant_id","expected_version","actor_id","reason_codes","evidence_refs"],"title":"SharingGrantRevokeCommand"},"ShownRequest":{"properties":{"assignment_ids":{"items":{"type":"string"},"type":"array","maxItems":8,"minItems":1,"title":"Assignment Ids"}},"type":"object","required":["assignment_ids"],"title":"ShownRequest"},"SignOutBody":{"properties":{"refresh_token":{"anyOf":[{"type":"string","maxLength":4096},{"type":"null"}],"title":"Refresh Token"}},"type":"object","title":"SignOutBody"},"SignalCandidate":{"properties":{"family":{"type":"string","pattern":"^[a-z][a-z0-9_]{1,63}$","title":"Family"},"source_ref":{"type":"string","maxLength":300,"minLength":4,"title":"Source Ref"},"source_version":{"type":"string","maxLength":160,"minLength":1,"title":"Source Version"},"owner":{"type":"string","maxLength":160,"minLength":1,"title":"Owner"},"independence_key":{"type":"string","maxLength":200,"minLength":1,"title":"Independence Key"},"state":{"$ref":"#/components/schemas/SignalState"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"},"valid_as_of":{"type":"string","format":"date-time","title":"Valid As Of"},"stale_after":{"type":"string","format":"date-time","title":"Stale After"},"payload":{"type":"object","title":"Payload"}},"additionalProperties":false,"type":"object","required":["family","source_ref","source_version","owner","independence_key","state","occurred_at","valid_as_of","stale_after"],"title":"SignalCandidate"},"SignalState":{"type":"string","enum":["QUALIFIED","STALE","REVOKED","DEGRADED","MISSING","UNKNOWN"],"title":"SignalState"},"SignupRequest":{"properties":{"name":{"type":"string","title":"Name"},"email":{"type":"string","title":"Email"},"password":{"type":"string","title":"Password"},"role":{"type":"string","title":"Role","default":"student"},"device_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Id"},"exam_target":{"type":"string","title":"Exam Target","default":"JEE"},"class_grade":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Class Grade"},"age_ticket":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Age Ticket"},"guardian_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Guardian Email"},"guardian_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Guardian Name"}},"type":"object","required":["name","email","password"],"title":"SignupRequest"},"SimulationActorFixture":{"properties":{"actor_id":{"type":"string","maxLength":160,"minLength":1,"title":"Actor Id"},"role":{"type":"string","enum":["student","parent","teacher","operator","admin"],"title":"Role"},"purpose":{"type":"string","enum":["adaptive_home","today_home","learning_personalisation"],"title":"Purpose"},"purpose_ref":{"type":"string","maxLength":300,"minLength":4,"title":"Purpose Ref"},"is_guest":{"type":"boolean","title":"Is Guest","default":false},"resource_version":{"type":"integer","minimum":1.0,"title":"Resource Version","default":1}},"additionalProperties":false,"type":"object","required":["actor_id","role","purpose","purpose_ref"],"title":"SimulationActorFixture"},"SimulationRequest":{"properties":{"year":{"type":"integer","maximum":2100.0,"minimum":2000.0,"title":"Year"},"rank":{"type":"integer","maximum":10000000.0,"minimum":1.0,"title":"Rank"},"category":{"type":"string","maxLength":40,"minLength":1,"title":"Category"},"quota":{"type":"string","maxLength":80,"minLength":1,"title":"Quota"},"rank_universe":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Rank Universe"},"choices":{"items":{"$ref":"#/components/schemas/ChoiceRef"},"type":"array","maxItems":20,"minItems":1,"title":"Choices"}},"additionalProperties":false,"type":"object","required":["year","rank","category","quota","choices"],"title":"SimulationRequest","description":"Eligibility (category, seat pool, merit list) and preferences (ordered choices). Not stored."},"SimulationStep":{"properties":{"step_id":{"type":"string","pattern":"^STEP-[A-Z0-9-]{2,80}$","title":"Step Id"},"kind":{"type":"string","enum":["ROUTE","HANDOFF","RETURN","CORRECTION","CACHE","TELEMETRY"],"title":"Kind"},"product_id":{"type":"string","pattern":"^[a-z0-9][a-z0-9._-]{1,119}$","title":"Product Id"},"receipt_ref":{"$ref":"#/components/schemas/ConvergenceRef"},"state":{"type":"string","enum":["PASS","HELD","NO_GO"],"title":"State"}},"additionalProperties":false,"type":"object","required":["step_id","kind","product_id","receipt_ref","state"],"title":"SimulationStep"},"SingleRankPurchaseBody":{"properties":{"student_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Student Id"},"rank_decision_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Rank Decision Id"},"offer_version":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Offer Version"},"idempotency_key":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Idempotency Key"}},"type":"object","title":"SingleRankPurchaseBody","description":"P08 request. Every field is optional because the route only ever refuses."},"SittingLinkBody":{"properties":{"mock_session_id":{"type":"string","maxLength":64,"minLength":1,"title":"Mock Session Id"}},"type":"object","required":["mock_session_id"],"title":"SittingLinkBody"},"SkuBindingCommand":{"properties":{"sku_id":{"type":"string","maxLength":128,"minLength":3,"title":"Sku Id"},"product_keys":{"items":{"type":"string"},"type":"array","maxItems":64,"title":"Product Keys"},"entitlement_manifest":{"items":{"$ref":"#/components/schemas/EntitlementGrantSpec"},"type":"array","maxItems":64,"minItems":1,"title":"Entitlement Manifest"},"renewal_terms":{"type":"string","maxLength":1000,"minLength":1,"title":"Renewal Terms"},"cancellation_terms":{"type":"string","maxLength":1000,"minLength":1,"title":"Cancellation Terms"},"limit_terms":{"type":"object","title":"Limit Terms"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os09_commerce__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"},"expected_version":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Expected Version"}},"additionalProperties":false,"type":"object","required":["sku_id","entitlement_manifest","renewal_terms","cancellation_terms","actor_id","evidence_refs"],"title":"SkuBindingCommand"},"SliceBState":{"type":"string","enum":["COLLECTING","BLOCKED","FAILED","PASSED"],"title":"SliceBState"},"SliceBStep":{"type":"string","enum":["PARENT","COMMERCE","PUBLIC","OFFLINE"],"title":"SliceBStep"},"SlotBody":{"properties":{"starts_at":{"type":"string","format":"date-time","title":"Starts At"}},"additionalProperties":false,"type":"object","required":["starts_at"],"title":"SlotBody"},"SlotResult":{"properties":{"slot_id":{"type":"string","title":"Slot Id"},"slot_type":{"type":"string","title":"Slot Type"},"primitive":{"type":"string","title":"Primitive"},"cards":{"items":{"$ref":"#/components/schemas/CardPayload"},"type":"array","title":"Cards"},"reason_code":{"type":"string","title":"Reason Code","default":"DEFAULT"}},"type":"object","required":["slot_id","slot_type","primitive","cards"],"title":"SlotResult"},"SnapshotBody":{"properties":{"repo":{"type":"string","title":"Repo"},"kind":{"type":"string","title":"Kind"},"source_commit":{"type":"string","maxLength":64,"pattern":"^[0-9a-f]{0,64}$","title":"Source Commit","default":""},"source_ref":{"type":"string","maxLength":200,"title":"Source Ref","default":""},"captured_at":{"type":"string","maxLength":40,"title":"Captured At"},"machine_id":{"type":"string","maxLength":80,"title":"Machine Id","default":""},"payload":{"type":"object","title":"Payload"}},"type":"object","required":["repo","kind","captured_at","payload"],"title":"SnapshotBody"},"SnoozeBody":{"properties":{"until":{"type":"string","format":"date-time","title":"Until"}},"type":"object","required":["until"],"title":"SnoozeBody"},"SocraticStartReq":{"properties":{"student_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Student Id"},"topic":{"type":"string","title":"Topic"},"subject":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"},"seed_question":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Seed Question"},"concept_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Concept Ref"},"product_context_receipt_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Context Receipt Id"},"product_context_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Context Hash"}},"type":"object","required":["topic"],"title":"SocraticStartReq"},"SocraticTurnReq":{"properties":{"student_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Student Id"},"session_id":{"type":"string","title":"Session Id"},"response":{"type":"string","title":"Response"},"topic":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Topic"},"subject":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"},"stage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stage"},"concept_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Concept Ref"},"product_context_receipt_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Context Receipt Id"},"product_context_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Context Hash"}},"type":"object","required":["session_id","response"],"title":"SocraticTurnReq"},"SolveCommand":{"properties":{"requested_intent":{"type":"string","enum":["ask","grade","practice"],"title":"Requested Intent"},"confirmed_text":{"type":"string","maxLength":20000,"minLength":1,"title":"Confirmed Text"},"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"return_ref":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Return Ref"}},"additionalProperties":false,"type":"object","required":["requested_intent","confirmed_text","expected_version"],"title":"SolveCommand"},"SourceAttachBody":{"properties":{"source_class":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Class"},"source_ref":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Source Ref"},"edition_or_version":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Edition Or Version"},"page_or_span":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Page Or Span"},"rights_basis":{"anyOf":[{"type":"string","maxLength":48},{"type":"null"}],"title":"Rights Basis"},"detach_source_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Detach Source Id"}},"type":"object","title":"SourceAttachBody"},"SourceBindingCommand":{"properties":{"domain":{"type":"string","maxLength":64,"minLength":2,"title":"Domain"},"authority":{"type":"string","maxLength":120,"minLength":2,"title":"Authority"},"source_id":{"type":"string","maxLength":160,"minLength":1,"title":"Source Id"},"snapshot_id":{"type":"string","maxLength":160,"minLength":1,"title":"Snapshot Id"},"snapshot_version":{"type":"string","maxLength":80,"minLength":1,"title":"Snapshot Version"},"approval_state":{"type":"string","enum":["APPROVED","PENDING","REJECTED","REVOKED"],"title":"Approval State","default":"PENDING"},"approved_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Approved At"},"freshness_expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Freshness Expires At"},"licence_code":{"type":"string","maxLength":80,"title":"Licence Code","default":"INTERNAL"},"purpose_tags":{"items":{"type":"string"},"type":"array","maxItems":32,"title":"Purpose Tags"},"metadata_ref":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Metadata Ref"},"source_hash":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Source Hash"}},"type":"object","required":["domain","authority","source_id","snapshot_id","snapshot_version"],"title":"SourceBindingCommand"},"SourceCellState":{"type":"string","enum":["suppressed","ready"],"title":"SourceCellState"},"SourceCorrectionResponseBody":{"properties":{"expected_note_version":{"type":"integer","minimum":1.0,"title":"Expected Note Version"},"expected_text_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Expected Text Sha256"},"outcome":{"type":"string","enum":["KEEP_AS_IS","EDIT_AND_SAVE","APPLY_SOURCE_CORRECTION"],"title":"Outcome"},"edited_text":{"anyOf":[{"type":"string","maxLength":200000},{"type":"null"}],"title":"Edited Text"},"expected_source_text_sha256":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}],"title":"Expected Source Text Sha256"}},"additionalProperties":false,"type":"object","required":["expected_note_version","expected_text_sha256","outcome"],"title":"SourceCorrectionResponseBody"},"SourceDisclosure":{"properties":{"release_id":{"type":"string","title":"Release Id"},"snapshot_id":{"type":"string","title":"Snapshot Id"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url"},"evidence_state":{"type":"string","title":"Evidence State"},"record_digest":{"type":"string","title":"Record Digest"}},"type":"object","required":["release_id","snapshot_id","evidence_state","record_digest"],"title":"SourceDisclosure"},"SourceDocument":{"properties":{"role":{"type":"string","enum":["QUESTION_PAPER","MARKING_SCHEME"],"title":"Role"},"url":{"type":"string","maxLength":500,"minLength":12,"pattern":"^https://[^\\s]+$","title":"Url"},"sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Sha256"}},"type":"object","required":["role","url","sha256"],"title":"SourceDocument"},"SourceFact":{"properties":{"name":{"type":"string","title":"Name"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"published_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Published At"},"read_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Read At"},"state":{"type":"string","enum":["CURRENT","SUPERSEDED","UNKNOWN"],"title":"State"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"}},"additionalProperties":false,"type":"object","required":["name","state"],"title":"SourceFact","description":"One source behind a position: what it is, which version, when it was read."},"SourceFactReference":{"properties":{"source_record_id":{"type":"string","format":"uuid","title":"Source Record Id"},"source_snapshot_id":{"type":"string","format":"uuid","title":"Source Snapshot Id"},"source_digest":{"type":"string","title":"Source Digest"},"source_quality":{"type":"string","enum":["AUTHORITY_RULE","AUTHORITY_FACT","CURATED","OUTCOME_CALIBRATED","INFERRED_UNPUBLISHED"],"title":"Source Quality"},"freshness_state":{"type":"string","enum":["CURRENT","STALE","UNKNOWN"],"title":"Freshness State"},"effective_from":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Effective From"},"effective_to":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Effective To"},"captured_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Captured At"}},"additionalProperties":false,"type":"object","required":["source_record_id","source_snapshot_id","source_digest","source_quality","freshness_state"],"title":"SourceFactReference"},"SourceFeedView":{"properties":{"route_id":{"type":"string","title":"Route Id"},"route_label":{"type":"string","title":"Route Label"},"line_label":{"type":"string","title":"Line Label"}},"additionalProperties":false,"type":"object","required":["route_id","route_label","line_label"],"title":"SourceFeedView"},"SourceItem":{"properties":{"item_ref":{"type":"string","maxLength":160,"minLength":1,"title":"Item Ref"},"source_owner":{"type":"string","maxLength":32,"minLength":2,"title":"Source Owner"},"source_ref":{"type":"string","maxLength":200,"minLength":1,"title":"Source Ref"},"source_revision":{"type":"string","maxLength":80,"minLength":1,"title":"Source Revision"},"category":{"type":"string","maxLength":80,"minLength":2,"title":"Category"},"summary":{"type":"string","maxLength":280,"minLength":1,"title":"Summary"},"parent_action":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Parent Action"},"action_instructions":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Action Instructions"},"occurred_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Occurred At"},"recorded_at":{"type":"string","format":"date-time","title":"Recorded At"},"valid_until":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Valid Until"},"state":{"type":"string","enum":["CURRENT","WITHDRAWN","SUPERSEDED"],"title":"State","default":"CURRENT"},"supersedes_item_ref":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Supersedes Item Ref"}},"additionalProperties":false,"type":"object","required":["item_ref","source_owner","source_ref","source_revision","category","summary","recorded_at"],"title":"SourceItem"},"SourceOperationExecuteBody":{"properties":{"acknowledgement":{"type":"string","enum":["execute-reviewed-operation"],"const":"execute-reviewed-operation","title":"Acknowledgement"}},"additionalProperties":false,"type":"object","required":["acknowledgement"],"title":"SourceOperationExecuteBody"},"SourceOperationRequestBody":{"properties":{"operation_type":{"type":"string","maxLength":80,"minLength":8,"title":"Operation Type"},"target_id":{"type":"string","format":"uuid","title":"Target Id"},"target_key":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Target Key"},"decision_payload":{"type":"object","title":"Decision Payload"},"reason":{"type":"string","maxLength":2000,"minLength":8,"title":"Reason"},"metadata":{"type":"object","title":"Metadata"},"p7_claim_id":{"anyOf":[{"type":"string","maxLength":240,"minLength":8},{"type":"null"}],"title":"P7 Claim Id"},"private_synthetic_run_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Private Synthetic Run Id"},"real_batch_id":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Real Batch Id"}},"additionalProperties":false,"type":"object","required":["operation_type","target_id","reason"],"title":"SourceOperationRequestBody"},"SourceOperationReviewBody":{"properties":{"decision":{"type":"string","enum":["approve","reject"],"title":"Decision"},"note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Note"}},"additionalProperties":false,"type":"object","required":["decision"],"title":"SourceOperationReviewBody"},"SourcePassportCommand":{"properties":{"source_object_ref":{"type":"string","maxLength":500,"minLength":4,"title":"Source Object Ref"},"source_version_ref":{"type":"string","maxLength":300,"minLength":4,"title":"Source Version Ref"},"source_receipt_ref":{"type":"string","maxLength":300,"minLength":4,"title":"Source Receipt Ref"},"checksum_sha256":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}],"title":"Checksum Sha256"},"authority_type":{"$ref":"#/components/schemas/AuthorityType"},"authority_name":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Authority Name"},"acquisition_method":{"type":"string","maxLength":160,"minLength":2,"title":"Acquisition Method"},"academic_scope":{"$ref":"#/components/schemas/os_runtime__os10_content_ops__cntimp_pr01__AcademicScope"},"corrupted":{"type":"boolean","title":"Corrupted","default":false},"source_receipt_verified":{"type":"boolean","title":"Source Receipt Verified","default":false},"acquired_at":{"type":"string","format":"date-time","title":"Acquired At"}},"additionalProperties":false,"type":"object","required":["source_object_ref","source_version_ref","source_receipt_ref","authority_type","acquisition_method","academic_scope"],"title":"SourcePassportCommand"},"SourceReadConfirmBody":{"properties":{"request_id":{"type":"string","maxLength":64,"minLength":64,"title":"Request Id"},"expected_resource_version":{"type":"integer","minimum":1.0,"title":"Expected Resource Version"},"source_ref":{"type":"string","maxLength":2000,"minLength":1,"title":"Source Ref"},"answer_release_id":{"type":"string","maxLength":200,"minLength":1,"title":"Answer Release Id"},"claim_version_id":{"type":"string","maxLength":200,"minLength":1,"title":"Claim Version Id"},"claim_resource_version":{"type":"integer","minimum":1.0,"title":"Claim Resource Version"},"turn_version_id":{"type":"string","maxLength":200,"minLength":1,"title":"Turn Version Id"}},"additionalProperties":false,"type":"object","required":["request_id","expected_resource_version","source_ref","answer_release_id","claim_version_id","claim_resource_version","turn_version_id"],"title":"SourceReadConfirmBody"},"SourceReadRequestBody":{"properties":{"student_id":{"type":"string","maxLength":200,"minLength":1,"title":"Student Id"},"turn_id":{"type":"string","maxLength":200,"minLength":1,"title":"Turn Id"},"claim_id":{"type":"string","maxLength":200,"minLength":1,"title":"Claim Id"},"source_ref":{"type":"string","maxLength":2000,"minLength":1,"title":"Source Ref"},"claim_version_id":{"type":"string","maxLength":200,"minLength":1,"title":"Claim Version Id"},"claim_resource_version":{"type":"integer","minimum":1.0,"title":"Claim Resource Version"},"turn_version_id":{"type":"string","maxLength":200,"minLength":1,"title":"Turn Version Id"},"policy_id":{"type":"string","maxLength":160,"minLength":1,"title":"Policy Id"},"policy_version":{"type":"string","maxLength":120,"minLength":1,"title":"Policy Version"}},"additionalProperties":false,"type":"object","required":["student_id","turn_id","claim_id","source_ref","claim_version_id","claim_resource_version","turn_version_id","policy_id","policy_version"],"title":"SourceReadRequestBody"},"SourceRecordRequest":{"properties":{"snapshot_id":{"type":"string","format":"uuid","title":"Snapshot Id"},"record_kind":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{2,79}$","title":"Record Kind"},"external_record_id":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"External Record Id"},"stable_key":{"type":"string","pattern":"^[a-z0-9][a-z0-9:._/-]{2,299}$","title":"Stable Key"},"payload":{"type":"object","title":"Payload"},"payload_digest":{"type":"string","title":"Payload Digest"}},"additionalProperties":false,"type":"object","required":["snapshot_id","record_kind","stable_key","payload","payload_digest"],"title":"SourceRecordRequest"},"SourceRef":{"properties":{"label":{"type":"string","maxLength":200,"minLength":3,"title":"Label"},"url":{"anyOf":[{"type":"string","maxLength":500,"pattern":"^https?://"},{"type":"null"}],"title":"Url"},"snapshot_id":{"anyOf":[{"type":"string","maxLength":36,"minLength":36},{"type":"null"}],"title":"Snapshot Id"},"read_at":{"type":"string","maxLength":40,"minLength":10,"title":"Read At"}},"additionalProperties":false,"type":"object","required":["label","read_at"],"title":"SourceRef"},"SourceReferenceBody":{"properties":{"namespace":{"type":"string","maxLength":240,"minLength":1,"title":"Namespace"},"owner":{"type":"string","maxLength":240,"minLength":1,"title":"Owner"},"object_type":{"type":"string","maxLength":240,"minLength":1,"title":"Object Type"},"object_id":{"type":"string","maxLength":240,"minLength":1,"title":"Object Id"},"source_version":{"type":"string","maxLength":512,"minLength":1,"title":"Source Version"},"receipt_ref":{"anyOf":[{"type":"string","maxLength":240,"minLength":1},{"type":"null"}],"title":"Receipt Ref"}},"additionalProperties":false,"type":"object","required":["namespace","owner","object_type","object_id","source_version"],"title":"SourceReferenceBody","description":"The source reference, nested as the contract nests it."},"SourceReferenceInput":{"properties":{"source_record_id":{"type":"string","format":"uuid","title":"Source Record Id"},"source_snapshot_id":{"type":"string","format":"uuid","title":"Source Snapshot Id"},"source_digest":{"type":"string","title":"Source Digest"}},"additionalProperties":false,"type":"object","required":["source_record_id","source_snapshot_id","source_digest"],"title":"SourceReferenceInput"},"SourceReleaseEnvelope":{"properties":{"release_ref":{"type":"string","format":"uuid","title":"Release Ref"},"viewer_id":{"type":"string","maxLength":128,"minLength":1,"title":"Viewer Id"},"child_id":{"type":"string","maxLength":128,"minLength":1,"title":"Child Id"},"surface":{"type":"string","enum":["HOME_FAMILY","MY"],"title":"Surface"},"purpose":{"type":"string","maxLength":128,"minLength":3,"title":"Purpose"},"source_owner":{"type":"string","maxLength":32,"minLength":2,"title":"Source Owner"},"source_ref":{"type":"string","maxLength":200,"minLength":1,"title":"Source Ref"},"source_revision":{"type":"string","maxLength":80,"minLength":1,"title":"Source Revision"},"source_universe_ref":{"type":"string","maxLength":200,"minLength":1,"title":"Source Universe Ref"},"source_universe_revision":{"type":"string","maxLength":80,"minLength":1,"title":"Source Universe Revision"},"policy_version":{"type":"string","maxLength":64,"minLength":1,"title":"Policy Version"},"issuer_id":{"type":"string","maxLength":100,"minLength":1,"title":"Issuer Id"},"key_id":{"type":"string","maxLength":100,"minLength":1,"title":"Key Id"},"source_signature":{"type":"string","maxLength":512,"minLength":32,"title":"Source Signature"},"coverage_state":{"type":"string","enum":["COMPLETE","PARTIAL","UNKNOWN"],"title":"Coverage State","default":"UNKNOWN"},"coverage_attestation":{"anyOf":[{"$ref":"#/components/schemas/CoverageAttestation"},{"type":"null"}]},"relationship_receipt_ref":{"type":"string","maxLength":160,"minLength":1,"title":"Relationship Receipt Ref"},"relationship_version":{"type":"string","maxLength":64,"minLength":1,"title":"Relationship Version"},"consent_receipt_ref":{"type":"string","maxLength":160,"minLength":1,"title":"Consent Receipt Ref"},"sharing_grant_ref":{"type":"string","maxLength":160,"minLength":1,"title":"Sharing Grant Ref"},"os21_scope_ref":{"type":"string","maxLength":160,"minLength":1,"title":"Os21 Scope Ref"},"os21_grant_ref":{"type":"string","maxLength":160,"minLength":1,"title":"Os21 Grant Ref"},"items":{"items":{"$ref":"#/components/schemas/SourceItem"},"type":"array","maxItems":3,"title":"Items"},"issued_at":{"type":"string","format":"date-time","title":"Issued At"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"state":{"type":"string","enum":["RELEASED","WITHDRAWN"],"title":"State","default":"RELEASED"},"withdraws_release_ref":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Withdraws Release Ref"}},"additionalProperties":false,"type":"object","required":["viewer_id","child_id","surface","purpose","source_owner","source_ref","source_revision","source_universe_ref","source_universe_revision","policy_version","issuer_id","key_id","source_signature","relationship_receipt_ref","relationship_version","consent_receipt_ref","sharing_grant_ref","os21_scope_ref","os21_grant_ref","issued_at","expires_at"],"title":"SourceReleaseEnvelope","description":"Source-authored packet; OS12 may bind it but may not rewrite meaning."},"SourceReviewIntrospectRequest":{"properties":{"assertion":{"type":"object","title":"Assertion"},"request_nonce":{"type":"string","maxLength":128,"minLength":16,"title":"Request Nonce"}},"additionalProperties":false,"type":"object","required":["assertion","request_nonce"],"title":"SourceReviewIntrospectRequest"},"SourceReviewIssueRequest":{"properties":{"source_family":{"type":"string","enum":["mock_submission","grade_paper_question"],"title":"Source Family"},"source_id":{"type":"string","maxLength":200,"minLength":1,"title":"Source Id"},"tenant_namespace":{"type":"string","maxLength":160,"minLength":1,"title":"Tenant Namespace","default":"aspireace"},"item_ref":{"anyOf":[{"type":"string","maxLength":160,"minLength":1},{"type":"null"}],"title":"Item Ref"},"question_no":{"anyOf":[{"type":"integer","maximum":50.0,"minimum":1.0},{"type":"null"}],"title":"Question No"},"learner_ref":{"anyOf":[{"type":"string","maxLength":64,"minLength":1},{"type":"null"}],"title":"Learner Ref"},"allow_external_review_share":{"type":"boolean","enum":[true],"const":true,"title":"Allow External Review Share"}},"additionalProperties":false,"type":"object","required":["source_family","source_id","allow_external_review_share"],"title":"SourceReviewIssueRequest"},"SourceReviewRevokeRequest":{"properties":{"assertion_id":{"type":"string","maxLength":160,"minLength":12,"title":"Assertion Id"},"reason_code":{"type":"string","enum":["owner_request","consent_withdrawn"],"title":"Reason Code"}},"additionalProperties":false,"type":"object","required":["assertion_id","reason_code"],"title":"SourceReviewRevokeRequest"},"SourceSnapshotInput":{"properties":{"source_id":{"type":"string","maxLength":200,"minLength":3,"title":"Source Id"},"source_kind":{"type":"string","enum":["FEE","DEPOSIT","REFUND","SCHEDULE","RULE","ALLOTMENT"],"title":"Source Kind"},"snapshot_id":{"type":"string","format":"uuid","title":"Snapshot Id"},"record_id":{"type":"string","maxLength":300,"minLength":1,"title":"Record Id"},"digest":{"type":"string","title":"Digest"},"effective_from":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Effective From"},"effective_to":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Effective To"},"payload":{"type":"object","title":"Payload"},"approval_state":{"type":"string","enum":["APPROVED","HELD","RECALLED"],"title":"Approval State"}},"additionalProperties":false,"type":"object","required":["source_id","source_kind","snapshot_id","record_id","digest","payload","approval_state"],"title":"SourceSnapshotInput"},"SourceSnapshotRequest":{"properties":{"source_authority":{"type":"string","maxLength":160,"minLength":2,"title":"Source Authority"},"adapter_id":{"type":"string","pattern":"^[a-z0-9][a-z0-9._-]{1,119}$","title":"Adapter Id"},"adapter_version":{"type":"string","maxLength":80,"minLength":1,"title":"Adapter Version"},"external_snapshot_id":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"External Snapshot Id"},"source_url":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Source Url"},"licence_policy_ref":{"anyOf":[{"type":"string","maxLength":300,"minLength":4},{"type":"null"}],"title":"Licence Policy Ref"},"owner_approval_ref":{"anyOf":[{"type":"string","maxLength":300,"minLength":4},{"type":"null"}],"title":"Owner Approval Ref"},"approval_state":{"type":"string","enum":["PENDING","APPROVED","REJECTED","RECALLED"],"title":"Approval State","default":"PENDING"},"captured_at":{"type":"string","format":"date-time","title":"Captured At"},"source_published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Source Published At"},"effective_from":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Effective From"},"effective_to":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Effective To"},"content_digest":{"type":"string","title":"Content Digest"},"artifact_ref":{"type":"string","maxLength":500,"minLength":4,"title":"Artifact Ref"},"metadata":{"type":"object","title":"Metadata"}},"additionalProperties":false,"type":"object","required":["source_authority","adapter_id","adapter_version","captured_at","content_digest","artifact_ref"],"title":"SourceSnapshotRequest"},"SourceStamp":{"properties":{"publisher":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Publisher"},"published_on":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Published On"},"read_at":{"type":"string","format":"date-time","title":"Read At"},"approval_state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Approval State"},"source_authority":{"type":"string","title":"Source Authority"},"source_key":{"type":"string","title":"Source Key"}},"additionalProperties":false,"type":"object","required":["read_at","source_authority","source_key"],"title":"SourceStamp"},"SourceStrip":{"properties":{"authority":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authority"},"period_start":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Period Start"},"period_end":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Period End"},"read_on":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Read On"},"snapshot_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Snapshot Id"},"digest":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Digest"},"licence_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Licence Ref"},"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail"},"recalled":{"type":"boolean","title":"Recalled","default":false}},"additionalProperties":false,"type":"object","title":"SourceStrip","description":"Who said it, what period it covers, and when we read it. Never split from its figure."},"SourceVersionRef":{"properties":{"source_id":{"type":"string","maxLength":200,"minLength":3,"title":"Source Id"},"snapshot_id":{"type":"string","format":"uuid","title":"Snapshot Id"},"record_id":{"type":"string","maxLength":300,"minLength":1,"title":"Record Id"},"digest":{"type":"string","title":"Digest"},"effective_from":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Effective From"},"effective_to":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Effective To"},"currency":{"anyOf":[{"type":"string","pattern":"^[A-Z]{3}$"},{"type":"null"}],"title":"Currency"},"period":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Period"},"approval_state":{"type":"string","enum":["APPROVED","HELD","RECALLED"],"title":"Approval State"},"licence_ref":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Licence Ref"},"owner_approval_ref":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Owner Approval Ref"}},"additionalProperties":false,"type":"object","required":["source_id","snapshot_id","record_id","digest","approval_state"],"title":"SourceVersionRef"},"SourceView":{"properties":{"source_record_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Record Id"},"name":{"type":"string","title":"Name"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"read_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Read At"},"state":{"type":"string","enum":["CURRENT","STALE","RECALLED","UNKNOWN"],"title":"State","default":"CURRENT"}},"additionalProperties":false,"type":"object","required":["name"],"title":"SourceView"},"SourceWithdrawalAttestation":{"properties":{"release_ref":{"type":"string","format":"uuid","title":"Release Ref"},"source_owner":{"type":"string","maxLength":32,"minLength":2,"title":"Source Owner"},"surface":{"type":"string","enum":["HOME_FAMILY","MY"],"title":"Surface"},"purpose":{"type":"string","maxLength":128,"minLength":3,"title":"Purpose"},"source_ref":{"type":"string","maxLength":200,"minLength":1,"title":"Source Ref"},"source_revision":{"type":"string","maxLength":80,"minLength":1,"title":"Source Revision"},"policy_version":{"type":"string","maxLength":64,"minLength":1,"title":"Policy Version"},"issuer_id":{"type":"string","maxLength":100,"minLength":1,"title":"Issuer Id"},"key_id":{"type":"string","maxLength":100,"minLength":1,"title":"Key Id"},"issued_at":{"type":"string","format":"date-time","title":"Issued At"},"reason_code":{"type":"string","maxLength":80,"minLength":3,"title":"Reason Code"},"signature":{"type":"string","maxLength":512,"minLength":32,"title":"Signature"}},"additionalProperties":false,"type":"object","required":["release_ref","source_owner","surface","purpose","source_ref","source_revision","policy_version","issuer_id","key_id","issued_at","reason_code","signature"],"title":"SourceWithdrawalAttestation"},"SourcesView":{"properties":{"comparison_id":{"type":"string","title":"Comparison Id"},"version_no":{"type":"integer","title":"Version No"},"compared_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Compared At"},"state":{"type":"string","enum":["READY","PARTIAL_SOURCE","STALE","HELD"],"title":"State"},"release":{"anyOf":[{"$ref":"#/components/schemas/ReleaseView"},{"type":"null"}]},"source_count":{"type":"integer","title":"Source Count"},"dimensions":{"items":{"$ref":"#/components/schemas/DimensionSourcesView"},"type":"array","title":"Dimensions","default":[]},"corrections":{"items":{"$ref":"#/components/schemas/CorrectionNotice"},"type":"array","title":"Corrections","default":[]},"honesty":{"items":{"type":"string"},"type":"array","title":"Honesty","default":[]}},"additionalProperties":false,"type":"object","required":["comparison_id","version_no","state","source_count"],"title":"SourcesView"},"SpendBody":{"properties":{"month":{"type":"string","pattern":"^\\d{4}-(0[1-9]|1[0-2])$","title":"Month"},"provider":{"type":"string","maxLength":40,"minLength":2,"title":"Provider"},"amount_inr":{"type":"integer","maximum":100000000.0,"minimum":0.0,"title":"Amount Inr"},"note":{"type":"string","maxLength":200,"title":"Note","default":""}},"type":"object","required":["month","provider","amount_inr"],"title":"SpendBody"},"SpineEvidenceRef":{"properties":{"owner":{"type":"string","maxLength":80,"minLength":2,"title":"Owner"},"contract_id":{"type":"string","pattern":"^[A-Z0-9][A-Z0-9._:-]{2,159}$","title":"Contract Id"},"contract_version":{"type":"string","maxLength":80,"minLength":1,"title":"Contract Version"},"receipt_id":{"type":"string","maxLength":220,"minLength":4,"title":"Receipt Id"},"receipt_digest":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Receipt Digest"},"state":{"type":"string","enum":["PASS","STALE","REVOKED","NO_GO"],"title":"State"},"issued_at":{"type":"string","format":"date-time","title":"Issued At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"}},"additionalProperties":false,"type":"object","required":["owner","contract_id","contract_version","receipt_id","receipt_digest","state","issued_at"],"title":"SpineEvidenceRef"},"SpineIntegrationReceipt":{"properties":{"receipt_id":{"type":"string","format":"uuid","title":"Receipt Id"},"tenant_id":{"type":"string","title":"Tenant Id"},"integration_id":{"type":"string","enum":["SPINE-INT-01","SPINE-INT-02","SPINE-INT-03","SPINE-INT-04","SPINE-INT-05"],"title":"Integration Id"},"integration_version":{"type":"string","title":"Integration Version"},"owner":{"type":"string","title":"Owner"},"product_ids":{"items":{"type":"string"},"type":"array","title":"Product Ids"},"state":{"type":"string","enum":["PASS","HELD","NO_GO","STALE","REVOKED"],"title":"State"},"evidence_refs":{"items":{"$ref":"#/components/schemas/SpineEvidenceRef"},"type":"array","title":"Evidence Refs"},"reason_codes":{"items":{"type":"string"},"type":"array","title":"Reason Codes"},"receipt_digest":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Receipt Digest"},"version":{"type":"integer","minimum":1.0,"title":"Version"},"supersedes_receipt_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Supersedes Receipt Id"},"command_receipt_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Command Receipt Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"additionalProperties":false,"type":"object","required":["receipt_id","tenant_id","integration_id","integration_version","owner","product_ids","state","evidence_refs","reason_codes","receipt_digest","version","created_at"],"title":"SpineIntegrationReceipt"},"SpineIntegrationReceiptCommand":{"properties":{"integration_id":{"type":"string","enum":["SPINE-INT-01","SPINE-INT-02","SPINE-INT-03","SPINE-INT-04","SPINE-INT-05"],"title":"Integration Id"},"integration_version":{"type":"string","enum":["1.0.0"],"const":"1.0.0","title":"Integration Version","default":"1.0.0"},"owner":{"type":"string","maxLength":120,"minLength":2,"title":"Owner"},"product_ids":{"items":{"type":"string"},"type":"array","maxItems":64,"minItems":1,"title":"Product Ids"},"state":{"type":"string","enum":["PASS","HELD","NO_GO","STALE","REVOKED"],"title":"State"},"evidence_refs":{"items":{"$ref":"#/components/schemas/SpineEvidenceRef"},"type":"array","maxItems":32,"title":"Evidence Refs"},"reason_codes":{"items":{"type":"string"},"type":"array","maxItems":32,"minItems":1,"title":"Reason Codes"},"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version"},"supersedes_receipt_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Supersedes Receipt Id"}},"additionalProperties":false,"type":"object","required":["integration_id","owner","product_ids","state","reason_codes","expected_version"],"title":"SpineIntegrationReceiptCommand"},"SpineProductReadinessDecision":{"properties":{"product_id":{"type":"string","title":"Product Id"},"requirements":{"items":{"type":"string","enum":["SPINE-INT-01","SPINE-INT-02","SPINE-INT-03","SPINE-INT-04","SPINE-INT-05"]},"type":"array","title":"Requirements"},"receipts":{"items":{"$ref":"#/components/schemas/SpineIntegrationReceipt"},"type":"array","title":"Receipts"},"missing":{"items":{"type":"string","enum":["SPINE-INT-01","SPINE-INT-02","SPINE-INT-03","SPINE-INT-04","SPINE-INT-05"]},"type":"array","title":"Missing"},"blocked":{"items":{"type":"string","enum":["SPINE-INT-01","SPINE-INT-02","SPINE-INT-03","SPINE-INT-04","SPINE-INT-05"]},"type":"array","title":"Blocked"},"state":{"type":"string","enum":["READY","HELD","NO_GO"],"title":"State"},"integrations_ready":{"type":"boolean","title":"Integrations Ready"},"release_authorized":{"type":"boolean","title":"Release Authorized"},"active_rollout_allowed":{"type":"boolean","title":"Active Rollout Allowed"},"reason_codes":{"items":{"type":"string"},"type":"array","minItems":1,"title":"Reason Codes"},"decision_digest":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Decision Digest"},"decided_at":{"type":"string","format":"date-time","title":"Decided At"}},"additionalProperties":false,"type":"object","required":["product_id","requirements","receipts","missing","blocked","state","integrations_ready","release_authorized","active_rollout_allowed","reason_codes","decision_digest","decided_at"],"title":"SpineProductReadinessDecision"},"SpineReleaseAuthorization":{"properties":{"authorization_id":{"type":"string","format":"uuid","title":"Authorization Id"},"authority":{"type":"string","enum":["AOSFINAL","RELEASE"],"title":"Authority"},"release_ref":{"type":"string","maxLength":240,"minLength":4,"title":"Release Ref"},"release_digest":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Release Digest"},"state":{"type":"string","enum":["AUTHORIZED","REVOKED"],"title":"State"},"issued_at":{"type":"string","format":"date-time","title":"Issued At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"}},"additionalProperties":false,"type":"object","required":["authorization_id","authority","release_ref","release_digest","state","issued_at"],"title":"SpineReleaseAuthorization"},"SpineReleaseAuthorizationCommand":{"properties":{"authorization":{"$ref":"#/components/schemas/SpineReleaseAuthorization"},"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version"}},"additionalProperties":false,"type":"object","required":["authorization","expected_version"],"title":"SpineReleaseAuthorizationCommand"},"SpineRuntimeFlagProjection":{"properties":{"product_id":{"type":"string","title":"Product Id"},"spine_setspec_release_ready":{"type":"boolean","title":"Spine Setspec Release Ready"},"spine_practice_api_ready":{"type":"boolean","title":"Spine Practice Api Ready"},"spine_content_publication_ready":{"type":"boolean","title":"Spine Content Publication Ready"},"spine_input_confirmation_ready":{"type":"boolean","title":"Spine Input Confirmation Ready"},"spine_os08_return_ready":{"type":"boolean","title":"Spine Os08 Return Ready"},"spine_os09_access_ready":{"type":"boolean","title":"Spine Os09 Access Ready"},"spine_release_authorized":{"type":"boolean","title":"Spine Release Authorized"},"active_rollout_allowed":{"type":"boolean","title":"Active Rollout Allowed"},"projection_digest":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Projection Digest"}},"additionalProperties":false,"type":"object","required":["product_id","spine_setspec_release_ready","spine_practice_api_ready","spine_content_publication_ready","spine_input_confirmation_ready","spine_os08_return_ready","spine_os09_access_ready","spine_release_authorized","active_rollout_allowed","projection_digest"],"title":"SpineRuntimeFlagProjection"},"SpokenCaptureCreate":{"properties":{"transcript":{"type":"string","maxLength":16000,"minLength":1,"title":"Transcript"},"language":{"type":"string","maxLength":32,"minLength":2,"title":"Language","default":"en-IN"},"duration_ms":{"type":"integer","maximum":900000.0,"exclusiveMinimum":0.0,"title":"Duration Ms"},"confidence":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Confidence","default":0.0},"permission_granted":{"type":"boolean","title":"Permission Granted"},"source":{"type":"string","pattern":"^(on_device_stt|uploaded_audio)$","title":"Source"},"audio_object_ref":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Audio Object Ref"},"audio_checksum_sha256":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}],"title":"Audio Checksum Sha256"},"audio_content_type":{"anyOf":[{"type":"string","pattern":"^audio/[a-zA-Z0-9.+-]+$"},{"type":"null"}],"title":"Audio Content Type"},"audio_bytes":{"anyOf":[{"type":"integer","maximum":50000000.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Audio Bytes"}},"additionalProperties":false,"type":"object","required":["transcript","duration_ms","permission_granted","source"],"title":"SpokenCaptureCreate","description":"A spoken capture, however the words were produced.\n\n`source` decides what is true about the audio, and it is required rather\nthan defaulted: the two paths have different privacy consequences, and a\ndefault would quietly pick one of them for the caller."},"SprintAbandonBody":{"properties":{"student_id":{"type":"string","maxLength":64,"minLength":1,"title":"Student Id"},"reason":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Reason"}},"type":"object","required":["student_id"],"title":"SprintAbandonBody"},"SprintStartBody":{"properties":{"student_id":{"type":"string","maxLength":64,"minLength":1,"title":"Student Id"},"subject":{"type":"string","maxLength":32,"minLength":2,"title":"Subject"},"days":{"type":"integer","maximum":30.0,"minimum":1.0,"title":"Days","default":7},"target_mastery_delta":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Target Mastery Delta"},"coach_message":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Coach Message"}},"type":"object","required":["student_id","subject"],"title":"SprintStartBody"},"StaffResponse":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"response_text":{"type":"string","maxLength":12000,"minLength":1,"title":"Response Text"}},"additionalProperties":false,"type":"object","required":["expected_version","response_text"],"title":"StaffResponse"},"StageCalibrationPlanBody":{"properties":{"acknowledgement":{"type":"string","enum":["stage-reviewed-calibration-plan"],"const":"stage-reviewed-calibration-plan","title":"Acknowledgement"},"plan":{"type":"object","title":"Plan"}},"additionalProperties":false,"type":"object","required":["acknowledgement"],"title":"StageCalibrationPlanBody"},"StageCoveragePlanBody":{"properties":{"acknowledgement":{"type":"string","enum":["stage-reviewed-coverage-plan"],"const":"stage-reviewed-coverage-plan","title":"Acknowledgement"},"plan":{"type":"object","title":"Plan"}},"additionalProperties":false,"type":"object","required":["acknowledgement"],"title":"StageCoveragePlanBody"},"StageQualityPolicyBody":{"properties":{"acknowledgement":{"type":"string","enum":["stage-independent-quality-policy"],"const":"stage-independent-quality-policy","title":"Acknowledgement"},"model_key":{"type":"string","maxLength":64,"minLength":64,"title":"Model Key"},"policy_key":{"type":"string","maxLength":240,"minLength":8,"title":"Policy Key"},"max_brier":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Max Brier"},"max_log_loss":{"type":"number","minimum":0.0,"title":"Max Log Loss"},"max_ece":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Max Ece"},"max_probability_drift":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Max Probability Drift"},"min_lane_accuracy":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Min Lane Accuracy"},"minimum_outcomes":{"type":"integer","minimum":200.0,"title":"Minimum Outcomes","default":200},"minimum_positive":{"type":"integer","minimum":20.0,"title":"Minimum Positive","default":20},"minimum_negative":{"type":"integer","minimum":20.0,"title":"Minimum Negative","default":20},"consecutive_failures":{"type":"integer","maximum":10.0,"minimum":1.0,"title":"Consecutive Failures","default":2}},"additionalProperties":false,"type":"object","required":["acknowledgement","model_key","policy_key","max_brier","max_log_loss","max_ece","max_probability_drift","min_lane_accuracy"],"title":"StageQualityPolicyBody"},"StageReceipt":{"properties":{"receipt_id":{"type":"string","format":"uuid","title":"Receipt Id"},"run_id":{"type":"string","format":"uuid","title":"Run Id"},"stage":{"type":"string","enum":["ROUTES","HANDOFFS","FLAGS","CORRECTION","CACHES","TELEMETRY","SIMULATION","PROOF"],"title":"Stage"},"state":{"type":"string","enum":["PASS","HELD","NO_GO","NOT_REQUIRED"],"title":"State"},"reason_codes":{"items":{"type":"string"},"type":"array","maxItems":32,"minItems":1,"title":"Reason Codes"},"evidence_refs":{"items":{"$ref":"#/components/schemas/ConvergenceRef"},"type":"array","title":"Evidence Refs"},"output_refs":{"items":{"$ref":"#/components/schemas/ConvergenceRef"},"type":"array","title":"Output Refs"},"receipt_digest":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Receipt Digest"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"additionalProperties":false,"type":"object","required":["receipt_id","run_id","stage","state","reason_codes","evidence_refs","output_refs","receipt_digest","created_at"],"title":"StageReceipt"},"StageStatus":{"type":"string","enum":["PENDING","RUNNING","PASSED","FAILED","BLOCKED_WITH_OWNER","INAPPLICABLE"],"title":"StageStatus"},"StandaloneListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/StandaloneProduct"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"},"generated_at":{"type":"string","title":"Generated At"}},"type":"object","required":["items","total","generated_at"],"title":"StandaloneListResponse"},"StandaloneMenuItem":{"properties":{"id":{"type":"string","title":"Id"},"label":{"type":"string","title":"Label"},"route":{"type":"string","title":"Route"},"route_props":{"type":"object","title":"Route Props"},"standalone_product_id":{"type":"string","title":"Standalone Product Id"},"menu_tier":{"type":"string","title":"Menu Tier"},"menu_section":{"type":"string","title":"Menu Section"},"status":{"type":"string","title":"Status"},"locked":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Locked"},"blocker_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Blocker Reason"}},"type":"object","required":["id","label","route","standalone_product_id","menu_tier","menu_section","status"],"title":"StandaloneMenuItem"},"StandaloneProduct":{"properties":{"std_id":{"type":"string","title":"Std Id"},"slug":{"type":"string","title":"Slug"},"display_name":{"type":"string","title":"Display Name"},"canonical_name":{"type":"string","title":"Canonical Name"},"menu_label":{"type":"string","title":"Menu Label"},"one_liner":{"type":"string","title":"One Liner"},"menu_section":{"type":"string","title":"Menu Section"},"menu_tier":{"type":"string","title":"Menu Tier"},"status":{"type":"string","title":"Status"},"tier_anchor":{"type":"string","title":"Tier Anchor"},"owner_cluster_ids":{"items":{"type":"string"},"type":"array","title":"Owner Cluster Ids"},"frontend_route":{"type":"string","title":"Frontend Route"},"route_props":{"type":"object","title":"Route Props"},"aliases":{"items":{"type":"string"},"type":"array","title":"Aliases"},"blocker_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Blocker Reason"},"api_group":{"type":"string","title":"Api Group"},"upstream_routes":{"items":{"type":"string"},"type":"array","title":"Upstream Routes"},"pipeline_steps":{"items":{"type":"string"},"type":"array","title":"Pipeline Steps"}},"type":"object","required":["std_id","slug","display_name","canonical_name","menu_label","one_liner","menu_section","menu_tier","status","tier_anchor","owner_cluster_ids","frontend_route","api_group"],"title":"StandaloneProduct"},"StandaloneRunResponse":{"properties":{"ok":{"type":"boolean","title":"Ok"},"mocked":{"type":"boolean","title":"Mocked"},"blocked":{"type":"boolean","title":"Blocked"},"product":{"$ref":"#/components/schemas/StandaloneProduct"},"request_id":{"type":"string","title":"Request Id"},"accepted_at":{"type":"string","title":"Accepted At"},"next_action":{"type":"string","title":"Next Action"},"delegated_to":{"items":{"type":"string"},"type":"array","title":"Delegated To"},"payload_echo":{"type":"object","title":"Payload Echo"},"result":{"type":"object","title":"Result"},"execution_mode":{"type":"string","title":"Execution Mode","default":"standalone_facade"},"pipeline_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pipeline Id"},"preview":{"type":"boolean","title":"Preview","default":false}},"type":"object","required":["ok","mocked","blocked","product","request_id","accepted_at","next_action"],"title":"StandaloneRunResponse"},"StandingSnapshot":{"properties":{"owner_id":{"type":"string","title":"Owner Id"},"state":{"type":"string","enum":["FIRST_USE","COMPLETE","PARTIAL","HELD"],"title":"State"},"threads":{"items":{"$ref":"#/components/schemas/StandingThread"},"type":"array","title":"Threads","default":[]},"primary_thread_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Primary Thread Id"},"current_references":{"items":{"$ref":"#/components/schemas/CrossProductReference"},"type":"array","title":"Current References","default":[]},"last_good_references":{"items":{"$ref":"#/components/schemas/CrossProductReference"},"type":"array","title":"Last Good References","default":[]},"missing_ref_types":{"items":{"type":"string","enum":["PREFERENCE_PASSPORT_VERSION","DECISION_THREAD","RANK_DECISION","COLLEGE_DECISION","SEAT_DECISION","CHOICE_LIST_DECISION","ROUND_ACTION_DECISION","ADMISSION_COST_DECISION","PATHWAY_CONTEXT","PATHWAY_DECISION","PATHWAY_FRONTIER_DECISION","PATHWAY_PLAN","OUTCOME_EVIDENCE","REVIEW_CASE","REVIEW_DECISION","PATHWAY_PRODUCT_RECEIPT","PREDNEXT_PRODUCT_RECEIPT","CORRECTION_RECEIPT"]},"type":"array","title":"Missing Ref Types","default":[]},"unlinked_ref_types":{"items":{"type":"string","enum":["PREFERENCE_PASSPORT_VERSION","DECISION_THREAD","RANK_DECISION","COLLEGE_DECISION","SEAT_DECISION","CHOICE_LIST_DECISION","ROUND_ACTION_DECISION","ADMISSION_COST_DECISION","PATHWAY_CONTEXT","PATHWAY_DECISION","PATHWAY_FRONTIER_DECISION","PATHWAY_PLAN","OUTCOME_EVIDENCE","REVIEW_CASE","REVIEW_DECISION","PATHWAY_PRODUCT_RECEIPT","PREDNEXT_PRODUCT_RECEIPT","CORRECTION_RECEIPT"]},"type":"array","title":"Unlinked Ref Types","default":[]},"duplicate_authorities":{"items":{"$ref":"#/components/schemas/DuplicateAuthorityFinding"},"type":"array","title":"Duplicate Authorities","default":[]},"broken_lineage_ref_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Broken Lineage Ref Ids","default":[]},"open_correction_ref_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Open Correction Ref Ids","default":[]},"reason_codes":{"items":{"type":"string"},"type":"array","title":"Reason Codes","default":[]},"generated_at":{"type":"string","format":"date-time","title":"Generated At"},"production_release_authorised":{"type":"boolean","enum":[false],"const":false,"title":"Production Release Authorised","default":false}},"additionalProperties":false,"type":"object","required":["owner_id","state","generated_at"],"title":"StandingSnapshot","description":"Where a family stands, resolved from who is signed in.\n\nThe decision room used to find this from a pointer in the browser's local\nstorage, which meant a family's own chain existed on one device and was\ninvisible on every other one -- a new phone, a parent's laptop, a cleared\ncache. This read takes no pointer and no thread id: the server knows who is\nasking and finds their chains itself.\n\n`state` is FIRST_USE when they have no chain yet. That is a real state with\na real screen, not an error, and it must never be reported as a failure to\nload -- the difference between \"you have not started\" and \"we lost it\" is\nthe whole trust of this product."},"StandingThread":{"properties":{"thread_id":{"type":"string","format":"uuid","title":"Thread Id"},"thread_type":{"type":"string","title":"Thread Type"},"status":{"type":"string","title":"Status"},"version_no":{"type":"integer","minimum":1.0,"title":"Version No"}},"additionalProperties":false,"type":"object","required":["thread_id","thread_type","status","version_no"],"title":"StandingThread","description":"One of a family's decision chains, as the standing read finds it."},"StartReq":{"properties":{"exam":{"type":"string","title":"Exam","description":"NEET | JEE_MAIN | JEE_ADV"},"referrer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Referrer","description":"Origin: web | whatsapp | coaching_center"}},"type":"object","required":["exam"],"title":"StartReq"},"StartRunRequest":{"properties":{"commit_sha":{"type":"string","pattern":"^[a-f0-9]{40}$","title":"Commit Sha"},"image_digest":{"type":"string","pattern":"^sha256:[a-f0-9]{64}$","title":"Image Digest"},"environment":{"type":"string","enum":["local","staging","production_equivalent","production"],"title":"Environment"},"migration_versions":{"items":{"type":"string"},"type":"array","maxItems":64,"minItems":1,"title":"Migration Versions"},"schema_versions":{"additionalProperties":{"type":"string"},"type":"object","maxProperties":64,"minProperties":1,"title":"Schema Versions"},"flags":{"type":"object","title":"Flags"},"providers":{"additionalProperties":{"type":"string"},"type":"object","title":"Providers"},"actor_fixtures":{"additionalProperties":{"type":"string"},"type":"object","maxProperties":32,"minProperties":1,"title":"Actor Fixtures"},"frozen_at":{"type":"string","format":"date-time","title":"Frozen At"},"run_id":{"type":"string","format":"uuid","title":"Run Id"},"expected_version":{"type":"integer","maximum":0.0,"minimum":0.0,"title":"Expected Version","default":0}},"additionalProperties":false,"type":"object","required":["commit_sha","image_digest","environment","migration_versions","schema_versions","actor_fixtures","frozen_at","run_id"],"title":"StartRunRequest"},"StartingPoint":{"properties":{"ref_type":{"type":"string","title":"Ref Type"},"ref_id":{"type":"string","format":"uuid","title":"Ref Id"},"ref_version":{"type":"integer","title":"Ref Version"},"ref_digest":{"type":"string","title":"Ref Digest"},"owner_id":{"type":"string","title":"Owner Id"},"state":{"type":"string","title":"State"},"label":{"type":"string","title":"Label"},"outcome":{"type":"string","title":"Outcome"},"suggested_trigger":{"type":"string","title":"Suggested Trigger"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"exam_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Exam Type"}},"additionalProperties":false,"type":"object","required":["ref_type","ref_id","ref_version","ref_digest","owner_id","state","label","outcome","suggested_trigger"],"title":"StartingPoint"},"StartingPointList":{"properties":{"items":{"items":{"$ref":"#/components/schemas/StartingPoint"},"type":"array","title":"Items"},"seat_check_href":{"type":"string","title":"Seat Check Href","default":"/predict/seat"}},"additionalProperties":false,"type":"object","required":["items"],"title":"StartingPointList"},"StatePolicy":{"properties":{"guard_mode":{"type":"string","pattern":"^(none|confirm|forbidden_during_active_run)$","title":"Guard Mode"},"preserve_keys":{"items":{"type":"string"},"type":"array","maxItems":64,"title":"Preserve Keys"},"reset_keys":{"items":{"type":"string"},"type":"array","maxItems":64,"title":"Reset Keys"}},"additionalProperties":false,"type":"object","required":["guard_mode"],"title":"StatePolicy"},"StepBody":{"properties":{"content_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Content Id"},"request_id":{"type":"string","maxLength":64,"minLength":8,"title":"Request Id"}},"type":"object","required":["request_id"],"title":"StepBody"},"StepCommand":{"properties":{"run_id":{"type":"string","format":"uuid","title":"Run Id"},"step_id":{"type":"string","format":"uuid","title":"Step Id"},"step":{"$ref":"#/components/schemas/SliceBStep"},"result":{"$ref":"#/components/schemas/os_runtime__aos_pr23_golden_slice_b__models__EvidenceResult"},"route_path":{"type":"string","maxLength":240,"minLength":1,"title":"Route Path"},"receipt_ref":{"type":"string","maxLength":160,"minLength":8,"title":"Receipt Ref"},"notes":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Notes"},"recorded_at":{"type":"string","format":"date-time","title":"Recorded At"}},"type":"object","required":["run_id","step","result","route_path","receipt_ref"],"title":"StepCommand"},"StepOutcomeBody":{"properties":{"outcome":{"type":"string","title":"Outcome"}},"type":"object","required":["outcome"],"title":"StepOutcomeBody"},"StepRef":{"properties":{"step_digest":{"type":"string","title":"Step Digest"},"edge_id":{"type":"string","format":"uuid","title":"Edge Id"},"from_entity_id":{"type":"string","format":"uuid","title":"From Entity Id"},"to_entity_id":{"type":"string","format":"uuid","title":"To Entity Id"},"step_no":{"type":"integer","minimum":1.0,"title":"Step No"}},"additionalProperties":false,"type":"object","required":["step_digest","edge_id","from_entity_id","to_entity_id","step_no"],"title":"StepRef","description":"One step, identified by what makes it that step rather than its position.\n\n`step_digest` is the identity. Two routes can reach the same edge at\ndifferent positions, and calling those different steps would report a\ndifference that does not exist."},"StepResult":{"properties":{"step_id":{"type":"integer","title":"Step Id"},"step_text":{"type":"string","title":"Step Text"},"score_awarded":{"type":"number","title":"Score Awarded"},"max_score":{"type":"number","title":"Max Score"},"confidence":{"type":"number","title":"Confidence"},"feedback":{"type":"string","title":"Feedback"},"error_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Type"},"depends_on":{"items":{"type":"integer"},"type":"array","title":"Depends On"}},"type":"object","required":["step_id","step_text","score_awarded","max_score","confidence","feedback"],"title":"StepResult"},"StopBody":{"properties":{"purpose":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Purpose"},"contract_version":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Contract Version"},"expected_version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expected Version"},"idempotency_key":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Idempotency Key"},"reason_code":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Reason Code"},"stop_evidence_ref":{"anyOf":[{"type":"string","maxLength":600},{"type":"null"}],"title":"Stop Evidence Ref"},"stop_evidence_digest":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Stop Evidence Digest"}},"additionalProperties":false,"type":"object","title":"StopBody"},"StrengthBody":{"properties":{"strength":{"type":"string","pattern":"^(soft|hard)$","title":"Strength"}},"type":"object","required":["strength"],"title":"StrengthBody"},"StudentCtx":{"properties":{"student_id":{"type":"string","title":"Student Id"},"tier":{"allOf":[{"$ref":"#/components/schemas/Tier"}],"default":"FREE"},"is_minor":{"type":"boolean","title":"Is Minor","default":false},"age_established":{"type":"boolean","title":"Age Established","default":false},"has_consent":{"type":"boolean","title":"Has Consent","default":true},"persona_pref":{"type":"object","title":"Persona Pref","default":{"name":"aria","tone":"encouraging","language":"en"}},"role":{"type":"string","title":"Role","default":"student"}},"type":"object","required":["student_id"],"title":"StudentCtx","description":"Authenticated student context for cluster + tier enforcement.\n\nPopulated by get_current_student dependency. Routes use this to:\n  - Identify the student (student_id, VARCHAR(64) — e.g., \"stu_abc123\")\n  - Enforce tier-based access (tier)\n  - Apply DPDP §9 essential-service-only mode (is_minor + has_consent)\n  - Render persona-aware UI hints (persona_pref)"},"StudentGoalUpdateRequest":{"properties":{"target_rank":{"anyOf":[{"type":"integer","maximum":1000000.0,"minimum":1.0},{"type":"null"}],"title":"Target Rank"},"exam_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Exam Date"},"revoke":{"type":"boolean","title":"Revoke","default":false},"expected_version":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Expected Version"}},"type":"object","title":"StudentGoalUpdateRequest","description":"The student's explicit exam promise used by countdown + rank tracking."},"StudyActionCandidate":{"properties":{"action_id":{"type":"string","maxLength":160,"minLength":1,"title":"Action Id"},"action_type":{"type":"string","enum":["practice","drill","ask_followup","notes","grader"],"title":"Action Type"},"target_ref":{"type":"string","maxLength":300,"minLength":1,"title":"Target Ref"},"context_ref":{"type":"string","maxLength":300,"minLength":1,"title":"Context Ref"},"return_ref":{"type":"string","maxLength":500,"minLength":1,"title":"Return Ref"},"available":{"type":"boolean","title":"Available","default":true},"access_allowed":{"type":"boolean","title":"Access Allowed","default":true},"authority_receipt_ref":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Authority Receipt Ref"}},"additionalProperties":false,"type":"object","required":["action_id","action_type","target_ref","context_ref","return_ref"],"title":"StudyActionCandidate"},"SubjectIn":{"properties":{"ref_type":{"type":"string","maxLength":120,"minLength":1,"title":"Ref Type"},"ref_id":{"type":"string","maxLength":127,"minLength":2,"title":"Ref Id"},"version":{"type":"integer","maximum":2147483647.0,"minimum":1.0,"title":"Version","default":1},"digest":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Digest"}},"additionalProperties":false,"type":"object","required":["ref_type","ref_id"],"title":"SubjectIn","description":"What the decision was about, by the owning screen's own reference."},"SubjectSlicePublicationBindingBody":{"properties":{"package_version_id":{"type":"string","format":"uuid","title":"Package Version Id"},"term_definition_id":{"type":"string","format":"uuid","title":"Term Definition Id"},"concept_id":{"type":"string","format":"uuid","title":"Concept Id"}},"additionalProperties":false,"type":"object","required":["package_version_id","term_definition_id","concept_id"],"title":"SubjectSlicePublicationBindingBody"},"SubjectivePage":{"properties":{"image_b64":{"type":"string","minLength":100,"title":"Image B64"},"page_num":{"type":"integer","maximum":50.0,"minimum":1.0,"title":"Page Num","default":1},"question_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Question Id"},"question_type":{"anyOf":[{"type":"string","maxLength":24},{"type":"null"}],"title":"Question Type","default":"derivation"},"max_marks":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Max Marks","default":5},"subject":{"anyOf":[{"type":"string","maxLength":24},{"type":"null"}],"title":"Subject"}},"type":"object","required":["image_b64"],"title":"SubjectivePage"},"SubjectiveUploadBody":{"properties":{"pages":{"items":{"$ref":"#/components/schemas/SubjectivePage"},"type":"array","maxItems":20,"minItems":1,"title":"Pages"},"exam_context":{"type":"string","maxLength":16,"title":"Exam Context","default":"JEE"},"coaching_brand":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Coaching Brand"},"mock_date":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Mock Date"},"subject":{"anyOf":[{"type":"string","maxLength":24},{"type":"null"}],"title":"Subject","default":"physics"}},"type":"object","required":["pages"],"title":"SubjectiveUploadBody"},"SubmitForwardConstraintResponse":{"properties":{"state":{"type":"string","enum":["DECLARED","UNABLE_TO_PROVIDE"],"title":"State"},"value":{"title":"Value"},"supersedes_response_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Supersedes Response Id"}},"additionalProperties":false,"type":"object","required":["state"],"title":"SubmitForwardConstraintResponse"},"SubmitInstrumentResponsesRequest":{"properties":{"context_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Context Id"},"responses":{"additionalProperties":{"type":"integer"},"type":"object","maxProperties":30,"minProperties":1,"title":"Responses"}},"additionalProperties":false,"type":"object","required":["responses"],"title":"SubmitInstrumentResponsesRequest"},"SubmitReviewDecisionRequest":{"properties":{"decision_code":{"type":"string","enum":["ADVISE_ACCEPT","ADVISE_RECONSIDER","ADVISE_ESCALATE","NO_ADVICE"],"title":"Decision Code"},"rationale_codes":{"items":{"type":"string"},"type":"array","maxItems":20,"minItems":1,"title":"Rationale Codes"},"advisory_summary":{"type":"string","maxLength":500,"minLength":3,"title":"Advisory Summary"},"next_action_code":{"anyOf":[{"type":"string","pattern":"^[A-Z][A-Z0-9_]{2,79}$"},{"type":"null"}],"title":"Next Action Code"},"disagreement_field_paths":{"items":{"type":"string"},"type":"array","title":"Disagreement Field Paths","default":[]}},"additionalProperties":false,"type":"object","required":["decision_code","rationale_codes","advisory_summary"],"title":"SubmitReviewDecisionRequest"},"SuggestionDecideBody":{"properties":{"decision":{"type":"string","title":"Decision"}},"type":"object","required":["decision"],"title":"SuggestionDecideBody"},"SummaryQuery":{"properties":{"force_refresh":{"type":"boolean","title":"Force Refresh","default":false}},"type":"object","title":"SummaryQuery"},"SupportCaseCreateBody":{"properties":{"case_type":{"type":"string","enum":["billing_help","activation_help","refund","affordability","relationship_access","privacy","other"],"title":"Case Type"},"public_summary":{"type":"string","maxLength":1200,"minLength":3,"title":"Public Summary"},"relationship_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Relationship Id"},"checkout_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Checkout Id"}},"type":"object","required":["case_type","public_summary"],"title":"SupportCaseCreateBody"},"SuppressBody":{"properties":{"reason":{"type":"string","maxLength":500,"minLength":3,"title":"Reason"}},"type":"object","required":["reason"],"title":"SuppressBody"},"SuppressionCommand":{"properties":{"student_id":{"type":"string","maxLength":128,"minLength":1,"title":"Student Id"},"product_key":{"type":"string","maxLength":128,"minLength":1,"title":"Product Key"},"host_surface":{"anyOf":[{"type":"string","enum":["home","grade_result","ask","practice","repair","notes","ncert","pyq","marketplace"]},{"type":"null"}],"title":"Host Surface"},"reason":{"type":"string","maxLength":160,"minLength":1,"title":"Reason"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"}},"type":"object","required":["student_id","product_key","reason","actor_id"],"title":"SuppressionCommand"},"SuppressionPolicyCommand":{"properties":{"duration_seconds":{"type":"integer","exclusiveMinimum":0.0,"title":"Duration Seconds"}},"additionalProperties":false,"type":"object","required":["duration_seconds"],"title":"SuppressionPolicyCommand"},"SurfaceEventCreate":{"properties":{"event_type":{"type":"string","maxLength":96,"minLength":1,"title":"Event Type"},"route":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Route"},"surface_id":{"anyOf":[{"type":"string","maxLength":96},{"type":"null"}],"title":"Surface Id"},"object_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Object Id"},"product_id":{"anyOf":[{"type":"string","maxLength":96},{"type":"null"}],"title":"Product Id","default":"ai-grader"},"concept_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Concept Id"},"source_event_id":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Source Event Id"},"payload":{"type":"object","title":"Payload"}},"type":"object","required":["event_type"],"title":"SurfaceEventCreate"},"SyllabusDisplay":{"properties":{"subject":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"},"chapter":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chapter"},"topic":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Topic"},"concept":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Concept"}},"additionalProperties":false,"type":"object","title":"SyllabusDisplay"},"SyllabusLevel":{"type":"string","enum":["subject","unit","chapter","topic","concept"],"title":"SyllabusLevel"},"SyllabusNodeRef":{"properties":{"curriculum_provider":{"type":"string","maxLength":64,"minLength":1,"title":"Curriculum Provider"},"curriculum_version":{"type":"string","maxLength":128,"minLength":1,"title":"Curriculum Version"},"exam_lane":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Exam Lane"},"subject_id":{"type":"string","maxLength":128,"minLength":1,"title":"Subject Id"},"unit_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Unit Id"},"chapter_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Chapter Id"},"topic_id":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Topic Id"},"concept_id":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Concept Id"},"deepest_level":{"$ref":"#/components/schemas/SyllabusLevel"},"mapping_status":{"$ref":"#/components/schemas/MappingStatus"},"mapping_confidence":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Mapping Confidence"},"source_refs":{"items":{"type":"string"},"type":"array","maxItems":32,"title":"Source Refs"},"display":{"$ref":"#/components/schemas/SyllabusDisplay"}},"additionalProperties":false,"type":"object","required":["curriculum_provider","curriculum_version","subject_id","deepest_level","mapping_status"],"title":"SyllabusNodeRef","description":"One versioned academic coordinate at the deepest honest level."},"SyncBatchCommand":{"properties":{"sync_id":{"type":"string","format":"uuid","title":"Sync Id"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"client_id":{"type":"string","maxLength":128,"minLength":1,"title":"Client Id"},"queue_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":250,"minItems":1,"title":"Queue Ids"},"started_at":{"type":"string","format":"date-time","title":"Started At"},"network_class":{"type":"string","maxLength":80,"title":"Network Class","default":"unknown"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os20_offline_sync__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["actor_id","client_id","queue_ids","evidence_refs"],"title":"SyncBatchCommand"},"SyncBatchRequest":{"properties":{"actions":{"items":{"type":"object"},"type":"array","title":"Actions"}},"type":"object","required":["actions"],"title":"SyncBatchRequest"},"SyncEvent":{"properties":{"idempotency_key":{"type":"string","title":"Idempotency Key"},"doc_type":{"type":"string","title":"Doc Type"},"doc_id":{"type":"string","title":"Doc Id"},"client_id":{"type":"string","title":"Client Id"},"counter":{"type":"integer","title":"Counter"},"wall_clock_ms":{"type":"integer","title":"Wall Clock Ms"},"payload":{"type":"object","title":"Payload"}},"type":"object","required":["idempotency_key","doc_type","doc_id","client_id","counter","wall_clock_ms","payload"],"title":"SyncEvent"},"SyncPushRequest":{"properties":{"student_id":{"type":"string","title":"Student Id","default":""},"pending_events":{"items":{"type":"object"},"type":"array","title":"Pending Events"},"client_state_hash":{"type":"string","title":"Client State Hash"},"last_sync_ts":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Sync Ts"}},"type":"object","required":["pending_events","client_state_hash"],"title":"SyncPushRequest"},"SyncReconcileIn":{"properties":{"authority_receipt_ref":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Authority Receipt Ref"}},"type":"object","title":"SyncReconcileIn"},"SyncResultCommand":{"properties":{"sync_id":{"type":"string","format":"uuid","title":"Sync Id"},"queue_id":{"type":"string","format":"uuid","title":"Queue Id"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"result":{"type":"string","enum":["SUCCESS","FAILED","CONFLICT","PARTIAL"],"title":"Result"},"server_receipt_id":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"Server Receipt Id"},"conflict_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Conflict Id"},"reconciled_at":{"type":"string","format":"date-time","title":"Reconciled At"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os20_offline_sync__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["sync_id","queue_id","actor_id","result","evidence_refs"],"title":"SyncResultCommand"},"TasterRequest":{"properties":{"student_id":{"type":"string","title":"Student Id"},"subject":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"}},"type":"object","required":["student_id"],"title":"TasterRequest"},"TaxonomyLevel":{"type":"string","enum":["concept_cluster","chapter_bucket","subject_bucket"],"title":"TaxonomyLevel"},"TeacherAssignedWorkUpdate":{"properties":{"status":{"anyOf":[{"type":"string","enum":["withdrawn"],"const":"withdrawn"},{"type":"null"}],"title":"Status"},"due_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Due At"},"clear_due_at":{"type":"boolean","title":"Clear Due At","default":false}},"type":"object","title":"TeacherAssignedWorkUpdate"},"TeacherCheck":{"properties":{"check_type":{"type":"string","pattern":"^(identity|qualification|subject_competence|sample_class)$","title":"Check Type"},"result":{"type":"string","pattern":"^(pending|passed|failed)$","title":"Result"},"note":{"type":"string","maxLength":800,"title":"Note","default":""}},"type":"object","required":["check_type","result"],"title":"TeacherCheck"},"TeacherNote":{"properties":{"note":{"type":"string","maxLength":800,"title":"Note","default":""}},"type":"object","title":"TeacherNote"},"TeacherVerificationDecision":{"properties":{"subject":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"}},"type":"object","title":"TeacherVerificationDecision"},"TeacherVerificationRequest":{"properties":{"institution_code":{"type":"string","title":"Institution Code"}},"type":"object","required":["institution_code"],"title":"TeacherVerificationRequest"},"TelemetryEnvelope":{"properties":{"event_name":{"type":"string","pattern":"^[a-z][a-z0-9._-]{2,159}$","title":"Event Name"},"logical_pr":{"type":"string","enum":["PKG-PR05"],"const":"PKG-PR05","title":"Logical Pr","default":"PKG-PR05"},"product_id":{"type":"string","pattern":"^[a-z0-9][a-z0-9._-]{1,119}$","title":"Product Id"},"source_product_id":{"anyOf":[{"type":"string","pattern":"^[a-z0-9][a-z0-9._-]{1,119}$"},{"type":"null"}],"title":"Source Product Id"},"decision_id":{"type":"string","maxLength":220,"minLength":4,"title":"Decision Id"},"version_refs":{"items":{"type":"string"},"type":"array","maxItems":32,"title":"Version Refs"},"state":{"type":"string","maxLength":64,"minLength":1,"title":"State"},"reason_codes":{"items":{"type":"string"},"type":"array","maxItems":32,"minItems":1,"title":"Reason Codes"},"actor_class":{"type":"string","enum":["student","parent","teacher","reviewer","operator","service"],"title":"Actor Class"},"entry_mode":{"type":"string","maxLength":80,"minLength":1,"title":"Entry Mode"},"receipt_refs":{"items":{"type":"string"},"type":"array","maxItems":32,"minItems":1,"title":"Receipt Refs"},"payload":{"type":"object","title":"Payload"}},"additionalProperties":false,"type":"object","required":["event_name","product_id","decision_id","state","reason_codes","actor_class","entry_mode","receipt_refs"],"title":"TelemetryEnvelope"},"TemplateBody":{"properties":{"key":{"type":"string","maxLength":40,"pattern":"^[a-z_]+$","title":"Key"},"title":{"type":"string","maxLength":120,"minLength":3,"title":"Title"},"body_text":{"type":"string","maxLength":4000,"minLength":10,"title":"Body Text"}},"type":"object","required":["key","title","body_text"],"title":"TemplateBody"},"TemplateStartRequest":{"properties":{"idempotency_key":{"type":"string","maxLength":80,"minLength":8,"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["idempotency_key"],"title":"TemplateStartRequest"},"TenantScope":{"properties":{"all_tenants":{"type":"boolean","title":"All Tenants","default":false},"tenant_ids":{"items":{"type":"string"},"type":"array","maxItems":100,"title":"Tenant Ids"}},"additionalProperties":false,"type":"object","title":"TenantScope"},"TermPlacement":{"properties":{"state":{"type":"string","enum":["PLACED","PUBLISHED_TERM_PASSED","NO_TERM_PUBLISHED"],"title":"State"},"reason_code":{"type":"string","title":"Reason Code"},"as_of":{"type":"string","format":"date","title":"As Of"},"window":{"anyOf":[{"$ref":"#/components/schemas/TermWindow"},{"type":"null"}]},"academic_term":{"anyOf":[{"$ref":"#/components/schemas/AcademicTermRef"},{"type":"null"}]},"academic_term_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Academic Term Reason"},"last_passed_window":{"anyOf":[{"$ref":"#/components/schemas/TermWindow"},{"type":"null"}]},"calendar_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Calendar Version"}},"additionalProperties":false,"type":"object","required":["state","reason_code","as_of"],"title":"TermPlacement","description":"Where the target's earliest published window falls, or why nothing can be placed.\n\n`window` is the earliest published window linked to the target that has not closed by `as_of`; it is not a promise that the\nlearner can take it (gates are judged separately). `academic_term` is the published academic term / school year that contains\nthe window's start, and is None with a reason when none is published or none contains it. No date here is ever computed:\nevery date is a published calendar fact, named by `fact_ref`."},"TermWindow":{"properties":{"fact_ref":{"type":"string","title":"Fact Ref"},"event_kind":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Kind"},"event_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Status"},"start":{"type":"string","format":"date","title":"Start"},"end":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End"},"window_state":{"type":"string","enum":["OPEN_NOW","UPCOMING","ENDED"],"title":"Window State"}},"additionalProperties":false,"type":"object","required":["fact_ref","start","window_state"],"title":"TermWindow","description":"A published calendar window linked to the target. Dates are India dates (the sources are Indian authorities)."},"TerminalAcceptanceReceipt":{"properties":{"receipt_id":{"type":"string","format":"uuid","title":"Receipt Id"},"candidate_id":{"type":"string","format":"uuid","title":"Candidate Id"},"candidate_commit":{"type":"string","title":"Candidate Commit"},"state":{"type":"string","enum":["READY_FOR_OS18","NO_GO_EXTERNAL_GATES","NO_GO_RUNTIME_PROOF","NO_GO_CORRECTION_OPEN","NO_GO_MODEL_CARD_HELD","NO_GO_CANDIDATE_DRIFT"],"title":"State"},"secondary_states":{"items":{"type":"string","enum":["READY_FOR_OS18","NO_GO_EXTERNAL_GATES","NO_GO_RUNTIME_PROOF","NO_GO_CORRECTION_OPEN","NO_GO_MODEL_CARD_HELD","NO_GO_CANDIDATE_DRIFT"]},"type":"array","title":"Secondary States"},"evidence_families":{"items":{"$ref":"#/components/schemas/EvidenceFamilyProjection"},"type":"array","title":"Evidence Families"},"drifted_components":{"items":{"type":"string"},"type":"array","title":"Drifted Components"},"open_correction_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Open Correction Ids"},"held_model_card_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Held Model Card Ids"},"external_gates":{"items":{"type":"string"},"type":"array","title":"External Gates"},"reason_codes":{"items":{"type":"string"},"type":"array","title":"Reason Codes"},"receipt_digest":{"type":"string","title":"Receipt Digest"},"compiled_at":{"type":"string","format":"date-time","title":"Compiled At"},"ready_for_os18_review":{"type":"boolean","title":"Ready For Os18 Review"},"production_release_authorised":{"type":"boolean","enum":[false],"const":false,"title":"Production Release Authorised","default":false}},"additionalProperties":false,"type":"object","required":["receipt_id","candidate_id","candidate_commit","state","secondary_states","evidence_families","drifted_components","open_correction_ids","held_model_card_ids","external_gates","reason_codes","receipt_digest","compiled_at","ready_for_os18_review"],"title":"TerminalAcceptanceReceipt"},"TerminalMutationEnvelope":{"properties":{"receipt":{"type":"object","title":"Receipt"},"resource":{"type":"object","title":"Resource"}},"additionalProperties":false,"type":"object","required":["receipt","resource"],"title":"TerminalMutationEnvelope"},"ThreadBindRequest":{"properties":{"expected_case_version":{"type":"integer","minimum":1.0,"title":"Expected Case Version"},"entry_mode":{"type":"string","maxLength":80,"minLength":1,"title":"Entry Mode","default":"insights_repair"},"return_route":{"type":"string","enum":["/insights/case-file"],"const":"/insights/case-file","title":"Return Route","default":"/insights/case-file"}},"additionalProperties":false,"type":"object","required":["expected_case_version"],"title":"ThreadBindRequest"},"ThreadLaunchCommand":{"properties":{"thread_id":{"type":"string","format":"uuid","title":"Thread Id"},"truth_id":{"type":"string","format":"uuid","title":"Truth Id"},"owning_product_id":{"type":"string","pattern":"^[a-z0-9][a-z0-9._-]{1,119}$","title":"Owning Product Id"},"source_session_ref":{"$ref":"#/components/schemas/ObjectRef"},"academic_context":{"$ref":"#/components/schemas/AcademicContextRef"},"host_surface":{"type":"string","enum":["home","grade_result","ask","practice","repair","notes","ncert","pyq","marketplace"],"title":"Host Surface"},"source_route":{"type":"string","pattern":"^/[A-Za-z0-9/_?&=.%:-]*$","title":"Source Route"},"return_route":{"type":"string","pattern":"^/[A-Za-z0-9/_?&=.%:-]*$","title":"Return Route"},"resumable_state_ref":{"$ref":"#/components/schemas/SafeResumableStateRef"},"entry_mode":{"type":"string","maxLength":80,"minLength":1,"title":"Entry Mode"},"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version"}},"additionalProperties":false,"type":"object","required":["thread_id","truth_id","owning_product_id","source_session_ref","academic_context","host_surface","source_route","return_route","resumable_state_ref","entry_mode","expected_version"],"title":"ThreadLaunchCommand"},"ThreadResolutionCommand":{"properties":{"context":{"$ref":"#/components/schemas/ProductThreadContext"},"candidates":{"items":{"$ref":"#/components/schemas/ProductCandidate"},"type":"array","maxItems":12,"title":"Candidates"}},"type":"object","required":["context"],"title":"ThreadResolutionCommand"},"ThreadReturnCommand":{"properties":{"thread_id":{"type":"string","format":"uuid","title":"Thread Id"},"owning_session_ref":{"$ref":"#/components/schemas/ObjectRef"},"result_ref":{"$ref":"#/components/schemas/ObjectRef"},"return_route":{"type":"string","pattern":"^/[A-Za-z0-9/_?&=.%:-]*$","title":"Return Route"},"resumable_state_ref":{"anyOf":[{"$ref":"#/components/schemas/SafeResumableStateRef"},{"type":"null"}]},"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"}},"additionalProperties":false,"type":"object","required":["thread_id","owning_session_ref","result_ref","return_route","expected_version"],"title":"ThreadReturnCommand"},"ThreadReturnRequest":{"properties":{"reassessment_outcome_id":{"type":"string","format":"uuid","title":"Reassessment Outcome Id"},"expected_thread_version":{"type":"integer","minimum":1.0,"title":"Expected Thread Version"},"expected_case_version":{"type":"integer","minimum":1.0,"title":"Expected Case Version"}},"additionalProperties":false,"type":"object","required":["reassessment_outcome_id","expected_thread_version","expected_case_version"],"title":"ThreadReturnRequest"},"ThreadShownCommand":{"properties":{"thread_id":{"type":"string","format":"uuid","title":"Thread Id"},"student_id":{"type":"string","maxLength":128,"minLength":1,"title":"Student Id"},"surface":{"type":"string","enum":["home","grade_result","ask","practice","repair","notes","ncert","pyq","marketplace"],"title":"Surface"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os08_product_thread__models__EvidenceRef"},"type":"array","maxItems":24,"title":"Evidence Refs"},"shown_at":{"type":"string","format":"date-time","title":"Shown At"}},"type":"object","required":["thread_id","student_id","surface"],"title":"ThreadShownCommand"},"ThreadUseCommand":{"properties":{"thread_id":{"type":"string","format":"uuid","title":"Thread Id"},"owning_session_ref":{"$ref":"#/components/schemas/ObjectRef"},"meaningful_use_ref":{"$ref":"#/components/schemas/ObjectRef"},"resumable_state_ref":{"$ref":"#/components/schemas/SafeResumableStateRef"},"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"}},"additionalProperties":false,"type":"object","required":["thread_id","owning_session_ref","meaningful_use_ref","resumable_state_ref","expected_version"],"title":"ThreadUseCommand"},"ThresholdBody":{"properties":{"days":{"type":"integer","maximum":365.0,"minimum":1.0,"title":"Days"},"min_users":{"type":"integer","maximum":100000.0,"minimum":1.0,"title":"Min Users"}},"type":"object","required":["days","min_users"],"title":"ThresholdBody"},"Tier":{"type":"string","enum":["FREE","ACE","GROW","SCALE"],"title":"Tier"},"TileClickBody":{"properties":{"student_id":{"type":"string","maxLength":64,"minLength":1,"title":"Student Id"},"deep_link":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Deep Link"},"position":{"anyOf":[{"type":"integer","maximum":20.0,"minimum":0.0},{"type":"null"}],"title":"Position"}},"type":"object","required":["student_id"],"title":"TileClickBody"},"TileDismissBody":{"properties":{"student_id":{"type":"string","maxLength":64,"minLength":1,"title":"Student Id"}},"type":"object","required":["student_id"],"title":"TileDismissBody"},"TimeBucket":{"type":"string","enum":["weekday_morning","weekday_afternoon","weekday_evening","weekend","flexible_or_unknown"],"title":"TimeBucket"},"TimeComponent":{"properties":{"component_key":{"type":"string","pattern":"^[a-z0-9][a-z0-9._:-]{1,119}$","title":"Component Key"},"label":{"type":"string","maxLength":180,"minLength":2,"title":"Label"},"state":{"type":"string","enum":["KNOWN","UNKNOWN","CONTESTED","EXCLUDED"],"title":"State"},"minimum":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Minimum"},"expected":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Expected"},"maximum":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Maximum"},"unit":{"type":"string","enum":["DAYS","WEEKS","MONTHS","YEARS"],"title":"Unit","default":"MONTHS"},"source_refs":{"items":{"$ref":"#/components/schemas/SourceFactReference"},"type":"array","title":"Source Refs","default":[]}},"additionalProperties":false,"type":"object","required":["component_key","label","state"],"title":"TimeComponent"},"TimeEnvelopeProjection":{"properties":{"state":{"type":"string","enum":["READY","PARTIAL_SOURCE","SOURCE_STALE","HELD"],"title":"State"},"value":{"$ref":"#/components/schemas/RangeProjection"},"components":{"items":{"$ref":"#/components/schemas/TimeComponent"},"type":"array","title":"Components"},"unknown_components":{"items":{"type":"string"},"type":"array","title":"Unknown Components","default":[]},"stale_source_refs":{"items":{"type":"string"},"type":"array","title":"Stale Source Refs","default":[]},"reason_codes":{"items":{"type":"string"},"type":"array","title":"Reason Codes","default":[]}},"additionalProperties":false,"type":"object","required":["state","value","components"],"title":"TimeEnvelopeProjection"},"TimelineEntry":{"properties":{"entry_id":{"type":"string","title":"Entry Id"},"kind":{"type":"string","enum":["DECISION","CHANGE","COVERAGE_GAP"],"title":"Kind"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"},"title":{"type":"string","title":"Title"},"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail"},"thread_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Thread Id"},"decision_record_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Decision Record Id"},"change_event_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Change Event Id"},"watch_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Watch Id"},"owner_product":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Owner Product"},"source_authority":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Authority"},"watch_state":{"anyOf":[{"type":"string","enum":["WATCHED","PARTLY_WATCHED","NOT_WATCHED","NOT_RECORDED"]},{"type":"null"}],"title":"Watch State"},"supported_impact_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Supported Impact Count"},"unsupported_impact_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Unsupported Impact Count"},"gap_state":{"anyOf":[{"type":"string","enum":["STOPPED","PAUSED","NEVER_WATCHABLE"]},{"type":"null"}],"title":"Gap State"},"gap_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gap Reason"},"last_success_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Success At"}},"additionalProperties":false,"type":"object","required":["entry_id","kind","occurred_at","title"],"title":"TimelineEntry"},"TimelineNew":{"properties":{"kind":{"type":"string","pattern":"^(started|detected|update|action|decision|customer|resolved)$","title":"Kind","default":"update"},"text":{"type":"string","maxLength":1200,"minLength":5,"title":"Text"},"happened_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Happened At"}},"type":"object","required":["text"],"title":"TimelineNew"},"TokenBody":{"properties":{"token":{"type":"string","maxLength":2048,"minLength":24,"title":"Token"}},"type":"object","required":["token"],"title":"TokenBody"},"TokenPayPurchaseBody":{"properties":{"student_id":{"type":"string","title":"Student Id"},"sku_id":{"type":"string","title":"Sku Id","description":"TPY-* SKU from sku_catalogue"}},"type":"object","required":["student_id","sku_id"],"title":"TokenPayPurchaseBody"},"TokenReserveBody":{"properties":{"capability":{"type":"string","maxLength":160,"minLength":3,"title":"Capability"},"target_command_ref":{"type":"string","maxLength":240,"minLength":3,"title":"Target Command Ref"}},"additionalProperties":false,"type":"object","required":["capability","target_command_ref"],"title":"TokenReserveBody"},"TokenResponse":{"properties":{"access_token":{"type":"string","title":"Access Token"},"refresh_token":{"type":"string","title":"Refresh Token"},"expires_in":{"type":"integer","title":"Expires In"},"token_type":{"type":"string","title":"Token Type","default":"bearer"},"user_id":{"type":"string","title":"User Id"},"role":{"type":"string","title":"Role"},"tier":{"type":"string","title":"Tier"},"is_new":{"type":"boolean","title":"Is New","default":false},"exam_target":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Exam Target"},"parent_invite":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Parent Invite"}},"type":"object","required":["access_token","refresh_token","expires_in","user_id","role","tier"],"title":"TokenResponse"},"Touch":{"properties":{"kind":{"type":"string","maxLength":64,"title":"Kind"},"id":{"type":"string","maxLength":160,"title":"Id"},"answer":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Answer"}},"type":"object","required":["kind","id"],"title":"Touch"},"TouchedDecision":{"properties":{"decision_record_id":{"type":"string","format":"uuid","title":"Decision Record Id"},"thread_id":{"type":"string","format":"uuid","title":"Thread Id"},"title":{"type":"string","title":"Title"},"decided_at":{"type":"string","format":"date-time","title":"Decided At"},"support_state":{"type":"string","enum":["SUPPORTED","UNSUPPORTED"],"title":"Support State"}},"additionalProperties":false,"type":"object","required":["decision_record_id","thread_id","title","decided_at","support_state"],"title":"TouchedDecision","description":"One saved decision a change touches. The citation behind it is on the change's own page."},"TouchedDecisions":{"properties":{"supported":{"items":{"$ref":"#/components/schemas/TouchedDecision"},"type":"array","title":"Supported","default":[]},"unsupported":{"items":{"$ref":"#/components/schemas/TouchedDecision"},"type":"array","title":"Unsupported","default":[]}},"additionalProperties":false,"type":"object","title":"TouchedDecisions","description":"Two lists, as on the change itself: proved by a stored citation, and unproven. Never merged."},"TranscriptCandidate":{"properties":{"candidate_id":{"type":"string","maxLength":160,"minLength":1,"title":"Candidate Id"},"provider_ref":{"type":"string","maxLength":240,"minLength":2,"title":"Provider Ref"},"text":{"type":"string","maxLength":16000,"minLength":1,"title":"Text"},"confidence":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Confidence"},"language":{"type":"string","maxLength":32,"minLength":2,"title":"Language"}},"additionalProperties":false,"type":"object","required":["candidate_id","provider_ref","text","confidence","language"],"title":"TranscriptCandidate"},"TranscriptConfirm":{"properties":{"candidate_id":{"type":"string","maxLength":160,"minLength":1,"title":"Candidate Id"},"confirmed_text":{"type":"string","maxLength":16000,"minLength":1,"title":"Confirmed Text"},"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"}},"additionalProperties":false,"type":"object","required":["candidate_id","confirmed_text","expected_version"],"title":"TranscriptConfirm"},"TranscriptPublication":{"properties":{"candidates":{"items":{"$ref":"#/components/schemas/TranscriptCandidate"},"type":"array","minItems":1,"title":"Candidates"},"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"}},"additionalProperties":false,"type":"object","required":["candidates","expected_version"],"title":"TranscriptPublication"},"TransformationCommand":{"properties":{"domain":{"type":"string","maxLength":64,"minLength":2,"title":"Domain"},"output_object_type":{"type":"string","maxLength":80,"minLength":1,"title":"Output Object Type"},"output_object_id":{"type":"string","maxLength":160,"minLength":1,"title":"Output Object Id"},"output_object_version":{"type":"string","maxLength":80,"minLength":1,"title":"Output Object Version"},"parent_snapshot_ids":{"items":{"type":"string"},"type":"array","maxItems":100,"minItems":1,"title":"Parent Snapshot Ids"},"transformation_type":{"type":"string","maxLength":80,"minLength":1,"title":"Transformation Type"},"transformation_version":{"type":"string","maxLength":80,"minLength":1,"title":"Transformation Version"},"parameters_hash":{"type":"string","maxLength":128,"minLength":16,"title":"Parameters Hash"}},"type":"object","required":["domain","output_object_type","output_object_id","output_object_version","parent_snapshot_ids","transformation_type","transformation_version","parameters_hash"],"title":"TransformationCommand"},"TransitionBody":{"properties":{"client_event_id":{"anyOf":[{"type":"string","maxLength":80,"minLength":8},{"type":"null"}],"title":"Client Event Id"}},"additionalProperties":false,"type":"object","title":"TransitionBody"},"TransitionCandidate":{"properties":{"target_entity_id":{"type":"string","format":"uuid","title":"Target Entity Id"},"route_decision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Route Decision Id"},"equivalence":{"items":{"$ref":"#/components/schemas/EquivalenceEvidence"},"type":"array","title":"Equivalence","default":[]},"required_bridge_entity_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Required Bridge Entity Ids","default":[]},"restarts_from_level":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Restarts From Level"}},"additionalProperties":false,"type":"object","required":["target_entity_id"],"title":"TransitionCandidate"},"TransitionRequest":{"properties":{"to_state":{"type":"string","enum":["PLANNED","STARTED","PRACTICE_ACTIVE","AWAITING_GRADE","GRADED","REPAIR_ACTIVE","MEMORY_UPDATED","NEXT_READY","COMPLETED","ABANDONED"],"title":"To State"},"reason":{"type":"string","title":"Reason"},"source_route":{"type":"string","title":"Source Route"},"evidence_refs":{"items":{"type":"object"},"type":"array","title":"Evidence Refs"},"payload":{"type":"object","title":"Payload"}},"additionalProperties":false,"type":"object","required":["to_state","reason","source_route"],"title":"TransitionRequest"},"TranslationCommand":{"properties":{"translation_id":{"type":"string","format":"uuid","title":"Translation Id"},"sharing_grant_id":{"type":"string","format":"uuid","title":"Sharing Grant Id"},"policy_id":{"type":"string","maxLength":128,"minLength":3,"title":"Policy Id"},"policy_version":{"type":"string","maxLength":32,"minLength":1,"title":"Policy Version"},"proof_type":{"type":"string","maxLength":80,"minLength":2,"title":"Proof Type"},"source_proof_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os12_parent_safe__models__EvidenceRef"},"type":"array","maxItems":64,"title":"Source Proof Refs"},"source_created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Source Created At"},"source_confidence":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Source Confidence"},"title":{"type":"string","maxLength":240,"minLength":1,"title":"Title"},"summary":{"type":"string","maxLength":2000,"title":"Summary","default":""},"metrics":{"type":"object","title":"Metrics"},"recommended_actions":{"items":{"type":"object"},"type":"array","maxItems":16,"title":"Recommended Actions"},"uncertainty":{"type":"object","title":"Uncertainty"},"created_by":{"type":"string","maxLength":128,"minLength":1,"title":"Created By"},"concept_ref":{"anyOf":[{"$ref":"#/components/schemas/GovernedConceptReference"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["sharing_grant_id","policy_id","policy_version","proof_type","title","created_by"],"title":"TranslationCommand"},"TranslationKeyCommand":{"properties":{"key":{"type":"string","maxLength":240,"minLength":3,"title":"Key"},"locale":{"type":"string","maxLength":20,"minLength":2,"title":"Locale"},"bundle_version":{"type":"string","maxLength":80,"minLength":1,"title":"Bundle Version"},"surface":{"type":"string","maxLength":120,"minLength":2,"title":"Surface"},"copy_class":{"type":"string","enum":["normal","legal","consent","entitlement","safety"],"title":"Copy Class","default":"normal"},"fallback_allowed":{"type":"boolean","title":"Fallback Allowed","default":true},"reviewed":{"type":"boolean","title":"Reviewed","default":false},"text_hash":{"type":"string","maxLength":128,"minLength":32,"title":"Text Hash"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os19_reach__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["key","locale","bundle_version","surface","text_hash","actor_id","evidence_refs"],"title":"TranslationKeyCommand"},"TraversalContext":{"properties":{"context_version":{"type":"string","title":"Context Version","default":"1.0"},"traversal_id":{"type":"string","maxLength":128,"minLength":8,"title":"Traversal Id"},"node":{"$ref":"#/components/schemas/SyllabusNodeRef"},"origin":{"$ref":"#/components/schemas/TraversalOrigin"},"intent":{"$ref":"#/components/schemas/TraversalIntent"},"target":{"anyOf":[{"$ref":"#/components/schemas/TraversalTarget"},{"type":"null"}]},"return_trail":{"items":{"$ref":"#/components/schemas/ReturnTrailEntry"},"type":"array","maxItems":3,"title":"Return Trail"},"state_policy":{"$ref":"#/components/schemas/StatePolicy"},"correlation_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Correlation Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"privacy":{"$ref":"#/components/schemas/TraversalPrivacy"}},"additionalProperties":false,"type":"object","required":["traversal_id","node","origin","intent","state_policy"],"title":"TraversalContext"},"TraversalDecisionRequest":{"properties":{"context_id":{"type":"string","format":"uuid","title":"Context Id"},"seed_entity_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":100,"minItems":1,"title":"Seed Entity Ids"},"target_entity_types":{"items":{"type":"string","enum":["DEGREE","CREDENTIAL","PROGRAMME","SKILL","OCCUPATION","INSTITUTION","APPRENTICESHIP","VOCATIONAL_ROUTE","PROFESSIONAL_ROUTE","CAREER_FAMILY","OCCUPATIONAL_CLASSIFICATION_NODE","JOB_ROLE","QUALIFICATION_PACK","PROFESSION","REGULATORY_CLASS","EDUCATION_STAGE","SUBJECT_COMBINATION","CAPABILITY","TASK","TOOL"]},"type":"array","minItems":1,"title":"Target Entity Types"},"allowed_edge_types":{"items":{"type":"string","enum":["REQUIRES","LEADS_TO","TEACHES","AWARDS","OFFERED_BY","EQUIVALENT_TO","PROGRESSES_TO","QUALIFIES_FOR","TRANSITIONS_TO","CONTEXTUALISES","MAPS_TO","ALIGNS_TO","MEMBER_OF","ALLOWS_ENTRY_TO","ALTERNATIVE_TO","BRIDGES_TO","REQUIRES_CAPABILITY","PERFORMS_TASK"]},"type":"array","title":"Allowed Edge Types","default":[]},"limits":{"allOf":[{"$ref":"#/components/schemas/TraversalLimits"}],"default":{"max_depth":6,"node_cap":500,"edge_cap":1000,"max_routes":50}},"include_conditional":{"type":"boolean","title":"Include Conditional","default":true},"include_review_required":{"type":"boolean","title":"Include Review Required","default":true},"target_entity_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Target Entity Id"}},"additionalProperties":false,"type":"object","required":["context_id","seed_entity_ids","target_entity_types"],"title":"TraversalDecisionRequest"},"TraversalIntent":{"type":"string","enum":["switch_scope","practice_this","drill_this","open_flashcards","ask_doubt","open_pyq","read_source","open_capsule","save_note","open_visualiser","teacher_help","return"],"title":"TraversalIntent"},"TraversalLimits":{"properties":{"max_depth":{"type":"integer","maximum":12.0,"minimum":1.0,"title":"Max Depth","default":6},"node_cap":{"type":"integer","maximum":5000.0,"minimum":1.0,"title":"Node Cap","default":500},"edge_cap":{"type":"integer","maximum":10000.0,"minimum":1.0,"title":"Edge Cap","default":1000},"max_routes":{"type":"integer","maximum":200.0,"minimum":1.0,"title":"Max Routes","default":50}},"additionalProperties":false,"type":"object","title":"TraversalLimits"},"TraversalOrigin":{"properties":{"pack_id":{"type":"string","maxLength":32,"minLength":1,"title":"Pack Id"},"product_id":{"type":"string","maxLength":128,"minLength":1,"title":"Product Id"},"screen_id":{"type":"string","maxLength":160,"minLength":1,"title":"Screen Id"},"route":{"type":"string","maxLength":300,"minLength":1,"title":"Route"},"state_hint":{"type":"object","title":"State Hint"}},"additionalProperties":false,"type":"object","required":["pack_id","product_id","screen_id","route"],"title":"TraversalOrigin"},"TraversalPrivacy":{"properties":{"contains_pii":{"type":"boolean","title":"Contains Pii","default":false},"parent_safe":{"type":"boolean","title":"Parent Safe","default":false}},"additionalProperties":false,"type":"object","title":"TraversalPrivacy"},"TraversalResumeWrite":{"properties":{"context":{"$ref":"#/components/schemas/TraversalContext"},"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version"},"device_id_hash":{"anyOf":[{"type":"string","pattern":"^[a-f0-9]{32,128}$"},{"type":"null"}],"title":"Device Id Hash"}},"additionalProperties":false,"type":"object","required":["context","expected_version"],"title":"TraversalResumeWrite"},"TraversalTarget":{"properties":{"pack_id":{"type":"string","maxLength":32,"minLength":1,"title":"Pack Id"},"product_id":{"type":"string","maxLength":128,"minLength":1,"title":"Product Id"},"screen_id":{"type":"string","maxLength":160,"minLength":1,"title":"Screen Id"},"route":{"type":"string","maxLength":300,"minLength":1,"title":"Route"}},"additionalProperties":false,"type":"object","required":["pack_id","product_id","screen_id","route"],"title":"TraversalTarget"},"TraverseRequest":{"properties":{"start_id":{"type":"string","maxLength":240,"minLength":3,"title":"Start Id"},"direction":{"type":"string","enum":["forward","inverse","both"],"title":"Direction","default":"both"},"relationships":{"items":{"type":"string"},"type":"array","maxItems":16,"title":"Relationships"},"max_depth":{"type":"integer","maximum":3.0,"minimum":1.0,"title":"Max Depth","default":2},"max_nodes":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Max Nodes","default":50}},"additionalProperties":false,"type":"object","required":["start_id"],"title":"TraverseRequest"},"TraverseResponse":{"properties":{"availability":{"$ref":"#/components/schemas/Availability"},"publication_state":{"$ref":"#/components/schemas/PublicationState"},"coverage":{"$ref":"#/components/schemas/CoverageDisclosure"},"source_disclosure":{"items":{"$ref":"#/components/schemas/SourceDisclosure"},"type":"array","title":"Source Disclosure"},"limitations":{"items":{"type":"string"},"type":"array","title":"Limitations"},"authority_boundary":{"$ref":"#/components/schemas/AuthorityBoundary"},"start_id":{"type":"string","title":"Start Id"},"direction":{"type":"string","title":"Direction"},"max_depth":{"type":"integer","title":"Max Depth"},"nodes":{"items":{"$ref":"#/components/schemas/AdmissionEntity"},"type":"array","title":"Nodes"},"edges":{"items":{"$ref":"#/components/schemas/GraphEdge"},"type":"array","title":"Edges"},"truncated":{"type":"boolean","title":"Truncated","default":false}},"additionalProperties":false,"type":"object","required":["availability","publication_state","coverage","start_id","direction","max_depth"],"title":"TraverseResponse"},"TreatmentPolicyCommand":{"properties":{"policy_id":{"type":"string","maxLength":128,"minLength":3,"title":"Policy Id"},"version":{"type":"string","maxLength":32,"minLength":1,"title":"Version"},"treatments":{"items":{"type":"string","enum":["micro_drill","worked_example","concept_refresh","teacher_review","full_reteach"]},"type":"array","maxItems":8,"minItems":1,"title":"Treatments"},"max_steps":{"type":"integer","maximum":12.0,"minimum":1.0,"title":"Max Steps","default":5},"escalation_after_failures":{"type":"integer","maximum":5.0,"minimum":1.0,"title":"Escalation After Failures","default":2},"state":{"type":"string","enum":["DRAFT","ACTIVE","RETIRED"],"title":"State","default":"DRAFT"}},"type":"object","required":["policy_id","version","treatments"],"title":"TreatmentPolicyCommand"},"TreatmentSelectionCommand":{"properties":{"candidate_id":{"type":"string","format":"uuid","title":"Candidate Id"},"student_id":{"type":"string","maxLength":128,"minLength":1,"title":"Student Id"},"policy_id":{"type":"string","maxLength":128,"minLength":3,"title":"Policy Id"},"policy_version":{"type":"string","maxLength":32,"minLength":1,"title":"Policy Version"}},"type":"object","required":["candidate_id","student_id","policy_id","policy_version"],"title":"TreatmentSelectionCommand","description":"A read-only preview; episode creation re-evaluates this decision under lock."},"TriggerRef":{"properties":{"kind":{"anyOf":[{"type":"string","enum":["MISSED_GATE","RULE_CHANGE","RESULT","SOURCE_CORRECTION","LEARNER_DECLARED","CAPACITY_CHANGE","OTHER_DECLARED"]},{"type":"null"}],"title":"Kind"},"ref_type":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Ref Type"},"ref_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Ref Id"}},"additionalProperties":false,"type":"object","title":"TriggerRef"},"TriggerRequest":{"properties":{"trigger_data":{"type":"object","title":"Trigger Data"}},"type":"object","title":"TriggerRequest"},"TriggersBody":{"properties":{"alert_offsets":{"items":{},"type":"array","maxItems":6,"title":"Alert Offsets"},"decision_offset":{"anyOf":[{"type":"integer","maximum":365.0,"minimum":0.0},{"type":"null"}],"title":"Decision Offset"},"content_push_offset":{"anyOf":[{"type":"integer","maximum":365.0,"minimum":0.0},{"type":"null"}],"title":"Content Push Offset"},"version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Version"}},"type":"object","title":"TriggersBody"},"TruTutorAnswerReviewPacket":{"properties":{"schema_version":{"type":"string","enum":["answer_review.writeback.v1"],"const":"answer_review.writeback.v1","title":"Schema Version"},"producer_key":{"type":"string","maxLength":240,"minLength":16,"title":"Producer Key"},"review_id":{"type":"string","maxLength":160,"minLength":1,"title":"Review Id"},"learning_patch_ref":{"type":"string","maxLength":240,"minLength":3,"title":"Learning Patch Ref"},"shared_student_id":{"type":"string","pattern":"^sha256:[a-f0-9]{64}$","title":"Shared Student Id"},"subject":{"type":"string","maxLength":120,"minLength":1,"title":"Subject"},"topic":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Topic"},"correction":{"anyOf":[{"type":"string","maxLength":12000},{"type":"null"}],"title":"Correction"},"score":{"type":"number","maximum":100.0,"minimum":0.0,"title":"Score"},"issued_at":{"type":"string","format":"date-time","title":"Issued At"},"payload_hash":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Payload Hash"}},"type":"object","required":["schema_version","producer_key","review_id","learning_patch_ref","shared_student_id","subject","score","issued_at","payload_hash"],"title":"TruTutorAnswerReviewPacket"},"TruTutorAssignedWorkPacket":{"properties":{"schema_version":{"type":"string","enum":["home.assigned_work.v1"],"const":"home.assigned_work.v1","title":"Schema Version"},"bridge_ref":{"type":"string","maxLength":160,"minLength":1,"title":"Bridge Ref"},"source_export_id":{"type":"string","maxLength":160,"minLength":1,"title":"Source Export Id"},"source_system":{"type":"string","enum":["trututor"],"const":"trututor","title":"Source System"},"source_version":{"type":"integer","minimum":1.0,"title":"Source Version"},"shared_student_id":{"type":"string","pattern":"^sha256:[a-f0-9]{64}$","title":"Shared Student Id"},"consent":{"$ref":"#/components/schemas/PacketConsent"},"source":{"$ref":"#/components/schemas/PacketSource"},"assignment":{"$ref":"#/components/schemas/PacketAssignment"},"issued_at":{"type":"string","format":"date-time","title":"Issued At"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"key_id":{"type":"string","maxLength":80,"minLength":1,"title":"Key Id"},"producer_key":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Producer Key"},"payload_hash":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Payload Hash"}},"type":"object","required":["schema_version","bridge_ref","source_export_id","source_system","source_version","shared_student_id","consent","source","assignment","issued_at","expires_at","key_id","producer_key","payload_hash"],"title":"TruTutorAssignedWorkPacket"},"TruTutorOutcomePacket":{"properties":{"writeback_receipt_id":{"type":"string","maxLength":160,"minLength":1,"title":"Writeback Receipt Id"},"outcome_packet_id":{"type":"string","maxLength":160,"minLength":1,"title":"Outcome Packet Id"},"booking_session_id":{"type":"string","maxLength":160,"minLength":1,"title":"Booking Session Id"},"booking_id":{"type":"string","maxLength":160,"minLength":1,"title":"Booking Id"},"session_id":{"type":"string","maxLength":160,"minLength":1,"title":"Session Id"},"shared_student_id":{"type":"string","pattern":"^sha256:[a-f0-9]{64}$","title":"Shared Student Id"},"consent_id":{"type":"string","maxLength":240,"minLength":1,"title":"Consent Id"},"learning_evidence_packet_id":{"type":"string","maxLength":240,"minLength":1,"title":"Learning Evidence Packet Id"},"teacher_id":{"type":"string","maxLength":160,"minLength":1,"title":"Teacher Id"},"attendance_state":{"type":"string","maxLength":80,"minLength":1,"title":"Attendance State"},"completion_state":{"type":"string","maxLength":80,"minLength":1,"title":"Completion State"},"accepted_signal":{"type":"string","enum":["NONE","LIGHT","STRONG","FROZEN"],"title":"Accepted Signal"},"outcome_signal":{"type":"string","enum":["NONE","LIGHT","STRONG","FROZEN"],"title":"Outcome Signal"},"concept_deltas":{"items":{"type":"object"},"type":"array","maxItems":24,"title":"Concept Deltas"},"evidence_refs":{"items":{},"type":"array","maxItems":24,"title":"Evidence Refs"},"parent_safe_summary":{"type":"string","maxLength":700,"title":"Parent Safe Summary","default":""},"applied_patch_types":{"items":{"type":"string"},"type":"array","maxItems":12,"title":"Applied Patch Types"},"rejected_patch_types":{"items":{"type":"string"},"type":"array","maxItems":12,"title":"Rejected Patch Types"},"patch_id":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Patch Id"},"status":{"type":"string","maxLength":80,"minLength":1,"title":"Status"},"returned_at":{"type":"string","format":"date-time","title":"Returned At"}},"type":"object","required":["writeback_receipt_id","outcome_packet_id","booking_session_id","booking_id","session_id","shared_student_id","consent_id","learning_evidence_packet_id","teacher_id","attendance_state","completion_state","accepted_signal","outcome_signal","status","returned_at"],"title":"TruTutorOutcomePacket"},"TrututorExchangeRequest":{"properties":{"consent_scopes":{"items":{"type":"string"},"type":"array","maxItems":8,"minItems":1,"title":"Consent Scopes"}},"type":"object","title":"TrututorExchangeRequest"},"TrututorReauthorizationRequest":{"properties":{"explicit_consent":{"type":"boolean","title":"Explicit Consent"},"consent_scopes":{"items":{"type":"string"},"type":"array","maxItems":1,"minItems":1,"title":"Consent Scopes"}},"additionalProperties":false,"type":"object","required":["explicit_consent"],"title":"TrututorReauthorizationRequest"},"TrututorRevocationRequest":{"properties":{"reason":{"type":"string","maxLength":256,"minLength":3,"title":"Reason"}},"type":"object","required":["reason"],"title":"TrututorRevocationRequest"},"TypedSeatDimensions":{"properties":{"authority":{"type":"string","enum":["JOSAA","CSAB","JAC_DELHI","MCC","AACCC"],"title":"Authority"},"category":{"type":"string","enum":["OPEN","OBC-NCL","OBC","EWS","SC","ST"],"title":"Category"},"quota":{"type":"string","maxLength":32,"minLength":1,"pattern":"^[A-Z0-9_ -]+$","title":"Quota"},"domicile":{"type":"string","enum":["home_state","outside_state","not_applicable","all_india"],"title":"Domicile"},"domicile_scope":{"type":"string","enum":["home_state","outside_state","not_applicable","all_india"],"title":"Domicile Scope"},"domicile_state":{"type":"string","maxLength":64,"title":"Domicile State","default":""},"gender_pool":{"type":"string","enum":["GENDER_NEUTRAL","FEMALE_ONLY"],"title":"Gender Pool"},"counselling_year":{"type":"integer","maximum":2035.0,"minimum":2015.0,"title":"Counselling Year"},"round_scope":{"items":{"type":"integer"},"type":"array","maxItems":20,"minItems":1,"title":"Round Scope"}},"additionalProperties":false,"type":"object","required":["authority","category","quota","domicile","domicile_scope","gender_pool","counselling_year","round_scope"],"title":"TypedSeatDimensions"},"TypedSeatInputRequest":{"properties":{"typed_rank":{"type":"integer","maximum":10000000.0,"minimum":1.0,"title":"Typed Rank"},"exam_type":{"type":"string","enum":["JEE_MAIN","JEE_ADVANCED","NEET"],"title":"Exam Type"},"rank_universe":{"type":"string","enum":["CRL","OBC_NCL","EWS","SC","ST","NEET_AIR"],"title":"Rank Universe"},"dimensions":{"$ref":"#/components/schemas/TypedSeatDimensions"}},"additionalProperties":false,"type":"object","required":["typed_rank","exam_type","rank_universe","dimensions"],"title":"TypedSeatInputRequest"},"UndeterminedAction":{"properties":{"native_action_code":{"type":"string","maxLength":80,"minLength":1,"title":"Native Action Code"},"native_action_label":{"type":"string","minLength":1,"title":"Native Action Label"},"reason_code":{"type":"string","enum":["ALLOTMENT_FIRST_CHOICE_UNKNOWN","SEAT_SYSTEM_UNKNOWN"],"title":"Reason Code"},"detail":{"type":"string","minLength":1,"title":"Detail"}},"additionalProperties":false,"type":"object","required":["native_action_code","native_action_label","reason_code","detail"],"title":"UndeterminedAction","description":"The third outcome, alongside \"permitted\" (in `permitted_actions`) and\n\"not permitted\" (silently absent, because the release's own condition\nruled it out for a known fact): this action's encoded condition needs a\nfact about the family that could not be established from what the\ncaller supplied. Never rendered as permitted, never rendered as\ndisabled-as-if-forbidden -- a family reading this must be told plainly\nthat we could not tell, and why, in words safe to show them directly."},"UnitEconomicsContribution":{"properties":{"window_key":{"type":"string","maxLength":120,"minLength":3,"title":"Window Key"},"window_started_at":{"type":"string","format":"date-time","title":"Window Started At"},"window_ended_at":{"type":"string","format":"date-time","title":"Window Ended At"},"granularity":{"$ref":"#/components/schemas/Granularity"},"origin_product":{"$ref":"#/components/schemas/Product"},"flow_type":{"$ref":"#/components/schemas/FlowType"},"exam_track":{"allOf":[{"$ref":"#/components/schemas/home_os__unit_economics_contract__ExamTrack"}],"default":"unknown"},"subject_bucket":{"allOf":[{"$ref":"#/components/schemas/home_os__unit_economics_contract__SubjectBucket"}],"default":"unknown"},"distinct_episode_count":{"type":"integer","minimum":0.0,"title":"Distinct Episode Count"},"episode_set_digest":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Episode Set Digest"},"metrics_paise":{"$ref":"#/components/schemas/MoneyMetrics"},"count_metrics":{"$ref":"#/components/schemas/CountMetrics"},"source_snapshot_hash":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Source Snapshot Hash"},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":20,"minItems":1,"title":"Evidence Refs"},"idempotency_key":{"type":"string","maxLength":160,"minLength":8,"title":"Idempotency Key"},"contract_id":{"type":"string","enum":["xpr09.cross_product_unit_economics"],"const":"xpr09.cross_product_unit_economics","title":"Contract Id","default":"xpr09.cross_product_unit_economics"},"contract_version":{"type":"string","enum":["xpr09-unit-economics/v1"],"const":"xpr09-unit-economics/v1","title":"Contract Version","default":"xpr09-unit-economics/v1"},"contract_sha256":{"type":"string","enum":["3bdc8adce663509c1aa38ec3ec659b89e3912412f0bf1a6da71f7f69ff30087c"],"const":"3bdc8adce663509c1aa38ec3ec659b89e3912412f0bf1a6da71f7f69ff30087c","title":"Contract Sha256","default":"3bdc8adce663509c1aa38ec3ec659b89e3912412f0bf1a6da71f7f69ff30087c"},"xpr11_contract_sha256":{"type":"string","enum":["8b5e89b64d771933d84693e37162add16ba4d48ed1d67aa5127e66b07a856d44"],"const":"8b5e89b64d771933d84693e37162add16ba4d48ed1d67aa5127e66b07a856d44","title":"Xpr11 Contract Sha256","default":"8b5e89b64d771933d84693e37162add16ba4d48ed1d67aa5127e66b07a856d44"},"source_product":{"$ref":"#/components/schemas/Product"},"generated_at":{"type":"string","format":"date-time","title":"Generated At"},"retention_until":{"type":"string","format":"date-time","title":"Retention Until"},"key_id":{"type":"string","maxLength":80,"minLength":3,"pattern":"^[A-Za-z0-9._:-]+$","title":"Key Id"},"signature":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Signature"},"live_settlement_allowed":{"type":"boolean","enum":[false],"const":false,"title":"Live Settlement Allowed","default":false},"payment_capture_allowed":{"type":"boolean","enum":[false],"const":false,"title":"Payment Capture Allowed","default":false},"payout_mutation_allowed":{"type":"boolean","enum":[false],"const":false,"title":"Payout Mutation Allowed","default":false},"accounting_post_allowed":{"type":"boolean","enum":[false],"const":false,"title":"Accounting Post Allowed","default":false},"tax_reporting_allowed":{"type":"boolean","enum":[false],"const":false,"title":"Tax Reporting Allowed","default":false}},"additionalProperties":false,"type":"object","required":["window_key","window_started_at","window_ended_at","granularity","origin_product","flow_type","distinct_episode_count","episode_set_digest","source_snapshot_hash","evidence_refs","idempotency_key","source_product","generated_at","retention_until","key_id","signature"],"title":"UnitEconomicsContribution"},"UnitEconomicsDraft":{"properties":{"window_key":{"type":"string","maxLength":120,"minLength":3,"title":"Window Key"},"window_started_at":{"type":"string","format":"date-time","title":"Window Started At"},"window_ended_at":{"type":"string","format":"date-time","title":"Window Ended At"},"granularity":{"$ref":"#/components/schemas/Granularity"},"origin_product":{"$ref":"#/components/schemas/Product"},"flow_type":{"$ref":"#/components/schemas/FlowType"},"exam_track":{"allOf":[{"$ref":"#/components/schemas/home_os__unit_economics_contract__ExamTrack"}],"default":"unknown"},"subject_bucket":{"allOf":[{"$ref":"#/components/schemas/home_os__unit_economics_contract__SubjectBucket"}],"default":"unknown"},"distinct_episode_count":{"type":"integer","minimum":0.0,"title":"Distinct Episode Count"},"episode_set_digest":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Episode Set Digest"},"metrics_paise":{"$ref":"#/components/schemas/MoneyMetrics"},"count_metrics":{"$ref":"#/components/schemas/CountMetrics"},"source_snapshot_hash":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Source Snapshot Hash"},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":20,"minItems":1,"title":"Evidence Refs"},"idempotency_key":{"type":"string","maxLength":160,"minLength":8,"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["window_key","window_started_at","window_ended_at","granularity","origin_product","flow_type","distinct_episode_count","episode_set_digest","source_snapshot_hash","evidence_refs","idempotency_key"],"title":"UnitEconomicsDraft"},"UnsourcedRouteView":{"properties":{"route_id":{"type":"string","title":"Route Id"},"route_label":{"type":"string","title":"Route Label"},"note":{"type":"string","title":"Note"}},"additionalProperties":false,"type":"object","required":["route_id","route_label","note"],"title":"UnsourcedRouteView"},"UpdateConstraintsRequest":{"properties":{"constraints":{"$ref":"#/components/schemas/ConstraintsIn"}},"additionalProperties":false,"type":"object","required":["constraints"],"title":"UpdateConstraintsRequest"},"UploadBody":{"properties":{"image_b64":{"type":"string","minLength":100,"title":"Image B64"},"exam_context":{"type":"string","maxLength":16,"title":"Exam Context","default":"NEET"},"coaching_brand":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Coaching Brand"},"mock_date":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Mock Date"},"image_url":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Image Url"}},"type":"object","required":["image_b64"],"title":"UploadBody"},"ValidateCompareScopeRequest":{"properties":{"selection_id":{"type":"string","format":"uuid","title":"Selection Id"},"expected_revision":{"type":"integer","minimum":1.0,"title":"Expected Revision"},"route_digests":{"items":{"type":"string"},"type":"array","title":"Route Digests"}},"additionalProperties":false,"type":"object","required":["selection_id","expected_revision","route_digests"],"title":"ValidateCompareScopeRequest"},"ValidateRosterRequest":{"properties":{"roster_refs":{"items":{"type":"string"},"type":"array","maxItems":5000,"minItems":1,"title":"Roster Refs"},"guardian_consent_refs":{"additionalProperties":{"$ref":"#/components/schemas/GuardianConsentInput"},"type":"object","title":"Guardian Consent Refs"},"consent_policy_version":{"type":"string","maxLength":40,"minLength":1,"title":"Consent Policy Version"}},"additionalProperties":false,"type":"object","required":["roster_refs","consent_policy_version"],"title":"ValidateRosterRequest"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"ValidationRequest":{"properties":{"definition_refs":{"items":{"type":"string"},"type":"array","maxItems":100,"title":"Definition Refs"},"include_bindings":{"type":"boolean","title":"Include Bindings","default":true},"reason":{"type":"string","maxLength":1000,"minLength":8,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["reason"],"title":"ValidationRequest"},"VariantGDiagnosticQuestionsResponse":{"properties":{"scr_id":{"type":"string","title":"Scr Id","default":"SCR-L4-DIAGNOSTIC-MICRO-001"},"source":{"type":"string","title":"Source","default":"static"},"questions":{"items":{},"type":"array","title":"Questions"}},"type":"object","title":"VariantGDiagnosticQuestionsResponse"},"VariantGFirstSessionRequest":{"properties":{"scr_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scr Id"},"entry_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Entry Mode"},"original_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Original Path"},"answers":{"type":"object","title":"Answers"},"task_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task Id"},"skipped_diagnostic":{"type":"boolean","title":"Skipped Diagnostic","default":false},"first_session_state":{"type":"string","title":"First Session State","default":"entry_enforced"},"first_session_completed":{"type":"boolean","title":"First Session Completed","default":false},"first_session_outcome":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Session Outcome"},"low_signal":{"type":"boolean","title":"Low Signal","default":false}},"type":"object","title":"VariantGFirstSessionRequest"},"VariantGFirstSessionResponse":{"properties":{"found":{"type":"boolean","title":"Found","default":true},"student_id":{"type":"string","title":"Student Id"},"state":{"type":"object","title":"State"},"first_session_state":{"type":"string","title":"First Session State","default":"entry_enforced"},"first_session_completed":{"type":"boolean","title":"First Session Completed","default":false},"first_session_outcome":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Session Outcome"},"task_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task Id"},"low_signal":{"type":"boolean","title":"Low Signal","default":false}},"type":"object","required":["student_id"],"title":"VariantGFirstSessionResponse"},"VariantGFirstTaskRequest":{"properties":{"scr_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scr Id"},"entry_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Entry Mode"},"original_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Original Path"},"answers":{"type":"object","title":"Answers"},"skipped_diagnostic":{"type":"boolean","title":"Skipped Diagnostic","default":false}},"type":"object","title":"VariantGFirstTaskRequest"},"VariantGFirstTaskResponse":{"properties":{"student_id":{"type":"string","title":"Student Id"},"scr_id":{"type":"string","title":"Scr Id","default":"SCR-L4-FIRST-TASK-CURATED-001"},"task":{"type":"object","title":"Task"},"task_id":{"type":"string","title":"Task Id"},"source":{"type":"string","title":"Source","default":"backend"},"skipped_diagnostic":{"type":"boolean","title":"Skipped Diagnostic","default":false},"score":{"type":"integer","title":"Score","default":0},"first_session_state":{"type":"string","title":"First Session State","default":"entry_enforced"}},"type":"object","required":["student_id","task_id"],"title":"VariantGFirstTaskResponse"},"VaultView":{"properties":{"owner_id":{"type":"string","title":"Owner Id"},"generated_at":{"type":"string","format":"date-time","title":"Generated At"},"documents":{"items":{"$ref":"#/components/schemas/DocumentView"},"type":"array","title":"Documents","default":[]},"requirements":{"items":{"$ref":"#/components/schemas/RequirementStatus"},"type":"array","title":"Requirements","default":[]},"authorities":{"items":{"type":"string"},"type":"array","title":"Authorities","default":[]},"reason_codes":{"items":{"type":"string"},"type":"array","title":"Reason Codes","default":[]}},"additionalProperties":false,"type":"object","required":["owner_id","generated_at"],"title":"VaultView"},"VerificationRecoveryRequest":{"properties":{"approval_id":{"type":"string","format":"uuid","title":"Approval Id"},"expected_generation":{"type":"integer","maximum":2.0,"minimum":0.0,"title":"Expected Generation"},"reason":{"type":"string","maxLength":1000,"minLength":8,"title":"Reason"},"evidence_ref":{"type":"string","pattern":"^[A-Za-z0-9_.:-]{8,160}$","title":"Evidence Ref"}},"additionalProperties":false,"type":"object","required":["approval_id","expected_generation","reason","evidence_ref"],"title":"VerificationRecoveryRequest"},"VerifiedPaymentBody":{"properties":{"checkout_id":{"type":"string","maxLength":120,"minLength":3,"title":"Checkout Id"},"provider_event_id":{"type":"string","maxLength":240,"minLength":3,"title":"Provider Event Id"},"provider_payment_id":{"type":"string","maxLength":240,"minLength":3,"title":"Provider Payment Id"},"signature_verified":{"type":"boolean","title":"Signature Verified"},"raw_body_digest":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Raw Body Digest"},"minor_units":{"type":"integer","minimum":0.0,"title":"Minor Units"},"currency":{"type":"string","maxLength":3,"minLength":3,"title":"Currency"},"verification_receipt":{"type":"object","minProperties":1,"title":"Verification Receipt"},"invoice_number":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Invoice Number"},"invoice_provider_ref":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Invoice Provider Ref"}},"additionalProperties":false,"type":"object","required":["checkout_id","provider_event_id","provider_payment_id","signature_verified","raw_body_digest","minor_units","currency","verification_receipt"],"title":"VerifiedPaymentBody"},"VerifyOutcomeRecordRequest":{"properties":{"verification_state":{"type":"string","enum":["DOCUMENT_SEEN","SOURCE_MATCHED","AUTHORITY_VERIFIED","REJECTED"],"title":"Verification State"},"verification_policy_version":{"type":"string","maxLength":80,"minLength":3,"title":"Verification Policy Version"},"rationale_codes":{"items":{"type":"string"},"type":"array","maxItems":20,"minItems":1,"title":"Rationale Codes"},"source_refs":{"items":{"$ref":"#/components/schemas/OutcomeSourceRefInput"},"type":"array","title":"Source Refs","default":[]},"reviewed_artifact_digest":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reviewed Artifact Digest"}},"additionalProperties":false,"type":"object","required":["verification_state","verification_policy_version","rationale_codes"],"title":"VerifyOutcomeRecordRequest"},"VersionBody":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"}},"additionalProperties":false,"type":"object","required":["expected_version"],"title":"VersionBody"},"VersionRequest":{"properties":{"catalogue_version":{"type":"string","maxLength":100,"minLength":3,"title":"Catalogue Version"}},"additionalProperties":false,"type":"object","required":["catalogue_version"],"title":"VersionRequest"},"VersionStamp":{"properties":{"digest":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Digest"},"rule_version":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Rule Version"},"effective":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Effective"}},"additionalProperties":false,"type":"object","required":["digest"],"title":"VersionStamp"},"VersionedMarkOpenRequest":{"properties":{"expected_source_object_id":{"type":"string","maxLength":512,"minLength":1,"title":"Expected Source Object Id"},"expected_source_version":{"type":"integer","minimum":1.0,"title":"Expected Source Version"}},"additionalProperties":false,"type":"object","required":["expected_source_object_id","expected_source_version"],"title":"VersionedMarkOpenRequest","description":"Optional source tuple from a result screen that carries owner version data."},"VersionedReason":{"properties":{"version":{"type":"integer","minimum":1.0,"title":"Version"},"reason":{"type":"string","maxLength":500,"minLength":3,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["version","reason"],"title":"VersionedReason"},"ViewMentorLinkRequest":{"properties":{"token":{"type":"string","maxLength":200,"minLength":1,"title":"Token"}},"additionalProperties":false,"type":"object","required":["token"],"title":"ViewMentorLinkRequest"},"VisualiserInteractReq":{"properties":{"interaction_type":{"type":"string","pattern":"^(rotate|zoom|pan|annotate|param_tune|ar)$","title":"Interaction Type"},"duration_ms":{"type":"integer","title":"Duration Ms","default":0},"payload":{"type":"object","title":"Payload"}},"type":"object","required":["interaction_type"],"title":"VisualiserInteractReq"},"VisualiserLaunchCommand":{"properties":{"request_id":{"type":"string","maxLength":128,"minLength":8,"title":"Request Id"},"device_class":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Device Class"},"entry_mode":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Entry Mode"},"concept_ref":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Concept Ref"}},"additionalProperties":false,"type":"object","required":["request_id"],"title":"VisualiserLaunchCommand"},"VoiceArtifactCreate":{"properties":{"object_ref":{"type":"string","maxLength":500,"minLength":4,"title":"Object Ref"},"checksum_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Checksum Sha256"},"content_type":{"type":"string","pattern":"^audio/[a-zA-Z0-9.+-]+$","title":"Content Type"},"bytes":{"type":"integer","maximum":50000000.0,"exclusiveMinimum":0.0,"title":"Bytes"},"duration_ms":{"type":"integer","maximum":900000.0,"exclusiveMinimum":0.0,"title":"Duration Ms"},"language":{"type":"string","maxLength":32,"minLength":2,"title":"Language"},"purpose":{"type":"string","enum":["learning_support"],"const":"learning_support","title":"Purpose","default":"learning_support"},"permission_granted":{"type":"boolean","title":"Permission Granted"},"retention_until":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Retention Until"},"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version","default":0}},"additionalProperties":false,"type":"object","required":["object_ref","checksum_sha256","content_type","bytes","duration_ms","language","permission_granted"],"title":"VoiceArtifactCreate"},"VoiceSaveBody":{"properties":{"transcript":{"type":"string","maxLength":50000,"minLength":1,"title":"Transcript"},"title":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Title"},"edited":{"type":"boolean","title":"Edited","default":false}},"type":"object","required":["transcript"],"title":"VoiceSaveBody"},"WaiverBody":{"properties":{"check_key":{"type":"string","maxLength":40,"title":"Check Key"},"reason":{"type":"string","maxLength":400,"minLength":3,"title":"Reason"}},"type":"object","required":["check_key","reason"],"title":"WaiverBody"},"WaiverCommand":{"properties":{"waiver_id":{"type":"string","format":"uuid","title":"Waiver Id"},"requirement_id":{"type":"string","format":"uuid","title":"Requirement Id"},"release_scope":{"type":"string","maxLength":120,"minLength":2,"title":"Release Scope"},"owner":{"type":"string","maxLength":128,"minLength":1,"title":"Owner"},"reason":{"type":"string","maxLength":1200,"minLength":8,"title":"Reason"},"compensating_control":{"type":"string","maxLength":1200,"minLength":8,"title":"Compensating Control"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os18_release_gate__models__EvidenceRef"},"type":"array","maxItems":32,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["requirement_id","release_scope","owner","reason","compensating_control","expires_at","actor_id","evidence_refs"],"title":"WaiverCommand"},"WatchRequest":{"properties":{"contract_version":{"type":"string","maxLength":40,"title":"Contract Version","default":"market-radar/v1"},"request_id":{"type":"string","maxLength":200,"minLength":8,"title":"Request Id"},"scope":{"$ref":"#/components/schemas/WatchScope"}},"additionalProperties":false,"type":"object","required":["request_id","scope"],"title":"WatchRequest"},"WatchRow":{"properties":{"watch_id":{"type":"string","format":"uuid","title":"Watch Id"},"source_authority":{"type":"string","title":"Source Authority"},"source_key":{"type":"string","title":"Source Key"},"watch_state":{"type":"string","enum":["ACTIVE","PAUSED","STOPPED","UNSUPPORTED"],"title":"Watch State"},"overdue":{"type":"boolean","title":"Overdue","default":false},"state_reason":{"type":"string","title":"State Reason"},"check_interval_hours":{"type":"integer","title":"Check Interval Hours"},"opened_at":{"type":"string","format":"date-time","title":"Opened At"},"last_success_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Success At"},"last_attempt_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Attempt At"},"stopped_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Stopped At"},"gap_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Gap Days"},"depends_on":{"items":{"$ref":"#/components/schemas/DependentDecision"},"type":"array","title":"Depends On","default":[]}},"additionalProperties":false,"type":"object","required":["watch_id","source_authority","source_key","watch_state","state_reason","check_interval_hours","opened_at"],"title":"WatchRow"},"WatchScope":{"properties":{"role_id":{"type":"string","maxLength":64,"minLength":1,"title":"Role Id"},"geography":{"type":"string","maxLength":80,"minLength":1,"title":"Geography"},"graph_release_id":{"type":"string","maxLength":64,"minLength":1,"title":"Graph Release Id"},"taxonomy_version":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Taxonomy Version"},"observed_from":{"anyOf":[{"type":"string","maxLength":10},{"type":"null"}],"title":"Observed From"},"observed_to":{"anyOf":[{"type":"string","maxLength":10},{"type":"null"}],"title":"Observed To"}},"additionalProperties":false,"type":"object","required":["role_id","geography","graph_release_id"],"title":"WatchScope","description":"The exact scope to keep. Same dimensions as a read; nothing is defaulted on the server."},"WatchSummary":{"properties":{"watching":{"type":"integer","minimum":0.0,"title":"Watching"},"stopped":{"type":"integer","minimum":0.0,"title":"Stopped"},"unsupported":{"type":"integer","minimum":0.0,"title":"Unsupported"}},"additionalProperties":false,"type":"object","required":["watching","stopped","unsupported"],"title":"WatchSummary"},"WaveRunCommand":{"properties":{"run_id":{"type":"string","format":"uuid","title":"Run Id"},"release_scope":{"type":"string","maxLength":160,"minLength":3,"title":"Release Scope"},"commit_sha":{"type":"string","maxLength":64,"minLength":7,"pattern":"^[0-9a-f]{7,64}$","title":"Commit Sha"},"environment":{"type":"string","maxLength":80,"minLength":2,"title":"Environment"},"owner":{"type":"string","maxLength":120,"minLength":2,"title":"Owner"},"precondition_refs":{"type":"object","title":"Precondition Refs"},"started_at":{"type":"string","format":"date-time","title":"Started At"}},"type":"object","required":["release_scope","commit_sha","environment","owner","precondition_refs"],"title":"WaveRunCommand"},"WaveState":{"type":"string","enum":["COLLECTING","BLOCKED","PASSED"],"title":"WaveState"},"WellnessCheckInCreate":{"properties":{"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version"},"consent_id":{"type":"string","format":"uuid","title":"Consent Id"},"observed_at":{"type":"string","format":"date-time","title":"Observed At"},"signals":{"additionalProperties":{"type":"number"},"type":"object","maxProperties":4,"minProperties":1,"title":"Signals"}},"additionalProperties":false,"type":"object","required":["expected_version","consent_id","observed_at","signals"],"title":"WellnessCheckInCreate"},"WellnessConsentBody":{"properties":{"granted":{"type":"boolean","title":"Granted"},"reason":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Reason"}},"type":"object","required":["granted"],"title":"WellnessConsentBody","description":"WELL-003 CT-06 master wellness-monitoring toggle."},"WellnessConsentCreate":{"properties":{"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version"},"purpose":{"type":"string","enum":["study_pressure_support"],"const":"study_pressure_support","title":"Purpose","default":"study_pressure_support"},"allowed_fields":{"items":{"type":"string"},"type":"array","maxItems":4,"minItems":1,"title":"Allowed Fields"},"jurisdiction":{"type":"string","maxLength":16,"minLength":2,"title":"Jurisdiction","default":"IN"},"retention_days":{"type":"integer","maximum":90.0,"minimum":1.0,"title":"Retention Days","default":30}},"additionalProperties":false,"type":"object","required":["expected_version","allowed_fields"],"title":"WellnessConsentCreate"},"WhatIfBody":{"properties":{"decision_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Decision Id"},"exam":{"anyOf":[{"type":"string","maxLength":48},{"type":"null"}],"title":"Exam"},"scenario":{"$ref":"#/components/schemas/WhatIfScenario"}},"additionalProperties":false,"type":"object","required":["scenario"],"title":"WhatIfBody"},"WhatIfRequest":{"properties":{"college_decision_id":{"type":"string","maxLength":64,"minLength":8,"title":"College Decision Id"},"choice_order":{"items":{"type":"string"},"type":"array","maxItems":100,"title":"Choice Order"}},"additionalProperties":false,"type":"object","required":["college_decision_id"],"title":"WhatIfRequest"},"WhatIfScenario":{"properties":{"extra_mocks":{"type":"integer","maximum":10.0,"minimum":0.0,"title":"Extra Mocks","default":0},"accuracy_lift":{"type":"number","maximum":30.0,"minimum":-30.0,"title":"Accuracy Lift","default":0.0},"horizon_days":{"anyOf":[{"type":"integer","maximum":730.0,"minimum":1.0},{"type":"null"}],"title":"Horizon Days"}},"additionalProperties":false,"type":"object","title":"WhatIfScenario"},"WhyBody":{"properties":{"reason":{"type":"string","maxLength":300,"minLength":5,"title":"Reason"}},"type":"object","required":["reason"],"title":"WhyBody"},"WindowBody":{"properties":{"from":{"type":"string","format":"date-time","title":"From"},"to":{"type":"string","format":"date-time","title":"To"}},"additionalProperties":false,"type":"object","required":["from","to"],"title":"WindowBody"},"WishIn":{"properties":{"kind":{"type":"string","maxLength":20,"title":"Kind"},"slug":{"type":"string","maxLength":64,"title":"Slug"},"channel":{"type":"string","maxLength":10,"title":"Channel","default":"in_app"},"contact":{"anyOf":[{"type":"string","maxLength":254},{"type":"null"}],"title":"Contact"},"source":{"type":"string","maxLength":40,"title":"Source","default":"home_card"}},"additionalProperties":false,"type":"object","required":["kind","slug"],"title":"WishIn"},"WithdrawConsentRequest":{"properties":{"child_id":{"type":"string","maxLength":64,"minLength":1,"title":"Child Id"},"reason":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Reason"}},"type":"object","required":["child_id"],"title":"WithdrawConsentRequest"},"WithdrawIn":{"properties":{"client_event_id":{"type":"string","maxLength":128,"minLength":1,"title":"Client Event Id"},"reason":{"type":"string","maxLength":200,"minLength":1,"title":"Reason"},"reason_class":{"anyOf":[{"type":"string","enum":["entry_error","regrade","late_submission","other"]},{"type":"null"}],"title":"Reason Class"}},"type":"object","required":["client_event_id","reason"],"title":"WithdrawIn"},"WithdrawResultRequest":{"properties":{"student_id":{"type":"string","maxLength":64,"minLength":1,"title":"Student Id"}},"type":"object","required":["student_id"],"title":"WithdrawResultRequest"},"WithdrawScopeBody":{"properties":{"reason":{"type":"string","maxLength":500,"minLength":3,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["reason"],"title":"WithdrawScopeBody"},"WordsPreview":{"properties":{"text":{"type":"string","maxLength":240,"title":"Text","default":""},"text_hi":{"type":"string","maxLength":240,"title":"Text Hi","default":""},"product_ids":{"items":{"type":"string"},"type":"array","maxItems":4,"title":"Product Ids"},"source_ref":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Source Ref"},"audience":{"type":"string","enum":["all","guest","new","returning","parent"],"title":"Audience","default":"all"}},"additionalProperties":false,"type":"object","title":"WordsPreview"},"WorkAssignmentRequest":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"reason":{"type":"string","maxLength":2000,"minLength":8,"title":"Reason"},"approval_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Approval Id"},"assignee_identity_id":{"type":"string","format":"uuid","title":"Assignee Identity Id"},"release_current":{"type":"boolean","title":"Release Current","default":true}},"additionalProperties":false,"type":"object","required":["expected_version","reason","assignee_identity_id"],"title":"WorkAssignmentRequest"},"WorkItemState":{"type":"string","enum":["OPEN","TRIAGED","ASSIGNED","IN_PROGRESS","WAITING_EXTERNAL","WAITING_APPROVAL","RESOLVED","CLOSED"],"title":"WorkItemState"},"WorkPriorityRequest":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"reason":{"type":"string","maxLength":2000,"minLength":8,"title":"Reason"},"approval_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Approval Id"},"manual_adjustment":{"type":"integer","maximum":20.0,"minimum":-20.0,"title":"Manual Adjustment"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"}},"additionalProperties":false,"type":"object","required":["expected_version","reason","manual_adjustment","expires_at"],"title":"WorkPriorityRequest"},"WorkReopenRequest":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"reason":{"type":"string","maxLength":2000,"minLength":8,"title":"Reason"},"approval_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Approval Id"},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":100,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["expected_version","reason","evidence_refs"],"title":"WorkReopenRequest"},"WorkResolveRequest":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"reason":{"type":"string","maxLength":2000,"minLength":8,"title":"Reason"},"approval_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Approval Id"},"outcome":{"type":"string","maxLength":120,"minLength":3,"title":"Outcome"},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":100,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["expected_version","reason","outcome","evidence_refs"],"title":"WorkResolveRequest"},"WorkTransitionRequest":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"reason":{"type":"string","maxLength":2000,"minLength":8,"title":"Reason"},"approval_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Approval Id"},"state":{"$ref":"#/components/schemas/WorkItemState"},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":100,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["expected_version","reason","state"],"title":"WorkTransitionRequest"},"WorksheetOpBody":{"properties":{"student_id":{"type":"string","title":"Student Id"},"idempotency_key":{"type":"string","title":"Idempotency Key"},"render_profile":{"type":"string","title":"Render Profile","default":"default"},"delivery_channel":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Delivery Channel"},"reason_code":{"type":"string","title":"Reason Code","default":"LEARNER_CANCEL"},"provider_known":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Provider Known"},"expected_revision":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expected Revision"},"payload_digest":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payload Digest"}},"type":"object","required":["student_id","idempotency_key"],"title":"WorksheetOpBody"},"WorksheetRequestBody":{"properties":{"student_id":{"type":"string","title":"Student Id"},"sitting_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sitting Id"},"delivery_channel":{"type":"string","title":"Delivery Channel"},"quantity":{"type":"integer","title":"Quantity","default":1},"form":{"type":"string","title":"Form","default":"practice-worksheet"},"destination_custody_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Destination Custody Ref"},"source_release_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Release Ref"},"rights_policy_version":{"type":"string","title":"Rights Policy Version","default":"v1"},"consent_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Consent Ref"},"beneficiary_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Beneficiary Ref"},"idempotency_key":{"type":"string","title":"Idempotency Key"},"item_refs":{"items":{"type":"string"},"type":"array","title":"Item Refs"},"expected_revision":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expected Revision"},"payload_digest":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payload Digest"}},"type":"object","required":["student_id","delivery_channel","idempotency_key"],"title":"WorksheetRequestBody"},"WorkspaceActivationRequest":{"properties":{"role_grant_id":{"type":"string","maxLength":128,"minLength":1,"title":"Role Grant Id"}},"type":"object","required":["role_grant_id"],"title":"WorkspaceActivationRequest"},"WriteChangeRequest":{"properties":{"owner_id":{"type":"string","maxLength":160,"minLength":1,"title":"Owner Id"},"watch_id":{"type":"string","format":"uuid","title":"Watch Id"},"change_kind":{"type":"string","enum":["CREATED","UPDATED","RECALLED","EFFECTIVE_PERIOD_CHANGED","VALUE_CHANGED","RULE_VERSION_SUPERSEDED","DEADLINE_MOVED"],"title":"Change Kind"},"change_statement":{"type":"string","maxLength":600,"minLength":1,"title":"Change Statement"},"prior":{"anyOf":[{"$ref":"#/components/schemas/VersionStamp"},{"type":"null"}]},"current":{"$ref":"#/components/schemas/VersionStamp"},"publisher":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Publisher"},"published_on":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Published On"},"approval_state":{"anyOf":[{"type":"string","maxLength":60},{"type":"null"}],"title":"Approval State"},"detected_at":{"type":"string","format":"date-time","title":"Detected At"},"detector_version":{"type":"string","maxLength":80,"minLength":1,"title":"Detector Version"},"correction_ref":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Correction Ref"},"domain_thread_types":{"items":{"type":"string"},"type":"array","maxItems":10,"title":"Domain Thread Types","default":[]}},"additionalProperties":false,"type":"object","required":["owner_id","watch_id","change_kind","change_statement","current","detected_at","detector_version"],"title":"WriteChangeRequest","description":"A detected material change.\n\nThe impact list is deliberately not a field. The server runs the mapper over\nthe stored citations itself; a caller that could declare its own impacts could\ndeclare convenient ones. `domain_thread_types` only names the area the source\nbelongs to, so that decisions with no citation can be listed as unproven. It\ncan never make an impact SUPPORTED."},"WriteReplanEventRequest":{"properties":{"plan_lane":{"type":"string","maxLength":60,"title":"Plan Lane","default":"PATHWAY_TERM_PLAN"},"predecessor":{"$ref":"#/components/schemas/PlanVersionRef"},"successor":{"$ref":"#/components/schemas/PlanVersionRef"},"assumption_key":{"type":"string","maxLength":80,"minLength":3,"pattern":"^[A-Z][A-Z0-9_]+$","title":"Assumption Key"},"assumption_statement":{"anyOf":[{"type":"string","maxLength":280,"minLength":3},{"type":"null"}],"title":"Assumption Statement"},"trigger":{"anyOf":[{"$ref":"#/components/schemas/TriggerRef"},{"type":"null"}]},"cause":{"anyOf":[{"$ref":"#/components/schemas/CauseCitation"},{"type":"null"}]},"occurred_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Occurred At"}},"type":"object","required":["predecessor","successor","assumption_key"],"title":"WriteReplanEventRequest","description":"P01. Scope lists in the body are ignored (extra keys dropped), never trusted."},"XprHandoffRequest":{"properties":{"source_surface":{"type":"string","enum":["today_home_weak_topic","ask_result_repair","grade_result_support","practice_runner_blocked","parent_bridge"],"title":"Source Surface"},"exam_track":{"type":"string","maxLength":80,"minLength":1,"title":"Exam Track"},"class_level":{"type":"string","maxLength":40,"minLength":1,"title":"Class Level"},"subject":{"type":"string","maxLength":100,"minLength":1,"title":"Subject"},"chapter":{"type":"string","maxLength":160,"minLength":1,"title":"Chapter"},"topic":{"type":"string","maxLength":160,"minLength":1,"title":"Topic"},"concept_nodes":{"items":{"type":"string"},"type":"array","maxItems":12,"minItems":1,"title":"Concept Nodes"},"need_type":{"type":"string","maxLength":100,"minLength":1,"title":"Need Type","default":"concept_repair"},"teacher_visible_brief":{"type":"string","maxLength":600,"title":"Teacher Visible Brief","default":""},"parent_visible_summary":{"type":"string","maxLength":700,"title":"Parent Visible Summary","default":""},"baseline":{"type":"object","title":"Baseline"},"mode_preference":{"type":"string","enum":["online_one_to_one","instant_soon","home_tuition","async_review","recurring_online"],"title":"Mode Preference","default":"online_one_to_one"},"budget_band":{"anyOf":[{"type":"string"},{"type":"object"}],"title":"Budget Band","default":"not_shared"},"locale":{"type":"string","maxLength":20,"minLength":2,"title":"Locale","default":"en-IN"},"expires_in_minutes":{"type":"integer","maximum":30.0,"minimum":5.0,"title":"Expires In Minutes","default":30},"outcome_writeback_consent":{"type":"boolean","enum":[true],"const":true,"title":"Outcome Writeback Consent"}},"type":"object","required":["source_surface","exam_track","class_level","subject","chapter","topic","concept_nodes","outcome_writeback_consent"],"title":"XprHandoffRequest"},"_CollegeDecisionOrderArtifactBody":{"properties":{"student_id":{"type":"string","title":"Student Id"},"exam_type":{"type":"string","title":"Exam Type"},"rank":{"type":"integer","minimum":1.0,"title":"Rank"},"category":{"type":"string","title":"Category","default":"General"},"order_rows":{"items":{"type":"object"},"type":"array","title":"Order Rows"},"source_report":{"type":"object","title":"Source Report"},"warnings":{"items":{"type":"string"},"type":"array","title":"Warnings"}},"type":"object","required":["student_id","exam_type","rank"],"title":"_CollegeDecisionOrderArtifactBody"},"_CollegeDecisionParentReportBody":{"properties":{"student_id":{"type":"string","title":"Student Id"},"exam_type":{"type":"string","title":"Exam Type"},"rank":{"type":"integer","minimum":1.0,"title":"Rank"},"category":{"type":"string","title":"Category","default":"General"},"realistic_option_count":{"type":"integer","title":"Realistic Option Count","default":0},"risky_option_count":{"type":"integer","title":"Risky Option Count","default":0},"next_conversation":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Conversation"},"what_not_to_assume":{"items":{"type":"string"},"type":"array","title":"What Not To Assume"},"source_report":{"type":"object","title":"Source Report"}},"type":"object","required":["student_id","exam_type","rank"],"title":"_CollegeDecisionParentReportBody"},"_CompareBody":{"properties":{"student_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Student Id"},"colleges":{"items":{"additionalProperties":{"type":"string"},"type":"object"},"type":"array","title":"Colleges"},"category":{"type":"string","title":"Category","default":"General"},"exam_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Exam Type"},"rank":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Rank"},"domicile_state":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Domicile State"},"college_decision_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"College Decision Id"},"option_refs":{"items":{"type":"string"},"type":"array","maxItems":4,"title":"Option Refs"}},"type":"object","title":"_CompareBody"},"_GradeHitlRequest":{"properties":{"job_id":{"type":"string","title":"Job Id"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason","default":"student_requested"}},"type":"object","required":["job_id"],"title":"_GradeHitlRequest"},"_MockSnapshotBody":{"properties":{"session_id":{"type":"string","maxLength":64,"minLength":3,"title":"Session Id"},"answers":{"type":"object","title":"Answers"},"marked":{"items":{"type":"string"},"type":"array","title":"Marked"},"current_index":{"anyOf":[{"type":"integer","maximum":200.0,"minimum":0.0},{"type":"null"}],"title":"Current Index"},"elapsed_s":{"anyOf":[{"type":"integer","maximum":86400.0,"minimum":0.0},{"type":"null"}],"title":"Elapsed S"}},"type":"object","required":["session_id"],"title":"_MockSnapshotBody"},"_SaveCollegeBody":{"properties":{"college_name":{"type":"string","title":"College Name"},"branch":{"type":"string","title":"Branch"},"category":{"type":"string","title":"Category","default":"General"},"exam_type":{"type":"string","title":"Exam Type"},"cutoff_rank":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Cutoff Rank"},"probability":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Probability"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"college_decision_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"College Decision Id"},"option_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Option Ref"},"decision_version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Decision Version"}},"type":"object","required":["college_name","branch","exam_type"],"title":"_SaveCollegeBody"},"_aspireace_p2_practice_flow_routes_legacy__DPPStartRequest":{"properties":{"student_id":{"type":"string","title":"Student Id","default":""},"subject":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"},"chapter":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chapter"},"mode":{"type":"string","title":"Mode","description":"adaptive | review | chapter_drill | weak_topics","default":"adaptive"},"question_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Question Count"},"product_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Id"},"chapters":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Chapters"}},"type":"object","title":"DPPStartRequest"},"achievements_routes__ShareBody":{"properties":{"student_id":{"type":"string","maxLength":64,"minLength":1,"title":"Student Id"},"share_platform":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Share Platform"}},"type":"object","required":["student_id"],"title":"ShareBody"},"achievements_routes__ViewBody":{"properties":{"student_id":{"type":"string","maxLength":64,"minLength":1,"title":"Student Id"}},"type":"object","required":["student_id"],"title":"ViewBody"},"api_bff_routes__DPPStartRequest":{"properties":{"subject":{"type":"string","title":"Subject"},"question_count":{"type":"integer","title":"Question Count","default":10},"chapters":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Chapters"},"chapter":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chapter"}},"type":"object","required":["subject"],"title":"DPPStartRequest"},"apprentice_network__routes__ConsentBody":{"properties":{"opportunity_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Opportunity Ref"}},"additionalProperties":false,"type":"object","title":"ConsentBody"},"apprentice_network__routes__HandoffBody":{"properties":{"opportunity_ref":{"type":"string","title":"Opportunity Ref"},"projection_id":{"type":"string","title":"Projection Id"}},"additionalProperties":false,"type":"object","required":["opportunity_ref","projection_id"],"title":"HandoffBody"},"apprentice_network__routes__ProjectionBody":{"properties":{"purpose":{"type":"string","title":"Purpose"},"recipient_ref":{"type":"string","title":"Recipient Ref"},"opportunity_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Opportunity Ref"},"fields":{"items":{"type":"string"},"type":"array","title":"Fields"},"capability_evidence_pointers":{"anyOf":[{"items":{"type":"object"},"type":"array"},{"type":"null"}],"title":"Capability Evidence Pointers"},"expires_in_hours":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expires In Hours"}},"additionalProperties":false,"type":"object","required":["purpose","recipient_ref"],"title":"ProjectionBody"},"ask_clarifications__models__ClarificationIssue":{"properties":{"turn_version_id":{"type":"string","maxLength":160,"minLength":8,"title":"Turn Version Id"},"prompt":{"type":"string","maxLength":2000,"minLength":1,"title":"Prompt"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"}},"additionalProperties":false,"type":"object","required":["turn_version_id","prompt"],"title":"ClarificationIssue"},"ask_clarifications__models__ClarificationResponse":{"properties":{"expected_resource_version":{"type":"integer","minimum":1.0,"title":"Expected Resource Version"},"response_text":{"type":"string","maxLength":2000,"minLength":1,"title":"Response Text"}},"additionalProperties":false,"type":"object","required":["expected_resource_version","response_text"],"title":"ClarificationResponse"},"ask_door_routes__HandoffBody":{"properties":{"mode":{"type":"string","maxLength":24,"minLength":1,"title":"Mode"},"correlation_id":{"type":"string","maxLength":160,"minLength":4,"title":"Correlation Id"},"return_to":{"type":"string","maxLength":80,"title":"Return To","default":"AskDoor"}},"type":"object","required":["mode","correlation_id"],"title":"HandoffBody"},"ask_thread_routes__AcknowledgeBody":{"properties":{"outcome":{"type":"string","title":"Outcome","description":"helpful | still_stuck | closed"}},"additionalProperties":false,"type":"object","required":["outcome"],"title":"AcknowledgeBody"},"ask_thread_routes__CorrectionBody":{"properties":{"correction_type":{"type":"string","title":"Correction Type","description":"corrected | revoked"},"reason":{"type":"string","minLength":1,"title":"Reason"},"source_receipt_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Receipt Ref"}},"additionalProperties":false,"type":"object","required":["correction_type","reason"],"title":"CorrectionBody"},"askimgimp_pr01_authority__AcademicContext":{"properties":{"exam":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Exam"},"class_grade":{"anyOf":[{"type":"integer","maximum":14.0,"minimum":1.0},{"type":"null"}],"title":"Class Grade"},"subject":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Subject"},"chapter":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Chapter"},"topic":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Topic"},"concept_ref":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Concept Ref"},"source_ref":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Source Ref"},"confirmed":{"type":"boolean","title":"Confirmed","default":false}},"additionalProperties":false,"type":"object","title":"AcademicContext"},"askimgimp_pr01_authority__RouteRequest":{"properties":{"required_capabilities":{"items":{"type":"string"},"type":"array","title":"Required Capabilities"},"candidates":{"items":{"$ref":"#/components/schemas/ProviderCandidate"},"type":"array","minItems":1,"title":"Candidates"},"max_cost_micros":{"type":"integer","minimum":0.0,"title":"Max Cost Micros","default":25000},"max_latency_ms":{"type":"integer","minimum":1.0,"title":"Max Latency Ms","default":30000},"source_required":{"type":"boolean","title":"Source Required","default":false},"numeric_owner_required":{"type":"boolean","title":"Numeric Owner Required","default":false},"safety_allowed":{"type":"boolean","title":"Safety Allowed","default":true},"quota_available":{"type":"boolean","title":"Quota Available","default":true}},"additionalProperties":false,"type":"object","required":["candidates"],"title":"RouteRequest"},"askimgimp_pr01_routes__ActionCommand":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"candidates":{"items":{"$ref":"#/components/schemas/StudyActionCandidate"},"type":"array","minItems":1,"title":"Candidates"}},"additionalProperties":false,"type":"object","required":["expected_version","candidates"],"title":"ActionCommand"},"beta_question_review_routes__BatchCreate":{"properties":{"sample_batch":{"type":"string","maxLength":80,"minLength":3,"title":"Sample Batch"},"sample_seed":{"type":"string","maxLength":120,"minLength":3,"title":"Sample Seed"},"target_per_subject":{"type":"integer","maximum":500.0,"minimum":1.0,"title":"Target Per Subject","default":50}},"additionalProperties":false,"type":"object","required":["sample_batch","sample_seed"],"title":"BatchCreate"},"billing_routes__CancelBody":{"properties":{"student_id":{"type":"string","maxLength":64,"minLength":1,"title":"Student Id"},"reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Reason"},"cancel_at_cycle_end":{"type":"boolean","title":"Cancel At Cycle End","default":true}},"type":"object","required":["student_id"],"title":"CancelBody"},"billing_routes__CheckoutBody":{"properties":{"student_id":{"type":"string","maxLength":64,"minLength":1,"title":"Student Id"},"period":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Period"},"coupon":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Coupon"}},"type":"object","required":["student_id"],"title":"CheckoutBody"},"capability_atlas_routes__ConsentBody":{"properties":{"sources_named":{"items":{"type":"string"},"type":"array","title":"Sources Named"},"confirmed":{"type":"boolean","title":"Confirmed","default":false}},"type":"object","title":"ConsentBody"},"capability_atlas_routes__ShareBody":{"properties":{"capability_id":{"type":"string","title":"Capability Id"},"recipient_label":{"type":"string","maxLength":120,"minLength":1,"title":"Recipient Label"},"fields":{"items":{"type":"string"},"type":"array","title":"Fields"},"ttl_days":{"type":"integer","title":"Ttl Days","default":14},"consent_confirmed":{"type":"boolean","title":"Consent Confirmed","default":false}},"type":"object","required":["capability_id","recipient_label"],"title":"ShareBody"},"capability_atlas_routes__ViewBody":{"properties":{"title":{"type":"string","maxLength":120,"minLength":1,"title":"Title"},"capability_ids":{"items":{"type":"string"},"type":"array","maxItems":50,"minItems":1,"title":"Capability Ids"},"request_id":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Request Id"},"expected_release_ref":{"anyOf":[{"type":"string","maxLength":240,"minLength":1},{"type":"null"}],"title":"Expected Release Ref"}},"type":"object","required":["title","capability_ids"],"title":"ViewBody"},"capability_builder_routes__CorrectionBody":{"properties":{"purpose":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Purpose"},"contract_version":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Contract Version"},"expected_version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expected Version"},"idempotency_key":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Idempotency Key"},"reason_code":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Reason Code"},"evidence_refs":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":20},{"type":"null"}],"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","title":"CorrectionBody"},"capability_builder_routes__ReasonBody":{"properties":{"purpose":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Purpose"},"contract_version":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Contract Version"},"expected_version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expected Version"},"idempotency_key":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Idempotency Key"},"reason_code":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Reason Code"}},"additionalProperties":false,"type":"object","title":"ReasonBody"},"capsule_contracts__SaveRequest":{"properties":{"assembly_receipt_id":{"type":"string","maxLength":64,"minLength":8,"title":"Assembly Receipt Id"},"block_id":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Block Id"},"purpose":{"type":"string","enum":["clone_approved_note","snapshot_capsule","bookmark"],"title":"Purpose"},"note_id":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Note Id"},"payload":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Payload"}},"additionalProperties":false,"type":"object","required":["assembly_receipt_id","purpose"],"title":"SaveRequest","description":"Operation 3."},"career_explorer__routes__HandoffRequest":{"properties":{"component":{"type":"string","enum":["career_refresh","role_drift","pathway_plan"],"title":"Component"}},"additionalProperties":false,"type":"object","required":["component"],"title":"HandoffRequest"},"career_explorer__routes__SaveRoleRequest":{"properties":{"occupation_id":{"type":"string","format":"uuid","title":"Occupation Id"}},"additionalProperties":false,"type":"object","required":["occupation_id"],"title":"SaveRoleRequest"},"class_roster_routes__ClassPatch":{"properties":{"display_name":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Display Name"},"subject":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Subject"},"term_label":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Term Label"},"state":{"anyOf":[{"type":"string","maxLength":12},{"type":"null"}],"title":"State"}},"type":"object","title":"ClassPatch"},"class_roster_routes__MemberIn":{"properties":{"display_name":{"type":"string","maxLength":200,"minLength":1,"title":"Display Name"},"roll_no":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Roll No"}},"type":"object","required":["display_name"],"title":"MemberIn"},"commerce_quote_routes__MoneyBody":{"properties":{"minor_units":{"type":"integer","minimum":0.0,"title":"Minor Units"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","title":"Currency"},"tax_inclusive":{"type":"boolean","title":"Tax Inclusive","default":true},"tax_rate_basis_points":{"anyOf":[{"type":"integer","maximum":10000.0,"minimum":0.0},{"type":"null"}],"title":"Tax Rate Basis Points"}},"additionalProperties":false,"type":"object","required":["minor_units","currency"],"title":"MoneyBody"},"commerce_quote_routes__WithdrawBody":{"properties":{"reason":{"type":"string","maxLength":500,"minLength":3,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["reason"],"title":"WithdrawBody"},"commerce_reconciliation__routes__ResolveBody":{"properties":{"note":{"type":"string","maxLength":2000,"minLength":1,"title":"Note"}},"additionalProperties":false,"type":"object","required":["note"],"title":"ResolveBody"},"commerce_subscription_routes__CancelBody":{"properties":{"mode":{"type":"string","enum":["period_end","immediate"],"title":"Mode","default":"period_end"}},"type":"object","title":"CancelBody"},"commerce_subscription_routes__PauseBody":{"properties":{"days":{"type":"integer","title":"Days"},"reason":{"anyOf":[{"type":"string","maxLength":40,"pattern":"^[a-z0-9_]+$"},{"type":"null"}],"title":"Reason"}},"type":"object","required":["days"],"title":"PauseBody"},"commerce_subscription_routes__ResolveBody":{"properties":{"action":{"type":"string","enum":["mark_failed","mark_cancelled_at_provider"],"title":"Action"},"note":{"type":"string","title":"Note"}},"type":"object","required":["action","note"],"title":"ResolveBody"},"console_actions_routes__NoteBody":{"properties":{"note":{"type":"string","maxLength":500,"title":"Note","default":""}},"type":"object","title":"NoteBody"},"console_actions_routes__PolicyBody":{"properties":{"enabled":{"type":"boolean","title":"Enabled"},"mode":{"type":"string","title":"Mode","default":"founder_staff_or_twice"},"cooling_seconds":{"type":"integer","maximum":604800.0,"minimum":0.0,"title":"Cooling Seconds","default":0},"expiry_seconds":{"type":"integer","maximum":2592000.0,"minimum":60.0,"title":"Expiry Seconds","default":86400},"named_approvers":{"items":{},"type":"array","title":"Named Approvers"},"reason":{"type":"string","maxLength":500,"minLength":3,"title":"Reason"}},"type":"object","required":["enabled","reason"],"title":"PolicyBody"},"console_actions_routes__ReconcileBody":{"properties":{"found":{"type":"string","title":"Found"},"note":{"type":"string","maxLength":500,"minLength":3,"title":"Note"}},"type":"object","required":["found","note"],"title":"ReconcileBody"},"console_ai_spend_routes__CapBody":{"properties":{"cap_usd":{"type":"number","exclusiveMinimum":0.0,"title":"Cap Usd"},"reason":{"type":"string","maxLength":400,"title":"Reason","default":""}},"type":"object","required":["cap_usd"],"title":"CapBody"},"console_atcom_build360_routes__AcceptBody":{"properties":{"kind":{"type":"string","pattern":"^(product|pr)$","title":"Kind"},"id":{"type":"integer","maximum":10000000.0,"minimum":1.0,"title":"Id"},"candidate_hash":{"type":"string","maxLength":64,"minLength":8,"title":"Candidate Hash"},"choice":{"type":"string","pattern":"^(accepted|accepted_with_conditions|not_accepted)$","title":"Choice"},"words":{"type":"string","maxLength":1000,"minLength":10,"title":"Words"}},"type":"object","required":["kind","id","candidate_hash","choice","words"],"title":"AcceptBody"},"console_audit_routes__ExportBody":{"properties":{"purpose_code":{"type":"string","maxLength":30,"title":"Purpose Code"},"purpose_text":{"type":"string","maxLength":300,"title":"Purpose Text","default":""},"filters":{"type":"object","title":"Filters"}},"type":"object","required":["purpose_code"],"title":"ExportBody"},"console_build_ops_routes__NoteBody":{"properties":{"body":{"type":"string","maxLength":2000,"minLength":3,"title":"Body"}},"type":"object","required":["body"],"title":"NoteBody"},"console_build_ops_routes__TestBody":{"properties":{"copy_name":{"type":"string","maxLength":120,"minLength":3,"title":"Copy Name"},"tested_at":{"type":"string","format":"date-time","title":"Tested At"},"result":{"type":"string","pattern":"^(worked|partly|failed)$","title":"Result"},"took_minutes":{"anyOf":[{"type":"integer","maximum":100000.0,"minimum":0.0},{"type":"null"}],"title":"Took Minutes"},"note":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Note"}},"type":"object","required":["copy_name","tested_at","result"],"title":"TestBody"},"console_build_release_routes__CheckBody":{"properties":{"service":{"type":"string","title":"Service"},"commit":{"type":"string","maxLength":40,"minLength":7,"pattern":"^[0-9a-fA-F]+$","title":"Commit"},"item_id":{"type":"string","title":"Item Id"},"state":{"type":"string","pattern":"^(ticked|skipped|unticked)$","title":"State"},"reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Reason"},"evidence_link":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Evidence Link"}},"type":"object","required":["service","commit","item_id","state"],"title":"CheckBody"},"console_build_release_routes__NoteBody":{"properties":{"file_name":{"type":"string","maxLength":200,"minLength":5,"title":"File Name"},"body":{"type":"string","maxLength":2000,"minLength":3,"title":"Body"}},"type":"object","required":["file_name","body"],"title":"NoteBody"},"console_calendar_routes__ExportBody":{"properties":{"purpose_code":{"type":"string","maxLength":40,"title":"Purpose Code"},"purpose_text":{"type":"string","maxLength":300,"title":"Purpose Text","default":""}},"type":"object","required":["purpose_code"],"title":"ExportBody"},"console_chats_routes__ExportBody":{"properties":{"purpose_code":{"type":"string","maxLength":40,"title":"Purpose Code"},"purpose_text":{"type":"string","maxLength":300,"title":"Purpose Text","default":""}},"type":"object","required":["purpose_code"],"title":"ExportBody"},"console_chats_routes__WithdrawBody":{"properties":{"reason":{"type":"string","maxLength":400,"minLength":3,"title":"Reason"}},"type":"object","required":["reason"],"title":"WithdrawBody"},"console_company_routes__CheckBody":{"properties":{"kind":{"type":"string","maxLength":120,"minLength":3,"title":"Kind"},"result":{"type":"string","pattern":"^(pass|fail)$","title":"Result"},"note":{"type":"string","maxLength":400,"title":"Note","default":""}},"type":"object","required":["kind","result"],"title":"CheckBody"},"console_company_routes__ExportBody":{"properties":{"purpose_code":{"type":"string","maxLength":40,"title":"Purpose Code"},"purpose_text":{"type":"string","maxLength":300,"title":"Purpose Text","default":""}},"type":"object","required":["purpose_code"],"title":"ExportBody"},"console_company_routes__StateBody":{"properties":{"state":{"type":"string","title":"State"},"reason":{"type":"string","maxLength":400,"title":"Reason","default":""}},"type":"object","required":["state"],"title":"StateBody"},"console_costs_routes__ExportBody":{"properties":{"purpose_code":{"type":"string","maxLength":40,"title":"Purpose Code"},"purpose_text":{"type":"string","maxLength":300,"title":"Purpose Text","default":""},"from_month":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"From Month"},"to_month":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"To Month"}},"type":"object","required":["purpose_code"],"title":"ExportBody"},"console_decisions_routes__AnswerBody":{"properties":{"choice":{"type":"string","maxLength":40,"minLength":1,"title":"Choice"},"text":{"type":"string","maxLength":1000,"title":"Text","default":""}},"type":"object","required":["choice"],"title":"AnswerBody"},"console_deploy_actions__ReconcileBody":{"properties":{"found":{"type":"string","enum":["done","not_done"],"title":"Found"},"note":{"type":"string","maxLength":300,"minLength":5,"title":"Note"}},"additionalProperties":false,"type":"object","required":["found","note"],"title":"ReconcileBody"},"console_dob_correction_routes__CorrectionBody":{"properties":{"date_of_birth":{"type":"string","format":"date","title":"Date Of Birth"},"evidence_ref":{"type":"string","maxLength":200,"title":"Evidence Ref"},"reason":{"type":"string","maxLength":500,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["date_of_birth","evidence_ref","reason"],"title":"CorrectionBody"},"console_dob_correction_routes__DecisionBody":{"properties":{"note":{"type":"string","maxLength":500,"title":"Note","default":""}},"additionalProperties":false,"type":"object","title":"DecisionBody"},"console_home_routes__ResolveBody":{"properties":{"note":{"type":"string","maxLength":500,"title":"Note","default":""}},"type":"object","title":"ResolveBody"},"console_leases_routes__HandoverBody":{"properties":{"to_kind":{"type":"string","pattern":"^(chat|person)$","title":"To Kind"},"to_name":{"type":"string","maxLength":80,"minLength":2,"title":"To Name"},"note":{"type":"string","maxLength":400,"minLength":3,"title":"Note"}},"type":"object","required":["to_kind","to_name","note"],"title":"HandoverBody"},"console_legal_routes__ActBody":{"properties":{"reference":{"type":"string","maxLength":30,"minLength":4,"title":"Reference"},"action":{"type":"string","title":"Action"},"text":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Text"},"assignee":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Assignee"},"send_email":{"type":"boolean","title":"Send Email","default":false},"account_ref":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Account Ref"}},"type":"object","required":["reference","action"],"title":"ActBody"},"console_maps_routes__ExportBody":{"properties":{"purpose_code":{"type":"string","maxLength":40,"title":"Purpose Code"},"purpose_text":{"type":"string","maxLength":300,"title":"Purpose Text","default":""},"map_key":{"type":"string","title":"Map Key"},"format":{"type":"string","pattern":"^(csv|json)$","title":"Format","default":"csv"},"platform":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Platform"}},"type":"object","required":["purpose_code","map_key"],"title":"ExportBody"},"console_markers_routes__ActBody":{"properties":{"object_id":{"type":"string","maxLength":200,"title":"Object Id","default":""},"params":{"type":"object","title":"Params"},"reason":{"type":"string","maxLength":500,"title":"Reason","default":""}},"type":"object","title":"ActBody"},"console_messages_intake__ContactBody":{"properties":{"kind":{"type":"string","maxLength":30,"title":"Kind","default":"contact"},"name":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Name"},"email":{"type":"string","maxLength":254,"minLength":1,"title":"Email"},"subject":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Subject"},"body":{"type":"string","maxLength":2000,"minLength":1,"title":"Body"},"form_fields":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Form Fields"},"consent":{"type":"boolean","title":"Consent","default":false},"under_18":{"type":"boolean","title":"Under 18","default":false},"form_token":{"type":"string","maxLength":120,"title":"Form Token","default":""},"hp":{"type":"string","maxLength":500,"title":"Hp","default":""}},"type":"object","required":["email","body"],"title":"ContactBody"},"console_messages_routes__ExportBody":{"properties":{"purpose_code":{"type":"string","maxLength":40,"minLength":2,"title":"Purpose Code"},"purpose_text":{"type":"string","maxLength":300,"title":"Purpose Text","default":""},"state":{"type":"string","title":"State","default":"all"}},"type":"object","required":["purpose_code"],"title":"ExportBody"},"console_messages_routes__NoteBody":{"properties":{"body_text":{"type":"string","maxLength":2000,"minLength":1,"title":"Body Text"}},"type":"object","required":["body_text"],"title":"NoteBody"},"console_messages_routes__StateBody":{"properties":{"state":{"type":"string","pattern":"^(new|answered|closed)$","title":"State"},"reason":{"type":"string","maxLength":300,"title":"Reason","default":""}},"type":"object","required":["state"],"title":"StateBody"},"console_messages_routes__TestBody":{"properties":{"mode":{"type":"string","pattern":"^(form|watch)$","title":"Mode","default":"form"}},"type":"object","title":"TestBody"},"console_mock_integrity_routes__OpenBody":{"properties":{"reason":{"type":"string","maxLength":500,"minLength":3,"title":"Reason"},"kind":{"type":"string","maxLength":40,"minLength":3,"title":"Kind"},"evidence_ref":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Evidence Ref"}},"type":"object","required":["reason","kind"],"title":"OpenBody"},"console_mock_integrity_routes__Reason":{"properties":{"reason":{"type":"string","maxLength":500,"minLength":3,"title":"Reason"}},"type":"object","required":["reason"],"title":"Reason"},"console_moderation_routes__DecideBody":{"properties":{"decision":{"type":"string","pattern":"^(remove|keep|restore|escalate)$","title":"Decision"},"note":{"type":"string","maxLength":800,"minLength":8,"title":"Note"}},"type":"object","required":["decision","note"],"title":"DecideBody"},"console_money_desk_routes__CapBody":{"properties":{"inr":{"type":"integer","maximum":1000000.0,"minimum":0.0,"title":"Inr"},"reason":{"type":"string","maxLength":500,"minLength":3,"title":"Reason"}},"type":"object","required":["inr","reason"],"title":"CapBody"},"console_money_desk_routes__DecideBody":{"properties":{"decision":{"type":"string","title":"Decision"},"reason":{"type":"string","maxLength":500,"minLength":3,"title":"Reason"}},"type":"object","required":["decision","reason"],"title":"DecideBody"},"console_money_desk_routes__PauseBody":{"properties":{"subscription_id":{"type":"string","maxLength":120,"minLength":3,"title":"Subscription Id"},"days":{"type":"integer","maximum":30.0,"minimum":1.0,"title":"Days"},"reason_code":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Reason Code"},"reason":{"type":"string","maxLength":500,"minLength":3,"title":"Reason"}},"type":"object","required":["subscription_id","days","reason"],"title":"PauseBody"},"console_money_desk_routes__ReasonBody":{"properties":{"reason":{"type":"string","maxLength":500,"minLength":3,"title":"Reason"}},"type":"object","required":["reason"],"title":"ReasonBody"},"console_money_desk_routes__RefundBody":{"properties":{"payment_id":{"type":"string","maxLength":120,"minLength":3,"title":"Payment Id"},"reason":{"type":"string","maxLength":500,"minLength":3,"title":"Reason"}},"type":"object","required":["payment_id","reason"],"title":"RefundBody"},"console_outbound_routes__SettingsBody":{"properties":{"real_recipients_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Real Recipients Enabled"},"max_recipients":{"anyOf":[{"type":"integer","maximum":1000.0,"minimum":1.0},{"type":"null"}],"title":"Max Recipients"},"reason":{"type":"string","maxLength":300,"minLength":8,"title":"Reason"}},"type":"object","required":["reason"],"title":"SettingsBody"},"console_people_routes__ActBody":{"properties":{"reason":{"type":"string","maxLength":500,"title":"Reason","default":""},"params":{"type":"object","title":"Params"}},"type":"object","title":"ActBody"},"console_people_routes__CreateBody":{"properties":{"type":{"type":"string","maxLength":20,"title":"Type","default":""},"kind":{"type":"string","maxLength":20,"title":"Kind","default":""},"name":{"type":"string","maxLength":200,"title":"Name","default":""},"email":{"type":"string","maxLength":200,"title":"Email","default":""},"role":{"type":"string","maxLength":30,"title":"Role","default":""},"exam_target":{"type":"string","maxLength":10,"title":"Exam Target","default":""},"student_ref":{"type":"string","maxLength":120,"title":"Student Ref","default":""},"org_kind":{"type":"string","maxLength":20,"title":"Org Kind","default":""},"test":{"type":"boolean","title":"Test","default":false},"reason":{"type":"string","maxLength":500,"title":"Reason","default":""}},"type":"object","title":"CreateBody"},"console_publication_routes__Reason":{"properties":{"reason":{"type":"string","maxLength":500,"minLength":3,"title":"Reason"}},"type":"object","required":["reason"],"title":"Reason"},"console_publication_routes__TermsBody":{"properties":{"reason":{"type":"string","maxLength":500,"minLength":3,"title":"Reason"},"plan_terms":{"type":"object","title":"Plan Terms"},"expected_version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expected Version"}},"type":"object","required":["reason","plan_terms"],"title":"TermsBody"},"console_regulator_routes__LinkBody":{"properties":{"decision_id":{"type":"string","title":"Decision Id"}},"type":"object","required":["decision_id"],"title":"LinkBody"},"console_regulator_routes__ReasonBody":{"properties":{"reason":{"type":"string","maxLength":600,"title":"Reason","default":""}},"type":"object","title":"ReasonBody"},"console_regulator_routes__SupersedeBody":{"properties":{"superseded_by":{"type":"string","maxLength":40,"title":"Superseded By"},"reason":{"type":"string","maxLength":600,"title":"Reason","default":""}},"type":"object","required":["superseded_by"],"title":"SupersedeBody"},"console_reporter_routes__RefreshBody":{"properties":{"machine_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Machine Id"}},"additionalProperties":false,"type":"object","title":"RefreshBody"},"console_saved_views_routes__ViewBody":{"properties":{"page":{"type":"string","enum":["messages"],"const":"messages","title":"Page"},"platform":{"type":"string","maxLength":20,"title":"Platform","default":"aspireace"},"name":{"type":"string","maxLength":60,"minLength":1,"title":"Name"},"filters":{"type":"object","title":"Filters"}},"type":"object","required":["page","name"],"title":"ViewBody"},"console_standards_routes__ExportBody":{"properties":{"purpose_code":{"type":"string","maxLength":40,"title":"Purpose Code"},"purpose_text":{"type":"string","maxLength":300,"title":"Purpose Text","default":""},"repo":{"type":"string","title":"Repo","default":"aspireace"}},"type":"object","required":["purpose_code"],"title":"ExportBody"},"console_tt_ops_routes__ActBody":{"properties":{"object_id":{"type":"string","maxLength":200,"title":"Object Id","default":""},"params":{"type":"object","title":"Params"},"reason":{"type":"string","maxLength":500,"title":"Reason","default":""}},"type":"object","title":"ActBody"},"console_tt_writes_routes__CaseBody":{"properties":{"case_id":{"type":"string","maxLength":80,"minLength":3,"title":"Case Id"},"action":{"type":"string","title":"Action"},"public_summary":{"anyOf":[{"type":"string","maxLength":1200},{"type":"null"}],"title":"Public Summary"},"assigned_to":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Assigned To"},"redress":{"items":{"type":"string"},"type":"array","maxItems":10,"title":"Redress"}},"type":"object","required":["case_id","action"],"title":"CaseBody"},"console_tt_writes_routes__PolicyBody":{"properties":{"document_id":{"type":"string","maxLength":60,"minLength":3,"title":"Document Id"},"action":{"type":"string","title":"Action"},"hash8":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"Hash8"},"confirm_name":{"anyOf":[{"type":"string","maxLength":60},{"type":"null"}],"title":"Confirm Name"},"note":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Note"},"reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Reason"}},"type":"object","required":["document_id","action"],"title":"PolicyBody"},"crash_kit_briefing_desk_routes__ReviewBody":{"properties":{"decision":{"type":"string","enum":["approve","reject"],"title":"Decision"},"reason":{"type":"string","maxLength":2000,"title":"Reason","default":""}},"additionalProperties":false,"type":"object","required":["decision"],"title":"ReviewBody"},"crash_kit_routes__AcknowledgeBody":{"properties":{"component":{"type":"string","title":"Component"},"source_version":{"type":"string","title":"Source Version"}},"type":"object","required":["component","source_version"],"title":"AcknowledgeBody"},"cross_pack_convergence__models__HandoffRequest":{"properties":{"source_product_id":{"type":"string","pattern":"^[a-z0-9][a-z0-9._-]{1,119}$","title":"Source Product Id"},"target_product_id":{"type":"string","pattern":"^[a-z0-9][a-z0-9._-]{1,119}$","title":"Target Product Id"},"action_intent":{"type":"string","pattern":"^[a-z][a-z0-9._-]{1,119}$","title":"Action Intent"},"source_route":{"type":"string","pattern":"^/[A-Za-z0-9/_?&=.%:-]*$","title":"Source Route"},"target_route":{"type":"string","pattern":"^/[A-Za-z0-9/_?&=.%:-]*$","title":"Target Route"},"thread_ref":{"anyOf":[{"$ref":"#/components/schemas/ConvergenceRef"},{"type":"null"}]},"return_receipt_ref":{"anyOf":[{"$ref":"#/components/schemas/ConvergenceRef"},{"type":"null"}]},"entry_mode":{"type":"string","maxLength":80,"minLength":1,"title":"Entry Mode"}},"additionalProperties":false,"type":"object","required":["source_product_id","target_product_id","action_intent","source_route","target_route","entry_mode"],"title":"HandoffRequest"},"cross_pack_convergence__models__RouteRequest":{"properties":{"route":{"type":"string","pattern":"^/[A-Za-z0-9/_?&=.%:-]*$","title":"Route"},"expected_product_id":{"anyOf":[{"type":"string","pattern":"^[a-z0-9][a-z0-9._-]{1,119}$"},{"type":"null"}],"title":"Expected Product Id"}},"additionalProperties":false,"type":"object","required":["route"],"title":"RouteRequest"},"decision_universe__models_admission_cost__AcknowledgeCorrectionRequest":{"properties":{"consumer_id":{"type":"string","maxLength":160,"minLength":2,"title":"Consumer Id"},"state":{"type":"string","enum":["ACKNOWLEDGED","FAILED"],"title":"State"},"receipt_ref":{"type":"string","maxLength":300,"minLength":3,"title":"Receipt Ref"}},"additionalProperties":false,"type":"object","required":["consumer_id","state","receipt_ref"],"title":"AcknowledgeCorrectionRequest"},"decision_universe__models_career_capital__HandoffRequest":{"properties":{"target_product_id":{"type":"string","enum":["CAPABILITY_BUILDER","FORWARD_PLANNER","CAPABILITY_CHECK","ACESPATHWAYS"],"title":"Target Product Id"},"option_id":{"type":"string","maxLength":36,"minLength":36,"title":"Option Id"}},"additionalProperties":false,"type":"object","required":["target_product_id","option_id"],"title":"HandoffRequest"},"decision_universe__models_career_capital__OptionIn":{"properties":{"investment_name":{"type":"string","maxLength":160,"minLength":1,"title":"Investment Name"},"investment_kind":{"type":"string","enum":["COURSE","SPRINT","PROJECT","CERTIFICATION","SELF_STUDY","OTHER"],"title":"Investment Kind","default":"OTHER"},"capability_ref":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Capability Ref"},"candidate_source":{"type":"string","enum":["READER","CAPABILITY_ATLAS","MARKET_RADAR","ACESPATHWAYS","CAREER_EXPLORER","CAPABILITY_CHECK"],"title":"Candidate Source","default":"READER"},"time_hours":{"anyOf":[{"type":"number","maximum":100000.0,"minimum":0.0},{"type":"null"}],"title":"Time Hours"},"cost_minor":{"anyOf":[{"type":"integer","maximum":1000000000000.0,"minimum":0.0},{"type":"null"}],"title":"Cost Minor"},"cost_currency":{"anyOf":[{"type":"string","pattern":"^[A-Z]{3}$"},{"type":"null"}],"title":"Cost Currency"},"risk_level":{"anyOf":[{"type":"string","enum":["LOW","MEDIUM","HIGH"]},{"type":"null"}],"title":"Risk Level"},"risk_notes":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Risk Notes"}},"additionalProperties":false,"type":"object","required":["investment_name"],"title":"OptionIn"},"decision_universe__models_counselling_desk__AcceptBody":{"properties":{"expected_revision":{"type":"integer","minimum":1.0,"title":"Expected Revision"},"capacity_owner_id":{"anyOf":[{"type":"string","maxLength":36,"minLength":36},{"type":"null"}],"title":"Capacity Owner Id"},"reserve_hours":{"type":"integer","maximum":336.0,"minimum":1.0,"title":"Reserve Hours","default":72},"outcome":{"type":"string","enum":["CONFIRMED","UNCERTAIN"],"title":"Outcome","default":"CONFIRMED"}},"additionalProperties":false,"type":"object","required":["expected_revision"],"title":"AcceptBody"},"decision_universe__models_counselling_desk__ReasonBody":{"properties":{"expected_revision":{"type":"integer","minimum":1.0,"title":"Expected Revision"},"reason":{"type":"string","maxLength":1000,"minLength":3,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["expected_revision","reason"],"title":"ReasonBody"},"decision_universe__models_counselling_service_intake__AcceptBody":{"properties":{"expected_revision":{"type":"integer","minimum":1.0,"title":"Expected Revision"},"slot_id":{"type":"string","maxLength":36,"minLength":36,"title":"Slot Id"}},"additionalProperties":false,"type":"object","required":["expected_revision","slot_id"],"title":"AcceptBody"},"decision_universe__models_counselling_service_intake__ContactBody":{"properties":{"alert_email":{"anyOf":[{"type":"string","maxLength":200,"pattern":"^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$"},{"type":"null"}],"title":"Alert Email"},"alert_phone":{"anyOf":[{"type":"string","maxLength":16,"pattern":"^\\+?[0-9]{10,15}$"},{"type":"null"}],"title":"Alert Phone"},"clear":{"type":"boolean","title":"Clear","default":false}},"additionalProperties":false,"type":"object","title":"ContactBody","description":"Where a safety alert reaches a person (at least one of the two), or clear=true to remove both."},"decision_universe__models_counselling_service_intake__DeclineBody":{"properties":{"expected_revision":{"type":"integer","minimum":1.0,"title":"Expected Revision"},"reason_code":{"type":"string","enum":["NO_SUITABLE_COUNSELLOR","OUTSIDE_SCOPE","NO_TIME_AVAILABLE","OTHER"],"title":"Reason Code"}},"additionalProperties":false,"type":"object","required":["expected_revision","reason_code"],"title":"DeclineBody"},"decision_universe__models_counselling_service_intake__TermsBody":{"properties":{"terms_ref":{"type":"string","maxLength":200,"minLength":3,"title":"Terms Ref"}},"additionalProperties":false,"type":"object","required":["terms_ref"],"title":"TermsBody"},"decision_universe__models_pathway_plans__CompletePlanStepRequest":{"properties":{"proof_ref":{"anyOf":[{"type":"string","maxLength":500,"minLength":3},{"type":"null"}],"title":"Proof Ref"},"proof_digest":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Proof Digest"},"narrative":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Narrative"}},"additionalProperties":false,"type":"object","title":"CompletePlanStepRequest"},"decision_universe__models_replan_events__CorrectedFields":{"properties":{"assumption_key":{"anyOf":[{"type":"string","maxLength":80,"minLength":3,"pattern":"^[A-Z][A-Z0-9_]+$"},{"type":"null"}],"title":"Assumption Key"},"assumption_statement":{"anyOf":[{"type":"string","maxLength":280,"minLength":3},{"type":"null"}],"title":"Assumption Statement"},"trigger":{"anyOf":[{"$ref":"#/components/schemas/TriggerRef"},{"type":"null"}]},"cause":{"anyOf":[{"$ref":"#/components/schemas/CauseCitation"},{"type":"null"}]}},"additionalProperties":false,"type":"object","title":"CorrectedFields"},"decision_universe__models_route_compare__AcknowledgeCorrectionRequest":{"properties":{"notice_key":{"type":"string","maxLength":200,"minLength":3,"title":"Notice Key"},"version":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Version"}},"additionalProperties":false,"type":"object","required":["notice_key"],"title":"AcknowledgeCorrectionRequest"},"decision_universe__models_route_compare__ExportRequest":{"properties":{"version":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Version"},"format":{"type":"string","enum":["json"],"const":"json","title":"Format","default":"json"}},"additionalProperties":false,"type":"object","title":"ExportRequest"},"decision_universe__routes_counselling_service__CancelBody":{"properties":{"reason_code":{"type":"string","title":"Reason Code"},"consent_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Consent Ref"},"expected_remote_revision":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expected Remote Revision"},"correlation_id":{"type":"string","title":"Correlation Id"}},"additionalProperties":false,"type":"object","required":["reason_code","correlation_id"],"title":"CancelBody"},"decision_universe__routes_planner_plans__CompletePlanStepRequest":{"properties":{"narrative":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Narrative"}},"additionalProperties":false,"type":"object","title":"CompletePlanStepRequest","description":"P08 / P09 body. No proof_ref: no saved step says proof is required (see migration 202610111070)."},"decision_universe__service_decision_receipt__CorrectedFields":{"properties":{"decision_statement":{"anyOf":[{"type":"string","maxLength":2000,"minLength":1},{"type":"null"}],"title":"Decision Statement"},"decision_authority":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Decision Authority"},"decision_round_ref":{"anyOf":[{"type":"string","maxLength":127,"minLength":2},{"type":"null"}],"title":"Decision Round Ref"},"options":{"anyOf":[{"items":{"$ref":"#/components/schemas/decision_universe__service_decision_receipt__OptionIn"},"type":"array","maxItems":100},{"type":"null"}],"title":"Options"},"options_complete":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Options Complete"},"stated_reason":{"anyOf":[{"$ref":"#/components/schemas/ReasonIn"},{"type":"null"}]},"source_release":{"anyOf":[{"$ref":"#/components/schemas/ReleaseIn"},{"type":"null"}]},"rule_release":{"anyOf":[{"$ref":"#/components/schemas/ReleaseIn"},{"type":"null"}]},"priorities":{"anyOf":[{"$ref":"#/components/schemas/PrioritiesIn"},{"type":"null"}]},"graph_release_id":{"anyOf":[{"type":"string","maxLength":127},{"type":"null"}],"title":"Graph Release Id"},"rule_release_ref":{"anyOf":[{"type":"string","maxLength":127},{"type":"null"}],"title":"Rule Release Ref"},"context_id":{"anyOf":[{"type":"string","maxLength":127},{"type":"null"}],"title":"Context Id"}},"additionalProperties":false,"type":"object","title":"CorrectedFields","description":"What a correction may change. The decision, its kind, its subject, its\ntime and its capture mode are not here: a correction does not get to\nchange whether the original was written in the room."},"decision_universe__service_decision_receipt__OptionIn":{"properties":{"label":{"type":"string","maxLength":400,"minLength":1,"title":"Label"},"chosen":{"type":"boolean","title":"Chosen","default":false},"ref_type":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Ref Type"},"ref_id":{"anyOf":[{"type":"string","maxLength":127,"minLength":2},{"type":"null"}],"title":"Ref Id"},"ref_digest":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ref Digest"}},"additionalProperties":false,"type":"object","required":["label"],"title":"OptionIn"},"dropper_programme_routes__AcknowledgeBody":{"properties":{"manifest_digest":{"type":"string","maxLength":64,"minLength":64,"title":"Manifest Digest"},"idempotency_key":{"type":"string","maxLength":96,"minLength":8,"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["manifest_digest","idempotency_key"],"title":"AcknowledgeBody"},"dropper_programme_routes__OpenBody":{"properties":{"manifest_digest":{"type":"string","maxLength":64,"minLength":64,"title":"Manifest Digest"},"idempotency_key":{"type":"string","maxLength":96,"minLength":8,"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["manifest_digest","idempotency_key"],"title":"OpenBody"},"dropper_programme_routes__WithdrawBody":{"properties":{"reason_code":{"type":"string","pattern":"^(changed_plans|not_for_me|privacy|other)$","title":"Reason Code"},"idempotency_key":{"type":"string","maxLength":96,"minLength":8,"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["reason_code","idempotency_key"],"title":"WithdrawBody"},"external_mock_routes__BeaconBody":{"properties":{"event_name":{"type":"string","maxLength":64,"minLength":1,"title":"Event Name"},"upload_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Upload Id"},"extra":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Extra"}},"type":"object","required":["event_name"],"title":"BeaconBody"},"external_mock_routes__ConfirmBody":{"properties":{"confirmed_scores":{"type":"object","title":"Confirmed Scores"}},"type":"object","required":["confirmed_scores"],"title":"ConfirmBody"},"firstwork_routes__ConsentBody":{"properties":{"version":{"type":"string","maxLength":40,"title":"Version"},"accepted":{"type":"boolean","title":"Accepted"}},"additionalProperties":false,"type":"object","required":["version","accepted"],"title":"ConsentBody"},"firstwork_routes__HandoffBody":{"properties":{"route_id":{"type":"string","maxLength":40,"minLength":1,"title":"Route Id"},"target_product_id":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Target Product Id"}},"type":"object","required":["route_id"],"title":"HandoffBody"},"firstwork_routes__ProjectionBody":{"properties":{"purpose":{"type":"string","maxLength":60,"title":"Purpose"},"recipient_class":{"type":"string","maxLength":60,"title":"Recipient Class"},"recipient_label":{"type":"string","maxLength":400,"title":"Recipient Label"},"fields":{"items":{"type":"string"},"type":"array","maxItems":10,"title":"Fields"},"capability_ids":{"items":{"type":"string"},"type":"array","maxItems":40,"title":"Capability Ids"},"route_id":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Route Id"},"ttl_days":{"type":"integer","title":"Ttl Days","default":7},"consent":{"anyOf":[{"$ref":"#/components/schemas/firstwork_routes__ConsentBody"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["purpose","recipient_class","recipient_label"],"title":"ProjectionBody"},"flashcard_deck__CreateBody":{"properties":{"cards":{"items":{"$ref":"#/components/schemas/CardIn"},"type":"array","maxItems":10,"minItems":1,"title":"Cards"}},"additionalProperties":false,"type":"object","required":["cards"],"title":"CreateBody"},"focus_session_routes__SettingsBody":{"properties":{"recording_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Recording Enabled"},"attention_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Attention Enabled"},"parent_visible":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Parent Visible"},"consent_version":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Consent Version"},"expected_version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expected Version"}},"additionalProperties":false,"type":"object","title":"SettingsBody"},"focus_session_routes__StartBody":{"properties":{"client_session_id":{"type":"string","maxLength":80,"minLength":8,"title":"Client Session Id"},"planned_minutes":{"anyOf":[{"type":"integer","maximum":480.0,"minimum":1.0},{"type":"null"}],"title":"Planned Minutes"},"authority_plan_id":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Authority Plan Id"},"block_id":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Block Id"},"subject":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Subject"},"entry_mode":{"anyOf":[{"type":"string","enum":["home_shelf","app_menu","today_plan","plan_block","direct_url","resume_sheet","embed"]},{"type":"null"}],"title":"Entry Mode"},"timezone":{"type":"string","maxLength":80,"title":"Timezone","default":"Asia/Kolkata"},"device_class":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Class"},"visible":{"type":"boolean","title":"Visible","default":true}},"additionalProperties":false,"type":"object","required":["client_session_id"],"title":"StartBody"},"gift_twin__routes__CreateBody":{"properties":{"product_id":{"type":"string","maxLength":96,"minLength":3,"title":"Product Id"},"offer_version_id":{"type":"string","maxLength":120,"minLength":3,"title":"Offer Version Id"}},"additionalProperties":false,"type":"object","required":["product_id","offer_version_id"],"title":"CreateBody"},"gift_twin__routes__RedeemBody":{"properties":{"code":{"type":"string","maxLength":64,"minLength":1,"title":"Code"}},"additionalProperties":false,"type":"object","required":["code"],"title":"RedeemBody"},"gift_twin__routes__RevokeBody":{"properties":{"refund_operation_id":{"type":"string","maxLength":120,"minLength":3,"title":"Refund Operation Id"}},"additionalProperties":false,"type":"object","required":["refund_operation_id"],"title":"RevokeBody"},"grader_institution_scope_desk__Reason":{"properties":{"reason":{"type":"string","maxLength":200,"minLength":3,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["reason"],"title":"Reason"},"grader_teacher_bulk__BatchCreate":{"properties":{"command_key":{"type":"string","maxLength":160,"minLength":8,"title":"Command Key"},"label":{"type":"string","maxLength":200,"title":"Label","default":""},"class_ref":{"type":"string","maxLength":128,"title":"Class Ref","default":""},"purpose":{"type":"string","maxLength":500,"title":"Purpose","default":""},"organisation_ref":{"type":"string","maxLength":128,"title":"Organisation Ref","default":""}},"type":"object","required":["command_key"],"title":"BatchCreate"},"hitl_queue__ResolveRequest":{"properties":{"final_grade":{"type":"object","title":"Final Grade"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"override_ai":{"type":"boolean","title":"Override Ai","default":false},"agreement":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agreement"}},"type":"object","required":["final_grade"],"title":"ResolveRequest"},"hitl_queue__StatusResponse":{"properties":{"job_id":{"type":"integer","title":"Job Id"},"grading_job_id":{"type":"string","title":"Grading Job Id"},"stage":{"type":"string","title":"Stage"},"assigned_to":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Assigned To"},"eta_minutes":{"type":"integer","title":"Eta Minutes"},"elapsed_minutes":{"type":"integer","title":"Elapsed Minutes"},"final_grade":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Final Grade"}},"type":"object","required":["job_id","grading_job_id","stage","assigned_to","eta_minutes","elapsed_minutes","final_grade"],"title":"StatusResponse"},"home_merch_channels__contracts__CampaignDraft":{"properties":{"campaign_key":{"type":"string","pattern":"^[a-z][a-z0-9_-]{2,79}$","title":"Campaign Key"},"campaign_version":{"type":"string","pattern":"^[a-z0-9][a-z0-9._-]{1,79}$","title":"Campaign Version"},"purpose":{"type":"string","maxLength":500,"minLength":8,"title":"Purpose"},"product_scope":{"items":{"type":"string"},"type":"array","maxItems":80,"minItems":1,"title":"Product Scope"},"object_scope":{"items":{"type":"string"},"type":"array","maxItems":160,"title":"Object Scope"},"audience_scope":{"items":{"type":"string"},"type":"array","maxItems":30,"minItems":1,"title":"Audience Scope"},"policy_scope":{"items":{"type":"string"},"type":"array","maxItems":30,"minItems":1,"title":"Policy Scope"},"channel_scope":{"items":{"$ref":"#/components/schemas/Channel"},"type":"array","maxItems":6,"minItems":1,"title":"Channel Scope"},"starts_at":{"type":"string","format":"date-time","title":"Starts At"},"ends_at":{"type":"string","format":"date-time","title":"Ends At"},"max_qualified_exposures_7d":{"type":"integer","maximum":20.0,"minimum":1.0,"title":"Max Qualified Exposures 7D","default":2},"first_viewport_cap":{"type":"integer","maximum":2.0,"minimum":0.0,"title":"First Viewport Cap","default":1},"score_adjustments":{"additionalProperties":{"type":"number"},"type":"object","title":"Score Adjustments"},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":30,"minItems":1,"title":"Evidence Refs"},"idempotency_key":{"type":"string","maxLength":160,"minLength":8,"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["campaign_key","campaign_version","purpose","product_scope","audience_scope","policy_scope","channel_scope","starts_at","ends_at","evidence_refs","idempotency_key"],"title":"CampaignDraft"},"home_merch_channels__contracts__CampaignReview":{"properties":{"decision":{"$ref":"#/components/schemas/home_merch_channels__contracts__ReviewDecision"},"reason":{"type":"string","maxLength":1000,"minLength":8,"title":"Reason"},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":30,"minItems":1,"title":"Evidence Refs"},"idempotency_key":{"type":"string","maxLength":160,"minLength":8,"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["decision","reason","evidence_refs","idempotency_key"],"title":"CampaignReview"},"home_merch_channels__contracts__CampaignState":{"type":"string","enum":["DRAFT","REVIEWED","ACTIVE","PAUSED","ROLLED_BACK","EXPIRED","RETIRED"],"title":"CampaignState"},"home_merch_channels__contracts__CampaignTransition":{"properties":{"target_state":{"$ref":"#/components/schemas/home_merch_channels__contracts__CampaignState"},"reason":{"type":"string","maxLength":1000,"minLength":8,"title":"Reason"},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":30,"minItems":1,"title":"Evidence Refs"},"idempotency_key":{"type":"string","maxLength":160,"minLength":8,"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["target_state","reason","evidence_refs","idempotency_key"],"title":"CampaignTransition"},"home_merch_channels__contracts__ContinuityIssue":{"properties":{"source_channel":{"$ref":"#/components/schemas/Channel"},"product_id":{"type":"string","pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","title":"Product Id"},"object_id":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Object Id"},"route":{"type":"string","maxLength":500,"minLength":1,"title":"Route"},"campaign_id":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Campaign Id"},"return_route":{"type":"string","maxLength":500,"minLength":1,"title":"Return Route","default":"/"},"expires_in_seconds":{"type":"integer","maximum":3600.0,"minimum":60.0,"title":"Expires In Seconds","default":900},"idempotency_key":{"type":"string","maxLength":160,"minLength":8,"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["source_channel","product_id","route","idempotency_key"],"title":"ContinuityIssue"},"home_merch_channels__contracts__OverrideDraft":{"properties":{"kind":{"$ref":"#/components/schemas/OverrideKind"},"product_id":{"anyOf":[{"type":"string","pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},{"type":"null"}],"title":"Product Id"},"object_id":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Object Id"},"channel_scope":{"items":{"$ref":"#/components/schemas/Channel"},"type":"array","maxItems":6,"title":"Channel Scope"},"policy_scope":{"items":{"type":"string"},"type":"array","maxItems":30,"title":"Policy Scope"},"payload":{"type":"object","title":"Payload"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"reason":{"type":"string","maxLength":1000,"minLength":8,"title":"Reason"},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":30,"minItems":1,"title":"Evidence Refs"},"idempotency_key":{"type":"string","maxLength":160,"minLength":8,"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["kind","expires_at","reason","evidence_refs","idempotency_key"],"title":"OverrideDraft"},"home_merch_channels__contracts__RecallDraft":{"properties":{"product_id":{"anyOf":[{"type":"string","pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},{"type":"null"}],"title":"Product Id"},"object_id":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Object Id"},"reason_code":{"type":"string","pattern":"^[a-z][a-z0-9_]{2,79}$","title":"Reason Code"},"reason":{"type":"string","maxLength":1000,"minLength":8,"title":"Reason"},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":30,"minItems":1,"title":"Evidence Refs"},"idempotency_key":{"type":"string","maxLength":160,"minLength":8,"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["reason_code","reason","evidence_refs","idempotency_key"],"title":"RecallDraft"},"home_merch_channels__contracts__ReviewDecision":{"type":"string","enum":["APPROVE","REJECT"],"title":"ReviewDecision"},"home_merch_operations__contracts__CampaignDraft":{"properties":{"campaign_key":{"type":"string","pattern":"^[a-z][a-z0-9_-]{2,79}$","title":"Campaign Key"},"campaign_version":{"type":"string","pattern":"^[a-z0-9][a-z0-9._-]{1,79}$","title":"Campaign Version"},"name":{"type":"string","maxLength":160,"minLength":3,"title":"Name"},"objective":{"type":"string","maxLength":500,"minLength":5,"title":"Objective"},"audience_scope":{"items":{"type":"string"},"type":"array","maxItems":20,"minItems":1,"title":"Audience Scope"},"product_scope":{"items":{"type":"string"},"type":"array","maxItems":50,"minItems":1,"title":"Product Scope"},"channels":{"items":{"$ref":"#/components/schemas/ChannelKind"},"type":"array","maxItems":7,"minItems":1,"title":"Channels"},"score_support":{"additionalProperties":{"type":"number"},"type":"object","title":"Score Support"},"starts_at":{"type":"string","format":"date-time","title":"Starts At"},"ends_at":{"type":"string","format":"date-time","title":"Ends At"},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":20,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["campaign_key","campaign_version","name","objective","audience_scope","product_scope","channels","starts_at","ends_at","evidence_refs"],"title":"CampaignDraft"},"home_merch_operations__contracts__CampaignReview":{"properties":{"decision":{"type":"string","pattern":"^(APPROVE|REJECT)$","title":"Decision"},"reason":{"type":"string","maxLength":1000,"minLength":5,"title":"Reason"},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":20,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["decision","reason","evidence_refs"],"title":"CampaignReview"},"home_merch_operations__contracts__CampaignState":{"type":"string","enum":["DRAFT","REVIEWED","CANARY","ACTIVE","PAUSED","ROLLED_BACK","RETIRED"],"title":"CampaignState"},"home_merch_operations__contracts__CampaignTransition":{"properties":{"target_state":{"$ref":"#/components/schemas/home_merch_operations__contracts__CampaignState"},"reason":{"type":"string","maxLength":1000,"minLength":5,"title":"Reason"},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":20,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["target_state","reason","evidence_refs"],"title":"CampaignTransition"},"home_merch_operations__contracts__ContinuityIssue":{"properties":{"product_id":{"type":"string","pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","title":"Product Id"},"route":{"type":"string","title":"Route"},"entry_mode":{"type":"string","pattern":"^[a-z][a-z0-9_-]{1,79}$","title":"Entry Mode"},"campaign_id":{"anyOf":[{"type":"string","pattern":"^hmc_[0-9a-f]{32}$"},{"type":"null"}],"title":"Campaign Id"},"expires_in_seconds":{"type":"integer","maximum":1800.0,"minimum":60.0,"title":"Expires In Seconds","default":600}},"additionalProperties":false,"type":"object","required":["product_id","route","entry_mode"],"title":"ContinuityIssue"},"home_merch_operations__contracts__OverrideDraft":{"properties":{"campaign_id":{"type":"string","pattern":"^hmc_[0-9a-f]{32}$","title":"Campaign Id"},"product_id":{"type":"string","pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","title":"Product Id"},"object_id":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Object Id"},"channels":{"items":{"$ref":"#/components/schemas/ChannelKind"},"type":"array","maxItems":7,"minItems":1,"title":"Channels"},"score_support":{"additionalProperties":{"type":"number"},"type":"object","title":"Score Support"},"renderer_preference":{"anyOf":[{"type":"string","pattern":"^[a-z][a-z0-9_]{2,79}$"},{"type":"null"}],"title":"Renderer Preference"},"starts_at":{"type":"string","format":"date-time","title":"Starts At"},"ends_at":{"type":"string","format":"date-time","title":"Ends At"},"reason":{"type":"string","maxLength":1000,"minLength":5,"title":"Reason"},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":20,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["campaign_id","product_id","channels","starts_at","ends_at","reason","evidence_refs"],"title":"OverrideDraft"},"home_merch_operations__contracts__RecallDraft":{"properties":{"product_id":{"type":"string","pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","title":"Product Id"},"object_id":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Object Id"},"reason_code":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{2,79}$","title":"Reason Code"},"reason":{"type":"string","maxLength":1000,"minLength":5,"title":"Reason"},"channels":{"items":{"$ref":"#/components/schemas/ChannelKind"},"type":"array","maxItems":7,"minItems":1,"title":"Channels"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":20,"minItems":1,"title":"Evidence Refs"},"idempotency_key":{"type":"string","maxLength":160,"minLength":8,"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["product_id","reason_code","reason","evidence_refs","idempotency_key"],"title":"RecallDraft"},"home_os__demand_radar_contract__ExamTrack":{"type":"string","enum":["jee","neet","cuet","cbse","state_board","other","unknown"],"title":"ExamTrack"},"home_os__demand_radar_contract__SubjectBucket":{"type":"string","enum":["physics","chemistry","mathematics","biology","english","social_science","other","unknown"],"title":"SubjectBucket"},"home_os__home_v4_preferences__PreferenceCommand":{"properties":{"operation":{"type":"string","enum":["pin","unpin","hide","unhide","favorite","unfavorite","hide_shelf","show_shelf"],"title":"Operation"},"product_id":{"anyOf":[{"type":"string","maxLength":160,"minLength":1},{"type":"null"}],"title":"Product Id"},"shelf_id":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Shelf Id"},"context_kind":{"type":"string","maxLength":48,"minLength":1,"title":"Context Kind","default":"self"},"context_id":{"type":"string","maxLength":160,"title":"Context Id","default":""},"purpose":{"type":"string","maxLength":160,"minLength":1,"title":"Purpose","default":"personal_home"},"expected_version":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Expected Version"},"source_operation_ref":{"anyOf":[{"type":"string","maxLength":300,"minLength":1},{"type":"null"}],"title":"Source Operation Ref"},"attempt_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Attempt Id"}},"additionalProperties":false,"type":"object","required":["operation"],"title":"PreferenceCommand"},"home_os__homeimp_e2e_runtime__ActionCommand":{"properties":{"home_decision_ref":{"type":"string","maxLength":96,"minLength":8,"title":"Home Decision Ref"},"object_id":{"type":"string","maxLength":180,"minLength":3,"title":"Object Id"},"action_kind":{"type":"string","pattern":"^(impression|launch|use|return|dismiss|retry)$","title":"Action Kind"},"route":{"type":"string","maxLength":300,"minLength":1,"title":"Route"},"source_ref":{"type":"string","maxLength":300,"minLength":3,"title":"Source Ref"},"thread_ref":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"Thread Ref"},"prior_receipt_ref":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"Prior Receipt Ref"},"product_context_receipt_id":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Product Context Receipt Id"},"product_context_hash":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}],"title":"Product Context Hash"},"idempotency_key":{"type":"string","maxLength":200,"minLength":8,"title":"Idempotency Key"},"payload":{"type":"object","title":"Payload"}},"additionalProperties":false,"type":"object","required":["home_decision_ref","object_id","action_kind","route","source_ref","idempotency_key"],"title":"ActionCommand"},"home_os__trututor_handoff__RedeemBody":{"properties":{"token":{"type":"string","maxLength":4096,"minLength":20,"title":"Token"}},"additionalProperties":false,"type":"object","required":["token"],"title":"RedeemBody"},"home_os__trututor_handoff__RevokeBody":{"properties":{"shared_student_id":{"type":"string","pattern":"^sha256:[a-f0-9]{64}$","title":"Shared Student Id"},"consent_id":{"type":"string","maxLength":160,"minLength":1,"title":"Consent Id"}},"additionalProperties":false,"type":"object","required":["shared_student_id","consent_id"],"title":"RevokeBody"},"home_os__trututor_retest__AnswerBody":{"properties":{"item_ref":{"type":"string","maxLength":200,"minLength":1,"title":"Item Ref"},"answer":{"type":"string","maxLength":200,"title":"Answer","default":""}},"additionalProperties":false,"type":"object","required":["item_ref"],"title":"AnswerBody"},"home_os__unit_economics_contract__ExamTrack":{"type":"string","enum":["jee","neet","cuet","cbse","other","unknown"],"title":"ExamTrack"},"home_os__unit_economics_contract__SubjectBucket":{"type":"string","enum":["physics","chemistry","mathematics","biology","other","unknown"],"title":"SubjectBucket"},"insights_decision_core__AcademicContext":{"properties":{"exam":{"type":"string","maxLength":64,"minLength":1,"title":"Exam"},"subject":{"anyOf":[{"type":"string","maxLength":96},{"type":"null"}],"title":"Subject"},"chapter":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Chapter"},"topic":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Topic"},"concept_refs":{"items":{"type":"string"},"type":"array","maxItems":64,"title":"Concept Refs"}},"additionalProperties":false,"type":"object","required":["exam"],"title":"AcademicContext"},"insights_runtime_acceptance_core__EvidenceRef":{"properties":{"kind":{"type":"string","enum":["commit","image","schema","database","object","outbox","event","api","browser","accessibility","performance","correction","rollback","legal","provider","test","manifest"],"title":"Kind"},"uri":{"type":"string","maxLength":500,"minLength":1,"title":"Uri"},"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Sha256"},"generated_at":{"type":"string","format":"date-time","title":"Generated At"},"metadata":{"type":"object","title":"Metadata"}},"additionalProperties":false,"type":"object","required":["kind","uri","sha256","generated_at"],"title":"EvidenceRef"},"jarvis_router_service__RouteRequest":{"properties":{"prompt":{"type":"string","title":"Prompt"},"system_prompt":{"type":"string","title":"System Prompt","default":""},"max_tokens":{"type":"integer","title":"Max Tokens","default":512},"temperature":{"type":"number","title":"Temperature","default":0.3},"cascade":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Cascade"}},"type":"object","required":["prompt"],"title":"RouteRequest"},"marking_bureau_consent__DecisionBody":{"properties":{"learner_id":{"anyOf":[{"type":"string","maxLength":64,"minLength":1},{"type":"null"}],"title":"Learner Id"},"command_key":{"anyOf":[{"type":"string","maxLength":160,"minLength":8},{"type":"null"}],"title":"Command Key"}},"type":"object","title":"DecisionBody"},"marking_bureau_routes__CancelBody":{"properties":{"command_key":{"type":"string","maxLength":160,"title":"Command Key"},"reason":{"type":"string","maxLength":240,"minLength":1,"title":"Reason"}},"type":"object","required":["command_key","reason"],"title":"CancelBody"},"marking_bureau_routes__DecisionBody":{"properties":{"decision":{"type":"string","maxLength":16,"title":"Decision"},"reason":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Reason"},"command_key":{"type":"string","maxLength":160,"title":"Command Key"}},"type":"object","required":["decision","command_key"],"title":"DecisionBody"},"mental_prep_routes__DeclineBody":{"properties":{"request_id":{"type":"string","maxLength":64,"minLength":8,"title":"Request Id"}},"type":"object","required":["request_id"],"title":"DeclineBody"},"mental_prep_routes__HandoverBody":{"properties":{"trigger":{"type":"string","title":"Trigger","default":"HELP_DOOR"},"session_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Session Id"},"request_id":{"type":"string","maxLength":64,"minLength":8,"title":"Request Id"}},"type":"object","required":["request_id"],"title":"HandoverBody"},"misconception_review_desk_routes__DecisionBody":{"properties":{"asset_id":{"type":"string","maxLength":200,"minLength":1,"title":"Asset Id","description":"asset id, or the exact row uid shown in the list"},"decision":{"type":"string","enum":["approve","reject","needs_change"],"title":"Decision"},"note":{"type":"string","maxLength":2000,"title":"Note","default":""}},"additionalProperties":false,"type":"object","required":["asset_id","decision"],"title":"DecisionBody"},"mock_clarification__models__ClarificationIssue":{"properties":{"submission_id":{"type":"string","maxLength":80,"minLength":1,"title":"Submission Id"},"target_type":{"type":"string","enum":["INTEGRITY_DECISION"],"const":"INTEGRITY_DECISION","title":"Target Type"},"target_id":{"type":"string","maxLength":80,"minLength":1,"title":"Target Id"},"target_version":{"type":"integer","minimum":1.0,"title":"Target Version"},"prompt":{"type":"string","maxLength":2000,"minLength":1,"title":"Prompt"},"response_kinds":{"items":{"type":"string","enum":["ACKNOWLEDGE","PROVIDE_CONTEXT","CONTEST"]},"type":"array","maxItems":3,"minItems":1,"title":"Response Kinds"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"supersedes_clarification_id":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Supersedes Clarification Id"}},"additionalProperties":false,"type":"object","required":["submission_id","target_type","target_id","target_version","prompt","response_kinds","expires_at"],"title":"ClarificationIssue"},"mock_clarification__models__ClarificationResponse":{"properties":{"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"},"response_kind":{"type":"string","enum":["ACKNOWLEDGE","PROVIDE_CONTEXT","CONTEST"],"title":"Response Kind"},"response_text":{"anyOf":[{"type":"string","maxLength":1200},{"type":"null"}],"title":"Response Text"},"supersedes_response_id":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Supersedes Response Id"}},"additionalProperties":false,"type":"object","required":["expected_version","response_kind"],"title":"ClarificationResponse"},"mock_marking_modes_routes__AvailabilityBody":{"properties":{"state":{"anyOf":[{"type":"string","pattern":"^(active|paused)$"},{"type":"null"}],"title":"State"},"paused_until":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Paused Until"},"note":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Note"},"max_parallel":{"anyOf":[{"type":"integer","maximum":20.0,"minimum":1.0},{"type":"null"}],"title":"Max Parallel"}},"type":"object","title":"AvailabilityBody"},"mock_marking_modes_routes__CancelBody":{"properties":{"reason":{"type":"string","maxLength":300,"title":"Reason","default":""}},"type":"object","title":"CancelBody"},"ncert_routes__BeaconBody":{"properties":{"event_name":{"type":"string","maxLength":64,"minLength":1,"title":"Event Name"},"chapter_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Chapter Id"},"topic_id":{"anyOf":[{"type":"string","maxLength":96},{"type":"null"}],"title":"Topic Id"},"pitfall_id":{"anyOf":[{"type":"string","maxLength":96},{"type":"null"}],"title":"Pitfall Id"},"extra":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Extra"},"source_event_id":{"anyOf":[{"type":"string","maxLength":160,"minLength":8},{"type":"null"}],"title":"Source Event Id"},"product_context_receipt_id":{"anyOf":[{"type":"string","maxLength":36,"minLength":36},{"type":"null"}],"title":"Product Context Receipt Id"},"product_context_hash":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}],"title":"Product Context Hash"}},"type":"object","required":["event_name"],"title":"BeaconBody","description":"Client-side analytics beacon. Used for events that don't naturally\nfall out of an API call (e.g., ncert.topic_drilled, ncert.pitfall_viewed,\nncert.summary_played) — the FE POSTs this when the user interacts\nwith surfaces that don't otherwise round-trip the BFF."},"notebook_routes__ExportBody":{"properties":{"scope":{"type":"string","title":"Scope","default":"all"},"format":{"type":"string","title":"Format","default":"csv"},"request_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Request Id"}},"type":"object","title":"ExportBody","description":"What the student asks for. `format` defaults to csv, the only one built."},"notes_contract__ExportBody":{"properties":{"scope":{"type":"string","title":"Scope"},"scope_ref":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Scope Ref"},"format":{"type":"string","title":"Format","default":"JSON"},"include":{"$ref":"#/components/schemas/ExportInclude"},"share_scope":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Share Scope"}},"type":"object","required":["scope"],"title":"ExportBody"},"org_onboarding__routes__DecisionBody":{"properties":{"decision":{"type":"string","title":"Decision"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"}},"type":"object","required":["decision"],"title":"DecisionBody"},"os_runtime__aos_golden_slice_c_day__models__EvidenceResult":{"type":"string","enum":["PASS","FAIL","BLOCKED"],"title":"EvidenceResult"},"os_runtime__aos_golden_slice_c_day__models__FinalDecisionCommand":{"properties":{"run_id":{"type":"string","format":"uuid","title":"Run Id"},"decided_by":{"type":"string","maxLength":120,"minLength":2,"title":"Decided By"},"requested_state":{"$ref":"#/components/schemas/DayRunState"},"decided_at":{"type":"string","format":"date-time","title":"Decided At"}},"type":"object","required":["run_id","decided_by","requested_state"],"title":"FinalDecisionCommand"},"os_runtime__aos_integration_relay__models__RelayRequeueCommand":{"properties":{"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version"},"reason":{"type":"string","maxLength":500,"minLength":4,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["expected_version","reason"],"title":"RelayRequeueCommand"},"os_runtime__aos_integration_relay__models__RelayRunCommand":{"properties":{"limit":{"type":"integer","maximum":500.0,"minimum":1.0,"title":"Limit","default":50},"lease_seconds":{"type":"integer","maximum":900.0,"minimum":15.0,"title":"Lease Seconds","default":60}},"additionalProperties":false,"type":"object","title":"RelayRunCommand"},"os_runtime__aos_pr22_golden_slice_a__models__EvidenceRef":{"properties":{"owner_os":{"type":"string","maxLength":16,"minLength":3,"title":"Owner Os"},"object_type":{"type":"string","maxLength":64,"minLength":2,"title":"Object Type"},"object_id":{"type":"string","maxLength":160,"minLength":1,"title":"Object Id"}},"type":"object","required":["owner_os","object_type","object_id"],"title":"EvidenceRef"},"os_runtime__aos_pr23_golden_slice_b__models__EvidenceResult":{"type":"string","enum":["PASS","FAIL","BLOCKED"],"title":"EvidenceResult"},"os_runtime__aos_pr23_golden_slice_b__models__FinalDecisionCommand":{"properties":{"run_id":{"type":"string","format":"uuid","title":"Run Id"},"decided_by":{"type":"string","maxLength":120,"minLength":2,"title":"Decided By"},"requested_state":{"$ref":"#/components/schemas/SliceBState"},"decided_at":{"type":"string","format":"date-time","title":"Decided At"}},"type":"object","required":["run_id","decided_by","requested_state"],"title":"FinalDecisionCommand"},"os_runtime__aos_pr23_golden_slice_b__models__RollbackRehearsalCommand":{"properties":{"rollback_id":{"type":"string","format":"uuid","title":"Rollback Id"},"run_id":{"type":"string","format":"uuid","title":"Run Id"},"rollback_scope":{"type":"string","enum":["global","profile","entitlement","public","offline"],"title":"Rollback Scope"},"command":{"type":"string","maxLength":240,"minLength":2,"title":"Command"},"result":{"$ref":"#/components/schemas/os_runtime__aos_pr23_golden_slice_b__models__EvidenceResult"},"artifact_refs":{"items":{"type":"string"},"type":"array","title":"Artifact Refs"},"executed_at":{"type":"string","format":"date-time","title":"Executed At"}},"type":"object","required":["run_id","rollback_scope","command","result"],"title":"RollbackRehearsalCommand"},"os_runtime__aos_pr24_release_cutover__models__EvidenceResult":{"type":"string","enum":["PASS","FAIL","BLOCKED","WAIVED"],"title":"EvidenceResult"},"os_runtime__aos_pr24_release_cutover__models__ReleaseDecisionCommand":{"properties":{"decision_id":{"type":"string","format":"uuid","title":"Decision Id"},"release_scope":{"type":"string","title":"Release Scope"},"requested_state":{"anyOf":[{"$ref":"#/components/schemas/ReleaseDecisionState"},{"type":"null"}]},"consumer_disposition_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Consumer Disposition Ids"},"evidence_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Evidence Ids"},"registry_lock_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Registry Lock Ids"},"rollback_rehearsal_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Rollback Rehearsal Ids"},"residual_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Residual Ids"},"operator_note":{"type":"string","maxLength":1000,"title":"Operator Note","default":""}},"type":"object","required":["release_scope"],"title":"ReleaseDecisionCommand"},"os_runtime__aos_pr24_release_cutover__models__RollbackRehearsalCommand":{"properties":{"rehearsal_id":{"type":"string","format":"uuid","title":"Rehearsal Id"},"release_scope":{"type":"string","title":"Release Scope"},"rollback_scope":{"type":"string","maxLength":120,"minLength":2,"title":"Rollback Scope"},"mode":{"type":"string","pattern":"^(global|profile|route|database)$","title":"Mode"},"executed":{"type":"boolean","title":"Executed"},"executed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Executed At"},"result":{"$ref":"#/components/schemas/os_runtime__aos_pr24_release_cutover__models__EvidenceResult"},"artifact_refs":{"items":{"type":"string"},"type":"array","title":"Artifact Refs"},"owner":{"type":"string","maxLength":120,"minLength":2,"title":"Owner"}},"type":"object","required":["release_scope","rollback_scope","mode","executed","result","owner"],"title":"RollbackRehearsalCommand"},"os_runtime__aosact_pr04_wave1__models__EvidenceResult":{"type":"string","enum":["PASS","FAIL","BLOCKED"],"title":"EvidenceResult"},"os_runtime__aosact_pr04_wave1__models__FinalDecisionCommand":{"properties":{"run_id":{"type":"string","format":"uuid","title":"Run Id"},"decided_by":{"type":"string","maxLength":120,"minLength":2,"title":"Decided By"},"requested_state":{"$ref":"#/components/schemas/WaveState"},"decided_at":{"type":"string","format":"date-time","title":"Decided At"}},"type":"object","required":["run_id","decided_by","requested_state"],"title":"FinalDecisionCommand"},"os_runtime__os01_concept_spine__models__ResolveRequest":{"properties":{"query":{"type":"string","maxLength":256,"minLength":1,"title":"Query"},"scope":{"$ref":"#/components/schemas/Scope"},"release_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Release Id"},"source_code":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Source Code"}},"additionalProperties":false,"type":"object","required":["query","scope"],"title":"ResolveRequest"},"os_runtime__os02_learning_loop__models__HandoffRequest":{"properties":{"target_route":{"type":"string","title":"Target Route"},"reason":{"type":"string","title":"Reason"},"payload":{"type":"object","title":"Payload"}},"additionalProperties":false,"type":"object","required":["target_route","reason"],"title":"HandoffRequest"},"os_runtime__os04_proof_ledger__models__CorrectionRequest":{"properties":{"reason":{"type":"string","maxLength":500,"minLength":4,"title":"Reason"},"requested_change":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Requested Change"}},"type":"object","required":["reason"],"title":"CorrectionRequest"},"os_runtime__os06_assessment_evidence__models__EvidenceRef":{"properties":{"owner_os":{"type":"string","maxLength":12,"minLength":2,"title":"Owner Os"},"object_type":{"type":"string","maxLength":64,"minLength":2,"title":"Object Type"},"object_id":{"type":"string","maxLength":128,"minLength":1,"title":"Object Id"},"receipt_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Receipt Id"}},"type":"object","required":["owner_os","object_type","object_id"],"title":"EvidenceRef"},"os_runtime__os08_product_thread__models__EvidenceRef":{"properties":{"owner_os":{"type":"string","maxLength":16,"minLength":2,"title":"Owner Os"},"object_type":{"type":"string","maxLength":80,"minLength":2,"title":"Object Type"},"object_id":{"type":"string","maxLength":160,"minLength":1,"title":"Object Id"},"receipt_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Receipt Id"}},"type":"object","required":["owner_os","object_type","object_id"],"title":"EvidenceRef"},"os_runtime__os09_commerce__models__EvidenceRef":{"properties":{"owner_os":{"type":"string","maxLength":16,"minLength":2,"title":"Owner Os"},"object_type":{"type":"string","maxLength":80,"minLength":2,"title":"Object Type"},"object_id":{"type":"string","maxLength":160,"minLength":1,"title":"Object Id"},"version":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Version"},"receipt_id":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Receipt Id"}},"additionalProperties":false,"type":"object","required":["owner_os","object_type","object_id"],"title":"EvidenceRef"},"os_runtime__os10_content_ops__cntimp_pr01__AcademicScope":{"properties":{"exam":{"type":"string","maxLength":80,"minLength":2,"title":"Exam"},"subject":{"type":"string","maxLength":80,"minLength":2,"title":"Subject"},"class_grade":{"anyOf":[{"type":"integer","maximum":14.0,"minimum":1.0},{"type":"null"}],"title":"Class Grade"},"year":{"anyOf":[{"type":"integer","maximum":2200.0,"minimum":1990.0},{"type":"null"}],"title":"Year"},"chapter":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Chapter"},"topic":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Topic"},"concept_ref":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Concept Ref"},"rank_lane":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Rank Lane"}},"additionalProperties":false,"type":"object","required":["exam","subject"],"title":"AcademicScope"},"os_runtime__os10_content_ops__cntimp_pr02__ReviewDecision":{"type":"string","enum":["approve","reject","request_changes"],"title":"ReviewDecision"},"os_runtime__os10_content_ops__models__EvidenceRef":{"properties":{"owner_os":{"type":"string","maxLength":16,"minLength":2,"title":"Owner Os"},"object_type":{"type":"string","maxLength":80,"minLength":2,"title":"Object Type"},"object_id":{"type":"string","maxLength":160,"minLength":1,"title":"Object Id"},"receipt_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Receipt Id"},"source_version":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Source Version"}},"type":"object","required":["owner_os","object_type","object_id"],"title":"EvidenceRef"},"os_runtime__os11_teacher_hitl__models__EvidenceRef":{"properties":{"owner_os":{"type":"string","maxLength":16,"minLength":2,"title":"Owner Os"},"object_type":{"type":"string","maxLength":80,"minLength":2,"title":"Object Type"},"object_id":{"type":"string","maxLength":160,"minLength":1,"title":"Object Id"},"receipt_id":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Receipt Id"},"version":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Version"}},"additionalProperties":false,"type":"object","required":["owner_os","object_type","object_id"],"title":"EvidenceRef"},"os_runtime__os11_teacher_hitl__models__StartReviewCommand":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"assignment_id":{"type":"string","format":"uuid","title":"Assignment Id"},"reviewer_id":{"type":"string","maxLength":128,"minLength":1,"title":"Reviewer Id"},"expected_request_version":{"type":"integer","minimum":1.0,"title":"Expected Request Version"},"expected_assignment_version":{"type":"integer","minimum":1.0,"title":"Expected Assignment Version"}},"additionalProperties":false,"type":"object","required":["request_id","assignment_id","reviewer_id","expected_request_version","expected_assignment_version"],"title":"StartReviewCommand"},"os_runtime__os12_parent_safe__models__EvidenceRef":{"properties":{"owner_os":{"type":"string","maxLength":16,"minLength":2,"title":"Owner Os"},"object_type":{"type":"string","maxLength":80,"minLength":2,"title":"Object Type"},"object_id":{"type":"string","maxLength":160,"minLength":1,"title":"Object Id"},"version":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Version"},"receipt_id":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Receipt Id"}},"additionalProperties":false,"type":"object","required":["owner_os","object_type","object_id"],"title":"EvidenceRef"},"os_runtime__os13_intervention_timing__models__EvidenceRef":{"properties":{"owner_os":{"type":"string","maxLength":16,"minLength":2,"title":"Owner Os"},"object_type":{"type":"string","maxLength":80,"minLength":2,"title":"Object Type"},"object_id":{"type":"string","maxLength":160,"minLength":1,"title":"Object Id"},"version":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Version"},"receipt_id":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Receipt Id"}},"additionalProperties":false,"type":"object","required":["owner_os","object_type","object_id"],"title":"EvidenceRef"},"os_runtime__os14_universal_index__models__EvidenceRef":{"properties":{"owner_os":{"type":"string","maxLength":16,"minLength":2,"title":"Owner Os"},"object_type":{"type":"string","maxLength":80,"minLength":2,"title":"Object Type"},"object_id":{"type":"string","maxLength":180,"minLength":1,"title":"Object Id"},"version":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Version"},"receipt_id":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"Receipt Id"}},"additionalProperties":false,"type":"object","required":["owner_os","object_type","object_id"],"title":"EvidenceRef"},"os_runtime__os16_ai_routing__models__EvidenceRef":{"properties":{"owner_os":{"type":"string","maxLength":16,"minLength":2,"title":"Owner Os"},"object_type":{"type":"string","maxLength":80,"minLength":2,"title":"Object Type"},"object_id":{"type":"string","maxLength":180,"minLength":1,"title":"Object Id"},"version":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Version"},"receipt_id":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"Receipt Id"}},"additionalProperties":false,"type":"object","required":["owner_os","object_type","object_id"],"title":"EvidenceRef"},"os_runtime__os18_release_gate__models__EvidenceRef":{"properties":{"owner_os":{"type":"string","maxLength":16,"minLength":2,"title":"Owner Os"},"object_type":{"type":"string","maxLength":80,"minLength":2,"title":"Object Type"},"object_id":{"type":"string","maxLength":180,"minLength":1,"title":"Object Id"},"version":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Version"},"receipt_id":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"Receipt Id"}},"additionalProperties":false,"type":"object","required":["owner_os","object_type","object_id"],"title":"EvidenceRef"},"os_runtime__os18_release_gate__models__ReleaseDecisionCommand":{"properties":{"candidate_id":{"type":"string","format":"uuid","title":"Candidate Id"},"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"decision_note":{"type":"string","maxLength":1600,"minLength":3,"title":"Decision Note"},"evidence_refs":{"items":{"$ref":"#/components/schemas/os_runtime__os18_release_gate__models__EvidenceRef"},"type":"array","maxItems":64,"minItems":1,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["candidate_id","actor_id","decision_note","evidence_refs"],"title":"ReleaseDecisionCommand"},"os_runtime__os19_reach__models__EvidenceRef":{"properties":{"owner_os":{"type":"string","maxLength":16,"minLength":2,"title":"Owner Os"},"object_type":{"type":"string","maxLength":80,"minLength":2,"title":"Object Type"},"object_id":{"type":"string","maxLength":180,"minLength":1,"title":"Object Id"},"version":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Version"},"receipt_id":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"Receipt Id"}},"additionalProperties":false,"type":"object","required":["owner_os","object_type","object_id"],"title":"EvidenceRef"},"os_runtime__os19_reach__models__PreferenceCommand":{"properties":{"actor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Actor Id"},"reduced_motion":{"type":"boolean","title":"Reduced Motion","default":false},"reduced_data":{"type":"boolean","title":"Reduced Data","default":false},"locale":{"type":"string","maxLength":20,"minLength":2,"title":"Locale","default":"en-IN"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"additionalProperties":false,"type":"object","required":["actor_id"],"title":"PreferenceCommand"},"os_runtime__os20_offline_sync__models__EvidenceRef":{"properties":{"owner_os":{"type":"string","maxLength":16,"minLength":2,"title":"Owner Os"},"object_type":{"type":"string","maxLength":80,"minLength":2,"title":"Object Type"},"object_id":{"type":"string","maxLength":180,"minLength":1,"title":"Object Id"},"version":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Version"},"receipt_id":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"Receipt Id"}},"additionalProperties":false,"type":"object","required":["owner_os","object_type","object_id"],"title":"EvidenceRef"},"os_runtime__os21_privacy_safety__models__EvidenceRef":{"properties":{"owner_os":{"type":"string","maxLength":16,"minLength":2,"title":"Owner Os"},"object_type":{"type":"string","maxLength":80,"minLength":2,"title":"Object Type"},"object_id":{"type":"string","maxLength":180,"minLength":1,"title":"Object Id"},"version":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Version"},"receipt_id":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"Receipt Id"}},"additionalProperties":false,"type":"object","required":["owner_os","object_type","object_id"],"title":"EvidenceRef"},"os_runtime__os22_public_growth__models__EvidenceRef":{"properties":{"owner_os":{"type":"string","maxLength":12,"minLength":3,"title":"Owner Os"},"object_type":{"type":"string","maxLength":64,"minLength":2,"title":"Object Type"},"object_id":{"type":"string","maxLength":160,"minLength":1,"title":"Object Id"},"public_safe":{"type":"boolean","title":"Public Safe","default":false}},"type":"object","required":["owner_os","object_type","object_id"],"title":"EvidenceRef"},"parent_extensions_routes__SettingsBody":{"properties":{"notification_prefs":{"additionalProperties":{"type":"boolean"},"type":"object","title":"Notification Prefs"}},"type":"object","title":"SettingsBody"},"pathdata_admission__models__StatusResponse":{"properties":{"availability":{"$ref":"#/components/schemas/Availability"},"publication_state":{"$ref":"#/components/schemas/PublicationState"},"coverage":{"$ref":"#/components/schemas/CoverageDisclosure"},"source_disclosure":{"items":{"$ref":"#/components/schemas/SourceDisclosure"},"type":"array","title":"Source Disclosure"},"limitations":{"items":{"type":"string"},"type":"array","title":"Limitations"},"authority_boundary":{"$ref":"#/components/schemas/AuthorityBoundary"},"promoted_releases":{"items":{"type":"object"},"type":"array","title":"Promoted Releases"},"product_surfaces":{"items":{"type":"string"},"type":"array","title":"Product Surfaces"}},"additionalProperties":false,"type":"object","required":["availability","publication_state","coverage"],"title":"StatusResponse"},"personal_os__router__ResolveRequest":{"properties":{"launch_ref":{"type":"string","maxLength":240,"minLength":1,"title":"Launch Ref"},"producer_key":{"type":"string","maxLength":160,"minLength":1,"title":"Producer Key"},"object_id":{"type":"string","maxLength":240,"minLength":1,"title":"Object Id"},"source_version":{"type":"string","maxLength":512,"minLength":1,"title":"Source Version"},"intent":{"type":"string","maxLength":40,"minLength":1,"title":"Intent"},"expires_at":{"type":"string","maxLength":40,"minLength":20,"title":"Expires At"},"return_surface":{"anyOf":[{"type":"string","enum":["actions","evidence","saved","history","home"]},{"type":"null"}],"title":"Return Surface"},"return_anchor_ref":{"anyOf":[{"type":"string","maxLength":240,"minLength":1},{"type":"null"}],"title":"Return Anchor Ref"},"return_collection_id":{"anyOf":[{"type":"string","maxLength":240,"minLength":1},{"type":"null"}],"title":"Return Collection Id"},"return_composition_ref":{"anyOf":[{"type":"string","maxLength":240,"minLength":1},{"type":"null"}],"title":"Return Composition Ref"}},"additionalProperties":false,"type":"object","required":["launch_ref","producer_key","object_id","source_version","intent","expires_at"],"title":"ResolveRequest","description":"What a client sends to open a door: handles, never a destination."},"personal_os__trututor_ai_work_coach_proxy__ClarificationResponse":{"properties":{"response_code":{"type":"string","enum":["REFERENCE_PROVIDED","NO_REFERENCE_AVAILABLE","SCOPE_CONFIRMED"],"title":"Response Code"},"source_ref":{"anyOf":[{"type":"string","maxLength":220,"minLength":1},{"type":"null"}],"title":"Source Ref"}},"additionalProperties":false,"type":"object","required":["response_code"],"title":"ClarificationResponse"},"personal_os__write_routes__ExportRequest":{"properties":{"item_ids":{"items":{"type":"string","maxLength":240,"minLength":1},"type":"array","maxItems":100,"minItems":1,"title":"Item Ids"},"purpose":{"type":"string","enum":["personal_record","authorized_support"],"title":"Purpose"},"format":{"type":"string","enum":["PDF","JSON"],"title":"Format"},"acknowledge_copy":{"type":"boolean","enum":[true],"const":true,"title":"Acknowledge Copy"}},"additionalProperties":false,"type":"object","required":["item_ids","purpose","format","acknowledge_copy"],"title":"ExportRequest"},"physical_edition__routes__AvailabilityBody":{"properties":{"state":{"type":"string","title":"State"},"reason":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Reason"},"capacity":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Capacity"}},"additionalProperties":false,"type":"object","required":["state"],"title":"AvailabilityBody"},"physical_edition__routes__CancelBody":{"properties":{"reason":{"type":"string","maxLength":80,"minLength":2,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["reason"],"title":"CancelBody"},"physical_edition__routes__CaseBody":{"properties":{"kind":{"type":"string","maxLength":20,"minLength":3,"title":"Kind"},"reason_code":{"type":"string","maxLength":40,"minLength":2,"title":"Reason Code"},"note":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Note"}},"additionalProperties":false,"type":"object","required":["kind","reason_code"],"title":"CaseBody"},"physical_edition__routes__ConfirmBody":{"properties":{"carrier_ref":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Carrier Ref"}},"additionalProperties":false,"type":"object","title":"ConfirmBody"},"physical_edition__routes__CorrectionBody":{"properties":{"kind":{"type":"string","title":"Kind"},"note":{"type":"string","maxLength":500,"minLength":3,"title":"Note"},"replacement_edition_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Replacement Edition Id"},"affected_card_indexes":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Affected Card Indexes"}},"additionalProperties":false,"type":"object","required":["kind","note"],"title":"CorrectionBody"},"plan_surface_models__OS08Ref":{"properties":{"owner":{"type":"string","enum":["OS08"],"const":"OS08","title":"Owner"},"object_type":{"type":"string","enum":["product_thread","product_return_receipt"],"title":"Object Type"},"object_id":{"type":"string","maxLength":220,"minLength":4,"title":"Object Id"},"version":{"type":"string","maxLength":80,"minLength":1,"title":"Version"},"receipt_id":{"type":"string","maxLength":300,"minLength":4,"title":"Receipt Id"},"state":{"type":"string","enum":["PASS","CURRENT","COMMITTED"],"title":"State"}},"additionalProperties":false,"type":"object","required":["owner","object_type","object_id","version","receipt_id","state"],"title":"OS08Ref"},"plan_surface_models__ObjectType":{"type":"string","enum":["DAY_SPINE","PLAN_PLATE","EVIDENCE_RIVET","CREDITED_PLATE","MODE_COMPASS","DAY_RING","RE_THREAD_PROPOSAL","CALENDAR_FOLD","SPRINT_LADDER","BURST_INSERT","DAY_SEAL","STALE_RIBBON","RETURN_TICKET"],"title":"ObjectType"},"plan_surface_models__SurfaceState":{"type":"string","enum":["GENERATING","READY","PLANNED","ACTIVE","SATISFIED","CREDITED","OFF_PLAN_PRODUCTIVE","PROPOSAL","CONFLICT","AVAILABLE","UNAVAILABLE","CALENDAR","SPRINT","BURST","DEGRADED","NO_SCOPE","STALE","REVOKED","LOCKED","PERMISSION","EMPTY","RETURNED"],"title":"SurfaceState"},"plan_surface_models__TelemetryCommand":{"properties":{"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version"},"event_name":{"type":"string","title":"Event Name"},"screen_id":{"type":"string","pattern":"^[A-Za-z0-9._:-]{2,120}$","title":"Screen Id"},"object_type":{"$ref":"#/components/schemas/plan_surface_models__ObjectType"},"object_id":{"type":"string","maxLength":220,"minLength":1,"title":"Object Id"},"state":{"$ref":"#/components/schemas/plan_surface_models__SurfaceState"},"entry_mode":{"type":"string","pattern":"^[a-z0-9][a-z0-9._:-]{2,120}$","title":"Entry Mode"},"source_receipt_ref":{"type":"string","maxLength":300,"minLength":4,"title":"Source Receipt Ref"},"source_receipt_owner":{"type":"string","maxLength":40,"minLength":2,"title":"Source Receipt Owner"},"metadata":{"type":"object","title":"Metadata"}},"additionalProperties":false,"type":"object","required":["expected_version","event_name","screen_id","object_type","object_id","state","entry_mode","source_receipt_ref","source_receipt_owner"],"title":"TelemetryCommand"},"plan_view_routes__ViewBody":{"properties":{"student_id":{"type":"string","maxLength":64,"minLength":1,"title":"Student Id"}},"type":"object","required":["student_id"],"title":"ViewBody"},"practice_convergence_models__OS08Ref":{"properties":{"owner":{"type":"string","enum":["OS08"],"const":"OS08","title":"Owner"},"object_type":{"type":"string","enum":["product_thread","product_return_receipt"],"title":"Object Type"},"object_id":{"type":"string","title":"Object Id"},"version":{"type":"string","title":"Version"},"receipt_id":{"type":"string","title":"Receipt Id"},"state":{"type":"string","enum":["PASS","CURRENT","COMMITTED"],"title":"State"}},"additionalProperties":false,"type":"object","required":["owner","object_type","object_id","version","receipt_id","state"],"title":"OS08Ref"},"practice_convergence_models__ObjectType":{"type":"string","enum":["PRACTICE_STRIP","ANSWER_NOTCH","PROOF_COIN","REPAIR_STUB","ROUTE_TICKET","CLIMB_WALL","CRUX_HOLD","REASSESSMENT_SEAL","RESUME_DOCK"],"title":"ObjectType"},"practice_convergence_models__SurfaceState":{"type":"string","enum":["READY","ACTIVE","PENDING_SYNC","COMPLETED","REPAIR_AVAILABLE","NO_SIGNAL","THIN_BANK","DEGRADED","STALE","REVOKED","CONFLICT","AWAITING_REASSESSMENT","RETURN_READY"],"title":"SurfaceState"},"practice_convergence_models__TelemetryCommand":{"properties":{"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version"},"event_name":{"type":"string","title":"Event Name"},"screen_id":{"type":"string","pattern":"^[A-Za-z0-9._:-]{2,120}$","title":"Screen Id"},"object_type":{"$ref":"#/components/schemas/practice_convergence_models__ObjectType"},"object_id":{"type":"string","title":"Object Id"},"product_id":{"type":"string","enum":["todays-dpp","chapter-drill"],"title":"Product Id"},"state":{"$ref":"#/components/schemas/practice_convergence_models__SurfaceState"},"entry_mode":{"type":"string","pattern":"^[a-z0-9][a-z0-9._:-]{2,120}$","title":"Entry Mode"},"source_receipt_ref":{"type":"string","maxLength":300,"minLength":4,"title":"Source Receipt Ref"},"source_receipt_owner":{"type":"string","maxLength":40,"minLength":2,"title":"Source Receipt Owner"},"metadata":{"type":"object","title":"Metadata"}},"additionalProperties":false,"type":"object","required":["expected_version","event_name","screen_id","object_type","object_id","product_id","state","entry_mode","source_receipt_ref","source_receipt_owner"],"title":"TelemetryCommand"},"practice_dpp_routes_common__CorrectionRequest":{"properties":{"reason_code":{"type":"string","pattern":"^[A-Z0-9_]{3,80}$","title":"Reason Code"},"reason":{"type":"string","maxLength":500,"minLength":8,"title":"Reason"},"source_receipt_ref":{"type":"string","maxLength":300,"minLength":4,"title":"Source Receipt Ref"},"expected_version":{"type":"integer","minimum":1.0,"title":"Expected Version"}},"additionalProperties":false,"type":"object","required":["reason_code","reason","source_receipt_ref","expected_version"],"title":"CorrectionRequest"},"pyq_atlas_report_routes__ReviewBody":{"properties":{"report_id":{"type":"string","maxLength":160,"minLength":3,"title":"Report Id"},"rows":{"items":{"$ref":"#/components/schemas/ReviewRow"},"type":"array","maxItems":200,"minItems":1,"title":"Rows"}},"type":"object","required":["report_id","rows"],"title":"ReviewBody"},"pyq_atlas_routes__BeaconBody":{"properties":{"event_name":{"type":"string","maxLength":64,"minLength":1,"title":"Event Name"},"exam":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"Exam"},"subject":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"Subject"},"topic_id":{"anyOf":[{"type":"string","maxLength":96},{"type":"null"}],"title":"Topic Id"},"year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Year"},"pyq_item_id":{"anyOf":[{"type":"string","maxLength":96},{"type":"null"}],"title":"Pyq Item Id"},"extra":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Extra"}},"type":"object","required":["event_name"],"title":"BeaconBody"},"pyq_print_routes__ReviewBody":{"properties":{"licence_ref":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Licence Ref"}},"type":"object","title":"ReviewBody"},"pyq_print_routes__SupersedeBody":{"properties":{"new_edition_id":{"type":"string","title":"New Edition Id"},"notice":{"type":"string","maxLength":2000,"minLength":5,"title":"Notice"}},"type":"object","required":["new_edition_id","notice"],"title":"SupersedeBody"},"recap_routes__ViewBody":{"properties":{"student_id":{"type":"string","maxLength":64,"minLength":1,"title":"Student Id"},"expected_snapshot_version":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Expected Snapshot Version"},"expected_snapshot_digest":{"anyOf":[{"type":"string","pattern":"^[a-f0-9]{64}$"},{"type":"null"}],"title":"Expected Snapshot Digest"}},"type":"object","required":["student_id"],"title":"ViewBody"},"seat_path_routes__SaveRequest":{"properties":{"seat_decision_id":{"type":"string","maxLength":64,"minLength":8,"title":"Seat Decision Id"},"label":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Label"}},"additionalProperties":false,"type":"object","required":["seat_decision_id"],"title":"SaveRequest"},"shared_org__link_routes__LinkBody":{"properties":{"source_table":{"type":"string","maxLength":80,"title":"Source Table"},"source_id":{"type":"string","maxLength":120,"title":"Source Id"},"kind":{"type":"string","maxLength":40,"title":"Kind"},"display_name":{"type":"string","maxLength":200,"title":"Display Name"}},"additionalProperties":false,"type":"object","required":["source_table","source_id","kind","display_name"],"title":"LinkBody"},"side_hustle__models__HandoffRequest":{"properties":{"service_id":{"type":"string","maxLength":36,"minLength":36,"title":"Service Id"},"target_product_id":{"type":"string","maxLength":80,"minLength":1,"title":"Target Product Id"},"reason_class":{"type":"string","maxLength":60,"minLength":1,"title":"Reason Class"},"requested_quantity":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Requested Quantity","default":1},"request_id":{"type":"string","maxLength":80,"minLength":8,"title":"Request Id"}},"additionalProperties":false,"type":"object","required":["service_id","target_product_id","reason_class","request_id"],"title":"HandoffRequest"},"storefront_desk__contracts__Reason":{"properties":{"reason":{"type":"string","maxLength":500,"minLength":3,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["reason"],"title":"Reason"},"subject_slice_operator_routes__ReasonBody":{"properties":{"reason":{"type":"string","maxLength":500,"minLength":3,"title":"Reason","description":"why, in plain words; kept in the audit trail"}},"additionalProperties":false,"type":"object","required":["reason"],"title":"ReasonBody"},"subject_slice_operator_routes__WithdrawBody":{"properties":{"reason":{"type":"string","maxLength":500,"minLength":3,"title":"Reason","description":"why, in plain words; kept in the audit trail"},"confirm_term_key":{"type":"string","maxLength":160,"minLength":1,"title":"Confirm Term Key","description":"type the term key again to confirm"}},"additionalProperties":false,"type":"object","required":["reason","confirm_term_key"],"title":"WithdrawBody"},"subject_slice_routes__ResolveBody":{"properties":{"receipt_id":{"type":"string","maxLength":36,"minLength":36,"title":"Receipt Id"}},"additionalProperties":false,"type":"object","required":["receipt_id"],"title":"ResolveBody"},"subject_slice_routes__StartBody":{"properties":{"term_key":{"type":"string","maxLength":160,"minLength":1,"title":"Term Key"},"entry_mode":{"type":"string","maxLength":24,"title":"Entry Mode","default":"catalogue"}},"additionalProperties":false,"type":"object","required":["term_key"],"title":"StartBody"},"sysimp_pr01_routes__CheckoutBody":{"properties":{"product_id":{"type":"string","maxLength":96,"minLength":3,"title":"Product Id"},"offer_version_id":{"type":"string","maxLength":120,"minLength":3,"title":"Offer Version Id"},"object_request":{"anyOf":[{"$ref":"#/components/schemas/ObjectRequestBody"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["product_id","offer_version_id"],"title":"CheckoutBody"},"sysimp_pr01_routes__MoneyBody":{"properties":{"minor_units":{"type":"integer","minimum":0.0,"title":"Minor Units"},"currency":{"type":"string","maxLength":3,"minLength":3,"title":"Currency"},"tax_inclusive":{"type":"boolean","title":"Tax Inclusive","default":true},"tax_rate_basis_points":{"anyOf":[{"type":"integer","maximum":10000.0,"minimum":0.0},{"type":"null"}],"title":"Tax Rate Basis Points"}},"additionalProperties":false,"type":"object","required":["minor_units","currency"],"title":"MoneyBody"},"sysimp_pr02_authority__AcademicScope":{"properties":{"exam_lane":{"type":"string","maxLength":80,"minLength":1,"title":"Exam Lane"},"class_grade":{"type":"integer","maximum":20.0,"minimum":1.0,"title":"Class Grade"},"subject_refs":{"items":{"type":"string"},"type":"array","maxItems":12,"minItems":1,"title":"Subject Refs"},"target_year":{"anyOf":[{"type":"integer","maximum":2100.0,"minimum":2020.0},{"type":"null"}],"title":"Target Year"},"language":{"type":"string","maxLength":12,"minLength":2,"title":"Language","default":"en"}},"additionalProperties":false,"type":"object","required":["exam_lane","class_grade","subject_refs"],"title":"AcademicScope"},"teacher_gradebook_routes__ClassPatch":{"properties":{"display_name":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Display Name"},"subject":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Subject"},"term_label":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Term Label"},"state":{"anyOf":[{"type":"string","enum":["active","archived"]},{"type":"null"}],"title":"State"}},"type":"object","title":"ClassPatch"},"teacher_gradebook_routes__MemberIn":{"properties":{"display_name":{"type":"string","maxLength":80,"minLength":1,"title":"Display Name"}},"type":"object","required":["display_name"],"title":"MemberIn"},"teacher_review_entitlement__ReviewRequest":{"properties":{"grading_job_id":{"type":"string","maxLength":128,"minLength":1,"title":"Grading Job Id"},"command_key":{"type":"string","maxLength":128,"minLength":1,"title":"Command Key"}},"type":"object","required":["grading_job_id","command_key"],"title":"ReviewRequest"},"twin_outbox_relay_routes__RelayRequeueCommand":{"properties":{"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version"},"reason":{"type":"string","maxLength":500,"minLength":3,"title":"Reason"}},"type":"object","required":["expected_version","reason"],"title":"RelayRequeueCommand"},"twin_outbox_relay_routes__RelayRunCommand":{"properties":{"limit":{"type":"integer","maximum":500.0,"minimum":1.0,"title":"Limit","default":50},"lease_seconds":{"type":"integer","maximum":900.0,"minimum":15.0,"title":"Lease Seconds","default":60}},"type":"object","title":"RelayRunCommand"},"wellness_passive_consent__StartReviewCommand":{"properties":{"expected_version":{"type":"integer","minimum":0.0,"title":"Expected Version"}},"additionalProperties":false,"type":"object","required":["expected_version"],"title":"StartReviewCommand"},"work_atlas__models__CorrectionRequest":{"properties":{"contract_version":{"type":"string","enum":["work-atlas.v1"],"const":"work-atlas.v1","title":"Contract Version","default":"work-atlas.v1"},"purpose":{"type":"string","enum":["WORK_ATLAS_CORRECTION"],"const":"WORK_ATLAS_CORRECTION","title":"Purpose","default":"WORK_ATLAS_CORRECTION"},"reason_code":{"type":"string","enum":["INCORRECT","OUT_OF_DATE","WRONG_SOURCE","MISSING_CONTEXT","OTHER"],"title":"Reason Code"},"note":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Note"},"expected_version":{"type":"integer","maximum":100000.0,"minimum":0.0,"title":"Expected Version","default":0},"idempotency_key":{"type":"string","maxLength":120,"minLength":8,"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["reason_code","idempotency_key"],"title":"CorrectionRequest"},"work_atlas__models__SaveRoleRequest":{"properties":{"role_ref":{"type":"string","maxLength":64,"minLength":1,"title":"Role Ref"},"contract_version":{"type":"string","enum":["work-atlas.v1"],"const":"work-atlas.v1","title":"Contract Version","default":"work-atlas.v1"},"purpose":{"type":"string","enum":["WORK_ATLAS_SAVED_ROLE"],"const":"WORK_ATLAS_SAVED_ROLE","title":"Purpose","default":"WORK_ATLAS_SAVED_ROLE"},"expected_version":{"type":"integer","maximum":100000.0,"minimum":0.0,"title":"Expected Version","default":0},"idempotency_key":{"type":"string","maxLength":120,"minLength":8,"title":"Idempotency Key"},"label":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Label"}},"additionalProperties":false,"type":"object","required":["role_ref","idempotency_key"],"title":"SaveRoleRequest"},"work_escrow__routes__CreateBody":{"properties":{"payee_subject_id":{"type":"string","title":"Payee Subject Id"},"amount_paise":{"type":"integer","title":"Amount Paise"},"fee_paise":{"anyOf":[{},{"type":"null"}],"title":"Fee Paise"},"org_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Org Id"},"auto_release_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Auto Release At"}},"type":"object","required":["payee_subject_id","amount_paise"],"title":"CreateBody"},"work_escrow__routes__ReasonBody":{"properties":{"reason":{"type":"string","title":"Reason","default":""}},"type":"object","title":"ReasonBody"},"work_escrow__routes__ReconcileBody":{"properties":{"limit":{"type":"integer","title":"Limit","default":20},"include_needs_review":{"type":"boolean","title":"Include Needs Review","default":false}},"type":"object","title":"ReconcileBody"},"work_escrow__routes__RefundBody":{"properties":{"action":{"type":"string","title":"Action"},"reason":{"type":"string","title":"Reason","default":""}},"type":"object","required":["action"],"title":"RefundBody"},"work_escrow__routes__ResolveBody":{"properties":{"decision":{"type":"string","title":"Decision"},"reason":{"type":"string","title":"Reason","default":""},"payee_paise":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Payee Paise"},"refund_paise":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Refund Paise"}},"type":"object","required":["decision"],"title":"ResolveBody"},"worklab__models__ReviewRequest":{"properties":{"milestone_id":{"type":"string","maxLength":64,"minLength":1,"title":"Milestone Id"},"version_id":{"type":"string","maxLength":64,"minLength":1,"title":"Version Id"},"request_id":{"type":"string","maxLength":128,"minLength":1,"title":"Request Id"}},"additionalProperties":false,"type":"object","required":["milestone_id","version_id","request_id"],"title":"ReviewRequest"},"your_colleges_corrections_routes__CorrectionBody":{"properties":{"college_decision_id":{"anyOf":[{"type":"string","maxLength":64,"minLength":8},{"type":"null"}],"title":"College Decision Id"},"source_release_id":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Source Release Id"},"source_key":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Source Key"},"reason":{"type":"string","enum":["source_withdrawn","cutoff_corrected","identity_relinked","rank_superseded"],"title":"Reason"},"note":{"type":"string","maxLength":1000,"title":"Note","default":""},"successor_decision_id":{"anyOf":[{"type":"string","maxLength":64,"minLength":8},{"type":"null"}],"title":"Successor Decision Id"}},"type":"object","required":["reason"],"title":"CorrectionBody"},"your_rank_routes__RefreshBody":{"properties":{"exam":{"type":"string","maxLength":48,"minLength":2,"title":"Exam"},"rank_universe":{"anyOf":[{"type":"string","maxLength":96},{"type":"null"}],"title":"Rank Universe"},"horizon_days":{"type":"integer","maximum":730.0,"minimum":1.0,"title":"Horizon Days","default":90}},"additionalProperties":false,"type":"object","required":["exam"],"title":"RefreshBody"}}}}