{
 "additionalIdentifiers": [
  [
   "/properties/DeviceArn"
  ]
 ],
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/GlobalNetworkId"
 ],
 "definitions": {
  "AWSLocation": {
   "additionalProperties": false,
   "properties": {
    "SubnetArn": {
     "maxLength": 500,
     "minLength": 0,
     "pattern": "^arn:[^:]{1,63}:ec2:[^:]{0,63}:[^:]{0,63}:subnet\\/subnet-[0-9a-f]{8,17}$|^$",
     "type": "string"
    },
    "Zone": {
     "maxLength": 256,
     "minLength": 0,
     "pattern": "^[\\s\\S]*$",
     "type": "string"
    }
   },
   "type": "object"
  },
  "Location": {
   "additionalProperties": false,
   "properties": {
    "Address": {
     "maxLength": 256,
     "minLength": 0,
     "pattern": "^[\\s\\S]*$",
     "type": "string"
    },
    "Latitude": {
     "maxLength": 256,
     "minLength": 0,
     "pattern": "^[\\s\\S]*$",
     "type": "string"
    },
    "Longitude": {
     "maxLength": 256,
     "minLength": 0,
     "pattern": "^[\\s\\S]*$",
     "type": "string"
    }
   },
   "type": "object"
  },
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "maxLength": 10000000,
     "minLength": 0,
     "pattern": "^[\\s\\S]*$",
     "type": "string"
    },
    "Value": {
     "maxLength": 10000000,
     "minLength": 0,
     "pattern": "^[\\s\\S]*$",
     "type": "string"
    }
   },
   "required": [
    "Key",
    "Value"
   ],
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/GlobalNetworkId",
  "/properties/DeviceId"
 ],
 "properties": {
  "AWSLocation": {
   "$ref": "#/definitions/AWSLocation"
  },
  "CreatedAt": {
   "type": "string"
  },
  "Description": {
   "maxLength": 256,
   "minLength": 0,
   "pattern": "^[\\s\\S]*$",
   "type": "string"
  },
  "DeviceArn": {
   "type": "string"
  },
  "DeviceId": {
   "type": "string"
  },
  "GlobalNetworkId": {
   "maxLength": 50,
   "minLength": 0,
   "pattern": "^[\\s\\S]*$",
   "type": "string"
  },
  "Location": {
   "$ref": "#/definitions/Location"
  },
  "Model": {
   "maxLength": 256,
   "minLength": 0,
   "pattern": "^[\\s\\S]*$",
   "type": "string"
  },
  "SerialNumber": {
   "maxLength": 256,
   "minLength": 0,
   "pattern": "^[\\s\\S]*$",
   "type": "string"
  },
  "SiteId": {
   "maxLength": 50,
   "minLength": 0,
   "pattern": "^[\\s\\S]*$",
   "type": "string"
  },
  "State": {
   "type": "string"
  },
  "Tags": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "type": "array",
   "uniqueItems": true
  },
  "Type": {
   "maxLength": 256,
   "minLength": 0,
   "pattern": "^[\\s\\S]*$",
   "type": "string"
  },
  "Vendor": {
   "maxLength": 256,
   "minLength": 0,
   "pattern": "^[\\s\\S]*$",
   "type": "string"
  }
 },
 "readOnlyProperties": [
  "/properties/DeviceId",
  "/properties/DeviceArn",
  "/properties/State",
  "/properties/CreatedAt"
 ],
 "required": [
  "GlobalNetworkId"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager.git",
 "tagging": {
  "cloudFormationSystemTags": false,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::NetworkManager::Device"
}
