{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-ground-station/json-schema/amazon-ground-station-get-config-response-schema.json",
  "title": "GetConfigResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-ground-station-config-api-openapi.yml#/components/schemas/GetConfigResponse",
  "type": "object",
  "properties": {
    "configId": {
      "type": "string",
      "description": "UUID of a Config."
    },
    "configArn": {
      "type": "string",
      "description": "ARN of a Config"
    },
    "name": {
      "type": "string",
      "description": "Name of a Config."
    },
    "configType": {
      "type": "string",
      "enum": [
        "antenna-downlink",
        "antenna-downlink-demod-decode",
        "tracking",
        "dataflow-endpoint",
        "antenna-uplink",
        "uplink-echo",
        "s3-recording",
        "telemetry-sink"
      ],
      "description": "Type of a Config."
    },
    "configData": {
      "$ref": "#/$defs/ConfigTypeData"
    },
    "tags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Tags assigned to a Config."
    }
  },
  "required": [
    "configId",
    "configArn",
    "name",
    "configData"
  ],
  "$defs": {
    "AntennaDownlinkConfig": {
      "type": "object",
      "properties": {
        "spectrumConfig": {
          "$ref": "#/$defs/SpectrumConfig"
        }
      },
      "required": [
        "spectrumConfig"
      ]
    },
    "AntennaDownlinkDemodDecodeConfig": {
      "type": "object",
      "properties": {
        "spectrumConfig": {
          "$ref": "#/$defs/SpectrumConfig"
        },
        "demodulationConfig": {
          "$ref": "#/$defs/DemodulationConfig"
        },
        "decodeConfig": {
          "$ref": "#/$defs/DecodeConfig"
        }
      },
      "required": [
        "spectrumConfig",
        "demodulationConfig",
        "decodeConfig"
      ]
    },
    "AntennaUplinkConfig": {
      "type": "object",
      "properties": {
        "transmitDisabled": {
          "type": "boolean",
          "description": "Whether or not uplink transmit is disabled."
        },
        "spectrumConfig": {
          "$ref": "#/$defs/UplinkSpectrumConfig"
        },
        "targetEirp": {
          "$ref": "#/$defs/Eirp"
        }
      },
      "required": [
        "spectrumConfig",
        "targetEirp"
      ]
    },
    "ConfigTypeData": {
      "type": "object",
      "properties": {
        "antennaDownlinkConfig": {
          "$ref": "#/$defs/AntennaDownlinkConfig"
        },
        "trackingConfig": {
          "$ref": "#/$defs/TrackingConfig"
        },
        "dataflowEndpointConfig": {
          "$ref": "#/$defs/DataflowEndpointConfig"
        },
        "antennaDownlinkDemodDecodeConfig": {
          "$ref": "#/$defs/AntennaDownlinkDemodDecodeConfig"
        },
        "antennaUplinkConfig": {
          "$ref": "#/$defs/AntennaUplinkConfig"
        },
        "uplinkEchoConfig": {
          "$ref": "#/$defs/UplinkEchoConfig"
        },
        "s3RecordingConfig": {
          "$ref": "#/$defs/S3RecordingConfig"
        },
        "telemetrySinkConfig": {
          "$ref": "#/$defs/TelemetrySinkConfig"
        }
      },
      "description": "Exactly one member is set."
    },
    "DataflowEndpointConfig": {
      "type": "object",
      "properties": {
        "dataflowEndpointName": {
          "type": "string",
          "description": "Name of a dataflow endpoint."
        },
        "dataflowEndpointRegion": {
          "type": "string",
          "description": "Region of a dataflow endpoint."
        }
      },
      "required": [
        "dataflowEndpointName"
      ]
    },
    "DecodeConfig": {
      "type": "object",
      "properties": {
        "unvalidatedJSON": {
          "type": "string",
          "description": "Unvalidated JSON of a decode Config."
        }
      },
      "required": [
        "unvalidatedJSON"
      ]
    },
    "DemodulationConfig": {
      "type": "object",
      "properties": {
        "unvalidatedJSON": {
          "type": "string",
          "description": "Unvalidated JSON of a demodulation Config."
        }
      },
      "required": [
        "unvalidatedJSON"
      ]
    },
    "Eirp": {
      "type": "object",
      "properties": {
        "value": {
          "type": "number",
          "description": "Value of an EIRP. Valid values are between 20.0 to 50.0 dBW."
        },
        "units": {
          "type": "string",
          "enum": [
            "dBW"
          ],
          "description": "Units of an EIRP."
        }
      },
      "required": [
        "value",
        "units"
      ]
    },
    "Frequency": {
      "type": "object",
      "properties": {
        "value": {
          "type": "number",
          "description": "Frequency value. Valid values are between 2200 to 2300 MHz and 7750 to 8400 MHz for downlink and 2025 to 2120 MHz for uplink."
        },
        "units": {
          "type": "string",
          "enum": [
            "GHz",
            "MHz",
            "kHz"
          ],
          "description": "Frequency units."
        }
      },
      "required": [
        "value",
        "units"
      ]
    },
    "FrequencyBandwidth": {
      "type": "object",
      "properties": {
        "value": {
          "type": "number",
          "description": "Frequency bandwidth value. AWS Ground Station currently has the following bandwidth limitations: For AntennaDownlinkDemodDecodeconfig, valid values are between 125 kHz to 650 MHz. For AntennaDownlinkconfig, valid values are between 10 kHz to 54 MHz. For AntennaUplinkConfig, valid values are between 10 kHz to 54 MHz."
        },
        "units": {
          "type": "string",
          "enum": [
            "GHz",
            "MHz",
            "kHz"
          ],
          "description": "Frequency bandwidth units."
        }
      },
      "required": [
        "value",
        "units"
      ]
    },
    "KinesisDataStreamData": {
      "type": "object",
      "properties": {
        "kinesisRoleArn": {
          "type": "string",
          "description": "ARN of the IAM Role used by AWS Ground Station to deliver telemetry."
        },
        "kinesisDataStreamArn": {
          "type": "string",
          "description": "ARN of the Kinesis Data Stream to deliver telemetry to."
        }
      },
      "required": [
        "kinesisRoleArn",
        "kinesisDataStreamArn"
      ]
    },
    "S3RecordingConfig": {
      "type": "object",
      "properties": {
        "bucketArn": {
          "type": "string",
          "description": "ARN of the bucket to record to."
        },
        "roleArn": {
          "type": "string",
          "description": "ARN of the role Ground Station assumes to write data to the bucket."
        },
        "prefix": {
          "type": "string",
          "description": "S3 Key prefix to prefice data files."
        }
      },
      "required": [
        "bucketArn",
        "roleArn"
      ]
    },
    "SpectrumConfig": {
      "type": "object",
      "properties": {
        "centerFrequency": {
          "$ref": "#/$defs/Frequency"
        },
        "bandwidth": {
          "$ref": "#/$defs/FrequencyBandwidth"
        },
        "polarization": {
          "type": "string",
          "enum": [
            "RIGHT_HAND",
            "LEFT_HAND",
            "NONE"
          ],
          "description": "Polarization of a spectral Config. Capturing both \"RIGHT_HAND\" and \"LEFT_HAND\" polarization requires two separate configs."
        }
      },
      "required": [
        "centerFrequency",
        "bandwidth"
      ]
    },
    "TelemetrySinkConfig": {
      "type": "object",
      "properties": {
        "telemetrySinkType": {
          "type": "string",
          "enum": [
            "KINESIS_DATA_STREAM"
          ],
          "description": "The type of telemetry sink."
        },
        "telemetrySinkData": {
          "$ref": "#/$defs/TelemetrySinkData"
        }
      },
      "required": [
        "telemetrySinkType",
        "telemetrySinkData"
      ]
    },
    "TelemetrySinkData": {
      "type": "object",
      "properties": {
        "kinesisDataStreamData": {
          "$ref": "#/$defs/KinesisDataStreamData"
        }
      },
      "description": "Exactly one member is set."
    },
    "TrackingConfig": {
      "type": "object",
      "properties": {
        "autotrack": {
          "type": "string",
          "enum": [
            "REQUIRED",
            "PREFERRED",
            "REMOVED"
          ],
          "description": "Current setting for autotrack."
        }
      },
      "required": [
        "autotrack"
      ]
    },
    "UplinkEchoConfig": {
      "type": "object",
      "properties": {
        "enabled": {
          "type": "boolean",
          "description": "Whether or not an uplink Config is enabled."
        },
        "antennaUplinkConfigArn": {
          "type": "string",
          "description": "ARN of an uplink Config."
        }
      },
      "required": [
        "enabled",
        "antennaUplinkConfigArn"
      ]
    },
    "UplinkSpectrumConfig": {
      "type": "object",
      "properties": {
        "centerFrequency": {
          "$ref": "#/$defs/Frequency"
        },
        "polarization": {
          "type": "string",
          "enum": [
            "RIGHT_HAND",
            "LEFT_HAND",
            "NONE"
          ],
          "description": "Polarization of an uplink spectral Config. Capturing both \"RIGHT_HAND\" and \"LEFT_HAND\" polarization requires two separate configs."
        }
      },
      "required": [
        "centerFrequency"
      ]
    }
  }
}