{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-groundstation-missionprofile.json",
  "title": "AWSGroundStationMissionProfileProperties",
  "description": "AWS Ground Station Mission Profile resource type for CloudFormation.. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ground-station.git>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-groundstation-missionprofile.json",
    "sourceSha256": "1cf4bb2af50ef8ddda9918adad3bf10b2be22418751b69c2ed051dd7694f7463"
  },
  "type": "object",
  "properties": {
    "Name": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "^[ a-zA-Z0-9_:-]{1,256}$"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "A name used to identify a mission profile."
    },
    "ContactPrePassDurationSeconds": {
      "description": "Pre-pass time needed before the contact.",
      "type": "integer"
    },
    "ContactPostPassDurationSeconds": {
      "description": "Post-pass time needed after the contact.",
      "type": "integer"
    },
    "MinimumViableContactDurationSeconds": {
      "description": "Visibilities with shorter duration than the specified minimum viable contact duration will be ignored when searching for available contacts.",
      "type": "integer"
    },
    "StreamsKmsKey": {
      "description": "The ARN of a KMS Key used for encrypting data during transmission from the source to destination locations.",
      "$ref": "#/$defs/StreamsKmsKey"
    },
    "StreamsKmsRole": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The ARN of the KMS Key or Alias Key role used to define permissions on KMS Key usage."
    },
    "DataflowEdges": {
      "description": "",
      "type": "array",
      "minItems": 1,
      "items": {
        "$ref": "#/$defs/DataflowEdge"
      }
    },
    "TrackingConfigArn": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      }
    }
  },
  "typeName": "AWS::GroundStation::MissionProfile",
  "$defs": {
    "DataflowEdge": {
      "type": "object",
      "properties": {
        "Source": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Destination": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "title": "AWSGroundStationMissionProfileDataflowEdgeDefinition",
      "additionalProperties": false
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "oneOf": [
            {
              "type": "string",
              "pattern": "^[ a-zA-Z0-9\\+\\-=._:/@]{1,128}$"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Value": {
          "oneOf": [
            {
              "type": "string",
              "pattern": "^[ a-zA-Z0-9\\+\\-=._:/@]{1,256}$"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "title": "AWSGroundStationMissionProfileTagDefinition",
      "required": [
        "Key",
        "Value"
      ],
      "additionalProperties": false
    },
    "StreamsKmsKey": {
      "type": "object",
      "properties": {
        "KmsKeyArn": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "KmsAliasArn": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "oneOf": [
        {
          "required": [
            "KmsKeyArn"
          ]
        },
        {
          "required": [
            "KmsAliasArn"
          ]
        }
      ],
      "title": "AWSGroundStationMissionProfileStreamsKmsKeyDefinition",
      "additionalProperties": false
    }
  },
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ground-station.git",
  "additionalProperties": false,
  "primaryIdentifier": [
    "/properties/Id",
    "/properties/Arn"
  ],
  "required": [
    "Name",
    "MinimumViableContactDurationSeconds",
    "DataflowEdges",
    "TrackingConfigArn"
  ],
  "readOnlyProperties": [
    "/properties/Id",
    "/properties/Arn",
    "/properties/Region"
  ]
}
