{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-ground-station/json-schema/amazon-ground-station-update-contact-request-schema.json",
  "title": "UpdateContactRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-ground-station-versions-api-openapi.yml#/components/schemas/UpdateContactRequest",
  "type": "object",
  "properties": {
    "contactId": {
      "type": "string",
      "description": "UUID of a contact."
    },
    "clientToken": {
      "type": "string",
      "description": "A client token is a unique, case-sensitive string of up to 64 ASCII characters. It is generated by the client to ensure idempotent operations, allowing safe retries without unintended side effects."
    },
    "trackingOverrides": {
      "$ref": "#/$defs/TrackingOverrides"
    },
    "satelliteArn": {
      "type": "string",
      "description": "ARN of a satellite."
    }
  },
  "required": [
    "contactId"
  ],
  "$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"
        }
      }
    }
  }
}