{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/earningsfeed-com/json-schema/earningsfeed-com-insider-transactions-response-schema.json",
  "title": "InsiderTransactionsResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/earningsfeed-com-insider-api-openapi.yml#/components/schemas/InsiderTransactionsResponse",
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/InsiderTransaction"
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ],
      "description": "Cursor for next page, null if no more pages"
    },
    "hasMore": {
      "type": "boolean",
      "description": "Whether more items exist beyond this page"
    }
  },
  "required": [
    "items",
    "nextCursor",
    "hasMore"
  ],
  "$defs": {
    "InsiderTransaction": {
      "type": "object",
      "properties": {
        "accessionNumber": {
          "type": "string",
          "description": "SEC accession number of the source filing"
        },
        "filedAt": {
          "type": "string",
          "format": "date-time",
          "description": "SEC filing date. A calendar date encoded as midnight UTC: read only the date part (YYYY-MM-DD) and never convert it to a local time zone. For the moment the SEC accepted the filing, use acceptTs."
        },
        "formType": {
          "type": "string",
          "description": "Form type (3, 4, 5, or their amendments)"
        },
        "personCik": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "description": "CIK of the reporting insider (person or entity)"
        },
        "personName": {
          "type": "string",
          "description": "Name of the reporting insider"
        },
        "companyCik": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "description": "CIK of the issuing company"
        },
        "companyName": {
          "type": [
            "string",
            "null"
          ],
          "description": "Name of the issuing company"
        },
        "ticker": {
          "type": [
            "string",
            "null"
          ],
          "description": "Primary stock ticker of the company"
        },
        "isDirector": {
          "type": "boolean",
          "description": "Whether the insider is a director of the company"
        },
        "isOfficer": {
          "type": "boolean",
          "description": "Whether the insider is an officer of the company"
        },
        "isTenPercentOwner": {
          "type": "boolean",
          "description": "Whether the insider owns 10% or more of the company"
        },
        "isOther": {
          "type": "boolean",
          "description": "Other relationship to the company"
        },
        "officerTitle": {
          "type": [
            "string",
            "null"
          ],
          "description": "Officer title if applicable (CEO, CFO, etc.)"
        },
        "securityTitle": {
          "type": "string",
          "description": "Title/description of the security traded"
        },
        "isDerivative": {
          "type": "boolean",
          "description": "Whether this is a derivative security (options, warrants, etc.) vs equity"
        },
        "transactionDate": {
          "type": "string",
          "description": "Date the transaction occurred (YYYY-MM-DD)"
        },
        "transactionCode": {
          "type": "string",
          "description": "SEC transaction code indicating the type of trade:\n- **P** = Open market or private purchase\n- **S** = Open market or private sale\n- **A** = Grant, award, or other acquisition\n- **M** = Exercise or conversion of derivative security\n- **G** = Gift\n- **F** = Tax payment via delivering securities\n- **C** = Conversion of derivative security\n- **D** = Disposition to the issuer\n- **X** = Exercise of in-the-money derivative\n- **E** = Expiration of short derivative position\n- **H** = Expiration (or cancellation) of long derivative position\n- **I** = Discretionary transaction\n- **J** = Other acquisition or disposition\n- **K** = Transaction in equity swap or similar instrument\n- **L** = Small acquisition under Rule 16a-6\n- **O** = Exercise of out-of-the-money derivative security\n- **U** = Disposition pursuant to a tender of shares\n- **V** = Transaction voluntarily reported earlier than required\n- **W** = Acquisition or disposition by will or laws of descent\n- **Z** = Deposit into or withdrawal from voting trust\n\nCommon codes for tracking: P (purchases), S (sales), A (awards)"
        },
        "equitySwapInvolved": {
          "type": "boolean",
          "description": "Whether an equity swap was involved in the transaction"
        },
        "shares": {
          "type": [
            "string",
            "null"
          ],
          "description": "Number of shares involved in the transaction (as decimal string for precision)"
        },
        "pricePerShare": {
          "type": [
            "string",
            "null"
          ],
          "description": "Price per share (as decimal string for precision). Null for gifts, awards, etc."
        },
        "acquiredDisposed": {
          "type": "string",
          "description": "Direction of the transaction:\n- **A** = Acquired (shares were added to insider's holdings)\n- **D** = Disposed (shares were removed from insider's holdings)"
        },
        "sharesAfter": {
          "type": [
            "string",
            "null"
          ],
          "description": "Shares owned after the transaction (as decimal string)"
        },
        "directIndirect": {
          "type": "string",
          "description": "Type of ownership:\n- **D** = Direct ownership (held in insider's own name)\n- **I** = Indirect ownership (held through trust, family member, entity, etc.)"
        },
        "ownershipNature": {
          "type": [
            "string",
            "null"
          ],
          "description": "Nature of indirect ownership (e.g., 'By Trust', 'By Spouse')"
        },
        "conversionOrExercisePrice": {
          "type": [
            "string",
            "null"
          ],
          "description": "Exercise price for options/warrants (as decimal string)"
        },
        "exerciseDate": {
          "type": [
            "string",
            "null"
          ],
          "description": "Date the derivative can be exercised"
        },
        "expirationDate": {
          "type": [
            "string",
            "null"
          ],
          "description": "Expiration date of the derivative"
        },
        "underlyingSecurityTitle": {
          "type": [
            "string",
            "null"
          ],
          "description": "Title of the underlying security for derivatives"
        },
        "underlyingShares": {
          "type": [
            "string",
            "null"
          ],
          "description": "Number of underlying shares covered by the derivative"
        },
        "transactionValue": {
          "type": [
            "number",
            "null"
          ],
          "description": "Total transaction value (shares * pricePerShare). Null if price is unknown."
        }
      },
      "required": [
        "accessionNumber",
        "filedAt",
        "formType",
        "personCik",
        "personName",
        "companyCik",
        "companyName",
        "ticker",
        "isDirector",
        "isOfficer",
        "isTenPercentOwner",
        "isOther",
        "officerTitle",
        "securityTitle",
        "isDerivative",
        "transactionDate",
        "transactionCode",
        "equitySwapInvolved",
        "shares",
        "pricePerShare",
        "acquiredDisposed",
        "sharesAfter",
        "directIndirect",
        "ownershipNature",
        "conversionOrExercisePrice",
        "exerciseDate",
        "expirationDate",
        "underlyingSecurityTitle",
        "underlyingShares",
        "transactionValue"
      ]
    }
  }
}