{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/paradex/json-schema/paradex-responses-subkey-schema.json",
  "title": "responses.Subkey",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/paradex-subkey-api-openapi.yml#/components/schemas/responses.Subkey",
  "type": "object",
  "properties": {
    "account_id": {
      "description": "Account ID that owns this subkey",
      "type": "string"
    },
    "allowed_cidrs": {
      "description": "IP CIDR allowlist; empty means unrestricted",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "block_trade_signing_enabled": {
      "description": "Whether this subkey is enabled for block trade signing (create, offer\nand execute signatures) for its account: it is active, and either the\naccount owner enabled it with the main key or it is the Paradigm RFQ\ndelegation key, which follows its delegation. Always false for pending\nand revoked subkeys.",
      "type": "boolean"
    },
    "created_at": {
      "description": "Subkey creation timestamp (nanoseconds since epoch)",
      "type": "integer"
    },
    "id": {
      "description": "Unique subkey identifier",
      "type": "integer"
    },
    "name": {
      "description": "User-provided subkey name",
      "type": "string"
    },
    "public_key": {
      "description": "Subkey public key",
      "type": "string"
    },
    "revoked_at": {
      "description": "Revocation timestamp (nanoseconds since epoch, 0 if not revoked)",
      "type": "integer"
    },
    "state": {
      "description": "Subkey state",
      "type": "string"
    },
    "updated_at": {
      "description": "Last modification timestamp (nanoseconds since epoch)",
      "type": "integer"
    }
  }
}