{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-robomaker-robotapplication.json",
  "title": "AWSRoboMakerRobotApplicationProperties",
  "description": "This schema is for testing purpose only.. 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-robomaker-robotapplication.json",
    "sourceSha256": "5d0c9f5f5edc22c59c59648e26b130514d72c7ff0998e23e7698a26d15a27c20"
  },
  "type": "object",
  "properties": {
    "Name": {
      "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"
        }
      ],
      "description": "The name of the robot application."
    },
    "Sources": {
      "description": "The sources of the robot application.",
      "type": "array",
      "insertionOrder": false,
      "items": {
        "$ref": "#/$defs/SourceConfig"
      }
    },
    "Environment": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The URI of the Docker image for the robot application."
    },
    "RobotSoftwareSuite": {
      "$ref": "#/$defs/RobotSoftwareSuite"
    },
    "CurrentRevisionId": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 40
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The revision ID of robot application."
    },
    "Tags": {
      "$ref": "#/$defs/Tags"
    }
  },
  "typeName": "AWS::RoboMaker::RobotApplication",
  "createOnlyProperties": [
    "/properties/Name"
  ],
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git",
  "additionalProperties": false,
  "primaryIdentifier": [
    "/properties/Arn"
  ],
  "$defs": {
    "Arn": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "arn:[\\w+=/,.@-]+:[\\w+=/,.@-]+:[\\w+=/,.@-]*:[0-9]*:[\\w+=,.@-]+(/[\\w+=,.@-]+)*"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "title": "AWSRoboMakerRobotApplicationArnDefinition"
    },
    "Tags": {
      "description": "A key-value pair to associate with a resource.",
      "type": "object",
      "title": "AWSRoboMakerRobotApplicationTagsDefinition",
      "additionalProperties": false,
      "patternProperties": {
        "^[a-zA-Z0-9-]{1,128}$": {
          "type": "string",
          "description": "The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.",
          "minLength": 1,
          "maxLength": 256
        }
      }
    },
    "SourceConfig": {
      "type": "object",
      "properties": {
        "S3Bucket": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The Arn of the S3Bucket that stores the robot application source."
        },
        "S3Key": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The s3 key of robot application source."
        },
        "Architecture": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 255,
              "enum": [
                "X86_64",
                "ARM64",
                "ARMHF"
              ]
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The architecture of robot application."
        }
      },
      "required": [
        "S3Bucket",
        "S3Key",
        "Architecture"
      ],
      "title": "AWSRoboMakerRobotApplicationSourceConfigDefinition",
      "additionalProperties": false
    },
    "RobotSoftwareSuite": {
      "description": "The robot software suite used by the robot application.",
      "type": "object",
      "properties": {
        "Name": {
          "oneOf": [
            {
              "type": "string",
              "enum": [
                "ROS",
                "ROS2",
                "General"
              ]
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The name of robot software suite."
        },
        "Version": {
          "oneOf": [
            {
              "type": "string",
              "enum": [
                "Kinetic",
                "Melodic",
                "Dashing"
              ]
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The version of robot software suite."
        }
      },
      "required": [
        "Name"
      ],
      "title": "AWSRoboMakerRobotApplicationRobotSoftwareSuiteDefinition",
      "additionalProperties": false
    }
  },
  "required": [
    "RobotSoftwareSuite"
  ],
  "readOnlyProperties": [
    "/properties/Arn"
  ],
  "writeOnlyProperties": [
    "/properties/RobotSoftwareSuite/Version",
    "/properties/Sources"
  ]
}
