{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-iotwireless-taskdefinition.json",
  "title": "AWSIoTWirelessTaskDefinitionProperties",
  "description": "Creates a gateway task definition.. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-iotwireless-taskdefinition.json",
    "sourceSha256": "2d8b58303fdb1b3faa6063d5ab9121ce37fbcc8ce2ac3198ebc5a1a9665bdcb7"
  },
  "type": "object",
  "properties": {
    "Name": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The name of the new resource."
    },
    "AutoCreateTasks": {
      "description": "Whether to automatically create tasks using this task definition for all gateways with the specified current version. If false, the task must me created by calling CreateWirelessGatewayTask.",
      "type": "boolean"
    },
    "Update": {
      "description": "Information about the gateways to update.",
      "$ref": "#/$defs/UpdateWirelessGatewayTaskCreate"
    },
    "LoRaWANUpdateGatewayTaskEntry": {
      "description": "The list of task definitions.",
      "$ref": "#/$defs/LoRaWANUpdateGatewayTaskEntry"
    },
    "TaskDefinitionType": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "UPDATE"
          ]
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "A filter to list only the wireless gateway task definitions that use this task definition type"
    },
    "Tags": {
      "description": "A list of key-value pairs that contain metadata for the destination.",
      "type": "array",
      "uniqueItems": true,
      "maxItems": 200,
      "insertionOrder": false,
      "items": {
        "$ref": "#/$defs/Tag"
      }
    }
  },
  "typeName": "AWS::IoTWireless::TaskDefinition",
  "taggable": true,
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git",
  "additionalProperties": false,
  "primaryIdentifier": [
    "/properties/Id"
  ],
  "$defs": {
    "LoRaWANGatewayVersion": {
      "type": "object",
      "title": "AWSIoTWirelessTaskDefinitionLoRaWANGatewayVersionDefinition",
      "properties": {
        "PackageVersion": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 32
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Model": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 4096
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Station": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 4096
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "additionalProperties": false
    },
    "LoRaWANUpdateGatewayTaskCreate": {
      "type": "object",
      "title": "AWSIoTWirelessTaskDefinitionLoRaWANUpdateGatewayTaskCreateDefinition",
      "properties": {
        "UpdateSignature": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 4096
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "SigKeyCrc": {
          "type": "integer",
          "format": "int64"
        },
        "CurrentVersion": {
          "$ref": "#/$defs/LoRaWANGatewayVersion"
        },
        "UpdateVersion": {
          "$ref": "#/$defs/LoRaWANGatewayVersion"
        }
      },
      "additionalProperties": false
    },
    "UpdateWirelessGatewayTaskCreate": {
      "type": "object",
      "title": "AWSIoTWirelessTaskDefinitionUpdateWirelessGatewayTaskCreateDefinition",
      "properties": {
        "UpdateDataSource": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 4096
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "UpdateDataRole": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 2048
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "LoRaWAN": {
          "$ref": "#/$defs/LoRaWANUpdateGatewayTaskCreate"
        }
      },
      "additionalProperties": false
    },
    "LoRaWANUpdateGatewayTaskEntry": {
      "type": "object",
      "title": "AWSIoTWirelessTaskDefinitionLoRaWANUpdateGatewayTaskEntryDefinition",
      "properties": {
        "CurrentVersion": {
          "$ref": "#/$defs/LoRaWANGatewayVersion"
        },
        "UpdateVersion": {
          "$ref": "#/$defs/LoRaWANGatewayVersion"
        }
      },
      "additionalProperties": false
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 127
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Value": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 255
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "title": "AWSIoTWirelessTaskDefinitionTagDefinition",
      "additionalProperties": false
    }
  },
  "required": [
    "AutoCreateTasks"
  ],
  "readOnlyProperties": [
    "/properties/Id",
    "/properties/Arn"
  ]
}
