{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/stockdrifts-io/json-schema/stockdrifts-io-insider-plan-detail-schema.json",
  "title": "InsiderPlanDetail",
  "description": "One D005 pre-disclosure plan — an announced (but not yet executed) insider trade.",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/stockdrifts-io-openapi.json#/components/schemas/InsiderPlanDetail",
  "properties": {
    "market": {
      "type": "string",
      "title": "Market"
    },
    "rcept_no": {
      "type": "string",
      "title": "Rcept No"
    },
    "rcept_dt": {
      "type": "string",
      "title": "Rcept Dt"
    },
    "corp_code": {
      "type": "string",
      "title": "Corp Code"
    },
    "corp_name": {
      "type": "string",
      "title": "Corp Name"
    },
    "stock_code": {
      "type": "string",
      "title": "Stock Code"
    },
    "filer_name": {
      "type": "string",
      "title": "Filer Name"
    },
    "filer_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Filer Id"
    },
    "filer_position": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Filer Position"
    },
    "trade_direction": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Trade Direction"
    },
    "acquisition_method": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Acquisition Method"
    },
    "security_type": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Security Type"
    },
    "planned_shares": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Planned Shares"
    },
    "planned_unit_price": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Planned Unit Price"
    },
    "planned_total_amount": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Planned Total Amount"
    },
    "trade_start_date": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Trade Start Date"
    },
    "trade_end_date": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Trade End Date"
    },
    "trade_purpose": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Trade Purpose"
    },
    "price_basis": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Price Basis"
    },
    "current_shares": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Current Shares"
    },
    "current_ownership_pct": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Current Ownership Pct"
    },
    "expected_shares_after": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Expected Shares After"
    },
    "expected_ownership_pct_after": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Expected Ownership Pct After"
    },
    "total_shares_issued": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Total Shares Issued"
    },
    "is_withdrawal": {
      "type": "integer",
      "title": "Is Withdrawal",
      "default": 0
    },
    "is_amendment": {
      "type": "integer",
      "title": "Is Amendment",
      "default": 0
    },
    "report_nm": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Report Nm"
    }
  },
  "type": "object",
  "required": [
    "market",
    "rcept_no",
    "rcept_dt",
    "corp_code",
    "corp_name",
    "stock_code",
    "filer_name"
  ]
}