Open Publica · Schema

Document

OpenPublicaCivic TechTransparencyMeetingsSummary

Properties

Name Type Description
document_id string
government_id string
title string
status string `converted` is served and searchable. `superseded` is retired by a newer edition, stored but not searchable. `failed` means WE HOLD THIS PIN AND COULD NOT READ IT — not that the government published n
element stringnull The slot whose pin acquired this document.
covers array Every slot the document answers for. A city binding one general plan pins it as `combined` and it answers for all eight elements — reading `element` alone makes the rest look unpublished.
page_count integernull
source_url string Always the government's own copy. Cite it, especially on a failed entry.
markdown_url stringnull
availability object
View JSON Schema on GitHub

JSON Schema

openpublica-com-document-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/openpublica-com/json-schema/openpublica-com-document-schema.json",
  "title": "Document",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/openpublica-com-openapi.json#/components/schemas/Document",
  "type": "object",
  "properties": {
    "document_id": {
      "type": "string"
    },
    "government_id": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "converted",
        "superseded",
        "failed"
      ],
      "description": "`converted` is served and searchable. `superseded` is retired by a newer edition, stored but not searchable. `failed` means WE HOLD THIS PIN AND COULD NOT READ IT — not that the government published nothing."
    },
    "element": {
      "type": [
        "string",
        "null"
      ],
      "description": "The slot whose pin acquired this document."
    },
    "covers": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Every slot the document answers for. A city binding one general plan pins it as `combined` and it answers for all eight elements — reading `element` alone makes the rest look unpublished."
    },
    "page_count": {
      "type": [
        "integer",
        "null"
      ]
    },
    "source_url": {
      "type": "string",
      "format": "uri",
      "description": "Always the government's own copy. Cite it, especially on a failed entry."
    },
    "markdown_url": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "availability": {
      "$ref": "#/$defs/DocumentAvailability"
    }
  },
  "$defs": {
    "DocumentAvailability": {
      "type": "object",
      "description": "Present ONLY when something is wrong — a clean document omits it, so its presence is the signal. Read it before quoting figures.",
      "properties": {
        "complete": {
          "type": "boolean"
        },
        "reason": {
          "type": "string",
          "description": "Drawn from a fixed caller-safe set."
        },
        "problems": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    }
  }
}

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/openpublica-com-document"
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.