{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "CreateImageDetails",
  "type": "object",
  "description": "Details for creating an image",
  "properties": {
    "compartmentId": {
      "type": "string",
      "description": "The OCID of the compartment to create the image in"
    },
    "displayName": {
      "type": "string",
      "description": "A user-friendly name for the image. Avoid entering confidential information."
    },
    "instanceId": {
      "type": "string",
      "description": "The OCID of the instance to use as the basis for the image. Required if imageSourceDetails is not specified."
    },
    "launchMode": {
      "type": "string",
      "description": "The launch mode for instances created from this image"
    }
  }
}