{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/paradex/json-schema/paradex-responses-rfq-platform-state-result-schema.json",
  "title": "responses.RfqPlatformStateResult",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/paradex-rfqs-api-openapi.yml#/components/schemas/responses.RfqPlatformStateResult",
  "type": "object",
  "properties": {
    "next_platform_state": {
      "description": "The venue's scheduled next global state",
      "enum": [
        "AVAILABLE",
        "AVAILABLE_CANCEL_ONLY",
        "UNAVAILABLE",
        "UNKNOWN"
      ],
      "allOf": [
        {
          "$ref": "#/$defs/responses.RfqVenueState"
        }
      ]
    },
    "next_platform_state_at": {
      "description": "When next_platform_state takes effect, unix milliseconds; 0 when the\nstate is unknown",
      "type": "integer"
    },
    "platform_state": {
      "description": "The venue's global state",
      "enum": [
        "AVAILABLE",
        "AVAILABLE_CANCEL_ONLY",
        "UNAVAILABLE",
        "UNKNOWN"
      ],
      "allOf": [
        {
          "$ref": "#/$defs/responses.RfqVenueState"
        }
      ]
    },
    "state": {
      "description": "The state that applies to an RFQ create, execute or cancel: the more\nrestrictive of platform_state and venue_state",
      "enum": [
        "AVAILABLE",
        "AVAILABLE_CANCEL_ONLY",
        "UNAVAILABLE",
        "UNKNOWN"
      ],
      "allOf": [
        {
          "$ref": "#/$defs/responses.RfqVenueState"
        }
      ]
    },
    "venue_state": {
      "description": "The venue's maintenance state for Paradex markets",
      "enum": [
        "AVAILABLE",
        "AVAILABLE_CANCEL_ONLY",
        "UNAVAILABLE",
        "UNKNOWN"
      ],
      "allOf": [
        {
          "$ref": "#/$defs/responses.RfqVenueState"
        }
      ]
    }
  },
  "$defs": {
    "responses.RfqVenueState": {
      "type": "string",
      "enum": [
        "AVAILABLE",
        "AVAILABLE_CANCEL_ONLY",
        "UNAVAILABLE",
        "UNKNOWN"
      ],
      "x-enum-varnames": [
        "RfqVenueStateAvailable",
        "RfqVenueStateCancelOnly",
        "RfqVenueStateUnavailable",
        "RfqVenueStateUnknown"
      ]
    }
  }
}