Asana · Schema
CustomFieldRequest
CollaborationProductivityProject ManagementProjectsTask ManagementTasksWorkflow
Properties
| Name | Type | Description |
|---|---|---|
| name | string | |
| resource_subtype | string | |
| description | string | |
| workspace | string | |
| precision | integer | Only relevant for custom fields of type number. |
| enum_options | array |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/CustomFieldRequest",
"title": "CustomFieldRequest",
"type": "object",
"properties": {
"name": {
"type": "string",
"example": "Priority"
},
"resource_subtype": {
"type": "string",
"enum": [
"text",
"enum",
"multi_enum",
"number",
"date",
"people"
]
},
"description": {
"type": "string"
},
"workspace": {
"type": "string",
"example": "12345"
},
"precision": {
"type": "integer",
"description": "Only relevant for custom fields of type number."
},
"enum_options": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"color": {
"type": "string"
},
"enabled": {
"type": "boolean"
}
}
}
}
}
}