{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/asterwise-com/json-schema/asterwise-com-biorhythm-request-schema.json",
  "title": "BiorhythmRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/asterwise-com-western-api-openapi.yml#/components/schemas/BiorhythmRequest",
  "properties": {
    "birth_date": {
      "type": "string",
      "format": "date",
      "title": "Birth Date",
      "description": "Date of birth in YYYY-MM-DD format."
    },
    "target_date": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Target Date",
      "description": "Date to compute cycles for. Defaults to today."
    },
    "days": {
      "type": "integer",
      "maximum": 90.0,
      "minimum": 1.0,
      "title": "Days",
      "description": "Number of consecutive days to compute (1-90). Use 1 for a single day snapshot. Use >1 for a date range.",
      "default": 1
    }
  },
  "type": "object",
  "required": [
    "birth_date"
  ]
}