{"openapi":"3.1.0","info":{"title":"Ott.law Public Legal Research API","version":"1.0.0","description":"Public API for browsing and searching Missouri appellate slip opinions, Missouri case graph topic bundles, and Missouri LIRC workers' compensation decisions. No authentication required. Most endpoints are read-only GET requests; /api/kg/search accepts a JSON POST body.","contact":{"name":"Ott Law Firm","url":"https://ott.law/contact","email":"joe@ott.law"},"license":{"name":"Public access — attribution required","url":"https://ott.law/llms-full.txt"}},"servers":[{"url":"https://ott.law"}],"paths":{"/api/missouri-courts/opinions/{slug}":{"get":{"operationId":"getMissouriOpinion","summary":"Retrieve an exact public opinion record","description":"Exact canonical slug lookup with archived source transcription and stable content/version hashes. Authored summaries are not substituted for source text. Missing text is explicit. Database failure is not a no-match result.","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","maxLength":500,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"}}],"responses":{"200":{"description":"Exact public record; text may be unavailable","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"},"slug":{"type":"string"},"canonicalUrl":{"type":"string","format":"uri"},"contactUrl":{"type":"string","format":"uri"},"caseName":{"type":"string"},"caseNumber":{"anyOf":[{"type":"string"},{"type":"null"}]},"court":{"type":"string"},"courtLabel":{"type":"string"},"decisionDate":{"anyOf":[{"type":"string"},{"type":"null"}]},"archiveUpdatedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"source":{"type":"object","properties":{"provider":{"type":"string"},"url":{"anyOf":[{"type":"string"},{"type":"null"}]},"note":{"type":"string"},"status":{"type":"string","enum":["available","unavailable"]},"unavailableReason":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["provider","url","note","status","unavailableReason"],"additionalProperties":false},"text":{"type":"object","properties":{"kind":{"type":"string","const":"archive_source_transcription"},"status":{"type":"string","enum":["available","unavailable"]},"content":{"anyOf":[{"type":"string"},{"type":"null"}]},"sha256":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["kind","status","content","sha256"],"additionalProperties":false},"recordVersion":{"type":"string"}},"required":["id","slug","canonicalUrl","contactUrl","caseName","caseNumber","court","courtLabel","decisionDate","archiveUpdatedAt","source","text","recordVersion"],"additionalProperties":false}}}},"400":{"description":"Invalid canonical slug"},"404":{"description":"No exact record"},"503":{"description":"Archive unavailable"},"504":{"description":"Archive timed out"}}}},"/api/missouri-courts/opinions":{"get":{"operationId":"listMissouriOpinions","summary":"Browse Missouri appellate opinions with faceted filtering","description":"Returns paginated Missouri appellate slip opinions. All parameters are optional. Default sort is by decision date descending. The response-level relatedPracticeAreas field maps the active filters to canonical Ott Law Firm practice pages; each opinion also includes record-level relatedPracticeAreas.","parameters":[{"name":"year","in":"query","schema":{"type":"integer"},"description":"Filter by decision year (e.g. 2024)"},{"name":"court","in":"query","schema":{"type":"string"},"description":"Filter by court code (e.g. \"ED\", \"WD\", \"SD\", \"SC\")"},{"name":"outcome","in":"query","schema":{"type":"string"},"description":"Filter by outcome (e.g. \"affirmed\", \"reversed\")"},{"name":"practiceArea","in":"query","schema":{"type":"string"},"description":"Filter by practice area"},{"name":"topic","in":"query","schema":{"type":"string"},"description":"Filter by topic slug (e.g. \"premises-liability\")"},{"name":"name","in":"query","schema":{"type":"string"},"description":"Case-insensitive name filter; accepts % and _ wildcards. Does not provide typo correction or semantic search."},{"name":"entity_type","in":"query","schema":{"type":"string"},"description":"Entity type filter (e.g. \"judge\", \"party\", \"attorney\")"},{"name":"entity","in":"query","schema":{"type":"string"},"description":"Normalized entity name (use with entity_type)"},{"name":"page","in":"query","schema":{"type":"integer","default":1,"minimum":1},"description":"Page number"},{"name":"limit","in":"query","schema":{"type":"integer","default":25,"minimum":1,"maximum":100},"description":"Results per page"},{"name":"sort","in":"query","schema":{"type":"string","enum":["date_desc","date_asc","name_asc"],"default":"date_desc"},"description":"Sort order"}],"responses":{"200":{"description":"Paginated list of opinions","content":{"application/json":{"schema":{"type":"object","properties":{"archive":{"$ref":"#/components/schemas/ArchiveMetadata"},"queryType":{"type":"string","const":"faceted_index"},"relatedPracticeAreas":{"type":"array","description":"Canonical practice pages inferred from the active browse filters or query context.","items":{"$ref":"#/components/schemas/PracticeAreaLink"}},"opinions":{"type":"array","items":{"$ref":"#/components/schemas/Opinion"}},"total":{"type":"integer"},"page":{"type":"integer"},"limit":{"type":"integer"},"totalPages":{"type":"integer"}}}}}},"503":{"description":"Dependency unavailable; not an empty result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArchiveDependencyError"}}}},"504":{"description":"Operation or dependency timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArchiveDependencyError"}}}}}}},"/api/missouri-courts/search":{"get":{"operationId":"searchMissouriOpinions","summary":"Semantic vector search across Missouri appellate opinions","description":"Performs semantic search using vector embeddings. Returns results ranked by relevance score. The response-level relatedPracticeAreas field maps the search query to canonical Ott Law Firm practice pages; each matched opinion also includes record-level relatedPracticeAreas. Minimum query length is 3 characters.","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":3},"description":"Search query (minimum 3 characters)"},{"name":"limit","in":"query","schema":{"type":"integer","default":20,"minimum":1,"maximum":50},"description":"Maximum number of results"}],"responses":{"200":{"description":"Ranked search results","content":{"application/json":{"schema":{"type":"object","properties":{"archive":{"$ref":"#/components/schemas/ArchiveMetadata"},"query":{"type":"string"},"queryType":{"type":"string","const":"semantic_vector_search"},"relatedPracticeAreas":{"type":"array","description":"Canonical practice pages inferred from the semantic search query.","items":{"$ref":"#/components/schemas/PracticeAreaLink"}},"total":{"type":"integer"},"results":{"type":"array","items":{"$ref":"#/components/schemas/OpinionSearchResult"}}}}}}},"400":{"description":"Query too short","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}},"503":{"description":"Dependency unavailable; not an empty result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArchiveDependencyError"}}}},"504":{"description":"Operation or dependency timed out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArchiveDependencyError"}}}}}}},"/api/missouri-courts/taxonomy":{"get":{"operationId":"getMissouriCourtTaxonomy","summary":"Missouri appellate taxonomy and practice routing","description":"Returns outcome values, topic vocabulary, injury vocabulary, and canonical practice-area routing links for topics that map to Ott Law Firm practice pages.","responses":{"200":{"description":"Taxonomy values","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MissouriTaxonomy"}}}}}}},"/api/missouri-courts/by-injury":{"get":{"operationId":"listMissouriCasesByInjury","summary":"Browse Missouri injury-tagged decisions by injury taxonomy","description":"Returns paginated Missouri injury-tagged decision records by injury slug, body region, outcome, or text query. Each result includes relatedPracticeAreas so injury-intent API consumers can route to canonical Ott Law Firm practice pages.","parameters":[{"name":"injury","in":"query","schema":{"type":"string"},"description":"Injury taxonomy slug"},{"name":"body_region","in":"query","schema":{"type":"string"},"description":"Body region from injury_topography"},{"name":"outcome","in":"query","schema":{"type":"string"},"description":"Decision outcome filter"},{"name":"q","in":"query","schema":{"type":"string","maxLength":200},"description":"Text filter across claimant name and summary fields"},{"name":"page","in":"query","schema":{"type":"integer","default":1,"minimum":1},"description":"Page number"},{"name":"limit","in":"query","schema":{"type":"integer","default":20,"minimum":1,"maximum":50},"description":"Results per page"}],"responses":{"200":{"description":"Paginated injury-routed decision results","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/InjuryDecision"}},"pagination":{"type":"object","properties":{"page":{"type":"integer"},"limit":{"type":"integer"},"total":{"type":"integer"}}}}}}}},"400":{"description":"Invalid injury slug or body region","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}}},"/api/missouri-courts/by-outcome":{"get":{"operationId":"listMissouriOpinionsByOutcome","summary":"Browse Missouri appellate opinions by normalized outcome","description":"Returns paginated Missouri appellate opinions by normalized outcome, topic, or text query. Each result includes relatedPracticeAreas when deterministic tags, topics, or text signals map the issue to a canonical Ott Law Firm practice page.","parameters":[{"name":"outcome","in":"query","schema":{"type":"string","enum":["affirmed","reversed","modified","dismissed","remanded","transferred","mixed","unknown","other"]},"description":"Normalized outcome filter"},{"name":"topic","in":"query","schema":{"type":"string"},"description":"Case graph topic slug"},{"name":"q","in":"query","schema":{"type":"string","maxLength":200},"description":"Text filter across case name and summary fields"},{"name":"page","in":"query","schema":{"type":"integer","default":1,"minimum":1},"description":"Page number"},{"name":"limit","in":"query","schema":{"type":"integer","default":20,"minimum":1,"maximum":50},"description":"Results per page"}],"responses":{"200":{"description":"Paginated outcome-routed opinion results","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/OutcomeOpinion"}},"pagination":{"type":"object","properties":{"page":{"type":"integer"},"limit":{"type":"integer"},"total":{"type":"integer","nullable":true,"description":"Exact totals are intentionally omitted for latency-sensitive archive browsing; use hasMore and nextPage."},"hasMore":{"type":"boolean"},"nextPage":{"type":"integer","nullable":true}}}}}}}},"400":{"description":"Invalid outcome filter","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}}},"/api/kg/cases/{caseId}":{"get":{"operationId":"getMissouriCaseGraphCase","summary":"Missouri case graph case bundle","description":"Returns a single Missouri appellate case graph bundle. The case summary includes relatedPracticeAreas derived from deterministic practice tags, all attached case topics, and text signals so case-law intent can route to a canonical Ott Law Firm practice page.","parameters":[{"name":"caseId","in":"path","required":true,"schema":{"type":"string","minLength":3,"maxLength":300},"description":"Case graph id, usually the public archive case id (e.g. \"moappd:ed102096:undated\")."}],"responses":{"200":{"description":"Case graph bundle","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseBundle"}}}},"404":{"description":"Case not found"}}}},"/api/kg/topics/{slug}":{"get":{"operationId":"getMissouriCaseGraphTopic","summary":"Missouri case graph topic bundle","description":"Returns a topic record, yearly trend, and related cases. Topic and case records include relatedPracticeAreas when deterministic topic, tag, or text signals map the issue to a canonical practice page.","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"},"description":"Topic slug (e.g. \"premises-liability\")"},{"name":"limit","in":"query","schema":{"type":"integer","default":100,"minimum":1,"maximum":200},"description":"Maximum number of cases"}],"responses":{"200":{"description":"Topic bundle","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopicBundle"}}}},"404":{"description":"Topic not found"}}}},"/api/kg/authorities/{canonicalId}":{"get":{"operationId":"getMissouriCaseGraphAuthority","summary":"Missouri case graph authority bundle","description":"Returns an authority record, treatment counts, and related cases. Related cases include practice-area routing so citation intent can connect to canonical Ott Law Firm practice pages.","parameters":[{"name":"canonicalId","in":"path","required":true,"schema":{"type":"string","minLength":3,"maxLength":300,"pattern":"^[a-z0-9:.\\-_/]+$"},"description":"Canonical authority id such as \"rsmo:287.020\", \"rule:74.04\", or \"case:example-slug\". Slash-bearing ids must be URL encoded."},{"name":"limit","in":"query","schema":{"type":"integer","default":100,"minimum":1,"maximum":200},"description":"Maximum number of related cases"}],"responses":{"200":{"description":"Authority bundle","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthorityBundle"}}}},"400":{"description":"Invalid authority id or limit"},"404":{"description":"Authority not found"}}}},"/api/kg/judges/{slug}":{"get":{"operationId":"getMissouriCaseGraphJudge","summary":"Missouri case graph judge bundle","description":"Returns a judge record and cases grouped by role. Case summaries include relatedPracticeAreas so judge-profile traffic can route to canonical Ott Law Firm practice pages.","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","minLength":2,"maxLength":200},"description":"Normalized judge slug from the public case graph"},{"name":"limit","in":"query","schema":{"type":"integer","default":100,"minimum":1,"maximum":200},"description":"Maximum number of related cases"}],"responses":{"200":{"description":"Judge bundle","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JudgeBundle"}}}},"400":{"description":"Invalid judge slug or limit"},"404":{"description":"Judge not found"}}}},"/api/kg/parties/{slug}":{"get":{"operationId":"getMissouriCaseGraphParty","summary":"Missouri case graph party bundle","description":"Returns a party record and related cases. Case summaries include relatedPracticeAreas so party-profile traffic can route to canonical Ott Law Firm practice pages.","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","minLength":2,"maxLength":200},"description":"Normalized party slug from the public case graph"},{"name":"limit","in":"query","schema":{"type":"integer","default":100,"minimum":1,"maximum":200},"description":"Maximum number of related cases"}],"responses":{"200":{"description":"Party bundle","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartyBundle"}}}},"400":{"description":"Invalid party slug or limit"},"404":{"description":"Party not found"}}}},"/api/kg/search":{"post":{"operationId":"searchMissouriCaseGraph","summary":"Hybrid semantic and structured Missouri case graph search","description":"Searches Missouri case graph summaries by semantic query and structured filters. Results include relatedPracticeAreas when case-law intent maps to a canonical practice page.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"q":{"type":"string","minLength":1,"maxLength":500},"topic":{"type":"string"},"court":{"type":"string"},"year_min":{"type":"integer","minimum":1900,"maximum":2200},"year_max":{"type":"integer","minimum":1900,"maximum":2200},"limit":{"type":"integer","default":20,"minimum":1,"maximum":50}}}}}},"responses":{"200":{"description":"Case graph search results","content":{"application/json":{"schema":{"type":"object","properties":{"disclaimer":{"type":"string"},"results":{"type":"array","items":{"$ref":"#/components/schemas/CaseGraphSummary"}},"total":{"type":"integer"},"query_type":{"type":"string","enum":["semantic","structured","hybrid"]}}}}}}}}},"/api/workers-comp/decisions":{"get":{"operationId":"listWorkersCompDecisions","summary":"Browse workers' compensation decisions with faceted filtering","description":"Returns paginated Missouri LIRC workers' compensation decisions. The response-level relatedPracticeAreas field maps active filters to canonical Ott Law Firm practice pages; each result includes record-level relatedPracticeAreas when structured injury metadata, summaries, or text signals map the decision to a practice page. All parameters are optional. Default sort is by decision date descending.","parameters":[{"name":"year","in":"query","schema":{"type":"integer"},"description":"Filter by decision year"},{"name":"outcome","in":"query","schema":{"type":"string"},"description":"Filter by outcome"},{"name":"injury_type","in":"query","schema":{"type":"string"},"description":"Filter by injury type"},{"name":"name","in":"query","schema":{"type":"string"},"description":"Full-text name search"},{"name":"entity_type","in":"query","schema":{"type":"string"},"description":"Entity type filter"},{"name":"entity","in":"query","schema":{"type":"string"},"description":"Normalized entity name (use with entity_type)"},{"name":"page","in":"query","schema":{"type":"integer","default":1,"minimum":1},"description":"Page number"},{"name":"limit","in":"query","schema":{"type":"integer","default":25,"minimum":1,"maximum":100},"description":"Results per page"},{"name":"sort","in":"query","schema":{"type":"string","enum":["date_desc","date_asc","name_asc"],"default":"date_desc"},"description":"Sort order"}],"responses":{"200":{"description":"Paginated list of decisions","content":{"application/json":{"schema":{"type":"object","properties":{"archive":{"$ref":"#/components/schemas/ArchiveMetadata"},"queryType":{"type":"string","const":"faceted_index"},"relatedPracticeAreas":{"type":"array","description":"Canonical practice pages inferred from the active workers' compensation browse filters.","items":{"$ref":"#/components/schemas/PracticeAreaLink"}},"decisions":{"type":"array","items":{"$ref":"#/components/schemas/Decision"}},"total":{"type":"integer"},"page":{"type":"integer"},"limit":{"type":"integer"},"totalPages":{"type":"integer"}}}}}}}}},"/api/workers-comp/search":{"get":{"operationId":"searchWorkersCompDecisions","summary":"Semantic vector search across workers' compensation decisions","description":"Performs semantic search using vector embeddings. Returns results ranked by relevance score. The response-level relatedPracticeAreas field maps the search query to canonical Ott Law Firm practice pages; each result includes record-level relatedPracticeAreas derived from decision metadata and vector-matched chunk text. Minimum query length is 3 characters.","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":3},"description":"Search query (minimum 3 characters)"},{"name":"limit","in":"query","schema":{"type":"integer","default":20,"minimum":1,"maximum":50},"description":"Maximum number of results"}],"responses":{"200":{"description":"Ranked search results","content":{"application/json":{"schema":{"type":"object","properties":{"archive":{"$ref":"#/components/schemas/ArchiveMetadata"},"query":{"type":"string"},"queryType":{"type":"string","const":"semantic_vector_search"},"relatedPracticeAreas":{"type":"array","description":"Canonical practice pages inferred from the semantic search query.","items":{"$ref":"#/components/schemas/PracticeAreaLink"}},"total":{"type":"integer"},"results":{"type":"array","items":{"$ref":"#/components/schemas/DecisionSearchResult"}}}}}}},"400":{"description":"Query too short","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}}},"/api/public/search-index":{"get":{"operationId":"getArchiveManifest","summary":"Archive manifest with live corpus stats","description":"Returns metadata for all public corpora including live document counts, year ranges, available filter values, and API endpoint URLs.","responses":{"200":{"description":"Archive manifest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArchiveManifest"}}}}}}}},"components":{"schemas":{"ArchiveDependencyError":{"type":"object","required":["error","code","retryable"],"properties":{"error":{"type":"string"},"code":{"type":"string","enum":["SOURCE_UNAVAILABLE","SOURCE_TIMEOUT"]},"retryable":{"type":"boolean","const":true}}},"Opinion":{"type":"object","properties":{"slug":{"type":"string"},"caseName":{"type":"string"},"caseNumber":{"type":"string","nullable":true},"court":{"type":"string"},"courtLabel":{"type":"string"},"decisionDate":{"type":"string","nullable":true},"year":{"type":"integer","nullable":true},"outcome":{"type":"string","nullable":true},"practiceArea":{"type":"string","nullable":true},"topics":{"type":"array","items":{"type":"string"}},"opinionType":{"type":"string","nullable":true},"summary":{"type":"string","nullable":true},"source":{"type":"string"},"sourceUrl":{"type":"string","nullable":true},"wordCount":{"type":"integer","nullable":true},"detailUrl":{"type":"string","format":"uri"},"recordApiUrl":{"type":"string","format":"uri","description":"Exact canonical-slug public record API"},"officialSourceUrl":{"type":"string","nullable":true,"format":"uri"},"relatedPracticeAreas":{"type":"array","items":{"$ref":"#/components/schemas/PracticeAreaLink"}}},"required":["slug","caseName","court","courtLabel"]},"PracticeAreaLink":{"type":"object","properties":{"slug":{"type":"string"},"label":{"type":"string"},"href":{"type":"string"},"url":{"type":"string","format":"uri"},"score":{"type":"number"},"source":{"type":"string","enum":["tag","topic","text","curated"]},"evidence":{"type":"array","description":"Short public-safe signals explaining why this archive record maps to the practice area, such as a tag, topic, authority, entity type, search query, or matched text phrase.","items":{"type":"string"}}},"required":["slug","label","href","url","score","source","evidence"]},"Decision":{"type":"object","properties":{"slug":{"type":"string"},"last_name":{"type":"string"},"first_name":{"type":"string"},"injury_number":{"type":"string","nullable":true},"decision_date":{"type":"string"},"year":{"type":"integer"},"outcome":{"type":"string","nullable":true},"injury_type":{"type":"string","nullable":true},"body_part":{"type":"string","nullable":true},"employer":{"type":"string","nullable":true},"summary":{"type":"string","nullable":true},"pdf_url":{"type":"string","nullable":true,"format":"uri"},"word_count":{"type":"integer"},"detailUrl":{"type":"string","format":"uri"},"officialSourceUrl":{"type":"string","nullable":true,"format":"uri"},"relatedPracticeAreas":{"type":"array","items":{"$ref":"#/components/schemas/PracticeAreaLink"}}},"required":["slug","last_name","first_name","decision_date","year"]},"InjuryDecision":{"type":"object","properties":{"caseId":{"type":"string"},"slug":{"type":"string"},"lastName":{"type":"string"},"firstName":{"type":"string"},"injuryNumber":{"type":"string","nullable":true},"decisionDate":{"type":"string","nullable":true},"year":{"type":"integer","nullable":true},"summary":{"type":"string","nullable":true},"outcome":{"type":"string","nullable":true},"injuryType":{"type":"string","nullable":true},"bodyPart":{"type":"string","nullable":true},"employer":{"type":"string","nullable":true},"injury":{"type":"object","properties":{"slug":{"type":"string"},"label":{"type":"string"},"bodyRegion":{"type":"string"},"isPrimary":{"type":"boolean"},"confidence":{"type":"number"}},"required":["slug","label","bodyRegion"]},"detailUrl":{"type":"string","format":"uri"},"pdfUrl":{"type":"string","nullable":true,"format":"uri"},"relatedPracticeAreas":{"type":"array","items":{"$ref":"#/components/schemas/PracticeAreaLink"}}},"required":["caseId","slug","lastName","firstName","injury"]},"OpinionSearchResult":{"type":"object","properties":{"score":{"type":"number"},"opinion":{"$ref":"#/components/schemas/Opinion"}}},"DecisionSearchResult":{"type":"object","properties":{"score":{"type":"number"},"decision":{"$ref":"#/components/schemas/Decision"}}},"CaseGraphSummary":{"type":"object","properties":{"caseId":{"type":"string"},"opinionId":{"type":"string"},"slug":{"type":"string"},"caseName":{"type":"string"},"caseNumber":{"type":"string","nullable":true},"court":{"type":"string"},"courtLabel":{"type":"string","nullable":true},"decisionDate":{"type":"string","nullable":true},"year":{"type":"integer","nullable":true},"display_summary":{"type":"string","nullable":true},"primaryTopic":{"type":"string","nullable":true},"topicSlugs":{"type":"array","items":{"type":"string"}},"outcomeNorm":{"type":"string","nullable":true},"officialSourceUrl":{"type":"string","nullable":true,"format":"uri"},"detailUrl":{"type":"string","format":"uri"},"score":{"type":"number"},"relatedPracticeAreas":{"type":"array","items":{"$ref":"#/components/schemas/PracticeAreaLink"}}}},"CaseBundle":{"type":"object","properties":{"disclaimer":{"type":"string"},"case":{"$ref":"#/components/schemas/CaseGraphSummary"},"disposition":{"type":"object","nullable":true,"additionalProperties":true},"parties":{"type":"array","items":{"type":"object","additionalProperties":true}},"judges":{"type":"array","items":{"type":"object","additionalProperties":true}},"authorities":{"type":"array","items":{"type":"object","additionalProperties":true}},"holdings":{"type":"array","items":{"type":"object","additionalProperties":true}},"topics":{"type":"array","items":{"type":"object","properties":{"topicSlug":{"type":"string"},"label":{"type":"string"},"confidence":{"type":"number"},"isPrimary":{"type":"boolean"},"relatedPracticeAreas":{"type":"array","items":{"$ref":"#/components/schemas/PracticeAreaLink"}}}}}}},"OutcomeOpinion":{"type":"object","properties":{"caseId":{"type":"string"},"opinionId":{"type":"string"},"slug":{"type":"string"},"caseName":{"type":"string"},"caseNumber":{"type":"string","nullable":true},"court":{"type":"string"},"courtLabel":{"type":"string","nullable":true},"decisionDate":{"type":"string","nullable":true},"year":{"type":"integer","nullable":true},"summary":{"type":"string","nullable":true},"practiceArea":{"type":"string","nullable":true},"primaryTopic":{"type":"string","nullable":true},"outcome":{"type":"string","nullable":true},"detailUrl":{"type":"string","format":"uri"},"officialSourceUrl":{"type":"string","nullable":true,"format":"uri"},"relatedPracticeAreas":{"type":"array","items":{"$ref":"#/components/schemas/PracticeAreaLink"}}},"required":["caseId","opinionId","slug","caseName","court"]},"TopicRef":{"type":"object","properties":{"slug":{"type":"string"},"label":{"type":"string"},"parentSlug":{"type":"string","nullable":true},"relatedPracticeAreas":{"type":"array","items":{"$ref":"#/components/schemas/PracticeAreaLink"}}}},"MissouriTaxonomy":{"type":"object","properties":{"outcomes":{"type":"array","items":{"type":"string"}},"topics":{"type":"object","properties":{"flat":{"type":"array","items":{"$ref":"#/components/schemas/TopicRef"}},"byParent":{"type":"object","additionalProperties":{"type":"array","items":{"$ref":"#/components/schemas/TopicRef"}}}}},"injuries":{"type":"object","properties":{"flat":{"type":"array","items":{"type":"object","properties":{"slug":{"type":"string"},"label":{"type":"string"},"bodyRegion":{"type":"string"},"parentSlug":{"type":"string","nullable":true},"relatedPracticeAreas":{"type":"array","items":{"$ref":"#/components/schemas/PracticeAreaLink"}}}}},"byRegion":{"type":"object","additionalProperties":{"type":"array","items":{"type":"object","properties":{"slug":{"type":"string"},"label":{"type":"string"},"bodyRegion":{"type":"string"},"parentSlug":{"type":"string","nullable":true},"relatedPracticeAreas":{"type":"array","items":{"$ref":"#/components/schemas/PracticeAreaLink"}}}}}}}}}},"TopicBundle":{"type":"object","properties":{"disclaimer":{"type":"string"},"topic":{"type":"object","properties":{"slug":{"type":"string"},"label":{"type":"string"},"description":{"type":"string","nullable":true},"totalCases":{"type":"integer"},"relatedPracticeAreas":{"type":"array","items":{"$ref":"#/components/schemas/PracticeAreaLink"}}}},"trend":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer"},"count":{"type":"integer"}}}},"cases":{"type":"array","items":{"$ref":"#/components/schemas/CaseGraphSummary"}}}},"AuthorityCaseSummary":{"allOf":[{"$ref":"#/components/schemas/CaseGraphSummary"},{"type":"object","properties":{"treatment":{"type":"string","nullable":true},"rawCitation":{"type":"string"}}}]},"AuthorityBundle":{"type":"object","properties":{"disclaimer":{"type":"string"},"authority":{"type":"object","properties":{"canonicalId":{"type":"string"},"authorityType":{"type":"string"},"rawCitationSample":{"type":"string"},"totalCitations":{"type":"integer"},"relatedPracticeAreas":{"type":"array","items":{"$ref":"#/components/schemas/PracticeAreaLink"}}}},"treatment":{"type":"array","items":{"type":"object","properties":{"treatment":{"type":"string"},"count":{"type":"integer"}}}},"cases":{"type":"array","items":{"$ref":"#/components/schemas/AuthorityCaseSummary"}}}},"JudgeBundle":{"type":"object","properties":{"disclaimer":{"type":"string"},"judge":{"type":"object","properties":{"slug":{"type":"string"},"displayName":{"type":"string"},"totalOpinions":{"type":"integer"}}},"byRole":{"type":"object","additionalProperties":{"type":"array","items":{"$ref":"#/components/schemas/CaseGraphSummary"}}}}},"PartyCaseSummary":{"allOf":[{"$ref":"#/components/schemas/CaseGraphSummary"},{"type":"object","properties":{"role":{"type":"string","nullable":true}}}]},"PartyBundle":{"type":"object","properties":{"disclaimer":{"type":"string"},"party":{"type":"object","properties":{"slug":{"type":"string"},"displayName":{"type":"string"},"totalCases":{"type":"integer"}}},"cases":{"type":"array","items":{"$ref":"#/components/schemas/PartyCaseSummary"}}}},"PaginationResponse":{"type":"object","properties":{"total":{"type":"integer","description":"Total number of matching records"},"page":{"type":"integer","description":"Current page number"},"limit":{"type":"integer","description":"Results per page"},"totalPages":{"type":"integer","description":"Total pages available"}}},"ArchiveMetadata":{"type":"object","description":"Metadata envelope included in every API response identifying the archive and its endpoints","properties":{"id":{"type":"string"},"name":{"type":"string"},"maintainedBy":{"type":"string"},"hubUrl":{"type":"string","format":"uri"},"browseUrl":{"type":"string","format":"uri"},"indexApiUrl":{"type":"string","format":"uri"},"semanticSearchApiUrl":{"type":"string","format":"uri"},"apiManifestUrl":{"type":"string","format":"uri"},"note":{"type":"string"},"officialSourceNote":{"type":"string"},"firmContext":{"type":"string"}}},"ArchiveManifest":{"type":"object","properties":{"id":{"type":"string"},"generatedAt":{"type":"string","format":"date-time"},"url":{"type":"string","format":"uri"},"practiceAreaRoutingSchema":{"type":"object","properties":{"responseField":{"type":"string","const":"relatedPracticeAreas"},"responseFieldDescription":{"type":"string"},"recordField":{"type":"string","const":"relatedPracticeAreas"},"recordFieldDescription":{"type":"string"},"practicePageUrlTemplate":{"type":"string"},"clickEventName":{"type":"string","const":"archive_practice_area_click"},"clickEventParameters":{"type":"array","items":{"type":"string"}},"linkFields":{"type":"array","items":{"type":"string"}},"linkSources":{"type":"array","items":{"type":"string","enum":["tag","topic","text","curated"]}},"evidenceDescription":{"type":"string"}}},"practiceArchiveResearchSchema":{"type":"object","properties":{"eventName":{"type":"string","const":"practice_archive_research_click"},"eventDescription":{"type":"string"},"clickEventParameters":{"type":"array","items":{"type":"string"}},"linkKinds":{"type":"array","items":{"type":"string","enum":["browse","semantic-search"]}}}},"archiveBridgeAttributionSchema":{"type":"object","description":"URL and analytics attribution contract for preserving archive case-to-practice context after a visitor follows an archive practice-area link.","properties":{"description":{"type":"string"},"urlParameterPrefix":{"type":"string","const":"ott_archive"},"storageKey":{"type":"string","const":"ott_archive_bridge"},"requiredUrlParameters":{"type":"array","items":{"type":"string","enum":["ott_archive","ott_archive_practice_area"]}},"urlParameters":{"type":"array","items":{"$ref":"#/components/schemas/ArchiveBridgeUrlParameter"}},"landingEventParameters":{"type":"array","items":{"type":"string"}},"sourceLocations":{"type":"array","items":{"type":"string","enum":["opinion_hub_practice_area","opinion_hub_cta","opinion_detail_practice_area","opinion_detail_claim_bridge_practice_area","opinion_detail_claim_bridge_contact_cta","opinion_detail_claim_bridge_phone","opinion_metadata_practice_area","opinion_sidebar_practice_area","opinion_topic_practice_area","opinion_sidebar","opinion_mobile","opinion_body_contact_cta","opinion_body_practice_area","opinion_plain_text_practice_area","opinion_index_practice_area","opinion_index_filtered_practice_area","opinion_filter_practice_area_route","opinion_index_injury_prompt_practice_area","opinion_index_research_shortcut_practice_area","opinion_index_filtered_practice_contact_cta","opinion_index_filtered_practice_phone","opinion_index_injury_prompt_contact_cta","opinion_index_injury_prompt_phone","opinion_card_contact_cta","opinion_semantic_search_contact_cta","opinion_card_practice_area","opinion_topic_filter_practice_area","opinion_search_practice_area","opinion_semantic_search_response_practice_area","semantic_search_result_practice_area","topic_page_practice_area","topic_case_practice_area","topic_page_consultation_cta","authority_profile_practice_area","authority_case_practice_area","authority_profile_consultation_cta","judge_profile_practice_area","judge_profile_consultation_cta","party_profile_practice_area","party_case_practice_area","party_profile_consultation_cta","wc_hub_practice_area","wc_hub_cta","wc_decision_detail_practice_area","wc_decision_third_party_fact_pattern_practice_area","wc_decision_third_party_fact_pattern_contact","wc_decision_detail","wc_decision_sidebar","wc_decision_mobile","wc_decision_card","wc_decision_plain_text_practice_area","wc_decisions_index_practice_area","wc_index_hero_practice_area","wc_index_top_practice_area","wc_index_case_route_practice_area","wc_index_high_intent_practice_area","wc_index_third_party_fact_pattern_practice_area","wc_index_curated_practice_area","wc_index_contextual_practice_area","wc_index_high_intent_contact_cta","wc_index_high_intent_phone","wc_index_third_party_contact_cta","wc_index_third_party_phone","wc_index_third_party_fact_pattern_contact","wc_index_top_contact_cta","wc_index_consultation_cta","wc_semantic_search_contact_cta","wc_search_practice_area","wc_semantic_search","wc_semantic_search_response_practice_area","wc_entity_practice_area","wc_entity_consultation_cta","wc_stats_practice_area","wc_stats_consultation_cta"]}}}},"maintainedBy":{"type":"object","properties":{"name":{"type":"string"},"displayName":{"type":"string"},"organization":{"type":"string"},"tagline":{"type":"string"},"url":{"type":"string","format":"uri"},"contactUrl":{"type":"string","format":"uri"},"description":{"type":"string"}}},"corpora":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"archiveType":{"type":"string"},"note":{"type":"string"},"officialSourceNote":{"type":"string"},"hubUrl":{"type":"string","format":"uri"},"browseUrl":{"type":"string","format":"uri"},"entityPageUrlTemplate":{"type":"string"},"entityRouteTypes":{"type":"array","items":{"$ref":"#/components/schemas/WorkersCompEntityRouteType"}},"semanticSearchUrl":{"type":"string","format":"uri"},"facetedIndexUrl":{"type":"string","format":"uri"},"byOutcomeUrl":{"type":"string","format":"uri"},"taxonomyUrl":{"type":"string","format":"uri"},"caseGraphSearchUrl":{"type":"string","format":"uri"},"caseApiUrlTemplate":{"type":"string"},"topicApiUrlTemplate":{"type":"string"},"topicPageUrlTemplate":{"type":"string"},"authorityApiUrlTemplate":{"type":"string"},"authorityPageUrlTemplate":{"type":"string"},"judgeApiUrlTemplate":{"type":"string"},"judgePageUrlTemplate":{"type":"string"},"partyApiUrlTemplate":{"type":"string"},"partyPageUrlTemplate":{"type":"string"},"practiceAreaRouting":{"type":"string"},"canonicalPracticeAreaRoutes":{"type":"array","items":{"$ref":"#/components/schemas/PracticeAreaRouteHint"}},"stats":{"type":"object","nullable":true,"properties":{"totalDocuments":{"type":"integer"},"yearRange":{"type":"object","properties":{"min":{"type":"integer"},"max":{"type":"integer"}}}}},"parameters":{"type":"object","properties":{"facetedIndex":{"type":"array","items":{"type":"string"}},"semanticSearch":{"type":"array","items":{"type":"string"}},"byOutcome":{"type":"array","items":{"type":"string"}}}}}}}}},"WorkersCompEntityRouteType":{"type":"object","description":"Workers' compensation entity route metadata for converting stats/entity traffic into canonical practice-area paths.","properties":{"pageType":{"type":"string","enum":["claimant-attorney","employer-attorney","judge","physician","diagnosis"]},"dbType":{"type":"string","enum":["attorney_claimant","attorney_employer","judge","physician","medical_diagnosis"]},"label":{"type":"string"},"pageUrlTemplate":{"type":"string"},"facetedIndexUrlTemplate":{"type":"string"},"recordField":{"type":"string","const":"relatedPracticeAreas"},"relatedPracticeAreas":{"type":"array","items":{"$ref":"#/components/schemas/PracticeAreaLink"}}},"required":["pageType","dbType","label","pageUrlTemplate","facetedIndexUrlTemplate","recordField","relatedPracticeAreas"]},"ArchiveBridgeUrlParameter":{"type":"object","properties":{"name":{"type":"string"},"required":{"type":"boolean"},"eventParameter":{"type":"string"},"description":{"type":"string"}},"required":["name","required","eventParameter","description"]},"PracticeAreaRouteHint":{"type":"object","properties":{"slug":{"type":"string"},"label":{"type":"string"},"href":{"type":"string"},"url":{"type":"string","format":"uri"},"recordField":{"type":"string","const":"relatedPracticeAreas"},"routingSignals":{"type":"array","items":{"type":"string"}},"archiveResearchLinks":{"type":"array","description":"Canonical archive browse or semantic-search URLs a practice page exposes for this practice-area route.","items":{"$ref":"#/components/schemas/PracticeAreaArchiveResearchLink"}}},"required":["slug","label","href","url","recordField","routingSignals","archiveResearchLinks"]},"PracticeAreaArchiveResearchLink":{"type":"object","properties":{"archive":{"type":"string","enum":["missouri-courts","workers-comp"]},"kind":{"type":"string","enum":["browse","semantic-search"]},"label":{"type":"string"},"description":{"type":"string"},"href":{"type":"string"},"url":{"type":"string","format":"uri"},"query":{"type":"string"}},"required":["archive","kind","label","description","href","url"]}}}}