{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/atlasyield-club/json-schema/atlasyield-club-gas-regime-schema.json",
  "title": "GasRegime",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/atlasyield-club-gas-api-openapi.yml#/components/schemas/GasRegime",
  "type": "object",
  "properties": {
    "chainId": {
      "type": "integer"
    },
    "current": {
      "type": [
        "object",
        "null"
      ],
      "description": "Newest 15-minute sample; null when older than 1 hour.",
      "properties": {
        "gwei": {
          "type": "number"
        },
        "nativeUsd": {
          "type": "number"
        },
        "usdPerMillionGas": {
          "type": "number"
        },
        "at": {
          "type": "string",
          "format": "date-time"
        }
      }
    },
    "usdPerMillionGas": {
      "type": "object",
      "description": "Trailing 7-day percentiles; null until 6 hours of samples exist.",
      "properties": {
        "p10_7d": {
          "type": [
            "number",
            "null"
          ]
        },
        "p50_7d": {
          "type": [
            "number",
            "null"
          ]
        },
        "p90_7d": {
          "type": [
            "number",
            "null"
          ]
        }
      }
    },
    "samples": {
      "type": "integer"
    },
    "coverageHours": {
      "type": "number"
    }
  }
}