{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/paradex/json-schema/paradex-responses-get-account-mmp-configs-resp-schema.json",
  "title": "responses.GetAccountMmpConfigsResp",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/paradex-marketmakerprotection-api-openapi.yml#/components/schemas/responses.GetAccountMmpConfigsResp",
  "type": "object",
  "properties": {
    "account": {
      "description": "Account ID",
      "type": "string"
    },
    "enabled": {
      "description": "Whether MMP is enabled for the account. When false, configs can only be removed, and those listed are still enforced until they are",
      "type": "boolean"
    },
    "results": {
      "description": "Configs per base asset, ordered by base asset. A base asset with no entry has MMP off",
      "type": "array",
      "items": {
        "$ref": "#/$defs/responses.AccountMmpConfigResp"
      }
    }
  },
  "$defs": {
    "responses.AccountMmpConfigResp": {
      "type": "object",
      "properties": {
        "base_asset": {
          "description": "Base asset the config applies to, across its dated options and perpetual futures",
          "type": "string"
        },
        "delta_limit": {
          "description": "Delta limit in base asset units; 0 = check disabled",
          "type": "string"
        },
        "frozen_time_ms": {
          "description": "How long a trip freezes MMP orders, in milliseconds. 0 freezes until a manual reset",
          "type": "integer"
        },
        "frozen_until": {
          "description": "Unix millis the freeze ends. 0 while frozen means until a manual reset; 0 when not frozen",
          "type": "integer"
        },
        "interval_ms": {
          "description": "Sliding window length in milliseconds. 0 when MMP was removed",
          "type": "integer"
        },
        "is_frozen": {
          "description": "Whether MMP orders on the base asset are frozen",
          "type": "boolean"
        },
        "protect_block_trades": {
          "description": "Whether block trade legs, RFQ executions included, are protected",
          "type": "boolean"
        },
        "size_limit": {
          "description": "Size limit in base asset units; 0 = check disabled",
          "type": "string"
        },
        "updated_at": {
          "description": "Unix milliseconds the config was last written",
          "type": "integer"
        },
        "vega_limit": {
          "description": "Vega limit in USD; 0 = check disabled",
          "type": "string"
        },
        "window_delta": {
          "description": "Net signed delta of fills in the current window, in base asset units",
          "type": "string"
        },
        "window_size": {
          "description": "Sum of fill sizes in the current window, in base asset units",
          "type": "string"
        },
        "window_vega": {
          "description": "Net signed vega of fills in the current window, in USD",
          "type": "string"
        }
      }
    }
  }
}