{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-msk/json-schema/amazon-msk-create-custom-plugin-request-schema.json",
  "title": "CreateCustomPluginRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-msk-custom-plugins-api-openapi.yml#/components/schemas/CreateCustomPluginRequest",
  "type": "object",
  "properties": {
    "contentType": {
      "type": "string",
      "description": "The type of the plugin file."
    },
    "description": {
      "type": "string",
      "description": "A summary description of the custom plugin."
    },
    "location": {
      "$ref": "#/$defs/CustomPluginLocation"
    },
    "name": {
      "type": "string",
      "description": "The name of the custom plugin."
    },
    "tags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "The tags you want to attach to the custom plugin."
    }
  },
  "required": [
    "contentType",
    "location",
    "name"
  ],
  "$defs": {
    "CustomPluginLocation": {
      "type": "object",
      "properties": {
        "s3Location": {
          "$ref": "#/$defs/S3Location"
        }
      },
      "required": [
        "s3Location"
      ]
    },
    "S3Location": {
      "type": "object",
      "properties": {
        "bucketArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of an S3 bucket."
        },
        "fileKey": {
          "type": "string",
          "description": "The file key for an object in an S3 bucket."
        },
        "objectVersion": {
          "type": "string",
          "description": "The version of an object in an S3 bucket."
        }
      },
      "required": [
        "bucketArn",
        "fileKey"
      ]
    }
  }
}