Asana · Schema
AllocationResponse
CollaborationProductivityProject ManagementProjectsTask ManagementTasksWorkflow
Properties
| Name | Type | Description |
|---|---|---|
| gid | string | Globally unique identifier of the resource. |
| resource_type | string | The base type of this resource. |
| assignee | object | |
| start_date | string | The localized day on which the allocation starts. |
| end_date | string | The localized day on which the allocation ends. |
| effort | object | The amount of time associated with the allocation. |
| parent | object | |
| created_by | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/AllocationResponse",
"title": "AllocationResponse",
"type": "object",
"properties": {
"gid": {
"type": "string",
"readOnly": true,
"description": "Globally unique identifier of the resource.",
"example": "12345"
},
"resource_type": {
"type": "string",
"readOnly": true,
"description": "The base type of this resource.",
"example": "allocation"
},
"assignee": {
"type": "object",
"properties": {
"gid": {
"type": "string"
},
"name": {
"type": "string"
},
"resource_type": {
"type": "string"
}
}
},
"start_date": {
"type": "string",
"format": "date",
"description": "The localized day on which the allocation starts.",
"example": "2024-02-28"
},
"end_date": {
"type": "string",
"format": "date",
"description": "The localized day on which the allocation ends.",
"example": "2024-02-28"
},
"effort": {
"type": "object",
"nullable": true,
"description": "The amount of time associated with the allocation.",
"properties": {
"type": {
"type": "string",
"enum": [
"hours",
"percent"
]
},
"value": {
"type": "number"
}
}
},
"parent": {
"type": "object",
"properties": {
"gid": {
"type": "string"
},
"name": {
"type": "string"
},
"resource_type": {
"type": "string"
}
}
},
"created_by": {
"type": "object",
"properties": {
"gid": {
"type": "string"
},
"name": {
"type": "string"
},
"resource_type": {
"type": "string"
}
}
}
}
}