Attachment
- Extends
Complements the description of an element (for instance a product) through video, pictures…
| Field | Required | Nullable | Type | Description | Constraints | Example |
|---|---|---|---|---|---|---|
|
Yes |
No |
|
When sub-classing, this defines the sub-class Extensible name |
default |
|
|
No |
No |
|
When sub-classing, this defines the super-class |
default |
|
|
No |
No |
|
A URI to a JSON-Schema file that defines additional attributes and relationships |
default |
|
|
No |
No |
|
Unique identifier |
default |
2d7ed5fd-9f62-4211-bc84-357f5f7b80f5 |
|
No |
No |
|
Hyperlink reference |
default |
|
|
No |
No |
|
Attachment type such as video, picture |
default |
video |
|
No |
No |
|
The actual contents of the attachment object, if embedded, encoded as base64 |
default |
|
|
No |
No |
|
A narrative text describing the content of the attachment |
default |
Photograph of the Product |
|
No |
No |
|
Attachment mime type such as extension file for video, picture and document |
default |
image/AVIF |
|
No |
No |
|
The name of the attachment |
default |
attachment.file |
|
No |
No |
|
Uniform Resource Locator, is a web page address (a subset of URI) |
default |
https://api.example.org/content/4aafacbd-11ff-4dc8-b445-305f2215715f |
|
No |
No |
The size of the attachment. |
default |
||
|
No |
No |
The period of time for which the attachment is valid |
default |