{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fiatdock-com/json-schema/fiatdock-com-sec-filings-schema.json",
  "title": "SecFilings",
  "description": "Paid. SEC filings by ticker (EDGAR).",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fiatdock-com-sec-api-openapi.yml#/components/schemas/SecFilings",
  "type": "object",
  "properties": {
    "company": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "cik": {
          "type": "string"
        },
        "tickers": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "exchanges": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "sic": {
          "type": [
            "string",
            "null"
          ]
        },
        "sicDescription": {
          "type": [
            "string",
            "null"
          ]
        },
        "fiscalYearEnd": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "name",
        "cik",
        "tickers",
        "exchanges",
        "sic",
        "sicDescription",
        "fiscalYearEnd"
      ],
      "description": "The registrant: name, CIK, tickers, exchanges, industry"
    },
    "filings": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "form": {
            "type": "string"
          },
          "filingDate": {
            "type": [
              "string",
              "null"
            ]
          },
          "reportDate": {
            "type": [
              "string",
              "null"
            ]
          },
          "accessionNumber": {
            "type": "string"
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "items": {
            "type": [
              "string",
              "null"
            ]
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "form",
          "filingDate",
          "reportDate",
          "accessionNumber",
          "description",
          "items",
          "url"
        ]
      },
      "description": "Filings, newest first"
    },
    "count": {
      "type": "number",
      "description": "Filings returned"
    },
    "source": {
      "type": "string",
      "description": "Where the data came from"
    },
    "asOf": {
      "type": "string",
      "description": "ISO time EDGAR was read"
    },
    "note": {
      "type": "string",
      "description": "How to read the list, and its limits"
    },
    "defaulted": {
      "type": "object",
      "properties": {
        "field": {
          "type": "string"
        },
        "to": {
          "type": "string"
        },
        "value": {
          "type": "string"
        },
        "note": {
          "type": "string"
        }
      },
      "required": [
        "field",
        "to",
        "value",
        "note"
      ],
      "description": "Present only when the body was empty: which subject the answer is for, and why"
    }
  },
  "required": [
    "company",
    "filings",
    "count",
    "source",
    "asOf",
    "note"
  ]
}