This key defines the display name for a given value in a Structure.
The name will appear in the + Add button dropdown below an Object or Array input or in the Structures modal (if configured).
By default, this key falls back to unknown.
Appears in#
Type#
string
Examples#
In this example, we want two value options for our staff structure: one called Manager and one called Employee.
Copied to clipboard
_structures:
staff:
values:
- label: Employee
value:
name:
job_description:
profile_picture:
- label: Manager
value:
name:
job_description:
profile_picture:
url:{
"_structures": {
"staff": {
"values": [
{
"label": "Employee",
"value": {
"name": null,
"job_description": null,
"profile_picture": null
}
},
{
"label": "Manager",
"value": {
"name": null,
"job_description": null,
"profile_picture": null,
"url": null
}
}
]
}
}
}