EncodedImageBody
Fields
Section titled “Fields”| Field | Type | Required | Description and constraints |
|---|---|---|---|
mediaType |
string | Yes | values "image/jpeg", "image/png" |
dataBase64 |
string | Yes | minimum length 4. maximum length 5592408 |
Additional properties are rejected by this schema.
JSON schema
Section titled “JSON schema”{ "properties": { "mediaType": { "type": "string", "enum": [ "image/jpeg", "image/png" ], "title": "Mediatype" }, "dataBase64": { "type": "string", "maxLength": 5592408, "minLength": 4, "title": "Database64" } }, "additionalProperties": false, "type": "object", "required": [ "mediaType", "dataBase64" ], "title": "EncodedImageBody"}