{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/astroclaw-xyz/json-schema/astroclaw-xyz-today-forecast-schema.json",
  "title": "TodayForecast",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/astroclaw-xyz-openapi.yaml#/components/schemas/TodayForecast",
  "allOf": [
    {
      "$ref": "#/$defs/Forecast"
    },
    {
      "type": "object",
      "properties": {
        "next_update_expected_at": {
          "type": "string",
          "format": "date-time"
        }
      }
    }
  ],
  "$defs": {
    "Forecast": {
      "type": "object",
      "required": [
        "sign",
        "date",
        "horoscope",
        "url",
        "json_url",
        "text_url"
      ],
      "properties": {
        "sign": {
          "$ref": "#/$defs/SignName"
        },
        "date": {
          "type": "string",
          "format": "date"
        },
        "horoscope": {
          "type": "string"
        },
        "forecast": {
          "type": "string",
          "deprecated": true,
          "description": "Same as horoscope; kept for older clients."
        },
        "url": {
          "type": "string",
          "format": "uri",
          "description": "Human-readable page."
        },
        "json_url": {
          "type": "string",
          "format": "uri"
        },
        "text_url": {
          "type": "string",
          "format": "uri"
        }
      }
    },
    "SignName": {
      "type": "string",
      "enum": [
        "aries",
        "taurus",
        "gemini",
        "cancer",
        "leo",
        "virgo",
        "libra",
        "scorpio",
        "sagittarius",
        "capricorn",
        "aquarius",
        "pisces"
      ]
    }
  }
}