> ## 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.

# SpotFreshness Schema

> Freshness state for a Hyperliquid Spot pair. Includes generated fields, route metadata, response shapes, and implementation-safe 0xArchive contract details.

Source OpenAPI: 0xArchive API 1.5.0; 140 paths; 119 component schemas.

Freshness state for a Hyperliquid Spot pair.

## Required Fields

| Field         | Type             | Description                                 |
| ------------- | ---------------- | ------------------------------------------- |
| `coin`        | string           | Defined by the generated JSON Schema block. |
| `exchange`    | string           | Defined by the generated JSON Schema block. |
| `measured_at` | string:date-time | Defined by the generated JSON Schema block. |
| `symbol`      | string           | Defined by the generated JSON Schema block. |

## JSON Schema

```json theme={"theme":"github-dark"}
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "SpotFreshness",
  "description": "Freshness state for a Hyperliquid Spot pair.",
  "type": "object",
  "required": [
    "coin",
    "exchange",
    "measured_at",
    "symbol"
  ],
  "properties": {
    "coin": {
      "type": "string",
      "example": "HYPE-USDC"
    },
    "exchange": {
      "type": "string",
      "example": "spot"
    },
    "l4_checkpoints": {
      "description": "Freshness state for one Hyperliquid Spot data type.",
      "type": "object",
      "properties": {
        "lag_ms": {
          "description": "Measured lag in milliseconds when available.",
          "type": "integer",
          "nullable": true,
          "example": 440
        },
        "last_updated": {
          "description": "Most recent update timestamp when available.",
          "type": "string",
          "format": "date-time",
          "nullable": true,
          "example": "2026-05-08T21:20:34.837Z"
        }
      },
      "additionalProperties": true
    },
    "l4_diffs": {
      "description": "Freshness state for one Hyperliquid Spot data type.",
      "type": "object",
      "properties": {
        "lag_ms": {
          "description": "Measured lag in milliseconds when available.",
          "type": "integer",
          "nullable": true,
          "example": 440
        },
        "last_updated": {
          "description": "Most recent update timestamp when available.",
          "type": "string",
          "format": "date-time",
          "nullable": true,
          "example": "2026-05-08T21:20:34.837Z"
        }
      },
      "additionalProperties": true
    },
    "measured_at": {
      "type": "string",
      "format": "date-time",
      "example": "2026-05-08T21:20:35.277945340Z"
    },
    "orderbook": {
      "description": "Freshness state for one Hyperliquid Spot data type.",
      "type": "object",
      "properties": {
        "lag_ms": {
          "description": "Measured lag in milliseconds when available.",
          "type": "integer",
          "nullable": true,
          "example": 440
        },
        "last_updated": {
          "description": "Most recent update timestamp when available.",
          "type": "string",
          "format": "date-time",
          "nullable": true,
          "example": "2026-05-08T21:20:34.837Z"
        }
      },
      "additionalProperties": true
    },
    "orders": {
      "description": "Freshness state for one Hyperliquid Spot data type.",
      "type": "object",
      "properties": {
        "lag_ms": {
          "description": "Measured lag in milliseconds when available.",
          "type": "integer",
          "nullable": true,
          "example": 440
        },
        "last_updated": {
          "description": "Most recent update timestamp when available.",
          "type": "string",
          "format": "date-time",
          "nullable": true,
          "example": "2026-05-08T21:20:34.837Z"
        }
      },
      "additionalProperties": true
    },
    "symbol": {
      "type": "string",
      "example": "HYPE-USDC"
    },
    "trades": {
      "description": "Freshness state for one Hyperliquid Spot data type.",
      "type": "object",
      "properties": {
        "lag_ms": {
          "description": "Measured lag in milliseconds when available.",
          "type": "integer",
          "nullable": true,
          "example": 440
        },
        "last_updated": {
          "description": "Most recent update timestamp when available.",
          "type": "string",
          "format": "date-time",
          "nullable": true,
          "example": "2026-05-08T21:20:34.837Z"
        }
      },
      "additionalProperties": true
    },
    "twap": {
      "description": "Freshness state for one Hyperliquid Spot data type.",
      "type": "object",
      "properties": {
        "lag_ms": {
          "description": "Measured lag in milliseconds when available.",
          "type": "integer",
          "nullable": true,
          "example": 440
        },
        "last_updated": {
          "description": "Most recent update timestamp when available.",
          "type": "string",
          "format": "date-time",
          "nullable": true,
          "example": "2026-05-08T21:20:34.837Z"
        }
      },
      "additionalProperties": true
    }
  },
  "additionalProperties": true
}
```

## Referenced By

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