{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-iotwireless-deviceprofile.json",
  "title": "AWSIoTWirelessDeviceProfileProperties",
  "description": "Device Profile's resource schema demonstrating some basic constructs and validation rules.. 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-deviceprofile.json",
    "sourceSha256": "0a664ef0acc393713741f8ade8a86ff05c72ae4568a4700a837e1b307e63e14d"
  },
  "type": "object",
  "properties": {
    "Name": {
      "oneOf": [
        {
          "type": "string",
          "maxLength": 256
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Name of service profile"
    },
    "LoRaWAN": {
      "description": "LoRaWANDeviceProfile supports all LoRa specific attributes for service profile for CreateDeviceProfile operation",
      "$ref": "#/$defs/LoRaWANDeviceProfile"
    },
    "Tags": {
      "description": "A list of key-value pairs that contain metadata for the device profile.",
      "type": "array",
      "uniqueItems": true,
      "maxItems": 200,
      "insertionOrder": false,
      "items": {
        "$ref": "#/$defs/Tag"
      }
    }
  },
  "typeName": "AWS::IoTWireless::DeviceProfile",
  "taggable": true,
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git",
  "additionalProperties": false,
  "primaryIdentifier": [
    "/properties/Id"
  ],
  "$defs": {
    "LoRaWANDeviceProfile": {
      "type": "object",
      "title": "AWSIoTWirelessDeviceProfileLoRaWANDeviceProfileDefinition",
      "properties": {
        "SupportsClassB": {
          "type": "boolean"
        },
        "ClassBTimeout": {
          "type": "integer",
          "minimum": 0,
          "maximum": 1000
        },
        "PingSlotPeriod": {
          "type": "integer",
          "minimum": 128,
          "maximum": 4096
        },
        "PingSlotDr": {
          "type": "integer",
          "minimum": 0,
          "maximum": 15
        },
        "PingSlotFreq": {
          "type": "integer",
          "minimum": 1000000,
          "maximum": 16700000
        },
        "SupportsClassC": {
          "type": "boolean"
        },
        "ClassCTimeout": {
          "type": "integer",
          "minimum": 0,
          "maximum": 1000
        },
        "MacVersion": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 64
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "RegParamsRevision": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 64
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "RxDelay1": {
          "type": "integer",
          "minimum": 0,
          "maximum": 15
        },
        "RxDrOffset1": {
          "type": "integer",
          "minimum": 0,
          "maximum": 7
        },
        "RxFreq2": {
          "type": "integer",
          "minimum": 1000000,
          "maximum": 16700000
        },
        "RxDataRate2": {
          "type": "integer",
          "minimum": 0,
          "maximum": 15
        },
        "FactoryPresetFreqsList": {
          "type": "array",
          "maxItems": 20,
          "items": {
            "$ref": "#/$defs/FactoryPresetFreq"
          }
        },
        "MaxEirp": {
          "type": "integer",
          "minimum": 0,
          "maximum": 15
        },
        "MaxDutyCycle": {
          "type": "integer",
          "minimum": 0,
          "maximum": 100
        },
        "SupportsJoin": {
          "type": "boolean"
        },
        "RfRegion": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 64
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Supports32BitFCnt": {
          "type": "boolean"
        }
      },
      "additionalProperties": false
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            {
              "$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": 256
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "title": "AWSIoTWirelessDeviceProfileTagDefinition",
      "additionalProperties": false
    },
    "FactoryPresetFreq": {
      "type": "integer",
      "minimum": 1000000,
      "maximum": 16700000,
      "title": "AWSIoTWirelessDeviceProfileFactoryPresetFreqDefinition"
    }
  },
  "required": [],
  "readOnlyProperties": [
    "/properties/Arn",
    "/properties/Id"
  ]
}
