{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/astroclaw-xyz/json-schema/astroclaw-xyz-forecast-schema.json",
  "title": "Forecast",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/astroclaw-xyz-openapi.yaml#/components/schemas/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"
    }
  },
  "$defs": {
    "SignName": {
      "type": "string",
      "enum": [
        "aries",
        "taurus",
        "gemini",
        "cancer",
        "leo",
        "virgo",
        "libra",
        "scorpio",
        "sagittarius",
        "capricorn",
        "aquarius",
        "pisces"
      ]
    }
  }
}