Files
upstream-espocrm/schema/layouts/list.json
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

73 lines
2.4 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://www.espocrm.com/schema/layouts/list.json",
"description": "A list view layout.",
"type": "array",
"items": {
"type": "object",
"description": "A column.",
"properties": {
"name": {
"type": "string",
"description": "A name. Usually a field name."
},
"label": {
"type": "string",
"description": "A translatable label. The `fields` category is used."
},
"customLabel": {
"type": "string",
"description": "A custom label."
},
"noLabel": {
"type": "boolean",
"description": "Disables label displaying in the header."
},
"width": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"description": "A width in percents."
},
"widthPx": {
"type": "integer",
"minimum": 1,
"description": "A width in pixels. Ignored if the `width` is defined."
},
"align": {
"enum": [
"left",
"right"
],
"description": "An alignment."
},
"notSortable": {
"type": "boolean",
"description": "Disables the ability to sort by the column."
},
"link": {
"type": "boolean",
"description": "A field value will be displayed as a link pointing to the detail view of the record. Usually it is used for Name fields."
},
"view": {
"type": "string",
"description": "An overridden field view name."
},
"params": {
"type": "object",
"additionalProperties": true,
"description": "Overridden field parameters."
},
"options": {
"type": "object",
"additionalProperties": true,
"description": "Field view options."
},
"hidden": {
"type": "boolean",
"description": "Hidden by default."
}
}
}
}