52 lines
1.7 KiB
JSON
52 lines
1.7 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"title": "LegalText",
|
|
"description": "A deterministic, source-backed legal text node such as a codified law section.",
|
|
"type": "object",
|
|
"required": [
|
|
"type",
|
|
"title",
|
|
"jurisdiction",
|
|
"corpus",
|
|
"kind",
|
|
"citation",
|
|
"status",
|
|
"source",
|
|
"source_url",
|
|
"source_identifier",
|
|
"source_hash",
|
|
"raw_snapshot_hash",
|
|
"text_hash",
|
|
"retrieved_at",
|
|
"confidence",
|
|
"tags"
|
|
],
|
|
"properties": {
|
|
"type": { "type": "string", "enum": ["LegalText"] },
|
|
"title": { "type": "string" },
|
|
"description": { "type": "string" },
|
|
"jurisdiction": { "type": "string" },
|
|
"corpus": { "type": "string", "enum": ["united_states_code"] },
|
|
"kind": { "type": "string", "enum": ["code_section"] },
|
|
"title_number": { "type": "integer" },
|
|
"title_name": { "type": "string" },
|
|
"chapter_number": { "type": "string" },
|
|
"chapter_name": { "type": "string" },
|
|
"section": { "type": "string" },
|
|
"citation": { "type": "string" },
|
|
"status": { "type": "string", "enum": ["current", "repealed", "superseded", "reserved"] },
|
|
"release_point": { "type": "string" },
|
|
"release_date": { "type": "string" },
|
|
"source": { "type": "string", "enum": ["official"] },
|
|
"source_url": { "type": "string" },
|
|
"source_identifier": { "type": "string" },
|
|
"source_file": { "type": "string" },
|
|
"source_hash": { "type": "string" },
|
|
"raw_snapshot_hash": { "type": "string" },
|
|
"text_hash": { "type": "string" },
|
|
"retrieved_at": { "type": "string" },
|
|
"confidence": { "type": "string", "enum": ["official", "reported", "inferred", "unverified"] },
|
|
"tags": { "type": "array" }
|
|
}
|
|
}
|