{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/skylit-ai/json-schema/skylit-ai-meta-schema.json",
  "title": "Meta",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/skylit-ai-openapi.yml#/components/schemas/Meta",
  "type": "object",
  "required": [
    "metric",
    "resolution",
    "mode",
    "cached"
  ],
  "properties": {
    "metric": {
      "type": "string",
      "enum": [
        "gamma",
        "vanna"
      ]
    },
    "resolution": {
      "type": "string",
      "enum": [
        "1s",
        "1m"
      ],
      "description": "Time resolution of the data served: \"1s\" when every symbol came\nfrom 1-second data, \"1m\" when any came from minute-resolution\nhistory.\n"
    },
    "mode": {
      "type": "string",
      "enum": [
        "live",
        "historical"
      ]
    },
    "cached": {
      "type": "boolean",
      "description": "True if served from the in-process cache."
    },
    "delayed": {
      "type": "boolean",
      "description": "True when your plan's data is delayed and this latest-data request\nwas served as of `delayMinutes` ago (mode is then `historical`).\nAbsent on real-time plans.\n"
    },
    "delayMinutes": {
      "type": "integer",
      "description": "The delay applied when `delayed` is true."
    },
    "attribution": {
      "allOf": [
        {
          "$ref": "#/$defs/Attribution"
        }
      ],
      "description": "How to credit this data. Most routes send the short form\n`{text, url, terms}` (\"Data: Skylit\"). Routes whose data class the\nlicensing design (TERMS.md §5) tags explicitly — today,\n`/v1/options/*` — send the full licensing shape instead. Can be\nabsent; do not infer sharing rules from the short form or from\nits absence.\n"
    }
  },
  "$defs": {
    "Attribution": {
      "type": "object",
      "required": [
        "text",
        "url"
      ],
      "description": "Whether and how this response's data may be published. See\n`/legal/api#sharing`. An Agent or MCP client should never publish\ndata where `shareable` is false, regardless of `shareClass`.\n`required`, `license`, `shareable` and `shareClass` are always sent\non `/v1/options/*` and absent from the short form.\n",
      "properties": {
        "text": {
          "type": "string"
        },
        "url": {
          "type": "string",
          "format": "uri"
        },
        "required": {
          "type": "boolean"
        },
        "license": {
          "type": "string",
          "enum": [
            "personal",
            "commercial",
            "connected_app"
          ]
        },
        "shareable": {
          "type": "boolean"
        },
        "shareClass": {
          "type": "string",
          "enum": [
            "derived",
            "derived_levels_only",
            "raw"
          ],
          "description": "\"raw\" (e.g. option quotes, greeks) must never be auto-published."
        },
        "terms": {
          "type": "string",
          "format": "uri"
        }
      }
    }
  }
}