{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/Name",
  "/properties/Version",
  "/properties/ChangeDescription",
  "/properties/Description",
  "/properties/Data",
  "/properties/Uri",
  "/properties/Type",
  "/properties/KmsKeyId"
 ],
 "definitions": {
  "LatestVersion": {
   "additionalProperties": false,
   "properties": {
    "Arn": {
     "type": "string"
    },
    "Major": {
     "type": "string"
    },
    "Minor": {
     "type": "string"
    },
    "Patch": {
     "type": "string"
    }
   },
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/Arn"
 ],
 "properties": {
  "Arn": {
   "type": "string"
  },
  "ChangeDescription": {
   "maxLength": 1024,
   "minLength": 1,
   "type": "string"
  },
  "Data": {
   "maxLength": 16000,
   "minLength": 1,
   "pattern": "[^\\x00]+",
   "type": "string"
  },
  "Description": {
   "maxLength": 1024,
   "minLength": 1,
   "type": "string"
  },
  "KmsKeyId": {
   "maxLength": 1024,
   "minLength": 1,
   "type": "string"
  },
  "LatestVersion": {
   "$ref": "#/definitions/LatestVersion"
  },
  "Name": {
   "pattern": "^[-_A-Za-z-0-9][-_A-Za-z0-9 ]{1,126}[-_A-Za-z-0-9]$",
   "type": "string"
  },
  "Tags": {
   "additionalProperties": false,
   "patternProperties": {
    ".{1,}": {
     "type": "string"
    }
   },
   "type": "object"
  },
  "Type": {
   "enum": [
    "BUILD",
    "TEST",
    "DISTRIBUTION"
   ],
   "type": "string"
  },
  "Uri": {
   "type": "string"
  },
  "Version": {
   "type": "string"
  }
 },
 "readOnlyProperties": [
  "/properties/Arn",
  "/properties/LatestVersion",
  "/properties/LatestVersion/Arn",
  "/properties/LatestVersion/Major",
  "/properties/LatestVersion/Minor",
  "/properties/LatestVersion/Patch"
 ],
 "required": [
  "Name",
  "Type",
  "Version"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-imagebuilder",
 "tagging": {
  "cloudFormationSystemTags": true,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::ImageBuilder::Workflow",
 "writeOnlyProperties": [
  "/properties/Data",
  "/properties/Uri"
 ]
}
