Depositphotos · Schema
MediaItem
A Depositphotos stock media item (photo, vector, or video)
Stock PhotosImagesVideosVectorsMediaCreative AssetsGenerative AI
Properties
| Name | Type | Description |
|---|---|---|
| id | integer | Unique media item identifier |
| title | string | Item title |
| description | string | Item description |
| width | integer | Image width in pixels |
| height | integer | Image height in pixels |
| author | string | Contributor username |
| userid | integer | Contributor user ID |
| thumbnail | string | Thumbnail image URL |
| url | string | Preview URL |
| mp | number | Image resolution in megapixels |
| status | string | Item status (e.g., active) |
| mediatype | string | Type of media |
| categories | array | Categories this item belongs to |
| tags | array | Keywords/tags associated with the item |
| similar | array | IDs of visually similar items |
| series | array | IDs of items in the same series |
| updated | string | Last update timestamp |
| nudity | integer | Whether item contains nudity |
| orientation | string | Image orientation |
| itype | string | Image type |
| filesize | integer | File size in bytes |
| published | string | Publication timestamp |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://api.depositphotos.com/schema/media-item",
"title": "MediaItem",
"description": "A Depositphotos stock media item (photo, vector, or video)",
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "Unique media item identifier"
},
"title": {
"type": "string",
"description": "Item title"
},
"description": {
"type": "string",
"description": "Item description"
},
"width": {
"type": "integer",
"description": "Image width in pixels"
},
"height": {
"type": "integer",
"description": "Image height in pixels"
},
"author": {
"type": "string",
"description": "Contributor username"
},
"userid": {
"type": "integer",
"description": "Contributor user ID"
},
"thumbnail": {
"type": "string",
"format": "uri",
"description": "Thumbnail image URL"
},
"url": {
"type": "string",
"format": "uri",
"description": "Preview URL"
},
"mp": {
"type": "number",
"description": "Image resolution in megapixels"
},
"status": {
"type": "string",
"description": "Item status (e.g., active)"
},
"mediatype": {
"type": "string",
"enum": ["image", "vector", "video"],
"description": "Type of media"
},
"categories": {
"type": "array",
"description": "Categories this item belongs to",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "Category identifier"
},
"name": {
"type": "string",
"description": "Category name"
}
},
"required": ["id", "name"]
}
},
"tags": {
"type": "array",
"description": "Keywords/tags associated with the item",
"items": {
"type": "string"
}
},
"similar": {
"type": "array",
"description": "IDs of visually similar items",
"items": {
"type": "integer"
}
},
"series": {
"type": "array",
"description": "IDs of items in the same series",
"items": {
"type": "integer"
}
},
"updated": {
"type": "string",
"description": "Last update timestamp"
},
"nudity": {
"type": "integer",
"enum": [0, 1],
"description": "Whether item contains nudity"
},
"orientation": {
"type": "string",
"enum": ["horizontal", "vertical", "square"],
"description": "Image orientation"
},
"itype": {
"type": "string",
"description": "Image type"
},
"filesize": {
"type": "integer",
"description": "File size in bytes"
},
"published": {
"type": "string",
"description": "Publication timestamp"
}
},
"required": ["id", "mediatype"]
}