{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-ground-station/json-schema/amazon-ground-station-list-contacts-request-schema.json",
  "title": "ListContactsRequest",
  "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/ListContactsRequest",
  "type": "object",
  "properties": {
    "maxResults": {
      "type": "integer",
      "description": "Maximum number of contacts returned."
    },
    "nextToken": {
      "type": "string",
      "description": "Next token returned in the request of a previous ListContacts call. Used to get the next page of results."
    },
    "statusList": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "SCHEDULING",
          "FAILED_TO_SCHEDULE",
          "SCHEDULED",
          "CANCELLED",
          "AWS_CANCELLED",
          "PREPASS",
          "PASS",
          "POSTPASS",
          "COMPLETED",
          "FAILED",
          "AVAILABLE",
          "CANCELLING",
          "AWS_FAILED"
        ]
      },
      "description": "Status of a contact reservation."
    },
    "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."
    },
    "satelliteArn": {
      "type": "string",
      "description": "ARN of a satellite."
    },
    "missionProfileArn": {
      "type": "string",
      "description": "ARN of a mission profile."
    },
    "ephemeris": {
      "$ref": "#/$defs/EphemerisFilter"
    }
  },
  "required": [
    "statusList",
    "startTime",
    "endTime"
  ],
  "$defs": {
    "AzElEphemerisFilter": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique identifier of the azimuth elevation ephemeris."
        }
      },
      "required": [
        "id"
      ]
    },
    "EphemerisFilter": {
      "type": "object",
      "properties": {
        "azEl": {
          "$ref": "#/$defs/AzElEphemerisFilter"
        }
      },
      "description": "Exactly one member is set."
    }
  }
}