Skip to content

ItemShareResponseDto

Endpoints · All schemas

FieldRequiredDescription
assetIdYesThe shared item
createdAtYesWhen it was shared
idYesShare ID
sharedWithYesWho the item is shared with

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: UserResponseDto

{
  "properties": {
    "assetId": {
      "description": "The shared item",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$",
      "type": "string"
    },
    "createdAt": {
      "description": "When it was shared",
      "format": "date-time",
      "type": "string"
    },
    "id": {
      "description": "Share ID",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$",
      "type": "string"
    },
    "sharedWith": {
      "$ref": "#/components/schemas/UserResponseDto",
      "description": "Who the item is shared with"
    }
  },
  "required": [
    "assetId",
    "createdAt",
    "id",
    "sharedWith"
  ],
  "type": "object"
}