Skip to content

PreservationConflictDto

Endpoints · All schemas

FieldRequiredDescription
archivedYesThe package’s value
currentYesThe library’s value
decisionYesYour choice; the restoration default applies when null
fieldYesSee definition below

Complete definition

required lists fields that must be present. nullable allows a null value; it does not make the field optional. Response enums retain exact wire values for compatibility.

Field definitions: PreservationDecision, PreservationConflictField

{
  "properties": {
    "archived": {
      "description": "The package’s value",
      "nullable": true,
      "type": "string"
    },
    "current": {
      "description": "The library’s value",
      "nullable": true,
      "type": "string"
    },
    "decision": {
      "allOf": [
        {
          "$ref": "#/components/schemas/PreservationDecision"
        }
      ],
      "description": "Your choice; the restoration default applies when null",
      "nullable": true
    },
    "field": {
      "$ref": "#/components/schemas/PreservationConflictField"
    }
  },
  "required": [
    "archived",
    "current",
    "decision",
    "field"
  ],
  "type": "object"
}