{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-ground-station/json-schema/amazon-ground-station-reserve-contact-request-schema.json",
  "title": "ReserveContactRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-ground-station-contact-api-openapi.yml#/components/schemas/ReserveContactRequest",
  "type": "object",
  "properties": {
    "missionProfileArn": {
      "type": "string",
      "description": "ARN of a mission profile."
    },
    "satelliteArn": {
      "type": "string",
      "description": "ARN of a satellite"
    },
    "startTime": {
      "type": "string",
      "description": "Start time of a contact in UTC."
    },
    "endTime": {
      "type": "string",
      "description": "End time of a contact in UTC."
    },
    "groundStation": {
      "type": "string",
      "description": "Name of a ground station."
    },
    "tags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Tags assigned to a contact."
    },
    "trackingOverrides": {
      "$ref": "#/$defs/TrackingOverrides"
    }
  },
  "required": [
    "missionProfileArn",
    "startTime",
    "endTime",
    "groundStation"
  ],
  "$defs": {
    "AzElProgramTrackSettings": {
      "type": "object",
      "properties": {
        "ephemerisId": {
          "type": "string",
          "description": "Unique identifier of the azimuth elevation ephemeris."
        }
      },
      "required": [
        "ephemerisId"
      ]
    },
    "OemProgramTrackSettings": {
      "type": "object",
      "properties": {
        "ephemerisId": {
          "type": "string",
          "description": "Unique identifier of the OEM ephemeris."
        }
      },
      "required": [
        "ephemerisId"
      ]
    },
    "ProgramTrackSettings": {
      "type": "object",
      "properties": {
        "azEl": {
          "$ref": "#/$defs/AzElProgramTrackSettings"
        },
        "oem": {
          "$ref": "#/$defs/OemProgramTrackSettings"
        },
        "tle": {
          "$ref": "#/$defs/TleProgramTrackSettings"
        }
      },
      "description": "Exactly one member is set."
    },
    "TleProgramTrackSettings": {
      "type": "object",
      "properties": {
        "ephemerisId": {
          "type": "string",
          "description": "Unique identifier of the TLE ephemeris."
        }
      },
      "required": [
        "ephemerisId"
      ]
    },
    "TrackingOverrides": {
      "type": "object",
      "properties": {
        "programTrackSettings": {
          "$ref": "#/$defs/ProgramTrackSettings"
        }
      }
    }
  }
}