{
  "patches": [
    {
      "id": "TYPEDEF_PATCH_3000_004_001",
      "description": "Add 'permissions' attribute to aws s3 bucket",
      "action": "ADD_ATTRIBUTE",
      "typeName": "aws_s3_bucket",
      "applyToVersion": "1.1",
      "updateToVersion": "1.2",
      "attributeDefs": [
        {
          "name": "permissions",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": true,
          "isOptional": true,
          "isUnique": false,
          "searchWeight": 5
        }, {
          "name": "ownerId",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": true,
          "isOptional": true,
          "isUnique": false,
          "searchWeight" : 5
        }

      ]
    }, {
      "id": "TYPEDEF_PATCH_3000_004_002",
      "description": "Add 'ownerId' attribute to aws s3 bucket",
      "action": "ADD_ATTRIBUTE",
      "typeName": "aws_s3_object",
      "applyToVersion": "1.4",
      "updateToVersion": "1.5",
      "attributeDefs": [
        {
          "name": "ownerId",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": true,
          "isOptional": true,
          "isUnique": false,
          "searchWeight" : 5
        }, {
          "name": "size",
          "typeName": "long",
          "cardinality": "SINGLE",
          "isIndexable": true,
          "isOptional": true,
          "isUnique": false
        }, {
          "name": "eTag",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": true,
          "isOptional": true,
          "isUnique": false,
          "searchWeight" : 5
        }, {
          "name": "lastModified",
          "typeName": "date",
          "cardinality": "SINGLE",
          "isIndexable": true,
          "isOptional": true,
          "isUnique": false
        }, {
          "name": "storageClass",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": true,
          "isOptional": true,
          "isUnique": false,
          "searchWeight" : 5
        }
      ]
    }
  ]
}
