Schemas / Law

rig.law.statute

v1.0.0 · stable maturity: draft 3 fields 2 required

Fields

FieldTypeMeaning
citation string required Citation as written (42 U.S.C. § 1983)
status enumin-force · repealed · pending required in-force / repealed / pending
jurisdiction string optional Optional. Jurisdiction as written (same idea as rig.legal.agreement governingLaw)

A statute or regulation. Format when present.

This schema is the instrument - not rig.paper.article, not a case report, and not a legislative workflow.

citation and status are required.

The title is rig.meta.named. The text is rig.story.flow or a rig.media.asset_ref kind document - not an unstructured blob here.

JSON Schema

Resolves at https://rig.works/schemas/rig.law.statute.schema.json — raw file.

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://rig.works/schemas/rig.law.statute.schema.json",
  "title": "rig.law.statute",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "citation": {
      "$ref": "./_defs.schema.json#/$defs/string"
    },
    "status": {
      "type": "string",
      "enum": [
        "in-force",
        "repealed",
        "pending"
      ]
    },
    "jurisdiction": {
      "$ref": "./_defs.schema.json#/$defs/string"
    }
  },
  "required": [
    "citation",
    "status"
  ],
  "description": "A statute or regulation. Title is rig.meta.named. Not a paper.article.",
  "x-rig-maturity": "draft"
}

Seen in

record-civic.json