# AlbumSourceDto

Source: https://frameleaf.app/docs/api/schema/AlbumSourceDto/

```json
{
  "properties": {
    "deviceKey": {
      "description": "Set only when sourceId is device-local (an iOS localIdentifier, an Android bucket); null otherwise",
      "maxLength": 256,
      "minLength": 1,
      "nullable": true,
      "type": "string"
    },
    "kind": {
      "$ref": "#/components/schemas/AlbumSourceKind"
    },
    "name": {
      "description": "The name of the album or folder on the phone",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "sourceId": {
      "description": "The source on the phone: the iOS album PHCloudIdentifier when available, else its localIdentifier; on Android \"<bucketId>:<relativePath>\"",
      "maxLength": 1024,
      "minLength": 1,
      "type": "string"
    }
  },
  "required": [
    "kind",
    "name",
    "sourceId"
  ],
  "type": "object"
}
```
