{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rentseek-ing/json-schema/rentseek-ing-company-dossier-response-schema.json",
  "title": "CompanyDossierResponse",
  "description": "Full response shown. fields projection may omit top-level properties except release.",
  "x-generated": "2026-11-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rentseek-ing-openapi.yml#/components/schemas/CompanyDossierResponse",
  "type": "object",
  "properties": {
    "company": {
      "type": "object",
      "additionalProperties": true
    },
    "release": {
      "$ref": "#/$defs/EvidenceRelease"
    },
    "methodology_version": {
      "type": "string",
      "enum": [
        "evidence_claim/v1"
      ]
    },
    "executives": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": true
      }
    },
    "compensation_history": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": true
      }
    },
    "pay_ratio": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": true
      }
    },
    "pay_vs_performance": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": true
      }
    },
    "claims": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/EvidenceClaim"
      }
    },
    "sources": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/EvidenceSource"
      }
    },
    "limitations": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "release"
  ],
  "$defs": {
    "EvidenceClaim": {
      "type": "object",
      "properties": {
        "claim_id": {
          "type": "string",
          "pattern": "^clm_[a-z0-9.-]+_[a-f0-9]{16,64}$"
        },
        "type": {
          "type": "string"
        },
        "value": {
          "oneOf": [
            {
              "type": "number"
            },
            {
              "type": "string"
            }
          ]
        },
        "currency": {
          "type": [
            "string",
            "null"
          ]
        },
        "fiscal_year": {
          "type": "integer"
        },
        "executive_id": {
          "type": [
            "string",
            "null"
          ]
        },
        "source": {
          "$ref": "#/$defs/EvidenceSource"
        }
      },
      "required": [
        "claim_id",
        "type",
        "value",
        "currency",
        "fiscal_year",
        "executive_id",
        "source"
      ]
    },
    "EvidenceRelease": {
      "type": "object",
      "properties": {
        "artifact_id": {
          "type": "string"
        },
        "schema_version": {
          "type": "string"
        },
        "code_version": {
          "type": [
            "string",
            "null"
          ]
        },
        "published_at": {
          "type": "string",
          "format": "date-time"
        },
        "fiscal_year": {
          "type": "integer"
        },
        "source_form": {
          "type": [
            "string",
            "null"
          ]
        },
        "source_accession": {
          "type": [
            "string",
            "null"
          ]
        },
        "quality": {
          "type": "object",
          "properties": {
            "validation": {
              "type": "string",
              "enum": [
                "passed"
              ]
            },
            "errors": {
              "type": "integer",
              "minimum": 0
            },
            "warnings": {
              "type": "integer",
              "minimum": 0
            },
            "dropped_items": {
              "type": "integer",
              "minimum": 0
            }
          },
          "required": [
            "validation",
            "errors",
            "warnings",
            "dropped_items"
          ]
        }
      },
      "required": [
        "artifact_id",
        "schema_version",
        "code_version",
        "published_at",
        "fiscal_year",
        "source_form",
        "source_accession",
        "quality"
      ]
    },
    "EvidenceSource": {
      "type": "object",
      "properties": {
        "form": {
          "type": "string"
        },
        "accession": {
          "type": "string"
        },
        "filing_date": {
          "type": [
            "string",
            "null"
          ]
        },
        "filing_url": {
          "type": [
            "string",
            "null"
          ],
          "format": "uri"
        }
      },
      "required": [
        "form",
        "accession",
        "filing_date",
        "filing_url"
      ]
    }
  }
}