{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://postflight.co/aeronautiql/planning/v1_1/results/execution-clock.schema.json",
  "title": "Immutable whole-trip logical and weather execution clocks",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "plannedDepartureUtc",
    "weatherDepartureUtc",
    "weatherIntent"
  ],
  "properties": {
    "plannedDepartureUtc": {
      "type": "string",
      "format": "date-time"
    },
    "weatherDepartureUtc": {
      "type": "string",
      "format": "date-time"
    },
    "weatherIntent": {
      "enum": [
        "entered_departure",
        "current_weather_for_past_etd"
      ]
    }
  }
}
