Properties
| Name | Type | Description |
|---|---|---|
| value | string | photo link. |
| type | string | The type of the photo |
| display | string | A human-readable description, primarily used for display purposes. |
| primary | boolean | A Boolean value for the photo usage status. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/PhotoObject",
"title": "PhotoObject",
"type": "object",
"properties": {
"value": {
"type": "string",
"example": "https://photos.example.com/profilephoto/72930000000Ccne/F",
"description": "photo link."
},
"type": {
"type": "string",
"enum": [
"photo",
"thumbnail",
"resizable"
],
"description": "The type of the photo"
},
"display": {
"type": "string",
"example": "photo description",
"description": "A human-readable description, primarily used for display purposes."
},
"primary": {
"type": "boolean",
"example": true,
"description": "A Boolean value for the photo usage status."
}
}
}