{"openapi":"3.1.0","info":{"title":"Objection Academy Authority API","version":"1.0.0","description":"Source-backed evidence-law authority search and citation checking. Educational use only; not a comprehensive citator."},"servers":[{"url":"https://www.objectionacademy.com"}],"paths":{"/api/authority/search":{"get":{"operationId":"searchAuthorities","summary":"Search covered authorities and source passages","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":2,"maxLength":300}}],"responses":{"200":{"description":"Authority search results"}}}},"/api/authority/check":{"post":{"operationId":"createAuthorityCheck","summary":"Create a private source-support verification","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["text","confirmsNonConfidential","turnstileToken"],"properties":{"text":{"type":"string","minLength":20,"maxLength":12000},"audienceMode":{"type":"string","enum":["consumer","lawyer"]},"jurisdiction":{"type":"string"},"confirmsNonConfidential":{"const":true},"turnstileToken":{"type":"string"}}}}}},"responses":{"202":{"description":"Verification accepted and processed"},"429":{"description":"Anonymous 30-day limit reached"}}}},"/api/authority/check/{id}":{"get":{"operationId":"getAuthorityCheck","summary":"Retrieve an authorized private or public verification","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Structured verification result"},"404":{"description":"Not found or not authorized"}}}},"/api/authority/documents/{id}":{"get":{"operationId":"getAuthority","summary":"Retrieve one indexed authority","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Authority document"}}}},"/api/authority/coverage":{"get":{"operationId":"getAuthorityCoverage","summary":"Retrieve live corpus counts and ingestion freshness","responses":{"200":{"description":"Coverage status"}}}},"/api/authority/methodology":{"get":{"operationId":"getAuthorityMethodology","summary":"Retrieve machine-readable verification methodology","responses":{"200":{"description":"Methodology and limitations"}}}}}}