---
title: "ContractResponsiblePartyV2"
url: "https://developer.agentsync.io/apis/contracting-hierarchies-api/versions/40f58935-396e-4da4-8f47-1587041e1b16/schemas/ContractResponsiblePartyV2"
---

> Full API specification: https://developer.agentsync.io/apis/contracting-hierarchies-api/versions/40f58935-396e-4da4-8f47-1587041e1b16.md

# ContractResponsiblePartyV2

One responsible-party window on a contract. Both bounds are inclusive. Windows do not overlap, with two exceptions: two windows may meet on a single shared day (one window's `endDate` equal to the next window's `startDate`), and a window whose `startDate` equals its `endDate` is a retired record rather than a live one-day assignment. To resolve who is responsible on a given day, ignore windows where `startDate` equals `endDate`, and on a shared boundary day prefer the window that starts that day over the one that ends it. The current window is the one with no `endDate`; there is at most one per contract.

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: AgentSync Contracting & Hierarchies API
  version: v1.7.6
servers:
  - url: https://api.sandbox.agentsync.io/contracting
    description: Sandbox
  - url: https://api.agentsync.io/contracting
    description: Production
components:
  schemas:
    ContractResponsiblePartyV2:
      type: object
      description: >
        One responsible-party window on a contract. Both bounds are inclusive.
        Windows do not overlap, with

        two exceptions: two windows may meet on a single shared day (one
        window's `endDate` equal to the

        next window's `startDate`), and a window whose `startDate` equals its
        `endDate` is a retired record

        rather than a live one-day assignment. To resolve who is responsible on
        a given day, ignore windows

        where `startDate` equals `endDate`, and on a shared boundary day prefer
        the window that starts that

        day over the one that ends it. The current window is the one with no
        `endDate`; there is at most one

        per contract.
      properties:
        id:
          type: string
          format: uuid
          description: The responsible-party window id.
        responsiblePartyId:
          type: string
          format: uuid
          description: The person responsible for the contract during this window.
        startDate:
          type: string
          format: date
          description: The first day the responsible party is responsible (yyyy-MM-dd).
        endDate:
          type:
            - string
            - "null"
          format: date
          description: >
            The last day the responsible party is responsible (yyyy-MM-dd).
            Absent on the current,

            open-ended window.
      required:
        - id
        - responsiblePartyId
        - startDate
```
