{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/tickerfacts-com/json-schema/tickerfacts-com-screen-result-schema.json",
  "title": "ScreenResult",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/tickerfacts-com-openapi.json#/components/schemas/ScreenResult",
  "properties": {
    "applied_filters": {
      "additionalProperties": {
        "type": "number"
      },
      "description": "Applied leverage ceilings, under their canonical names.",
      "type": "object"
    },
    "count": {
      "minimum": 0,
      "type": "integer"
    },
    "definitions": {
      "additionalProperties": {
        "type": "string"
      },
      "type": "object"
    },
    "notice": {
      "type": "string"
    },
    "offset": {
      "description": "Rows skipped before results.",
      "minimum": 0,
      "type": "integer"
    },
    "results": {
      "items": {
        "$ref": "#/$defs/ScreenRow"
      },
      "type": "array"
    },
    "sort": {
      "type": "string"
    },
    "source": {
      "type": "string"
    },
    "stale_excluded": {
      "description": "Matching companies left out because their latest annual report ended over about 18 months ago; pass include_stale=true.",
      "minimum": 1,
      "type": "integer"
    },
    "terms": {
      "format": "uri",
      "type": "string"
    },
    "total": {
      "minimum": 0,
      "type": "integer"
    },
    "warnings": {
      "items": {
        "type": "string"
      },
      "type": "array"
    }
  },
  "required": [
    "notice",
    "terms",
    "total",
    "count",
    "offset",
    "sort",
    "source",
    "results"
  ],
  "type": "object",
  "$defs": {
    "ScreenRow": {
      "properties": {
        "currency": {
          "type": [
            "string",
            "null"
          ]
        },
        "exchange": {
          "type": [
            "string",
            "null"
          ]
        },
        "gross_margin": {
          "type": "number"
        },
        "gross_margin_note": {
          "type": "string"
        },
        "industry": {
          "type": [
            "string",
            "null"
          ]
        },
        "liabilities_to_equity": {
          "type": [
            "number",
            "null"
          ]
        },
        "long_term_debt_to_equity": {
          "type": [
            "number",
            "null"
          ]
        },
        "name": {
          "type": "string"
        },
        "net_income": {
          "type": "number"
        },
        "net_margin": {
          "type": "number"
        },
        "operating_margin": {
          "type": "number"
        },
        "period_end": {
          "type": [
            "string",
            "null"
          ]
        },
        "period_start": {
          "type": [
            "string",
            "null"
          ]
        },
        "period_year": {
          "type": "integer"
        },
        "return_on_equity": {
          "type": "number"
        },
        "revenue": {
          "type": "number"
        },
        "revenue_growth": {
          "type": "number"
        },
        "sector": {
          "type": "string"
        },
        "ticker": {
          "type": "string"
        },
        "total_assets": {
          "type": "number"
        }
      },
      "required": [
        "ticker",
        "name",
        "period_start",
        "period_end",
        "currency",
        "industry",
        "exchange"
      ],
      "type": "object"
    }
  }
}