---
title: "RequirementSetMember"
url: "https://developer-staging.agentsync.io/apis/platform-api/versions/8177e94d-86f2-48a5-8ed6-d5fbcb69f38a/schemas/RequirementSetMember"
---

> Full API specification: https://developer-staging.agentsync.io/apis/platform-api/versions/8177e94d-86f2-48a5-8ed6-d5fbcb69f38a.md

# RequirementSetMember

One member of a requirement set: the task definition a task is raised from when the set is applied, and whether that task is required.

## OpenAPI definition

```yaml
openapi: 3.1.1
info:
  title: AgentSync Platform API
  version: 0.0.1
servers:
  - url: https://api.{environment}.agentsync.io/platform
    description: AgentSync API gateway
    variables:
      environment:
        default: sandbox
        enum:
          - sandbox
components:
  schemas:
    TaskDefinitionId:
      type: string
      description: A task definition's ID, a TypeID with the prefix taskdefinition.
      pattern: ^taskdefinition_[0-7][0-9a-hjkmnp-tv-z]{25}$
      example: taskdefinition_01h455vb4pex5vsknk084sn02q
    RequirementSetMember:
      type: object
      description: "One member of a requirement set: the task definition a task is
        raised from when the set is applied, and whether that task is required."
      required:
        - id
        - taskType
        - required
        - taskDefinitionId
      properties:
        id:
          type: string
          description: The member's ID, a TypeID with the prefix requirement.
          pattern: ^requirement_[0-7][0-9a-hjkmnp-tv-z]{25}$
          example: requirement_01h455vb4pex5vsknk084sn02q
        taskType:
          type: string
          description: The kind of task the member raises. work collects information;
            approval records a decision; naic is the NAIC application;
            forms_signature asks for one signature over a list of forms;
            review_submit asks for the packet to be reviewed and submitted.
          enum:
            - work
            - approval
            - naic
            - forms_signature
            - review_submit
          example: work
        required:
          type: boolean
          description: Whether the task the member raises must be completed.
          example: true
        taskDefinitionId:
          $ref: "#/components/schemas/TaskDefinitionId"
      example:
        id: requirement_01h455vb4pex5vsknk084sn02q
        taskType: work
        required: true
        taskDefinitionId: taskdefinition_01h455vb4pex5vsknk084sn02q
```
