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

# PositionsFreshness Schema

> Freshness of one positions product. 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.

Freshness of one positions product.

## Required Fields

| Field | Type | Description |
| - | - | - |
| `built_through` | string:date-time | Every event before this instant is built into the change log and as-of state. |
| `finalized_through` | string:date-time | Every event before this instant is final and will not be re-derived. |
| `hourly_snapshot_ts` | string:date-time | Latest committed hourly snapshot. |
| `live_age_seconds` | integer:int64 | Age of the latest live snapshot in seconds. |
| `live_quality` | string | Quality of the latest live snapshot. |
| `live_snapshot_ts` | string:date-time | Latest live snapshot. |
| `product` | string | `core`, `hip3`, `lighter`, or `rh_lighter`. |
| `stale` | boolean | True when the latest live snapshot is older than 12 minutes, or there is none. |
| `venue` | string | `hyperliquid`, `lighter`, or `rh_lighter`. |

## JSON Schema

```json theme={"theme":"github-dark"}
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "PositionsFreshness",
  "description": "Freshness of one positions product.",
  "type": "object",
  "required": [
    "built_through",
    "finalized_through",
    "hourly_snapshot_ts",
    "live_age_seconds",
    "live_quality",
    "live_snapshot_ts",
    "product",
    "stale",
    "venue"
  ],
  "properties": {
    "built_through": {
      "description": "Every event before this instant is built into the change log and as-of state.",
      "type": "string",
      "format": "date-time",
      "nullable": true
    },
    "finalized_through": {
      "description": "Every event before this instant is final and will not be re-derived.",
      "type": "string",
      "format": "date-time",
      "nullable": true
    },
    "hourly_snapshot_ts": {
      "description": "Latest committed hourly snapshot.",
      "type": "string",
      "format": "date-time",
      "nullable": true
    },
    "live_age_seconds": {
      "description": "Age of the latest live snapshot in seconds.",
      "type": "integer",
      "format": "int64",
      "nullable": true,
      "example": 94
    },
    "live_quality": {
      "description": "Quality of the latest live snapshot.",
      "type": "string",
      "nullable": true,
      "example": "complete"
    },
    "live_snapshot_ts": {
      "description": "Latest live snapshot.",
      "type": "string",
      "format": "date-time",
      "nullable": true
    },
    "product": {
      "description": "`core`, `hip3`, `lighter`, or `rh_lighter`.",
      "type": "string",
      "example": "core"
    },
    "stale": {
      "description": "True when the latest live snapshot is older than 12 minutes, or there is none.",
      "type": "boolean",
      "example": false
    },
    "venue": {
      "description": "`hyperliquid`, `lighter`, or `rh_lighter`.",
      "type": "string",
      "example": "hyperliquid"
    }
  }
}
```

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