{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/asterwise-com/json-schema/asterwise-com-personal-year-post-request-schema.json",
  "title": "PersonalYearPostRequest",
  "description": "MCP-friendly POST body for personal year (birth `date` + optional target `year`).",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/asterwise-com-numerology-api-openapi.yml#/components/schemas/PersonalYearPostRequest",
  "properties": {
    "name": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 100,
          "minLength": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Name",
      "description": "Optional and not used in the calculation; accepted so older clients keep working"
    },
    "date": {
      "type": "string",
      "format": "date",
      "title": "Date",
      "description": "Birth date (YYYY-MM-DD or ISO datetime string from clients)"
    },
    "year": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 2100.0,
          "minimum": 1900.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Year",
      "description": "Calendar year to interpret; defaults to the current year"
    }
  },
  "type": "object",
  "required": [
    "date"
  ]
}