{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-ground-station/json-schema/amazon-ground-station-update-mission-profile-request-schema.json",
  "title": "UpdateMissionProfileRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-ground-station-missionprofile-api-openapi.yml#/components/schemas/UpdateMissionProfileRequest",
  "type": "object",
  "properties": {
    "missionProfileId": {
      "type": "string",
      "description": "UUID of a mission profile."
    },
    "name": {
      "type": "string",
      "description": "Name of a mission profile."
    },
    "contactPrePassDurationSeconds": {
      "type": "integer",
      "description": "Amount of time after a contact ends that you'd like to receive a Ground Station Contact State Change event indicating the pass has finished."
    },
    "contactPostPassDurationSeconds": {
      "type": "integer",
      "description": "Amount of time after a contact ends that you'd like to receive a Ground Station Contact State Change event indicating the pass has finished."
    },
    "minimumViableContactDurationSeconds": {
      "type": "integer",
      "description": "Smallest amount of time in seconds that you'd like to see for an available contact. AWS Ground Station will not present you with contacts shorter than this duration."
    },
    "dataflowEdges": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": "string"
        }
      },
      "description": "A list of lists of ARNs. Each list of ARNs is an edge, with a from Config and a to Config."
    },
    "trackingConfigArn": {
      "type": "string",
      "description": "ARN of a tracking Config."
    },
    "telemetrySinkConfigArn": {
      "type": "string",
      "description": "ARN of a telemetry sink Config."
    },
    "streamsKmsKey": {
      "$ref": "#/$defs/KmsKey"
    },
    "streamsKmsRole": {
      "type": "string",
      "description": "Role to use for encrypting streams with KMS key."
    }
  },
  "required": [
    "missionProfileId"
  ],
  "$defs": {
    "KmsKey": {
      "type": "object",
      "properties": {
        "kmsKeyArn": {
          "type": "string",
          "description": "KMS Key Arn."
        },
        "kmsAliasArn": {
          "type": "string",
          "description": "KMS Alias Arn."
        },
        "kmsAliasName": {
          "type": "string",
          "description": "KMS Alias Name."
        }
      },
      "description": "Exactly one member is set."
    }
  }
}