Legalize · Schema

LawAtDateResponse

A law as it stood on a date, plus what that answer actually resolved to. ``sha`` and ``version_date`` are returned so the caller can verify the answer and cite the exact version, rather than trusting the date they asked for. ``citation`` is that same answer as one line to paste into a filing, in the language of the jurisdiction, and ``citation_url`` is the public page the other side can open to check it. Pass that URL on whole: its ``k`` is what lets it be opened from outside the site, and without it the page answers with the law in force instead of the version cited.

OpenLegislationOpen SourceDataTransparencyLegal Tech

Properties

Name Type Description
law_id string
date string
sha object
version_date object
citation string
citation_url string
content_md string
kind string
text_state string
status object
in_force object
source_url object
basis object
text_superseded object
warning object
amended_by array
source_notes array
View JSON Schema on GitHub

JSON Schema

legalize-dev-law-at-date-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/legalize-dev/json-schema/legalize-dev-law-at-date-response-schema.json",
  "title": "LawAtDateResponse",
  "description": "A law as it stood on a date, plus what that answer actually resolved to.\n\n``sha`` and ``version_date`` are returned so the caller can verify the\nanswer and cite the exact version, rather than trusting the date they\nasked for.\n\n``citation`` is that same answer as one line to paste into a filing, in the\nlanguage of the jurisdiction, and ``citation_url`` is the public page the\nother side can open to check it. Pass that URL on whole: its ``k`` is what\nlets it be opened from outside the site, and without it the page answers\nwith the law in force instead of the version cited.",
  "x-generated": "2026-11-15",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/legalize-dev-openapi.yml#/components/schemas/LawAtDateResponse",
  "properties": {
    "law_id": {
      "type": "string",
      "title": "Law Id"
    },
    "date": {
      "type": "string",
      "title": "Date"
    },
    "sha": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Sha"
    },
    "version_date": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Version Date"
    },
    "citation": {
      "type": "string",
      "title": "Citation"
    },
    "citation_url": {
      "type": "string",
      "title": "Citation Url"
    },
    "content_md": {
      "type": "string",
      "title": "Content Md"
    },
    "kind": {
      "type": "string",
      "title": "Kind",
      "default": "consolidated"
    },
    "text_state": {
      "type": "string",
      "title": "Text State",
      "default": "point_in_time"
    },
    "status": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Status"
    },
    "in_force": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "In Force"
    },
    "source_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Source Url"
    },
    "basis": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Basis"
    },
    "text_superseded": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Text Superseded"
    },
    "warning": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Warning"
    },
    "amended_by": {
      "items": {
        "additionalProperties": true,
        "type": "object"
      },
      "type": "array",
      "title": "Amended By",
      "default": []
    },
    "source_notes": {
      "items": {
        "additionalProperties": true,
        "type": "object"
      },
      "type": "array",
      "title": "Source Notes",
      "default": []
    }
  },
  "type": "object",
  "required": [
    "law_id",
    "date",
    "sha",
    "version_date",
    "citation",
    "citation_url",
    "content_md"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/legalize-dev-law-at-date-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.