Files
upstream-mirror 7cc7e6b4f3
Some checks failed
Test / Test on PHP 8.3 (push) Failing after 5s
Test / Test on PHP 8.4 (push) Failing after 4s
Test / Test on PHP 8.5 (push) Failing after 3s
TypeScript static analysis / TypeScript check (push) Failing after 14s
Test Integration on MySQL / Test on PHP 8.3 (push) Failing after 1s
Test Integration on MySQL / Test on PHP 8.5 (push) Failing after 1s
Test Integration on PostgreSQL / Test on PHP 8.4 fix (push) Failing after 1s
Test Integration on PostgreSQL / Test on PHP 8.4 master (push) Failing after 1s
snapshot of https://github.com/espocrm/espocrm.git (master, 2026-09-18; blobs > 131072B omitted)
2026-09-18 04:19:15 +05:00

75 lines
2.5 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://www.espocrm.com/schema/metadata/app/image.json",
"title": "app/image",
"description": "Image definitions.",
"type": "object",
"properties": {
"allowedFileTypeList": {
"type": "array",
"description": "A list of allowed image mime types. Use __APPEND__ for extending.",
"items": {
"anyOf": [
{
"type": "string",
"pattern": "^[-\\w.]+/[-\\w.+]+$"
},
{"const": "__APPEND__"}
]
}
},
"resizableFileTypeList": {
"type": "array",
"description": "A list of image mime types that can be resized to be served in a smaller size. Use __APPEND__ for extending.",
"items": {
"anyOf": [
{
"type": "string",
"pattern": "^[-\\w.]+/[-\\w.+]+$"
},
{"const": "__APPEND__"}
]
}
},
"fixOrientationFileTypeList": {
"type": "array",
"description": "A list of image mime types orientation of which can be fixed using exif data. Use __APPEND__ for extending.",
"items": {
"anyOf": [
{
"type": "string",
"pattern": "^[-\\w.]+/[-\\w.+]+$"
},
{"const": "__APPEND__"}
]
}
},
"previewFileTypeList": {
"type": "array",
"description": "A list of image mime types that can be previewed in the File or Attachment-Multiple fields. Use __APPEND__ for extending.",
"items": {
"anyOf": [
{
"type": "string",
"pattern": "^[-\\w.]+/[-\\w.+]+$"
},
{"const": "__APPEND__"}
]
}
},
"sizes": {
"type": "object",
"description": "Size dimensions.",
"additionalProperties": {
"type": "array",
"description": "A size name.",
"minLength": 2,
"maxLength": 2,
"items": {
"type": "integer"
}
}
}
}
}