{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-healthimaging/json-schema/amazon-healthimaging-get-image-set-response-schema.json",
  "title": "GetImageSetResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-healthimaging-datastore-api-openapi.yml#/components/schemas/GetImageSetResponse",
  "type": "object",
  "properties": {
    "datastoreId": {
      "type": "string",
      "description": "The data store identifier."
    },
    "imageSetId": {
      "type": "string",
      "description": "The image set identifier."
    },
    "versionId": {
      "type": "string",
      "description": "The image set version identifier."
    },
    "imageSetState": {
      "type": "string",
      "enum": [
        "ACTIVE",
        "LOCKED",
        "DELETED"
      ],
      "description": "The image set state."
    },
    "imageSetWorkflowStatus": {
      "type": "string",
      "enum": [
        "CREATED",
        "COPIED",
        "COPYING",
        "COPYING_WITH_READ_ONLY_ACCESS",
        "COPY_FAILED",
        "UPDATING",
        "UPDATING_FOR_STUDY_CONSISTENCY",
        "UPDATED",
        "UPDATE_FAILED",
        "DELETING",
        "DELETED",
        "IMPORTING",
        "IMPORTED",
        "IMPORT_FAILED"
      ],
      "description": "The image set workflow status."
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp when image set properties were created."
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp when image set properties were updated."
    },
    "deletedAt": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp when the image set properties were deleted."
    },
    "message": {
      "type": "string",
      "description": "The error message thrown if an image set action fails."
    },
    "imageSetArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) assigned to the image set."
    },
    "overrides": {
      "$ref": "#/$defs/Overrides"
    },
    "isPrimary": {
      "type": "boolean",
      "description": "The flag to determine whether the image set is primary or not."
    },
    "lastAccessedAt": {
      "type": "string",
      "format": "date-time",
      "description": "When the image set was last accessed."
    },
    "storageTier": {
      "type": "string",
      "enum": [
        "FREQUENT_ACCESS",
        "ARCHIVE_INSTANT_ACCESS"
      ],
      "description": "The storage tier of the image set."
    }
  },
  "required": [
    "datastoreId",
    "imageSetId",
    "versionId",
    "imageSetState"
  ],
  "$defs": {
    "Overrides": {
      "type": "object",
      "properties": {
        "forced": {
          "type": "boolean",
          "description": "Providing this parameter will force completion of the CopyImageSet and UpdateImageSetMetadata actions, even if metadata is inconsistent at the Patient, Study, and/or Series levels."
        }
      }
    }
  }
}