{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/factiq-com/json-schema/factiq-com-company-filings-request-schema.json",
  "title": "CompanyFilingsRequest",
  "x-generated": "2026-11-07",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/factiq-com-openapi.json#/components/schemas/CompanyFilingsRequest",
  "properties": {
    "company": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1,
      "title": "Company"
    },
    "query": {
      "type": "string",
      "maxLength": 500,
      "title": "Query",
      "default": ""
    },
    "concept": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 200,
          "minLength": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Concept"
    },
    "search_target": {
      "type": "string",
      "enum": [
        "coverage",
        "filings",
        "metrics",
        "facts",
        "commentary",
        "risk_changes"
      ],
      "title": "Search Target",
      "default": "facts"
    },
    "report_type": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Report Type"
    },
    "fiscal_year": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 2200.0,
          "minimum": 1900.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Fiscal Year"
    },
    "fiscal_period": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 40
        },
        {
          "type": "null"
        }
      ],
      "title": "Fiscal Period"
    },
    "metric_class": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Metric Class"
    },
    "segment": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Segment"
    },
    "date_from": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Date From"
    },
    "date_to": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Date To"
    },
    "active_only": {
      "type": "boolean",
      "title": "Active Only",
      "default": true
    },
    "format": {
      "type": "string",
      "enum": [
        "json",
        "pretty"
      ],
      "title": "Format",
      "default": "json"
    },
    "limit": {
      "type": "integer",
      "maximum": 50.0,
      "minimum": 1.0,
      "title": "Limit",
      "default": 20
    }
  },
  "type": "object",
  "required": [
    "company"
  ]
}