{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-msk/json-schema/amazon-msk-describe-custom-plugin-response-schema.json",
  "title": "DescribeCustomPluginResponse",
  "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/DescribeCustomPluginResponse",
  "type": "object",
  "properties": {
    "creationTime": {
      "type": "string",
      "format": "date-time",
      "description": "The time that the custom plugin was created."
    },
    "customPluginArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the custom plugin."
    },
    "customPluginState": {
      "type": "string",
      "description": "The state of the custom plugin."
    },
    "description": {
      "type": "string",
      "description": "The description of the custom plugin."
    },
    "latestRevision": {
      "$ref": "#/$defs/CustomPluginRevisionSummary"
    },
    "name": {
      "type": "string",
      "description": "The name of the custom plugin."
    },
    "stateDescription": {
      "$ref": "#/$defs/StateDescription"
    }
  },
  "$defs": {
    "CustomPluginFileDescription": {
      "type": "object",
      "properties": {
        "fileMd5": {
          "type": "string",
          "description": "The hex-encoded MD5 checksum of the custom plugin file. You can use it to validate the file."
        },
        "fileSize": {
          "type": "integer",
          "description": "The size in bytes of the custom plugin file. You can use it to validate the file."
        }
      }
    },
    "CustomPluginLocationDescription": {
      "type": "object",
      "properties": {
        "s3Location": {
          "$ref": "#/$defs/S3LocationDescription"
        }
      }
    },
    "CustomPluginRevisionSummary": {
      "type": "object",
      "properties": {
        "contentType": {
          "type": "string",
          "description": "The format of the plugin file."
        },
        "creationTime": {
          "type": "string",
          "format": "date-time",
          "description": "The time that the custom plugin was created."
        },
        "description": {
          "type": "string",
          "description": "The description of the custom plugin."
        },
        "fileDescription": {
          "$ref": "#/$defs/CustomPluginFileDescription"
        },
        "location": {
          "$ref": "#/$defs/CustomPluginLocationDescription"
        },
        "revision": {
          "type": "integer",
          "description": "The revision of the custom plugin."
        }
      }
    },
    "S3LocationDescription": {
      "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."
        }
      }
    },
    "StateDescription": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string",
          "description": "A code that describes the state of a resource."
        },
        "message": {
          "type": "string",
          "description": "A message that describes the state of a resource."
        }
      }
    }
  }
}