{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/tradestarinsider-com/json-schema/tradestarinsider-com-verify-verdict-schema.json",
  "title": "VerifyVerdict",
  "description": "A /v1/verify verdict. `status` is the outcome; the rest of the payload varies by status (a `match` block on confirmed/partial, a `message` on the negative statuses). Coverage bounds and the Rule-2 guarantee are always present. Absence is reported as absence — never a guess.",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/tradestarinsider-com-openapi.json#/components/schemas/VerifyVerdict",
  "type": "object",
  "required": [
    "api_version",
    "endpoint",
    "status",
    "coverage_note",
    "rule2_guarantee"
  ],
  "properties": {
    "api_version": {
      "type": "string"
    },
    "endpoint": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "confirmed",
        "partial",
        "not_found",
        "out_of_coverage",
        "out_of_scope"
      ],
      "description": "confirmed = matched a filing; partial = identity match with a claimed-vs-filed diff; not_found = in coverage but no match; out_of_coverage = claimed window outside collected days (we did not look); out_of_scope = not an open-market buy."
    },
    "coverage_start": {
      "type": [
        "string",
        "null"
      ],
      "format": "date"
    },
    "coverage_end": {
      "type": [
        "string",
        "null"
      ],
      "format": "date"
    },
    "coverage_note": {
      "type": "string"
    },
    "rule2_guarantee": {
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "match": {
      "type": "object",
      "additionalProperties": true,
      "description": "On confirmed/partial: the matched filing fields incl. filing_url."
    }
  },
  "additionalProperties": true
}