{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/coinrithm-com/json-schema/coinrithm-com-public-sec-filings-response-schema.json",
  "title": "PublicSecFilingsResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/coinrithm-com-public-market-data-api-openapi.yml#/components/schemas/PublicSecFilingsResponse",
  "type": "object",
  "required": [
    "version",
    "generatedAt",
    "ticker",
    "name",
    "coverage",
    "insiderTransactions",
    "openMarketTransactions",
    "source"
  ],
  "properties": {
    "version": {
      "type": "integer"
    },
    "generatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "ticker": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "coverage": {
      "type": "string",
      "enum": [
        "available",
        "none_recorded",
        "not_applicable"
      ]
    },
    "insiderTransactions": {
      "type": "array",
      "description": "Up to 50 latest non-derivative transactions of every code.",
      "items": {
        "$ref": "#/$defs/PublicSecInsiderTransaction"
      }
    },
    "openMarketTransactions": {
      "type": "array",
      "description": "Up to 20 latest open-market purchases and sales.",
      "items": {
        "$ref": "#/$defs/PublicSecInsiderTransaction"
      }
    },
    "source": {
      "$ref": "#/$defs/PublicSecFilingsSource"
    }
  },
  "$defs": {
    "PublicSecFilingsSource": {
      "type": "object",
      "required": [
        "name",
        "url",
        "publisher",
        "forms",
        "issuerFilingsUrl",
        "note"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "url": {
          "type": "string",
          "format": "uri"
        },
        "publisher": {
          "type": "string"
        },
        "forms": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "issuerFilingsUrl": {
          "type": [
            "string",
            "null"
          ],
          "description": "EDGAR list of this issuer's Form 4 filings, when known."
        },
        "note": {
          "type": "string"
        }
      }
    },
    "PublicSecInsiderReporter": {
      "type": "object",
      "required": [
        "name",
        "cik",
        "count",
        "relationship",
        "isDirector",
        "isOfficer",
        "isTenPercentOwner",
        "isOther",
        "officerTitle"
      ],
      "properties": {
        "name": {
          "type": "string",
          "description": "First reporting person on the form."
        },
        "cik": {
          "type": [
            "integer",
            "null"
          ]
        },
        "count": {
          "type": "integer",
          "description": "Joint filers on the same Form 4."
        },
        "relationship": {
          "type": "string",
          "description": "Display summary such as `Director, Chief Executive Officer`."
        },
        "isDirector": {
          "type": "boolean"
        },
        "isOfficer": {
          "type": "boolean"
        },
        "isTenPercentOwner": {
          "type": "boolean"
        },
        "isOther": {
          "type": "boolean"
        },
        "officerTitle": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "PublicSecInsiderTransaction": {
      "type": "object",
      "required": [
        "accessionNumber",
        "filingUrl",
        "filingIndexUrl",
        "filedAt",
        "transactionDate",
        "reporter",
        "securityTitle",
        "code",
        "codeLabel",
        "isOpenMarket",
        "acquiredDisposed",
        "shares",
        "pricePerShare",
        "valueUsd",
        "sharesOwnedAfter",
        "ownership",
        "is10b5One"
      ],
      "properties": {
        "accessionNumber": {
          "type": "string"
        },
        "filingUrl": {
          "type": "string",
          "format": "uri",
          "description": "SEC rendering of the original Form 4."
        },
        "filingIndexUrl": {
          "type": "string",
          "format": "uri",
          "description": "EDGAR filing index."
        },
        "filedAt": {
          "type": "string",
          "description": "EDGAR filing date, `YYYY-MM-DD`."
        },
        "transactionDate": {
          "type": "string",
          "description": "Trade date, `YYYY-MM-DD`."
        },
        "reporter": {
          "$ref": "#/$defs/PublicSecInsiderReporter"
        },
        "securityTitle": {
          "type": "string"
        },
        "code": {
          "type": "string",
          "description": "Form 4 transaction code, e.g. `P`, `S`, `A`, `M`."
        },
        "codeLabel": {
          "type": "string"
        },
        "isOpenMarket": {
          "type": "boolean",
          "description": "Code `P` or `S`."
        },
        "acquiredDisposed": {
          "type": [
            "string",
            "null"
          ],
          "description": "`A` (acquired) or `D` (disposed), or null."
        },
        "shares": {
          "type": [
            "number",
            "null"
          ]
        },
        "pricePerShare": {
          "type": [
            "number",
            "null"
          ]
        },
        "valueUsd": {
          "type": [
            "number",
            "null"
          ]
        },
        "sharesOwnedAfter": {
          "type": [
            "number",
            "null"
          ]
        },
        "ownership": {
          "type": [
            "string",
            "null"
          ],
          "description": "`direct` or `indirect`, or null."
        },
        "is10b5One": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Reported under a Rule 10b5-1 plan; null when the form predates that checkbox."
        }
      }
    }
  }
}