{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/Name",
  "/properties/LoRaWAN"
 ],
 "definitions": {
  "LoRaWANServiceProfile": {
   "additionalProperties": false,
   "properties": {
    "AddGwMetadata": {
     "type": "boolean"
    },
    "ChannelMask": {
     "type": "string"
    },
    "DevStatusReqFreq": {
     "type": "integer"
    },
    "DlBucketSize": {
     "type": "integer"
    },
    "DlRate": {
     "type": "integer"
    },
    "DlRatePolicy": {
     "type": "string"
    },
    "DrMax": {
     "maximum": 15,
     "minimum": 0,
     "type": "integer"
    },
    "DrMin": {
     "maximum": 15,
     "minimum": 0,
     "type": "integer"
    },
    "HrAllowed": {
     "type": "boolean"
    },
    "MinGwDiversity": {
     "type": "integer"
    },
    "NwkGeoLoc": {
     "type": "boolean"
    },
    "PrAllowed": {
     "type": "boolean"
    },
    "RaAllowed": {
     "type": "boolean"
    },
    "ReportDevStatusBattery": {
     "type": "boolean"
    },
    "ReportDevStatusMargin": {
     "type": "boolean"
    },
    "TargetPer": {
     "type": "integer"
    },
    "UlBucketSize": {
     "type": "integer"
    },
    "UlRate": {
     "type": "integer"
    },
    "UlRatePolicy": {
     "type": "string"
    }
   },
   "type": "object"
  },
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "maxLength": 128,
     "minLength": 1,
     "type": "string"
    },
    "Value": {
     "maxLength": 256,
     "minLength": 1,
     "type": "string"
    }
   },
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/Id"
 ],
 "properties": {
  "Arn": {
   "type": "string"
  },
  "Id": {
   "maxLength": 256,
   "type": "string"
  },
  "LoRaWAN": {
   "$ref": "#/definitions/LoRaWANServiceProfile"
  },
  "Name": {
   "maxLength": 256,
   "minLength": 0,
   "type": "string"
  },
  "Tags": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "maxItems": 200,
   "minItems": 0,
   "type": "array",
   "uniqueItems": true
  }
 },
 "readOnlyProperties": [
  "/properties/Id",
  "/properties/Arn",
  "/properties/LoRaWAN/UlRate",
  "/properties/LoRaWAN/UlBucketSize",
  "/properties/LoRaWAN/UlRatePolicy",
  "/properties/LoRaWAN/DlRate",
  "/properties/LoRaWAN/DlBucketSize",
  "/properties/LoRaWAN/DlRatePolicy",
  "/properties/LoRaWAN/DevStatusReqFreq",
  "/properties/LoRaWAN/ReportDevStatusBattery",
  "/properties/LoRaWAN/ReportDevStatusMargin",
  "/properties/LoRaWAN/DrMin",
  "/properties/LoRaWAN/DrMax",
  "/properties/LoRaWAN/ChannelMask",
  "/properties/LoRaWAN/HrAllowed",
  "/properties/LoRaWAN/NwkGeoLoc",
  "/properties/LoRaWAN/TargetPer",
  "/properties/LoRaWAN/MinGwDiversity"
 ],
 "required": [],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git",
 "tagging": {
  "cloudFormationSystemTags": true,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::IoTWireless::ServiceProfile"
}
