{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/filings-tools/json-schema/filings-tools-parsed-filing-schema.json",
  "title": "ParsedFiling",
  "description": "A filing split into sections.",
  "x-generated": "2026-11-07",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/filings-tools-openapi.json#/components/schemas/ParsedFiling",
  "type": "object",
  "required": [
    "id",
    "product",
    "title",
    "sections",
    "topics",
    "parserVersion",
    "meta"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "product": {
      "type": "string",
      "enum": [
        "filings"
      ]
    },
    "title": {
      "type": "string"
    },
    "sourceUrl": {
      "type": "string",
      "format": "uri"
    },
    "sections": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Section"
      }
    },
    "topics": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "parserVersion": {
      "type": "string"
    },
    "meta": {
      "type": "object",
      "description": "ticker, cik, form, accession, filingDate, reportDate and slug.",
      "additionalProperties": {
        "type": [
          "string",
          "number",
          "boolean",
          "null"
        ]
      }
    }
  },
  "$defs": {
    "Section": {
      "type": "object",
      "required": [
        "id",
        "title",
        "markdown",
        "chars"
      ],
      "properties": {
        "id": {
          "type": "string",
          "description": "A stable slug."
        },
        "title": {
          "type": "string"
        },
        "markdown": {
          "type": "string"
        },
        "chars": {
          "type": "integer"
        }
      }
    }
  }
}