Skip to content

MediaHealthProvenanceDto

Endpoints · All schemas

FieldRequiredDescription
actionYesSee definition below
atYesWhen it was done
previousPathYesThe path the original had before
rootIdYesSearch location the copy came from
rootKindYesSee definition below
rootLabelYesName of the search location
sourcePathYesThe verified copy that was used
userIdYesThe account that did it

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: MediaHealthProvenanceAction, MediaHealthRootKind

{
  "properties": {
    "action": {
      "$ref": "#/components/schemas/MediaHealthProvenanceAction"
    },
    "at": {
      "description": "When it was done",
      "format": "date-time",
      "nullable": true,
      "type": "string"
    },
    "previousPath": {
      "description": "The path the original had before",
      "nullable": true,
      "type": "string"
    },
    "rootId": {
      "description": "Search location the copy came from",
      "nullable": true,
      "type": "string"
    },
    "rootKind": {
      "allOf": [
        {
          "$ref": "#/components/schemas/MediaHealthRootKind"
        }
      ],
      "nullable": true
    },
    "rootLabel": {
      "description": "Name of the search location",
      "nullable": true,
      "type": "string"
    },
    "sourcePath": {
      "description": "The verified copy that was used",
      "nullable": true,
      "type": "string"
    },
    "userId": {
      "description": "The account that did it",
      "nullable": true,
      "type": "string"
    }
  },
  "required": [
    "action",
    "at",
    "previousPath",
    "rootId",
    "rootKind",
    "rootLabel",
    "sourcePath",
    "userId"
  ],
  "type": "object"
}