DavisStirling
California HOA law: Davis-Stirling Act text and 189 court decisions. Read-only, no auth.
使うべきか
品質と安全性
検出事項(3)
- LOWfind_interpreting_cases 内
- LOWfetch 内
- LOWbrowse_topics 内
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"davisstirling": {
"url": "https://davisstirling.org/mcp"
}
}
}リモートエンドポイント
https://davisstirling.org/mcpstreamable-httpできること
ツール一覧
ツール(8)
🟢search(query, kind, topic, limit)
Use this when the user asks about California HOA, condominium or common-interest-development law and you need the governing statute sections or court decisions. Searches the Davis-Stirling Act (Civil Code §§4000–6150) and the court decisions interpreting it; returns ranked results, each with a verbatim snippet, citation and link. Do not use it for other states, commercial or industrial CIDs (§§6500–6876), the Corporations Code, local ordinances, or a specific association’s governing documents.
入力スキーマ
{
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 2,
"maxLength": 200,
"description": "What to look for, in plain words or a citation."
},
"kind": {
"description": "Limit to statute sections or cases (default all).",
"type": "string",
"enum": [
"all",
"statute",
"case"
]
},
"topic": {
"description": "A topic slug from browse_topics, e.g. \"meetings\".",
"type": "string",
"pattern": "^[a-z][a-z-]{2,39}$"
},
"limit": {
"description": "Results to return (default 8).",
"type": "integer",
"minimum": 1,
"maximum": 20
}
},
"required": [
"query"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}出力スキーマ
{
"type": "object",
"properties": {
"query": {
"type": "string"
},
"results": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"url": {
"type": "string"
},
"cite": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"statute_section",
"case"
]
},
"snippet": {
"type": "object",
"properties": {
"text": {
"type": "string"
},
"layer": {
"type": "string",
"enum": [
"source",
"davisstirling"
]
},
"method": {
"anyOf": [
{
"type": "string",
"enum": [
"derived",
"editorial.human",
"editorial.machine-drafted",
"editorial.machine-reviewed",
"editorial.human-reviewed",
"editorial.sourced"
]
},
{
"type": "null"
}
]
},
"pinpoint": {
"type": [
"string",
"null"
]
}
},
"required": [
"text",
"layer",
"method",
"pinpoint"
],
"additionalProperties": false
},
"matched_on": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"id",
"title",
"url",
"cite",
"kind",
"snippet",
"matched_on"
],
"additionalProperties": false
}
},
"meta": {
"type": "object",
"properties": {
"corpus_version": {
"type": "string",
"description": "Version of the compiled corpus this response was built from."
},
"coverage": {
"type": "string",
"description": "What the corpus covers and does not cover."
},
"notice": {
"type": "string"
}
},
"required": [
"corpus_version",
"coverage",
"notice"
],
"additionalProperties": false
}
},
"required": [
"query",
"results",
"meta"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢fetch(id)
Use this to read the full document for an id returned by search: a statute section’s official text, or a court decision’s DavisStirling summary followed by the start of the opinion, with source and currency information. Do not use it to search; use search first to get an id.
入力スキーマ
{
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 3,
"maxLength": 200,
"description": "An id from search, e.g. \"cal.civ.4920\" or \"cal.case.nahrstedt-v-lakeside-village-1994\"."
}
},
"required": [
"id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}出力スキーマ
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"text": {
"type": "string"
},
"url": {
"type": "string"
},
"metadata": {
"type": "object",
"properties": {
"citation": {
"type": "object",
"properties": {
"authority_id": {
"type": "string",
"description": "Stable id, e.g. \"cal.civ.4920\" or \"cal.case.<slug>\"."
},
"kind": {
"type": "string",
"enum": [
"statute_section",
"case"
]
},
"pinpoint": {
"description": "Subdivision, e.g. \"(b)(2)\"; null = whole section.",
"type": [
"string",
"null"
]
},
"cite": {
"type": "object",
"properties": {
"california_style": {
"type": "string"
},
"bluebook": {
"type": "string"
}
},
"required": [
"california_style",
"bluebook"
],
"additionalProperties": false
},
"title": {
"type": "string"
},
"title_layer": {
"anyOf": [
{
"type": "object",
"properties": {
"layer": {
"type": "string",
"const": "davisstirling"
},
"method": {
"type": "string",
"enum": [
"derived",
"editorial.human",
"editorial.machine-drafted",
"editorial.machine-reviewed",
"editorial.human-reviewed",
"editorial.sourced"
]
}
},
"required": [
"layer",
"method"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"layer": {
"type": "string",
"const": "source"
}
},
"required": [
"layer"
],
"additionalProperties": false
}
]
},
"quote": {
"anyOf": [
{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "Verbatim source text."
},
"layer": {
"type": "string",
"const": "source"
},
"verified": {
"type": "boolean",
"description": "True: an exact substring of the compiled source text."
},
"span": {
"anyOf": [
{
"type": "object",
"properties": {
"start": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"end": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"start",
"end"
],
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"required": [
"text",
"layer",
"verified",
"span"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"source": {
"type": "object",
"properties": {
"publisher": {
"type": "string"
},
"url": {
"type": [
"string",
"null"
]
},
"retrieved": {
"type": [
"string",
"null"
]
},
"content_sha256": {
"type": [
"string",
"null"
]
},
"cluster_id": {
"anyOf": [
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
}
},
"required": [
"publisher",
"url",
"retrieved",
"content_sha256"
],
"additionalProperties": false
},
"currency": {
"type": "object",
"properties": {
"last_amended": {
"type": [
"string",
"null"
]
},
"last_amended_by": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string",
"const": "in_force"
},
"pending": {
"type": "array",
"items": {
"type": "object",
"properties": {
"bill": {
"type": "string"
},
"effective": {
"type": "string"
}
},
"required": [
"bill",
"effective"
],
"additionalProperties": false
}
},
"corpus_as_of": {
"type": "string"
}
},
"required": [
"last_amended",
"last_amended_by",
"status",
"pending",
"corpus_as_of"
],
"additionalProperties": false
},
"court": {
"type": "string"
},
"court_id": {
"type": [
"string",
"null"
]
},
"date_decided": {
"type": [
"string",
"null"
]
},
"docket": {
"type": [
"string",
"null"
]
},
"precedential_status": {
"type": [
"string",
"null"
]
},
"parallel_citations": {
"type": "array",
"items": {
"type": "string"
}
},
"canonical_url": {
"type": "string",
"description": "The DavisStirling page for this authority."
}
},
"required": [
"authority_id",
"kind",
"pinpoint",
"cite",
"title",
"title_layer",
"quote",
"source",
"canonical_url"
],
"additionalProperties": false
},
"layers": {
"type": "string"
},
"corpus_version": {
"type": "string"
},
"data_url": {
"type": "string"
}
},
"required": [
"citation",
"layers",
"corpus_version",
"data_url"
],
"additionalProperties": false
},
"meta": {
"type": "object",
"properties": {
"corpus_version": {
"type": "string",
"description": "Version of the compiled corpus this response was built from."
},
"coverage": {
"type": "string",
"description": "What the corpus covers and does not cover."
},
"notice": {
"type": "string"
}
},
"required": [
"corpus_version",
"coverage",
"notice"
],
"additionalProperties": false
}
},
"required": [
"id",
"title",
"text",
"url",
"metadata",
"meta"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢get_statute_section(section, pinpoint, include)
Use this when you need the official text of a Davis-Stirling Act section (California Civil Code) by number, optionally one subdivision, with its last amendment, cross-references, defined terms and the cases that cite it. Accepts "4920", "§ 4920(b)(2)" or "Civ. Code § 4920". Do not use it for other codes (Corporations, Government, Code of Civil Procedure) or for court cases.
入力スキーマ
{
"type": "object",
"properties": {
"section": {
"description": "A Davis-Stirling section: \"4920\", \"§ 4920\", \"Civ. Code § 4920(b)(2)\", or an id like \"cal.civ.4920\".",
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 100
},
{
"type": "number",
"exclusiveMinimum": 0
}
]
},
"pinpoint": {
"description": "A subdivision, e.g. \"(b)(2)\". Also read from section.",
"type": "string",
"maxLength": 24,
"pattern": "^[()A-Za-z0-9 ]+$"
},
"include": {
"description": "Extra parts to return (default [\"text\"]).",
"maxItems": 6,
"type": "array",
"items": {
"type": "string",
"enum": [
"text",
"cross_references",
"cited_by",
"cases",
"definitions",
"explainer"
]
}
}
},
"required": [
"section"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}出力スキーマ
{
"type": "object",
"properties": {
"section": {
"type": "object",
"properties": {
"authority_id": {
"type": "string",
"description": "Stable id, e.g. \"cal.civ.4920\" or \"cal.case.<slug>\"."
},
"kind": {
"type": "string",
"enum": [
"statute_section",
"case"
]
},
"pinpoint": {
"description": "Subdivision, e.g. \"(b)(2)\"; null = whole section.",
"type": [
"string",
"null"
]
},
"cite": {
"type": "object",
"properties": {
"california_style": {
"type": "string"
},
"bluebook": {
"type": "string"
}
},
"required": [
"california_style",
"bluebook"
],
"additionalProperties": false
},
"title": {
"type": "string"
},
"title_layer": {
"anyOf": [
{
"type": "object",
"properties": {
"layer": {
"type": "string",
"const": "davisstirling"
},
"method": {
"type": "string",
"enum": [
"derived",
"editorial.human",
"editorial.machine-drafted",
"editorial.machine-reviewed",
"editorial.human-reviewed",
"editorial.sourced"
]
}
},
"required": [
"layer",
"method"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"layer": {
"type": "string",
"const": "source"
}
},
"required": [
"layer"
],
"additionalProperties": false
}
]
},
"quote": {
"anyOf": [
{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "Verbatim source text."
},
"layer": {
"type": "string",
"const": "source"
},
"verified": {
"type": "boolean",
"description": "True: an exact substring of the compiled source text."
},
"span": {
"anyOf": [
{
"type": "object",
"properties": {
"start": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"end": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"start",
"end"
],
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"required": [
"text",
"layer",
"verified",
"span"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"source": {
"type": "object",
"properties": {
"publisher": {
"type": "string"
},
"url": {
"type": [
"string",
"null"
]
},
"retrieved": {
"type": [
"string",
"null"
]
},
"content_sha256": {
"type": [
"string",
"null"
]
},
"cluster_id": {
"anyOf": [
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
}
},
"required": [
"publisher",
"url",
"retrieved",
"content_sha256"
],
"additionalProperties": false
},
"currency": {
"type": "object",
"properties": {
"last_amended": {
"type": [
"string",
"null"
]
},
"last_amended_by": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string",
"const": "in_force"
},
"pending": {
"type": "array",
"items": {
"type": "object",
"properties": {
"bill": {
"type": "string"
},
"effective": {
"type": "string"
}
},
"required": [
"bill",
"effective"
],
"additionalProperties": false
}
},
"corpus_as_of": {
"type": "string"
}
},
"required": [
"last_amended",
"last_amended_by",
"status",
"pending",
"corpus_as_of"
],
"additionalProperties": false
},
"court": {
"type": "string"
},
"court_id": {
"type": [
"string",
"null"
]
},
"date_decided": {
"type": [
"string",
"null"
]
},
"docket": {
"type": [
"string",
"null"
]
},
"precedential_status": {
"type": [
"string",
"null"
]
},
"parallel_citations": {
"type": "array",
"items": {
"type": "string"
}
},
"canonical_url": {
"type": "string",
"description": "The DavisStirling page for this authority."
}
},
"required": [
"authority_id",
"kind",
"pinpoint",
"cite",
"title",
"title_layer",
"quote",
"source",
"canonical_url"
],
"additionalProperties": false
},
"title": {
"anyOf": [
{
"type": "object",
"properties": {
"value": {
"type": "string"
},
"layer": {
"type": "string",
"const": "davisstirling"
},
"method": {
"type": "string",
"enum": [
"derived",
"editorial.human",
"editorial.machine-drafted",
"editorial.machine-reviewed",
"editorial.human-reviewed",
"editorial.sourced"
]
}
},
"required": [
"value",
"layer",
"method"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"value": {
"type": "string"
},
"layer": {
"type": "string",
"const": "source"
}
},
"required": [
"value",
"layer"
],
"additionalProperties": false
}
]
},
"hierarchy": {
"type": "object",
"properties": {
"chapter": {
"type": "object",
"properties": {
"number": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"name": {
"type": "string"
}
},
"required": [
"number",
"name"
],
"additionalProperties": false
},
"article": {
"type": "object",
"properties": {
"number": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"name": {
"type": [
"string",
"null"
]
}
},
"required": [
"number",
"name"
],
"additionalProperties": false
}
},
"required": [
"chapter",
"article"
],
"additionalProperties": false
},
"topic": {
"anyOf": [
{
"type": "object",
"properties": {
"slug": {
"type": "string"
},
"name": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"slug",
"name",
"url"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"text": {
"type": "object",
"properties": {
"full": {
"type": [
"string",
"null"
]
},
"pinpoint": {
"anyOf": [
{
"type": "object",
"properties": {
"label": {
"type": "string"
},
"text": {
"type": "string"
}
},
"required": [
"label",
"text"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"subdivisions": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"layer": {
"type": "string",
"const": "source"
}
},
"required": [
"full",
"pinpoint",
"subdivisions",
"layer"
],
"additionalProperties": false
},
"history": {
"anyOf": [
{
"type": "object",
"properties": {
"value": {
"type": "string"
},
"layer": {
"type": "string",
"const": "source"
}
},
"required": [
"value",
"layer"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"former_numbers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"former": {
"type": "string"
},
"kind": {
"type": "string"
},
"source": {
"type": "string"
}
},
"required": [
"former",
"kind",
"source"
],
"additionalProperties": false
}
},
"cross_references": {
"type": "array",
"items": {
"type": "object",
"properties": {
"target": {
"type": "object",
"properties": {
"authority_id": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"statute_section",
"case"
]
},
"cite": {
"type": "string"
},
"title": {
"type": "string"
},
"canonical_url": {
"type": "string"
}
},
"required": [
"authority_id",
"kind",
"cite",
"title",
"canonical_url"
],
"additionalProperties": false
},
"receipt": {
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "Verbatim source text."
},
"layer": {
"type": "string",
"const": "source"
},
"verified": {
"type": "boolean",
"description": "True: an exact substring of the compiled source text."
},
"span": {
"anyOf": [
{
"type": "object",
"properties": {
"start": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"end": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"start",
"end"
],
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"required": [
"text",
"layer",
"verified",
"span"
],
"additionalProperties": false
}
},
"required": [
"target",
"receipt"
],
"additionalProperties": false
}
},
"cited_by": {
"type": "array",
"items": {
"type": "object",
"properties": {
"source": {
"type": "object",
"properties": {
"authority_id": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"statute_section",
"case"
]
},
"cite": {
"type": "string"
},
"title": {
"type": "string"
},
"canonical_url": {
"type": "string"
}
},
"required": [
"authority_id",
"kind",
"cite",
"title",
"canonical_url"
],
"additionalProperties": false
},
"receipt": {
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "Verbatim source text."
},
"layer": {
"type": "string",
"const": "source"
},
"verified": {
"type": "boolean",
"description": "True: an exact substring of the compiled source text."
},
"span": {
"anyOf": [
{
"type": "object",
"properties": {
"start": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"end": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"start",
"end"
],
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"required": [
"text",
"layer",
"verified",
"span"
],
"additionalProperties": false
}
},
"required": [
"source",
"receipt"
],
"additionalProperties": false
}
},
"cases": {
"type": "array",
"items": {
"type": "object",
"properties": {
"case": {
"type": "object",
"properties": {
"authority_id": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"statute_section",
"case"
]
},
"cite": {
"type": "string"
},
"title": {
"type": "string"
},
"canonical_url": {
"type": "string"
}
},
"required": [
"authority_id",
"kind",
"cite",
"title",
"canonical_url"
],
"additionalProperties": false
},
"tier": {
"type": "string",
"enum": [
"core",
"cited",
"mention"
]
},
"basis": {
"type": "string",
"description": "\"direct\", or \"former:<number>\" when the opinion cites the pre-2014 number."
},
"method": {
"type": "string",
"enum": [
"derived",
"editorial.human",
"editorial.machine-drafted",
"editorial.machine-reviewed",
"editorial.human-reviewed",
"editorial.sourced"
]
},
"mentions": {
"anyOf": [
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"evidence_quote": {
"anyOf": [
{
"type": "object",
"properties": {
"text": {
"type": "string"
},
"layer": {
"type": "string",
"const": "source"
}
},
"required": [
"text",
"layer"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"why": {
"anyOf": [
{
"type": "object",
"properties": {
"value": {
"type": "string"
},
"layer": {
"type": "string",
"const": "davisstirling"
},
"method": {
"type": "string",
"enum": [
"derived",
"editorial.human",
"editorial.machine-drafted",
"editorial.machine-reviewed",
"editorial.human-reviewed",
"editorial.sourced"
]
}
},
"required": [
"value",
"layer",
"method"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"landmark_tier": {
"anyOf": [
{
"type": "string",
"enum": [
"tier1",
"tier2",
"historical"
]
},
{
"type": "null"
}
]
}
},
"required": [
"case",
"tier",
"basis",
"method",
"mentions",
"evidence_quote",
"why",
"landmark_tier"
],
"additionalProperties": false
}
},
"definitions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"term": {
"type": "string"
},
"defined_in": {
"type": "object",
"properties": {
"authority_id": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"statute_section",
"case"
]
},
"cite": {
"type": "string"
},
"title": {
"type": "string"
},
"canonical_url": {
"type": "string"
}
},
"required": [
"authority_id",
"kind",
"cite",
"title",
"canonical_url"
],
"additionalProperties": false
}
},
"required": [
"term",
"defined_in"
],
"additionalProperties": false
}
},
"defines": {
"type": "array",
"items": {
"type": "string"
}
},
"explainer": {
"anyOf": [
{
"type": "object",
"properties": {
"plain": {
"type": "string"
},
"takeaways": {
"type": "array",
"items": {
"type": "string"
}
},
"layer": {
"type": "string",
"const": "davisstirling"
},
"method": {
"type": "string",
"enum": [
"derived",
"editorial.human",
"editorial.machine-drafted",
"editorial.machine-reviewed",
"editorial.human-reviewed",
"editorial.sourced"
]
}
},
"required": [
"plain",
"takeaways",
"layer",
"method"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"meta": {
"type": "object",
"properties": {
"corpus_version": {
"type": "string",
"description": "Version of the compiled corpus this response was built from."
},
"coverage": {
"type": "string",
"description": "What the corpus covers and does not cover."
},
"notice": {
"type": "string"
}
},
"required": [
"corpus_version",
"coverage",
"notice"
],
"additionalProperties": false
}
},
"required": [
"section",
"title",
"hierarchy",
"topic",
"text",
"history",
"former_numbers",
"meta"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢get_court_case(case, include, offset, max_chars)
Use this when the user names or cites a California HOA court decision (e.g. "Nahrstedt", "8 Cal.4th 361") or you need what a case held. Returns the court, date and citations, the Davis-Stirling sections the opinion cites (with the court’s own sentence), the cases it cites, a clearly labeled DavisStirling summary, and optionally pages of the opinion text. Do not use it for statutes or for decisions outside this library.
入力スキーマ
{
"type": "object",
"properties": {
"case": {
"type": "string",
"minLength": 2,
"maxLength": 200,
"description": "A case name, reporter citation (\"8 Cal.4th 361\") or id."
},
"include": {
"description": "Parts to return (default [\"summary\", \"sections\"]).",
"maxItems": 5,
"type": "array",
"items": {
"type": "string",
"enum": [
"summary",
"sections",
"discusses",
"discussed_by",
"opinion_text"
]
}
},
"offset": {
"description": "Opinion text offset (with opinion_text).",
"type": "integer",
"minimum": 0,
"maximum": 5000000
},
"max_chars": {
"description": "Opinion characters per page (default 15000).",
"type": "integer",
"minimum": 1000,
"maximum": 40000
}
},
"required": [
"case"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}出力スキーマ
{
"type": "object",
"properties": {
"case": {
"type": "object",
"properties": {
"authority_id": {
"type": "string",
"description": "Stable id, e.g. \"cal.civ.4920\" or \"cal.case.<slug>\"."
},
"kind": {
"type": "string",
"enum": [
"statute_section",
"case"
]
},
"pinpoint": {
"description": "Subdivision, e.g. \"(b)(2)\"; null = whole section.",
"type": [
"string",
"null"
]
},
"cite": {
"type": "object",
"properties": {
"california_style": {
"type": "string"
},
"bluebook": {
"type": "string"
}
},
"required": [
"california_style",
"bluebook"
],
"additionalProperties": false
},
"title": {
"type": "string"
},
"title_layer": {
"anyOf": [
{
"type": "object",
"properties": {
"layer": {
"type": "string",
"const": "davisstirling"
},
"method": {
"type": "string",
"enum": [
"derived",
"editorial.human",
"editorial.machine-drafted",
"editorial.machine-reviewed",
"editorial.human-reviewed",
"editorial.sourced"
]
}
},
"required": [
"layer",
"method"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"layer": {
"type": "string",
"const": "source"
}
},
"required": [
"layer"
],
"additionalProperties": false
}
]
},
"quote": {
"anyOf": [
{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "Verbatim source text."
},
"layer": {
"type": "string",
"const": "source"
},
"verified": {
"type": "boolean",
"description": "True: an exact substring of the compiled source text."
},
"span": {
"anyOf": [
{
"type": "object",
"properties": {
"start": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"end": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"start",
"end"
],
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"required": [
"text",
"layer",
"verified",
"span"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"source": {
"type": "object",
"properties": {
"publisher": {
"type": "string"
},
"url": {
"type": [
"string",
"null"
]
},
"retrieved": {
"type": [
"string",
"null"
]
},
"content_sha256": {
"type": [
"string",
"null"
]
},
"cluster_id": {
"anyOf": [
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
}
},
"required": [
"publisher",
"url",
"retrieved",
"content_sha256"
],
"additionalProperties": false
},
"currency": {
"type": "object",
"properties": {
"last_amended": {
"type": [
"string",
"null"
]
},
"last_amended_by": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string",
"const": "in_force"
},
"pending": {
"type": "array",
"items": {
"type": "object",
"properties": {
"bill": {
"type": "string"
},
"effective": {
"type": "string"
}
},
"required": [
"bill",
"effective"
],
"additionalProperties": false
}
},
"corpus_as_of": {
"type": "string"
}
},
"required": [
"last_amended",
"last_amended_by",
"status",
"pending",
"corpus_as_of"
],
"additionalProperties": false
},
"court": {
"type": "string"
},
"court_id": {
"type": [
"string",
"null"
]
},
"date_decided": {
"type": [
"string",
"null"
]
},
"docket": {
"type": [
"string",
"null"
]
},
"precedential_status": {
"type": [
"string",
"null"
]
},
"parallel_citations": {
"type": "array",
"items": {
"type": "string"
}
},
"canonical_url": {
"type": "string",
"description": "The DavisStirling page for this authority."
}
},
"required": [
"authority_id",
"kind",
"pinpoint",
"cite",
"title",
"title_layer",
"quote",
"source",
"canonical_url"
],
"additionalProperties": false
},
"summary": {
"type": "object",
"properties": {
"one_line": {
"type": "string"
},
"holding": {
"type": [
"string",
"null"
]
},
"key_principle": {
"type": [
"string",
"null"
]
},
"takeaways": {
"type": "array",
"items": {
"type": "string"
}
},
"label": {
"type": "string"
},
"layer": {
"type": "string",
"const": "davisstirling"
},
"method": {
"type": "string",
"enum": [
"derived",
"editorial.human",
"editorial.machine-drafted",
"editorial.machine-reviewed",
"editorial.human-reviewed",
"editorial.sourced"
]
}
},
"required": [
"one_line",
"holding",
"key_principle",
"takeaways",
"label",
"layer",
"method"
],
"additionalProperties": false
},
"landmark": {
"anyOf": [
{
"type": "object",
"properties": {
"tier": {
"type": "string",
"enum": [
"tier1",
"tier2",
"historical"
]
},
"label": {
"type": "string"
},
"layer": {
"type": "string",
"const": "davisstirling"
},
"method": {
"type": "string",
"enum": [
"derived",
"editorial.human",
"editorial.machine-drafted",
"editorial.machine-reviewed",
"editorial.human-reviewed",
"editorial.sourced"
]
}
},
"required": [
"tier",
"label",
"layer",
"method"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"sections": {
"type": "array",
"items": {
"type": "object",
"properties": {
"section": {
"type": "object",
"properties": {
"authority_id": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"statute_section",
"case"
]
},
"cite": {
"type": "string"
},
"title": {
"type": "string"
},
"canonical_url": {
"type": "string"
}
},
"required": [
"authority_id",
"kind",
"cite",
"title",
"canonical_url"
],
"additionalProperties": false
},
"tier": {
"type": "string",
"enum": [
"core",
"cited",
"mention"
]
},
"basis": {
"type": "string"
},
"method": {
"type": "string",
"enum": [
"derived",
"editorial.human",
"editorial.machine-drafted",
"editorial.machine-reviewed",
"editorial.human-reviewed",
"editorial.sourced"
]
},
"mentions": {
"anyOf": [
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"evidence_quote": {
"anyOf": [
{
"type": "object",
"properties": {
"text": {
"type": "string"
},
"layer": {
"type": "string",
"const": "source"
}
},
"required": [
"text",
"layer"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"why": {
"anyOf": [
{
"type": "object",
"properties": {
"value": {
"type": "string"
},
"layer": {
"type": "string",
"const": "davisstirling"
},
"method": {
"type": "string",
"enum": [
"derived",
"editorial.human",
"editorial.machine-drafted",
"editorial.machine-reviewed",
"editorial.human-reviewed",
"editorial.sourced"
]
}
},
"required": [
"value",
"layer",
"method"
],
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"required": [
"section",
"tier",
"basis",
"method",
"mentions",
"evidence_quote",
"why"
],
"additionalProperties": false
}
},
"former_citations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"former": {
"type": "string"
},
"note": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"layer": {
"type": "string",
"const": "davisstirling"
},
"method": {
"type": "string",
"enum": [
"derived",
"editorial.human",
"editorial.machine-drafted",
"editorial.machine-reviewed",
"editorial.human-reviewed",
"editorial.sourced"
]
}
},
"required": [
"value",
"layer",
"method"
],
"additionalProperties": false
}
},
"required": [
"former",
"note"
],
"additionalProperties": false
}
},
"map_placement": {
"type": "object",
"properties": {
"on_map": {
"type": "boolean"
},
"note": {
"anyOf": [
{
"type": "object",
"properties": {
"value": {
"type": "string"
},
"layer": {
"type": "string",
"const": "davisstirling"
},
"method": {
"type": "string",
"enum": [
"derived",
"editorial.human",
"editorial.machine-drafted",
"editorial.machine-reviewed",
"editorial.human-reviewed",
"editorial.sourced"
]
}
},
"required": [
"value",
"layer",
"method"
],
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"required": [
"on_map",
"note"
],
"additionalProperties": false
},
"discusses": {
"type": "array",
"items": {
"type": "object",
"properties": {
"case": {
"type": "object",
"properties": {
"authority_id": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"statute_section",
"case"
]
},
"cite": {
"type": "string"
},
"title": {
"type": "string"
},
"canonical_url": {
"type": "string"
}
},
"required": [
"authority_id",
"kind",
"cite",
"title",
"canonical_url"
],
"additionalProperties": false
},
"mentions": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"quote": {
"anyOf": [
{
"type": "object",
"properties": {
"text": {
"type": "string"
},
"layer": {
"type": "string",
"const": "source"
}
},
"required": [
"text",
"layer"
],
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"required": [
"case",
"mentions",
"quote"
],
"additionalProperties": false
}
},
"discussed_by": {
"type": "array",
"items": {
"type": "object",
"properties": {
"case": {
"type": "object",
"properties": {
"authority_id": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"statute_section",
"case"
]
},
"cite": {
"type": "string"
},
"title": {
"type": "string"
},
"canonical_url": {
"type": "string"
}
},
"required": [
"authority_id",
"kind",
"cite",
"title",
"canonical_url"
],
"additionalProperties": false
},
"mentions": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"quote": {
"anyOf": [
{
"type": "object",
"properties": {
"text": {
"type": "string"
},
"layer": {
"type": "string",
"const": "source"
}
},
"required": [
"text",
"layer"
],
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"required": [
"case",
"mentions",
"quote"
],
"additionalProperties": false
}
},
"opinion": {
"anyOf": [
{
"type": "object",
"properties": {
"text": {
"type": "string"
},
"offset": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"next_offset": {
"anyOf": [
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"total_chars": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"layer": {
"type": "string",
"const": "source"
},
"ocr": {
"type": "boolean"
}
},
"required": [
"text",
"offset",
"next_offset",
"total_chars",
"layer",
"ocr"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"meta": {
"type": "object",
"properties": {
"corpus_version": {
"type": "string",
"description": "Version of the compiled corpus this response was built from."
},
"coverage": {
"type": "string",
"description": "What the corpus covers and does not cover."
},
"notice": {
"type": "string"
}
},
"required": [
"corpus_version",
"coverage",
"notice"
],
"additionalProperties": false
}
},
"required": [
"case",
"meta"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢find_interpreting_cases(section, min_tier, include_former, limit)
Use this when the user asks which court decisions interpret or apply a Davis-Stirling section. Includes decisions citing its pre-2014 number (former Civil Code §§1350–1378, via the verified AB 805 table), ranked by how central the section is to each opinion, each with the court’s own sentence. Do not use it as a complete citator: it covers only the decisions in this library.
入力スキーマ
{
"type": "object",
"properties": {
"section": {
"description": "A Davis-Stirling section: \"4920\", \"§ 4920\", \"Civ. Code § 4920(b)(2)\", or an id like \"cal.civ.4920\".",
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 100
},
{
"type": "number",
"exclusiveMinimum": 0
}
]
},
"min_tier": {
"description": "Lowest tier to include (default \"cited\").",
"type": "string",
"enum": [
"core",
"cited",
"mention"
]
},
"include_former": {
"description": "Include citations of the former number (default true).",
"type": "boolean"
},
"limit": {
"description": "Cases to return (default 10).",
"type": "integer",
"minimum": 1,
"maximum": 50
}
},
"required": [
"section"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}出力スキーマ
{
"type": "object",
"properties": {
"section": {
"type": "object",
"properties": {
"authority_id": {
"type": "string",
"description": "Stable id, e.g. \"cal.civ.4920\" or \"cal.case.<slug>\"."
},
"kind": {
"type": "string",
"enum": [
"statute_section",
"case"
]
},
"pinpoint": {
"description": "Subdivision, e.g. \"(b)(2)\"; null = whole section.",
"type": [
"string",
"null"
]
},
"cite": {
"type": "object",
"properties": {
"california_style": {
"type": "string"
},
"bluebook": {
"type": "string"
}
},
"required": [
"california_style",
"bluebook"
],
"additionalProperties": false
},
"title": {
"type": "string"
},
"title_layer": {
"anyOf": [
{
"type": "object",
"properties": {
"layer": {
"type": "string",
"const": "davisstirling"
},
"method": {
"type": "string",
"enum": [
"derived",
"editorial.human",
"editorial.machine-drafted",
"editorial.machine-reviewed",
"editorial.human-reviewed",
"editorial.sourced"
]
}
},
"required": [
"layer",
"method"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"layer": {
"type": "string",
"const": "source"
}
},
"required": [
"layer"
],
"additionalProperties": false
}
]
},
"quote": {
"anyOf": [
{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "Verbatim source text."
},
"layer": {
"type": "string",
"const": "source"
},
"verified": {
"type": "boolean",
"description": "True: an exact substring of the compiled source text."
},
"span": {
"anyOf": [
{
"type": "object",
"properties": {
"start": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"end": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"start",
"end"
],
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"required": [
"text",
"layer",
"verified",
"span"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"source": {
"type": "object",
"properties": {
"publisher": {
"type": "string"
},
"url": {
"type": [
"string",
"null"
]
},
"retrieved": {
"type": [
"string",
"null"
]
},
"content_sha256": {
"type": [
"string",
"null"
]
},
"cluster_id": {
"anyOf": [
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
}
},
"required": [
"publisher",
"url",
"retrieved",
"content_sha256"
],
"additionalProperties": false
},
"currency": {
"type": "object",
"properties": {
"last_amended": {
"type": [
"string",
"null"
]
},
"last_amended_by": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string",
"const": "in_force"
},
"pending": {
"type": "array",
"items": {
"type": "object",
"properties": {
"bill": {
"type": "string"
},
"effective": {
"type": "string"
}
},
"required": [
"bill",
"effective"
],
"additionalProperties": false
}
},
"corpus_as_of": {
"type": "string"
}
},
"required": [
"last_amended",
"last_amended_by",
"status",
"pending",
"corpus_as_of"
],
"additionalProperties": false
},
"court": {
"type": "string"
},
"court_id": {
"type": [
"string",
"null"
]
},
"date_decided": {
"type": [
"string",
"null"
]
},
"docket": {
"type": [
"string",
"null"
]
},
"precedential_status": {
"type": [
"string",
"null"
]
},
"parallel_citations": {
"type": "array",
"items": {
"type": "string"
}
},
"canonical_url": {
"type": "string",
"description": "The DavisStirling page for this authority."
}
},
"required": [
"authority_id",
"kind",
"pinpoint",
"cite",
"title",
"title_layer",
"quote",
"source",
"canonical_url"
],
"additionalProperties": false
},
"cases": {
"type": "array",
"items": {
"type": "object",
"properties": {
"case": {
"type": "object",
"properties": {
"authority_id": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"statute_section",
"case"
]
},
"cite": {
"type": "string"
},
"title": {
"type": "string"
},
"canonical_url": {
"type": "string"
}
},
"required": [
"authority_id",
"kind",
"cite",
"title",
"canonical_url"
],
"additionalProperties": false
},
"tier": {
"type": "string",
"enum": [
"core",
"cited",
"mention"
]
},
"basis": {
"type": "string",
"description": "\"direct\", or \"former:<number>\" when the opinion cites the pre-2014 number."
},
"method": {
"type": "string",
"enum": [
"derived",
"editorial.human",
"editorial.machine-drafted",
"editorial.machine-reviewed",
"editorial.human-reviewed",
"editorial.sourced"
]
},
"mentions": {
"anyOf": [
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"evidence_quote": {
"anyOf": [
{
"type": "object",
"properties": {
"text": {
"type": "string"
},
"layer": {
"type": "string",
"const": "source"
}
},
"required": [
"text",
"layer"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"why": {
"anyOf": [
{
"type": "object",
"properties": {
"value": {
"type": "string"
},
"layer": {
"type": "string",
"const": "davisstirling"
},
"method": {
"type": "string",
"enum": [
"derived",
"editorial.human",
"editorial.machine-drafted",
"editorial.machine-reviewed",
"editorial.human-reviewed",
"editorial.sourced"
]
}
},
"required": [
"value",
"layer",
"method"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"landmark_tier": {
"anyOf": [
{
"type": "string",
"enum": [
"tier1",
"tier2",
"historical"
]
},
{
"type": "null"
}
]
}
},
"required": [
"case",
"tier",
"basis",
"method",
"mentions",
"evidence_quote",
"why",
"landmark_tier"
],
"additionalProperties": false
}
},
"counts": {
"type": "object",
"properties": {
"core": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"cited": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"mention": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"core",
"cited",
"mention"
],
"additionalProperties": false
},
"scope": {
"type": "string"
},
"meta": {
"type": "object",
"properties": {
"corpus_version": {
"type": "string",
"description": "Version of the compiled corpus this response was built from."
},
"coverage": {
"type": "string",
"description": "What the corpus covers and does not cover."
},
"notice": {
"type": "string"
}
},
"required": [
"corpus_version",
"coverage",
"notice"
],
"additionalProperties": false
}
},
"required": [
"section",
"cases",
"counts",
"scope",
"meta"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢get_related_authorities(authority, kinds, limit)
Use this when you need what a section or case is connected to: sections it cites or that cite it, defined terms it relies on, procedural steps before and after it, and cases that cite it or that it cites. Every connection carries the verbatim text that creates it. Do not use it to find topically similar law; it returns only these fixed connection types.
入力スキーマ
{
"type": "object",
"properties": {
"authority": {
"description": "A section (\"4920\", \"Civ. Code § 4920\") or a case (name, citation like \"8 Cal.4th 361\", or id).",
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 200
},
{
"type": "number",
"exclusiveMinimum": 0
}
]
},
"kinds": {
"description": "Connection types to return (default all).",
"maxItems": 10,
"type": "array",
"items": {
"type": "string",
"enum": [
"cites",
"cited_by",
"defines_term",
"term_used_by",
"precedes",
"follows",
"interpreted_by",
"interprets",
"discusses",
"discussed_by"
]
}
},
"limit": {
"description": "Connections per type (default 10).",
"type": "integer",
"minimum": 1,
"maximum": 25
}
},
"required": [
"authority"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}出力スキーマ
{
"type": "object",
"properties": {
"authority": {
"type": "object",
"properties": {
"authority_id": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"statute_section",
"case"
]
},
"cite": {
"type": "string"
},
"title": {
"type": "string"
},
"canonical_url": {
"type": "string"
}
},
"required": [
"authority_id",
"kind",
"cite",
"title",
"canonical_url"
],
"additionalProperties": false
},
"connections": {
"type": "array",
"items": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"cites",
"cited_by",
"defines_term",
"term_used_by",
"precedes",
"follows",
"interpreted_by",
"interprets",
"discusses",
"discussed_by"
]
},
"target": {
"type": "object",
"properties": {
"authority_id": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"statute_section",
"case"
]
},
"cite": {
"type": "string"
},
"title": {
"type": "string"
},
"canonical_url": {
"type": "string"
}
},
"required": [
"authority_id",
"kind",
"cite",
"title",
"canonical_url"
],
"additionalProperties": false
},
"direction": {
"type": "string",
"enum": [
"out",
"in"
]
},
"receipt": {
"anyOf": [
{
"type": "object",
"properties": {
"text": {
"type": "string"
},
"in": {
"type": "string"
},
"layer": {
"type": "string",
"const": "source"
}
},
"required": [
"text",
"in",
"layer"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"why": {
"anyOf": [
{
"type": "object",
"properties": {
"value": {
"type": "string"
},
"layer": {
"type": "string",
"const": "davisstirling"
},
"method": {
"type": "string",
"enum": [
"derived",
"editorial.human",
"editorial.machine-drafted",
"editorial.machine-reviewed",
"editorial.human-reviewed",
"editorial.sourced"
]
}
},
"required": [
"value",
"layer",
"method"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"detail": {
"type": [
"string",
"null"
]
}
},
"required": [
"kind",
"target",
"direction",
"receipt",
"why",
"detail"
],
"additionalProperties": false
}
},
"truncated": {
"type": "object",
"propertyNames": {
"type": "string",
"enum": [
"cites",
"cited_by",
"defines_term",
"term_used_by",
"precedes",
"follows",
"interpreted_by",
"interprets",
"discusses",
"discussed_by"
]
},
"additionalProperties": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"meta": {
"type": "object",
"properties": {
"corpus_version": {
"type": "string",
"description": "Version of the compiled corpus this response was built from."
},
"coverage": {
"type": "string",
"description": "What the corpus covers and does not cover."
},
"notice": {
"type": "string"
}
},
"required": [
"corpus_version",
"coverage",
"notice"
],
"additionalProperties": false
}
},
"required": [
"authority",
"connections",
"truncated",
"meta"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢resolve_citation(citation)
Use this when you need to check a California HOA citation before relying on it: a Davis-Stirling section (current, or a former pre-2014 number like "Civ. Code 1363"), or a case by reporter citation or name. Returns the current authority and, for former numbers, where the provision lives now per the AB 805 recodification table. Do not use it for citations to other states or other California codes.
入力スキーマ
{
"type": "object",
"properties": {
"citation": {
"description": "The citation as written, e.g. \"Civ. Code § 1365.5\" or \"8 Cal.4th 361\".",
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 200
},
{
"type": "number",
"exclusiveMinimum": 0
}
]
}
},
"required": [
"citation"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}出力スキーマ
{
"type": "object",
"properties": {
"input": {
"type": "string"
},
"matches": {
"type": "array",
"items": {
"type": "object",
"properties": {
"authority": {
"type": "object",
"properties": {
"authority_id": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"statute_section",
"case"
]
},
"cite": {
"type": "string"
},
"title": {
"type": "string"
},
"canonical_url": {
"type": "string"
}
},
"required": [
"authority_id",
"kind",
"cite",
"title",
"canonical_url"
],
"additionalProperties": false
},
"match": {
"type": "string",
"enum": [
"exact",
"former-section",
"parallel-cite",
"name"
]
},
"confidence": {
"type": "string",
"enum": [
"high",
"medium",
"low"
]
},
"pinpoint": {
"type": [
"string",
"null"
]
},
"note": {
"type": [
"string",
"null"
]
}
},
"required": [
"authority",
"match",
"confidence",
"pinpoint",
"note"
],
"additionalProperties": false
}
},
"not_found_reason": {
"type": [
"string",
"null"
]
},
"suggestions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"authority_id": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"statute_section",
"case"
]
},
"cite": {
"type": "string"
},
"title": {
"type": "string"
},
"canonical_url": {
"type": "string"
}
},
"required": [
"authority_id",
"kind",
"cite",
"title",
"canonical_url"
],
"additionalProperties": false
}
},
"meta": {
"type": "object",
"properties": {
"corpus_version": {
"type": "string",
"description": "Version of the compiled corpus this response was built from."
},
"coverage": {
"type": "string",
"description": "What the corpus covers and does not cover."
},
"notice": {
"type": "string"
}
},
"required": [
"corpus_version",
"coverage",
"notice"
],
"additionalProperties": false
}
},
"required": [
"input",
"matches",
"not_found_reason",
"suggestions",
"meta"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢browse_topics(topic)
Use this when the user wants an overview of an area of HOA law (e.g. board meetings, elections, assessments and collections, records, architectural review, disputes) or asks what this source covers. Omit topic to list all subject areas; pass one to get its sections and leading cases. Do not use it to answer a specific legal question; use search.
入力スキーマ
{
"type": "object",
"properties": {
"topic": {
"description": "A topic slug or name, e.g. \"meetings\".",
"type": "string",
"minLength": 2,
"maxLength": 60
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}出力スキーマ
{
"type": "object",
"properties": {
"topics": {
"type": "array",
"items": {
"type": "object",
"properties": {
"slug": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"section_count": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"url": {
"type": "string"
}
},
"required": [
"slug",
"name",
"description",
"section_count",
"url"
],
"additionalProperties": false
}
},
"topic": {
"type": "object",
"properties": {
"slug": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"slug",
"name",
"description",
"url"
],
"additionalProperties": false
},
"sections": {
"type": "array",
"items": {
"type": "object",
"properties": {
"authority_id": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"statute_section",
"case"
]
},
"cite": {
"type": "string"
},
"title": {
"type": "string"
},
"canonical_url": {
"type": "string"
}
},
"required": [
"authority_id",
"kind",
"cite",
"title",
"canonical_url"
],
"additionalProperties": false
}
},
"leading_cases": {
"type": "array",
"items": {
"type": "object",
"properties": {
"authority_id": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"statute_section",
"case"
]
},
"cite": {
"type": "string"
},
"title": {
"type": "string"
},
"canonical_url": {
"type": "string"
},
"landmark_tier": {
"anyOf": [
{
"type": "string",
"enum": [
"tier1",
"tier2",
"historical"
]
},
{
"type": "null"
}
]
}
},
"required": [
"authority_id",
"kind",
"cite",
"title",
"canonical_url",
"landmark_tier"
],
"additionalProperties": false
}
},
"trails": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"steps": {
"type": "array",
"items": {
"type": "object",
"properties": {
"authority_id": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"authority_id",
"title"
],
"additionalProperties": false
}
}
},
"required": [
"id",
"title",
"description",
"steps"
],
"additionalProperties": false
}
},
"meta": {
"type": "object",
"properties": {
"corpus_version": {
"type": "string",
"description": "Version of the compiled corpus this response was built from."
},
"coverage": {
"type": "string",
"description": "What the corpus covers and does not cover."
},
"notice": {
"type": "string"
}
},
"required": [
"corpus_version",
"coverage",
"notice"
],
"additionalProperties": false
}
},
"required": [
"meta"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}コミュニティ
エビデンス