{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/openephemeris-com/json-schema/openephemeris-com-julian-day-request-schema.json",
  "title": "JulianDayRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/openephemeris-com-time-conversion-api-openapi.yml#/components/schemas/JulianDayRequest",
  "additionalProperties": false,
  "properties": {
    "calendar": {
      "default": "proleptic_gregorian",
      "description": "Calendar system to use (e.g. proleptic_gregorian, julian)",
      "title": "Calendar",
      "type": "string"
    },
    "day": {
      "description": "Day of the month, can include fractional days",
      "title": "Day",
      "type": "number"
    },
    "hour": {
      "default": 0,
      "description": "Hour of the day (0-23)",
      "title": "Hour",
      "type": "number"
    },
    "minute": {
      "default": 0,
      "description": "Minute of the hour (0-59)",
      "title": "Minute",
      "type": "number"
    },
    "month": {
      "description": "Month of the year (1-12)",
      "maximum": 12,
      "minimum": 1,
      "title": "Month",
      "type": "integer"
    },
    "second": {
      "default": 0,
      "description": "Second of the minute (0-59)",
      "title": "Second",
      "type": "number"
    },
    "time_scale": {
      "default": "utc",
      "description": "Time scale (utc, tt)",
      "title": "Time Scale",
      "type": "string"
    },
    "year": {
      "description": "Astronomical year (0 = 1 BCE, -1 = 2 BCE)",
      "title": "Year",
      "type": "integer"
    }
  },
  "required": [
    "year",
    "month",
    "day"
  ],
  "type": "object"
}