> ## Documentation Index
> Fetch the complete documentation index at: https://docs.0xarchive.io/llms.txt
> Use this file to discover all available pages before exploring further.

# PositionLeverage Schema

> Leverage of a position. Includes required fields, field types, schema references, and generated JSON details from the 0xArchive OpenAPI contract.

Source OpenAPI: 0xArchive API 1.7.0; 218 paths; 210 component schemas.

Leverage of a position.

## Required Fields

| Field | Type | Description |
| - | - | - |
| `type` | string | Margin type: `cross`, `isolated`, or `unknown`. |
| `value` | string | Leverage multiple as a decimal string. |

## JSON Schema

```json theme={"theme":"github-dark"}
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "PositionLeverage",
  "description": "Leverage of a position.",
  "type": "object",
  "required": [
    "type",
    "value"
  ],
  "properties": {
    "type": {
      "description": "Margin type: `cross`, `isolated`, or `unknown`. On Lighter this is the margin mode of the position.",
      "type": "string",
      "example": "cross"
    },
    "value": {
      "description": "Leverage multiple as a decimal string. Null when unknown (Lighter rows and as-of reconstructions).",
      "type": "string",
      "nullable": true,
      "example": "20"
    }
  }
}
```

## Referenced By

Use this shared schema with the generated component index and route-specific endpoint pages during implementation.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.