{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/meteoblue/json-schema/meteoblue-get-v1-time-mode-domain-response-schema.json",
  "title": "GetV1TimeModeDomainResponse",
  "x-generated": "2026-10-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/meteoblue-openapi-generated.yml#/components/schemas/GetV1TimeModeDomainResponse",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "description": "either regular, categories or timesteps"
    },
    "expires": {
      "type": "string",
      "description": "optional iso8601 timestamp. At this point in time the map should be reloaded."
    },
    "lastUpdate": {
      "type": "string",
      "description": "optional iso8601 timestamp of the last update. This can be used for cache invalidation."
    },
    "first": {
      "type": "string",
      "description": "iso8601 timestamp of the first available timestep (present when type is regular)."
    },
    "last": {
      "type": "string",
      "description": "iso8601 timestamp of the last available timestep (present when type is regular)."
    },
    "interval": {
      "type": "number",
      "description": "the interval between two timesteps in seconds (present when type is regular)."
    },
    "current": {
      "type": "string",
      "description": "iso8601 timestamp of the current timestep (present when type is regular)."
    },
    "categories": {
      "type": "array",
      "description": "A list of available categories (present when type is categories). Each object contains a name and a value."
    },
    "format": {
      "type": "string",
      "description": "format string for timesteps (present when type is timesteps)."
    },
    "timesteps": {
      "type": "array",
      "description": "A list of available timesteps (present when type is timesteps). Each object contains a timestep and a value."
    },
    "ranges": {
      "type": "array",
      "description": "Optional list of ranges (present when type is timesteps). Each object contains a label and a numsteps."
    }
  }
}