Schema ID
https://gobl.org/draft-0/org/image
Properties
| Title | Property | Type | Description |
|---|---|---|---|
| UUID | uuid | string | Universally Unique Identifier. |
| Label | label | string | Label to help identify the image. |
| URL | url | string | URL of the image |
| Data | data | string | As an alternative to the URL and only when the source data is small, like an SVG, the raw data may be provided using Base64 encoding. |
| MIME | mime | string | Format of the image. |
| Description | description | string | Details of what the image represents. |
| Alt | alt | string | Alternative text if the image cannot be shown. |
| Height | height | integer | Height of the image in pixels. |
| Width | width | integer | Width of the image in pixels. |
| Digest | digest | dsig.Digest | Digest can be used to ensure the image contained at the URL is the same one as originally intended. |
| Meta | meta | cbc.Meta | Meta contains additional information about the image. |
Validation Rules
| Field | Test | Validation Code / Message |
|---|---|---|
url |
| GOBL-ORG-IMAGE-01Image URL must be valid |
height |
| GOBL-ORG-IMAGE-02Image height must be between 64 and 2048 pixels |
width |
| GOBL-ORG-IMAGE-03Image width must be between 64 and 2048 pixels |