{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/Name"
 ],
 "definitions": {
  "Arn": {
   "pattern": "arn:[\\w+=/,.@-]+:[\\w+=/,.@-]+:[\\w+=/,.@-]*:[0-9]*:[\\w+=,.@-]+(/[\\w+=,.@-]+)*",
   "type": "string"
  },
  "RenderingEngine": {
   "additionalProperties": false,
   "properties": {
    "Name": {
     "enum": [
      "OGRE"
     ],
     "type": "string"
    },
    "Version": {
     "pattern": "1.x",
     "type": "string"
    }
   },
   "required": [
    "Name",
    "Version"
   ],
   "type": "object"
  },
  "RobotSoftwareSuite": {
   "additionalProperties": false,
   "properties": {
    "Name": {
     "enum": [
      "ROS",
      "ROS2",
      "General"
     ],
     "type": "string"
    },
    "Version": {
     "enum": [
      "Kinetic",
      "Melodic",
      "Dashing",
      "Foxy"
     ],
     "type": "string"
    }
   },
   "required": [
    "Name"
   ],
   "type": "object"
  },
  "SimulationSoftwareSuite": {
   "additionalProperties": false,
   "properties": {
    "Name": {
     "enum": [
      "Gazebo",
      "RosbagPlay",
      "SimulationRuntime"
     ],
     "type": "string"
    },
    "Version": {
     "enum": [
      "7",
      "9",
      "11",
      "Kinetic",
      "Melodic",
      "Dashing",
      "Foxy"
     ],
     "type": "string"
    }
   },
   "required": [
    "Name"
   ],
   "type": "object"
  },
  "SourceConfig": {
   "additionalProperties": false,
   "properties": {
    "Architecture": {
     "enum": [
      "X86_64",
      "ARM64",
      "ARMHF"
     ],
     "type": "string"
    },
    "S3Bucket": {
     "format": "AWS::S3::Bucket.Name",
     "pattern": "[a-z0-9][a-z0-9.\\-]*[a-z0-9]",
     "type": "string"
    },
    "S3Key": {
     "maxLength": 1024,
     "minLength": 1,
     "type": "string"
    }
   },
   "required": [
    "S3Bucket",
    "S3Key",
    "Architecture"
   ],
   "type": "object"
  },
  "Tags": {
   "additionalProperties": false,
   "patternProperties": {
    "^[a-zA-Z0-9-]{1,128}$": {
     "maxLength": 256,
     "minLength": 1,
     "type": "string"
    }
   },
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/Arn"
 ],
 "properties": {
  "Arn": {
   "$ref": "#/definitions/Arn"
  },
  "CurrentRevisionId": {
   "type": "string"
  },
  "Environment": {
   "type": "string"
  },
  "Name": {
   "maxLength": 255,
   "minLength": 1,
   "pattern": "[a-zA-Z0-9_\\-]*",
   "type": "string"
  },
  "RenderingEngine": {
   "$ref": "#/definitions/RenderingEngine"
  },
  "RobotSoftwareSuite": {
   "$ref": "#/definitions/RobotSoftwareSuite"
  },
  "SimulationSoftwareSuite": {
   "$ref": "#/definitions/SimulationSoftwareSuite"
  },
  "Sources": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/SourceConfig"
   },
   "type": "array"
  },
  "Tags": {
   "$ref": "#/definitions/Tags"
  }
 },
 "readOnlyProperties": [
  "/properties/Arn"
 ],
 "required": [
  "RobotSoftwareSuite",
  "SimulationSoftwareSuite"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git",
 "typeName": "AWS::RoboMaker::SimulationApplication",
 "writeOnlyProperties": [
  "/properties/RenderingEngine",
  "/properties/RobotSoftwareSuite/Version",
  "/properties/Sources",
  "/properties/SimulationSoftwareSuite/Version"
 ]
}
