---
title: "ContractResponsiblePartyV2"
url: "https://developer.agentsync.io/apis/contracting-hierarchies-api/versions/6c2b0ffe-3c97-4dd9-8f2b-d290f3e875ff/schemas/ContractResponsiblePartyV2"
---

> Full API specification: https://developer.agentsync.io/apis/contracting-hierarchies-api/versions/6c2b0ffe-3c97-4dd9-8f2b-d290f3e875ff.md

# ContractResponsiblePartyV2

One responsible-party window on a contract. Both bounds are inclusive. Windows never share a day: back-to-back windows are written with the next window's `startDate` one day after the previous window's `endDate`. The one exception is a window whose `startDate` equals its `endDate`, which is a retired record rather than a live one-day assignment and overlaps nothing. To resolve who is responsible on a given day, ignore windows where `startDate` equals `endDate`; if two windows written before this rule share a 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.42.2
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 never share a day:

        back-to-back windows are written with the next window's `startDate` one
        day after the previous

        window's `endDate`. The one exception is a window whose `startDate`
        equals its `endDate`, which is a

        retired record rather than a live one-day assignment and overlaps
        nothing. To resolve who is

        responsible on a given day, ignore windows where `startDate` equals
        `endDate`; if two windows written

        before this rule share a 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
```
