object ProjectTemplatesGetRecordResponse
{
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/components/schemas/ProjectTemplateBase"
    }
  }
}
object ProjectTemplatesInstantiateProjectJobRequest
{
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/components/schemas/ProjectTemplateInstantiateProjectRequest"
    }
  }
}
object ProjectTemplatesInstantiateProjectJobResponse
{
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/components/schemas/JobCompact"
    }
  }
}
object ProjectTemplatesListMultipleResponse
{
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/ProjectTemplateCompact"
      }
    },
    "next_page": {
      "$ref": "#/components/schemas/NextPage"
    }
  }
}
object ProjectUpdateRequest
{
  "allOf": [
    {
      "$ref": "#/components/schemas/ProjectBase"
    },
    {
      "type": "object",
      "properties": {
        "team": {
          "type": "string",
          "example": "12345",
          "description": "The team that this project is shared with."
        },
        "owner": {
          "type": "string",
          "example": "12345",
          "nullable": true,
          "description": "The current owner of the project, may be null."
        },
        "followers": {
          "type": "string",
          "example": 1234523456,
          "description": "*Create-only*. Comma separated string of users. Followers are a subset of members who have opted in to receive \"tasks added\" notifications for a project."
        },
        "custom_fields": {
          "type": "object",
          "example": {
            "4578152156": "Not Started",
            "5678904321": "On Hold"
          },
          "description": "An object where each key is the GID of a custom field and its corresponding value is either an enum GID, string, number, or object (depending on the custom field type). See the [custom fields guide](https://raw.githubusercontent.com) for details on creating and updating custom field values.",
          "additionalProperties": {
            "type": "string",
            "description": "\"{custom_field_gid}\" => Value (can be text, a number, etc.). For date, use format \"YYYY-MM-DD\" (e.g., 2019-09-15). For date-time, use ISO 8601 date string in UTC (e.g., 2019-09-15T02:06:58.147Z)."
          }
        }
      }
    }
  ]
}
object ProjectsAddCustomFieldSettingRequest
{
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/components/schemas/AddCustomFieldSettingRequest"
    }
  }
}
object ProjectsAddCustomFieldSettingResponse
{
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/components/schemas/CustomFieldSettingResponse"
    }
  }
}
object ProjectsAddFollowersToProjectRequest
{
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/components/schemas/AddFollowersRequest"
    }
  }
}
object ProjectsAddFollowersToProjectResponse
{
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/components/schemas/ProjectResponse"
    }
  }
}
object ProjectsAddMembersToProjectRequest
{
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/components/schemas/AddMembersRequest"
    }
  }
}
object ProjectsAddMembersToProjectResponse
{
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/components/schemas/ProjectResponse"
    }
  }
}
object ProjectsCreateInWorkspaceRequest
{
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/components/schemas/ProjectRequest"
    }
  }
}
object ProjectsCreateInWorkspaceResponse
{
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/components/schemas/ProjectResponse"
    }
  }
}
object ProjectsCreateNewProjectRecordRequest
{
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/components/schemas/ProjectRequest"
    }
  }
}
object ProjectsCreateNewProjectRecordResponse
{
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/components/schemas/ProjectResponse"
    }
  }
}
object ProjectsCreateProjectForTeamRequest
{
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/components/schemas/ProjectRequest"
    }
  }
}
object ProjectsCreateProjectForTeamResponse
{
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/components/schemas/ProjectResponse"
    }
  }
}
object ProjectsCreateProjectTemplateJobRequest
{
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/components/schemas/ProjectSaveAsTemplateRequest"
    }
  }
}
object ProjectsCreateProjectTemplateJobResponse
{
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/components/schemas/JobCompact"
    }
  }
}
object ProjectsDeleteProjectByIdResponse
{
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/components/schemas/EmptyResponse"
    }
  }
}
object ProjectsDuplicateProjectJobRequest
{
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/components/schemas/ProjectDuplicateRequest"
    }
  }
}
object ProjectsDuplicateProjectJobResponse
{
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/components/schemas/JobCompact"
    }
  }
}
object ProjectsGetAllInWorkspaceResponse
{
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/ProjectCompact"
      }
    },
    "next_page": {
      "$ref": "#/components/schemas/NextPage"
    }
  }
}
object ProjectsGetProjectRecordResponse
{
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/components/schemas/ProjectResponse"
    }
  }
}
object ProjectsGetTaskCountsResponse
{
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/components/schemas/TaskCountResponse"
    }
  }
}
object ProjectsGetTeamProjectsResponse
{
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/ProjectCompact"
      }
    },
    "next_page": {
      "$ref": "#/components/schemas/NextPage"
    }
  }
}
object ProjectsListMultipleResponse
{
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/ProjectCompact"
      }
    },
    "next_page": {
      "$ref": "#/components/schemas/NextPage"
    }
  }
}
object ProjectsRemoveCustomFieldRequest
{
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/components/schemas/RemoveCustomFieldSettingRequest"
    }
  }
}
object ProjectsRemoveCustomFieldResponse
{
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/components/schemas/EmptyResponse"
    }
  }
}
object ProjectsRemoveMembersFromProjectRequest
{
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/components/schemas/RemoveMembersRequest"
    }
  }
}
object ProjectsRemoveMembersFromProjectResponse
{
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/components/schemas/ProjectResponse"
    }
  }
}
object ProjectsRemoveProjectFollowersRequest
{
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/components/schemas/RemoveFollowersRequest"
    }
  }
}
object ProjectsRemoveProjectFollowersResponse
{
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/components/schemas/ProjectResponse"
    }
  }
}
object ProjectsTaskProjectsListResponse
{
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/ProjectCompact"
      }
    },
    "next_page": {
      "$ref": "#/components/schemas/NextPage"
    }
  }
}
object ProjectsUpdateProjectRecordRequest
{
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/components/schemas/ProjectUpdateRequest"
    }
  }
}
object ProjectsUpdateProjectRecordResponse
{
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/components/schemas/ProjectResponse"
    }
  }
}
object RemoveCustomFieldSettingRequest
{
  "type": "object",
  "required": [
    "custom_field"
  ],
  "properties": {
    "custom_field": {
      "type": "string",
      "example": "14916",
      "description": "The custom field to remove from this portfolio."
    }
  }
}
object RemoveFollowersRequest
{
  "type": "object",
  "required": [
    "followers"
  ],
  "properties": {
    "followers": {
      "type": "string",
      "example": 521621621373,
      "description": "An array of strings identifying users. These can either be the string \"me\", an email, or the gid of a user."
    }
  }
}
object RemoveMembersRequest
{
  "type": "object",
  "required": [
    "members"
  ],
  "properties": {
    "members": {
      "type": "string",
      "example": 521621621373,
      "description": "An array of strings identifying users. These can either be the string \"me\", an email, or the gid of a user."
    }
  }
}
object RequestedRoleRequest
{
  "type": "object",
  "properties": {
    "gid": {
      "type": "string",
      "example": "1",
      "description": "Globally unique identifier of the template role in the project template."
    },
    "value": {
      "type": "string",
      "example": "123",
      "description": "The user id that should be assigned to the template role."
    }
  }
}
object RuleTriggerRequest
{
  "type": "object",
  "required": [
    "resource",
    "action_data"
  ],
  "properties": {
    "resource": {
      "type": "string",
      "example": "12345",
      "description": "The ID of the resource. For the duration of the beta, this resource is always a task, and this task must exist in the project in which the rule is created."
    },
    "action_data": {
      "type": "object",
      "example": {
        "jira_ticket_id": "123",
        "jira_ticket_name": "Test"
      },
      "description": "The dynamic keys and values of the request. These fields are intended to be used in the action for the rule associated with this trigger.",
      "additionalProperties": true
    }
  }
}
object RuleTriggerResponse
{
  "type": "object",
  "properties": {
    "message": {
      "type": "string",
      "example": "Successfully saved the payload and ran the rule",
      "description": "Message providing more detail about the result"
    }
  }
}
object RulesTriggerRuleRequestRequest
{
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/components/schemas/RuleTriggerRequest"
    }
  }
}
object RulesTriggerRuleRequestResponse
{
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/components/schemas/RuleTriggerResponse"
    }
  }
}
object SectionCompact
{
  "allOf": [
    {
      "$ref": "#/components/schemas/AsanaResource"
    },
    {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "example": "Next Actions",
          "description": "The name of the section (i.e. the text displayed as the section header)."
        }
      },
      "description": "A *section* is a subdivision of a project that groups tasks together. It can either be a header above a list of tasks in a list view or a column in a board view of a project.",
      "x-docs-overrides": {
        "properties.resource_type.example": "section"
      }
    }
  ]
}
object SectionRequest
{
  "type": "object",
  "required": [
    "name"
  ],
  "properties": {
    "name": {
      "type": "string",
      "example": "Next Actions",
      "description": "The text to be displayed as the section name. This cannot be an empty string."
    },
    "insert_after": {
      "type": "string",
      "example": "987654",
      "description": "An existing section within this project after which the added section should be inserted. Cannot be provided together with insert_before."
    },
    "insert_before": {
      "type": "string",
      "example": "86420",
      "description": "An existing section within this project before which the added section should be inserted. Cannot be provided together with insert_after."
    }
  }
}
object SectionResponse
{
  "allOf": [
    {
      "$ref": "#/components/schemas/SectionCompact"
    },
    {
      "type": "object",
      "properties": {
        "project": {
          "$ref": "#/components/schemas/ProjectCompact"
        },
        "projects": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/ProjectCompact"
          },
          "readOnly": true,
          "description": "*Deprecated - please use project instead*"
        },
        "created_at": {
          "type": "string",
          "format": "date-time",
          "example": "2012-02-22T02:06:58.147Z",
          "readOnly": true,
          "description": "The time at which this resource was created."
        }
      }
    }
  ]
}
object SectionTaskInsertRequest
{
  "type": "object",
  "required": [
    "task"
  ],
  "properties": {
    "task": {
      "type": "string",
      "example": "123456",
      "description": "The task to add to this section."
    },
    "insert_after": {
      "type": "string",
      "example": "987654",
      "description": "An existing task within this section after which the added task should be inserted. Cannot be provided together with insert_before."
    },
    "insert_before": {
      "type": "string",
      "example": "86420",
      "description": "An existing task within this section before which the added task should be inserted. Cannot be provided together with insert_after."
    }
  }
}
object SectionsAddTaskToSectionRequest
{
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/components/schemas/SectionTaskInsertRequest"
    }
  }
}
object SectionsAddTaskToSectionResponse
{
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/components/schemas/EmptyResponse"
    }
  }
}
Load more schemas