Skip to main content
Glama

Sync contract from another system

clm_ingest_contract
Idempotent

Use Import contracts for new documents (ChatGPT attachments: Import attached files). Ingest only existing records from another system with real source ids. Runs AI extraction and counts toward trial caps, even with extracted fields. No Parser credits. Identical input and source ids retry the same contract. For related files use Add contract documents. Returns processing.jobId for status.

Input Schema

NameRequiredDescriptionDefault
filesYesPrepared contract documents
contractYesContract details
folderIdNoVisible folder; omit for unfiled org root. Hidden/invalid IDs create nothing.
metadataNoSource-system metadata
externalIdYesReal record id in that system; never invent one
allowDuplicateNoAllow duplicate linked document.
externalSystemYesReal source system (e.g. zapier, docusign, salesforce); never invent one

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed16 schema fields changed
    • changedInput schema / definitions / __schema1 / anyOf
      Previous value: -[
      -  {
      -    "anyOf": [
      -      {
      -        "type": "string"
      -      },
      -      {
      -        "type": "number"
      -      },
      -      {
      -        "type": "boolean"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ]
      -  },
      -  {
      -    "items": {
      -      "$ref": "#/definitions/__schema1"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "additionalProperties": {
      -      "$ref": "#/definitions/__schema1"
      -    },
      -    "propertyNames": {
      -      "type": "string"
      -    },
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "type": [
      +      "string",
      +      "number",
      +      "boolean",
      +      "null"
      +    ]
      +  },
      +  {
      +    "items": {
      +      "$ref": "#/definitions/__schema1"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "additionalProperties": {
      +      "$ref": "#/definitions/__schema1"
      +    },
      +    "propertyNames": {
      +      "type": "string"
      +    },
      +    "type": "object"
      +  }
      +]
    • changedInput schema / properties / allowDuplicate / description
      Previous value: -"Set to true only after the user has been told the document is already associated with a contract and has asked for it to be added anyway."New value: +"Allow duplicate linked document."
    • addedInput schema / properties / contract / allOf
      Added value: +[
      +  {
      +    "properties": {
      +      "agreementType": {
      +        "default": "standalone_contract",
      +        "enum": [
      +          "master_agreement",
      +          "statement_of_work",
      +          "order_form",
      +          "amendment",
      +          "schedule",
      +          "policy",
      +          "standalone_contract",
      +          "other"
      +        ],
      +        "type": "string"
      +      },
      +      "annualValue": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "autoRenewing": {
      +        "default": true,
      +        "type": "boolean"
      +      },
      +      "categoryId": {
      +        "format": "uuid",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "counterpartyId": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "counterpartyNotes": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "counterpartyRelationshipType": {
      +        "anyOf": [
      +          {
      +            "enum": [
      +              "vendor",
      +              "client",
      +              "partner",
      +              "other"
      +            ],
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "customFieldValues": {
      +        "additionalProperties": {
      +          "$ref": "#/definitions/__schema1"
      +        },
      +        "default": {},
      +        "propertyNames": {
      +          "type": "string"
      +        },
      +        "type": "object"
      +      },
      +      "description": {
      +        "default": "",
      +        "type": "string"
      +      },
      +      "financialAnnualValue": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "financialSummary": {
      +        "maxLength": 2000,
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "financialTotalValue": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "financialValueCurrency": {
      +        "maxLength": 3,
      +        "minLength": 3,
      +        "pattern": "^[A-Za-z]{3}$",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "governingLaw": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "isExclusive": {
      +        "type": [
      +          "boolean",
      +          "null"
      +        ]
      +      },
      +      "jurisdiction": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "liabilityCapAmount": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "liabilityCapCurrency": {
      +        "anyOf": [
      +          {
      +            "maxLength": 3,
      +            "minLength": 3,
      +            "pattern": "^[A-Za-z]{3}$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "liabilitySummary": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "noticeInstructions": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "noticePeriodUnit": {
      +        "default": "months",
      +        "enum": [
      +          "days",
      +          "weeks",
      +          "months",
      +          "quarters",
      +          "years"
      +        ],
      +        "type": "string"
      +      },
      +      "noticePeriodValue": {
      +        "default": 1,
      +        "exclusiveMinimum": 0,
      +        "type": [
      +          "integer",
      +          "null"
      +        ]
      +      },
      +      "ownerUserId": {
      +        "minLength": 1,
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "parentContractId": {
      +        "format": "uuid",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "parties": {
      +        "default": [],
      +        "items": {
      +          "properties": {
      +            "counterpartyId": {
      +              "description": "Existing ID: legalName match only",
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "isPrimary": {
      +              "description": "A/B primary for their roles",
      +              "type": "boolean"
      +            },
      +            "legalName": {
      +              "description": "Exact legal name from document",
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "name": {
      +              "description": "Display name in output language",
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "notes": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "role": {
      +              "default": "third_party",
      +              "description": "party_a: us; party_b: main counterparty; third_party: other external parties",
      +              "enum": [
      +                "party_a",
      +                "party_b",
      +                "third_party"
      +              ],
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "name"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "partiesSummary": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "renewalPeriodUnit": {
      +        "anyOf": [
      +          {
      +            "enum": [
      +              "days",
      +              "weeks",
      +              "months",
      +              "quarters",
      +              "years"
      +            ],
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": "years"
      +      },
      +      "renewalPeriodValue": {
      +        "default": 1,
      +        "exclusiveMinimum": 0,
      +        "type": [
      +          "integer",
      +          "null"
      +        ]
      +      },
      +      "startDate": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "status": {
      +        "default": "active",
      +        "enum": [
      +          "active",
      +          "notice-given",
      +          "terminated",
      +          "expired"
      +        ],
      +        "type": "string"
      +      },
      +      "summary": {
      +        "properties": {
      +          "amendmentTerms": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "analysis": {
      +            "properties": {
      +              "deviations": {
      +                "items": {
      +                  "properties": {
      +                    "derivedFrom": {
      +                      "items": {
      +                        "type": "string"
      +                      },
      +                      "type": [
      +                        "array",
      +                        "null"
      +                      ]
      +                    },
      +                    "evidenceQuote": {
      +                      "description": "Unit+quote or verbatim text; one/line.",
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "expected": {
      +                      "type": "string"
      +                    },
      +                    "found": {
      +                      "type": "string"
      +                    },
      +                    "headline": {
      +                      "description": "<=10 plain words: party_a (our org) impact",
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "playbookRuleId": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "severity": {
      +                      "enum": [
      +                        "low",
      +                        "medium",
      +                        "high"
      +                      ],
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "severity",
      +                    "expected",
      +                    "found"
      +                  ],
      +                  "type": "object"
      +                },
      +                "type": [
      +                  "array",
      +                  "null"
      +                ]
      +              },
      +              "gaps": {
      +                "items": {
      +                  "properties": {
      +                    "context": {
      +                      "description": "Why unclear or missing",
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "derivedFrom": {
      +                      "items": {
      +                        "type": "string"
      +                      },
      +                      "type": [
      +                        "array",
      +                        "null"
      +                      ]
      +                    },
      +                    "evidenceQuote": {
      +                      "description": "Unit+quote or verbatim text; one/line.",
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "headline": {
      +                      "description": "<=10 plain words: party_a (our org) impact",
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "impact": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "missing": {
      +                      "description": "Missing or unclear core term",
      +                      "type": "string"
      +                    },
      +                    "severity": {
      +                      "enum": [
      +                        "low",
      +                        "medium",
      +                        "high"
      +                      ],
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "missing",
      +                    "severity"
      +                  ],
      +                  "type": "object"
      +                },
      +                "type": [
      +                  "array",
      +                  "null"
      +                ]
      +              },
      +              "obligations": {
      +                "items": {
      +                  "properties": {
      +                    "action": {
      +                      "description": "Obligation or commitment",
      +                      "type": "string"
      +                    },
      +                    "derivedFrom": {
      +                      "items": {
      +                        "type": "string"
      +                      },
      +                      "type": [
      +                        "array",
      +                        "null"
      +                      ]
      +                    },
      +                    "dueDate": {
      +                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "evidenceQuote": {
      +                      "description": "Unit+quote or verbatim text; one/line.",
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "headline": {
      +                      "description": "<=10 plain words: party_a (our org) impact",
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "party": {
      +                      "anyOf": [
      +                        {
      +                          "enum": [
      +                            "party_a",
      +                            "party_b",
      +                            "third_party",
      +                            "mutual"
      +                          ],
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ],
      +                      "description": "party_a: us; party_b: counterparty; third_party: others; mutual: both"
      +                    },
      +                    "recurrenceInterval": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "recurrenceUnit": {
      +                      "anyOf": [
      +                        {
      +                          "enum": [
      +                            "days",
      +                            "weeks",
      +                            "months",
      +                            "quarters",
      +                            "years"
      +                          ],
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ]
      +                    },
      +                    "severity": {
      +                      "enum": [
      +                        "low",
      +                        "medium",
      +                        "high"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    "timingType": {
      +                      "anyOf": [
      +                        {
      +                          "enum": [
      +                            "scheduled",
      +                            "recurring",
      +                            "triggered",
      +                            "none"
      +                          ],
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ]
      +                    },
      +                    "triggerEvent": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "windowRelation": {
      +                      "anyOf": [
      +                        {
      +                          "enum": [
      +                            "within",
      +                            "after",
      +                            "before"
      +                          ],
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ]
      +                    },
      +                    "windowUnit": {
      +                      "anyOf": [
      +                        {
      +                          "enum": [
      +                            "days",
      +                            "weeks",
      +                            "months",
      +                            "quarters",
      +                            "years"
      +                          ],
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ]
      +                    },
      +                    "windowValue": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    }
      +                  },
      +                  "required": [
      +                    "action",
      +                    "severity"
      +                  ],
      +                  "type": "object"
      +                },
      +                "type": [
      +                  "array",
      +                  "null"
      +                ]
      +              },
      +              "overallRisk": {
      +                "anyOf": [
      +                  {
      +                    "enum": [
      +                      "high",
      +                      "moderate",
      +                      "low"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "riskAllocation": {
      +                "items": {
      +                  "properties": {
      +                    "category": {
      +                      "description": "e.g. indemnity, insurance",
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "clause": {
      +                      "description": "Risk-allocation summary",
      +                      "type": "string"
      +                    },
      +                    "derivedFrom": {
      +                      "items": {
      +                        "type": "string"
      +                      },
      +                      "type": [
      +                        "array",
      +                        "null"
      +                      ]
      +                    },
      +                    "evidenceQuote": {
      +                      "description": "Unit+quote or verbatim text; one/line.",
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "favors": {
      +                      "anyOf": [
      +                        {
      +                          "enum": [
      +                            "us",
      +                            "counterparty",
      +                            "mutual"
      +                          ],
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ]
      +                    },
      +                    "headline": {
      +                      "description": "<=10 plain words: party_a (our org) impact",
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "rationale": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "severity": {
      +                      "enum": [
      +                        "low",
      +                        "medium",
      +                        "high"
      +                      ],
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "clause",
      +                    "severity"
      +                  ],
      +                  "type": "object"
      +                },
      +                "type": [
      +                  "array",
      +                  "null"
      +                ]
      +              },
      +              "risks": {
      +                "items": {
      +                  "properties": {
      +                    "category": {
      +                      "description": "e.g. term, liability, payment, ip",
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "derivedFrom": {
      +                      "items": {
      +                        "type": "string"
      +                      },
      +                      "type": [
      +                        "array",
      +                        "null"
      +                      ]
      +                    },
      +                    "evidenceQuote": {
      +                      "description": "Unit+quote or verbatim text; one/line.",
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "headline": {
      +                      "description": "<=10 plain words: party_a (our org) impact",
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "issue": {
      +                      "description": "Concern label",
      +                      "type": "string"
      +                    },
      +                    "rationale": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "severity": {
      +                      "enum": [
      +                        "low",
      +                        "medium",
      +                        "high"
      +                      ],
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "severity",
      +                    "issue"
      +                  ],
      +                  "type": "object"
      +                },
      +                "type": [
      +                  "array",
      +                  "null"
      +                ]
      +              },
      +              "summary": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "warranties": {
      +                "items": {
      +                  "properties": {
      +                    "derivedFrom": {
      +                      "items": {
      +                        "type": "string"
      +                      },
      +                      "type": [
      +                        "array",
      +                        "null"
      +                      ]
      +                    },
      +                    "evidenceQuote": {
      +                      "description": "Unit+quote or verbatim text; one/line.",
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "headline": {
      +                      "description": "<=10 plain words: party_a (our org) impact",
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "party": {
      +                      "anyOf": [
      +                        {
      +                          "enum": [
      +                            "party_a",
      +                            "party_b",
      +                            "third_party",
      +                            "mutual"
      +                          ],
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ],
      +                      "description": "party_a: us; party_b: counterparty; third_party: others; mutual: both"
      +                    },
      +                    "severity": {
      +                      "enum": [
      +                        "low",
      +                        "medium",
      +                        "high"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    "statement": {
      +                      "description": "Representation/warranty/guarantee",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "statement",
      +                    "severity"
      +                  ],
      +                  "type": "object"
      +                },
      +                "type": [
      +                  "array",
      +                  "null"
      +                ]
      +              }
      +            },
      +            "type": [
      +              "object",
      +              "null"
      +            ]
      +          },
      +          "annualValue": {
      +            "description": "Legacy annualized-value alias",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "autoRenewing": {
      +            "type": [
      +              "boolean",
      +              "null"
      +            ]
      +          },
      +          "categoryId": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "categoryIsNew": {
      +            "type": [
      +              "boolean",
      +              "null"
      +            ]
      +          },
      +          "categoryName": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "categoryNewName": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "confidentialityClause": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "contractId": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "counterpartyId": {
      +            "description": "Existing ID only for matching legal names, never display names alone",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "counterpartyIsNew": {
      +            "type": [
      +              "boolean",
      +              "null"
      +            ]
      +          },
      +          "counterpartyName": {
      +            "description": "Matched counterparty display name in output language",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "counterpartyNewAddressCity": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "counterpartyNewAddressCountry": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "counterpartyNewAddressLine1": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "counterpartyNewAddressLine2": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "counterpartyNewAddressPostalCode": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "counterpartyNewAddressState": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "counterpartyNewContactDisplayName": {
      +            "description": "Contact display name in output language",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "counterpartyNewContactEmail": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "counterpartyNewContactName": {
      +            "description": "Exact contact name from document, if available",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "counterpartyNewContactPhone": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "counterpartyNewContactRole": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "counterpartyNewEmail": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "counterpartyNewLegalName": {
      +            "description": "New counterparty exact legal name, if available",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "counterpartyNewName": {
      +            "description": "New counterparty display name in output language",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "counterpartyNewPhone": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "counterpartyNewRegistrationNumber": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "counterpartyNewTaxId": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "counterpartyNewType": {
      +            "anyOf": [
      +              {
      +                "enum": [
      +                  "individual",
      +                  "company",
      +                  "non-profit",
      +                  "government"
      +                ],
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "counterpartyNewWebsite": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "currency": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "customFieldValues": {
      +            "additionalProperties": {
      +              "$ref": "#/definitions/__schema1"
      +            },
      +            "propertyNames": {
      +              "type": "string"
      +            },
      +            "type": [
      +              "object",
      +              "null"
      +            ]
      +          },
      +          "description": {
      +            "maxLength": 1000,
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "disputeResolution": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "endDate": {
      +            "description": "YYYY-MM-DD, stated or computable",
      +            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "events": {
      +            "items": {
      +              "properties": {
      +                "date": {
      +                  "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "description": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "recurrenceInterval": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "recurrenceUnit": {
      +                  "anyOf": [
      +                    {
      +                      "enum": [
      +                        "days",
      +                        "weeks",
      +                        "months",
      +                        "quarters",
      +                        "years"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "title": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "title"
      +              ],
      +              "type": "object"
      +            },
      +            "type": [
      +              "array",
      +              "null"
      +            ]
      +          },
      +          "evidence": {
      +            "additionalProperties": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "propertyNames": {
      +              "type": "string"
      +            },
      +            "type": [
      +              "object",
      +              "null"
      +            ]
      +          },
      +          "exclusivityDetails": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "fieldEvidence": {
      +            "properties": {
      +              "counterpartyName": {
      +                "description": "Unit+quote or verbatim text; one/line.",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "endDate": {
      +                "description": "Unit+quote or verbatim text; one/line.",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "financialAnnualValue": {
      +                "description": "Unit+quote or verbatim text; one/line.",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "financialTotalValue": {
      +                "description": "Unit+quote or verbatim text; one/line.",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "governingLaw": {
      +                "description": "Unit+quote or verbatim text; one/line.",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "jurisdiction": {
      +                "description": "Unit+quote or verbatim text; one/line.",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "liabilityCapAmount": {
      +                "description": "Unit+quote or verbatim text; one/line.",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "noticePeriodValue": {
      +                "description": "Unit+quote or verbatim text; one/line.",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "partyList": {
      +                "description": "Smallest table/lines/clause naming extracted parties",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "renewalPeriodValue": {
      +                "description": "Unit+quote or verbatim text; one/line.",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "startDate": {
      +                "description": "Unit+quote or verbatim text; one/line.",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              }
      +            },
      +            "type": [
      +              "object",
      +              "null"
      +            ]
      +          },
      +          "financialAnnualValue": {
      +            "description": "Recurring annualized value",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "financialSummary": {
      +            "description": "Brief payment terms",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "financialTotalValue": {
      +            "description": "One-off total value",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "financialValueCurrency": {
      +            "description": "Currency code",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "forceMajeureClause": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "governingLaw": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "indemnityClause": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "intellectualPropertyRights": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "isExclusive": {
      +            "type": [
      +              "boolean",
      +              "null"
      +            ]
      +          },
      +          "isOpenEnded": {
      +            "type": [
      +              "boolean",
      +              "null"
      +            ]
      +          },
      +          "jurisdiction": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "liabilityCapAmount": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "liabilityCapCurrency": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "liabilitySummary": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "limitationOfLiability": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "noticeInstructions": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "noticePeriodUnit": {
      +            "anyOf": [
      +              {
      +                "enum": [
      +                  "days",
      +                  "weeks",
      +                  "months",
      +                  "quarters",
      +                  "years"
      +                ],
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "noticePeriodValue": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "parties": {
      +            "description": "Full profiles for Party A, Party B and third parties",
      +            "items": {
      +              "properties": {
      +                "address": {
      +                  "properties": {
      +                    "city": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "country": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "line1": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "line2": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "postalCode": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "stateProvince": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    }
      +                  },
      +                  "type": [
      +                    "object",
      +                    "null"
      +                  ]
      +                },
      +                "contacts": {
      +                  "description": "Reusable contacts, not signers",
      +                  "items": {
      +                    "properties": {
      +                      "displayName": {
      +                        "description": "Display name in output language",
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "email": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "isPrimary": {
      +                        "type": [
      +                          "boolean",
      +                          "null"
      +                        ]
      +                      },
      +                      "name": {
      +                        "description": "Exact person name from document",
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "phone": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "title": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      }
      +                    },
      +                    "type": "object"
      +                  },
      +                  "type": [
      +                    "array",
      +                    "null"
      +                  ]
      +                },
      +                "counterpartyId": {
      +                  "description": "Existing ID: legalName match only",
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "email": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "isPrimary": {
      +                  "description": "A/B primary for their roles; one primary/role",
      +                  "type": [
      +                    "boolean",
      +                    "null"
      +                  ]
      +                },
      +                "legalName": {
      +                  "description": "Exact legal name from document",
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "name": {
      +                  "description": "Display name in output language",
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "notes": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "phone": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "registrationNumber": {
      +                  "description": "Org-only register number; never a personal ID.",
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "role": {
      +                  "anyOf": [
      +                    {
      +                      "enum": [
      +                        "party_a",
      +                        "party_b",
      +                        "third_party"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "description": "party_a: us; party_b: counterparty; third_party: others"
      +                },
      +                "signers": {
      +                  "description": "Identified signers, no legacy role guesses",
      +                  "items": {
      +                    "properties": {
      +                      "email": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "name": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "signedAt": {
      +                        "anyOf": [
      +                          {
      +                            "anyOf": [
      +                              {
      +                                "format": "date",
      +                                "type": "string"
      +                              },
      +                              {
      +                                "format": "date-time",
      +                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      +                                "type": "string"
      +                              }
      +                            ]
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ],
      +                        "description": "Explicit signature date/timestamp only"
      +                      },
      +                      "title": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      }
      +                    },
      +                    "type": "object"
      +                  },
      +                  "type": [
      +                    "array",
      +                    "null"
      +                  ]
      +                },
      +                "taxId": {
      +                  "description": "Org-only VAT/tax number; never a personal ID.",
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "type": {
      +                  "anyOf": [
      +                    {
      +                      "enum": [
      +                        "individual",
      +                        "company",
      +                        "non-profit",
      +                        "government"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "website": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": [
      +              "array",
      +              "null"
      +            ]
      +          },
      +          "partiesSummary": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "paymentTerms": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "proposedCategoryFields": {
      +            "items": {
      +              "properties": {
      +                "key": {
      +                  "type": "string"
      +                },
      +                "label": {
      +                  "type": "string"
      +                },
      +                "options": {
      +                  "items": {
      +                    "type": "string"
      +                  },
      +                  "type": [
      +                    "array",
      +                    "null"
      +                  ]
      +                },
      +                "type": {
      +                  "enum": [
      +                    "text",
      +                    "number",
      +                    "date",
      +                    "boolean",
      +                    "currency",
      +                    "percentage",
      +                    "select",
      +                    "multi_select"
      +                  ],
      +                  "type": "string"
      +                },
      +                "value": {
      +                  "anyOf": [
      +                    {
      +                      "$ref": "#/definitions/__schema1"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                }
      +              },
      +              "required": [
      +                "label",
      +                "key",
      +                "type"
      +              ],
      +              "type": "object"
      +            },
      +            "type": [
      +              "array",
      +              "null"
      +            ]
      +          },
      +          "renewalPeriodUnit": {
      +            "anyOf": [
      +              {
      +                "enum": [
      +                  "days",
      +                  "weeks",
      +                  "months",
      +                  "quarters",
      +                  "years"
      +                ],
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "renewalPeriodValue": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "signatureDate": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "signedByPartyA": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "signedByPartyB": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "sourceLanguageCode": {
      +            "description": "Dominant source language: BCP-47, und if unclear",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "startDate": {
      +            "description": "YYYY-MM-DD, stated or computable",
      +            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "status": {
      +            "anyOf": [
      +              {
      +                "enum": [
      +                  "active",
      +                  "notice-given",
      +                  "terminated",
      +                  "expired"
      +                ],
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "terminationClause": {
      +            "maxLength": 1500,
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "title": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "title"
      +        ],
      +        "type": [
      +          "object",
      +          "null"
      +        ]
      +      },
      +      "title": {
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "title",
      +      "startDate"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "oneOf": [
      +      {
      +        "properties": {
      +          "endDate": {
      +            "format": "date",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "isOpenEnded": {
      +            "const": true,
      +            "type": "boolean"
      +          }
      +        },
      +        "required": [
      +          "isOpenEnded"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "properties": {
      +          "endDate": {
      +            "format": "date",
      +            "type": "string"
      +          },
      +          "isOpenEnded": {
      +            "const": false,
      +            "type": "boolean"
      +          }
      +        },
      +        "required": [
      +          "isOpenEnded",
      +          "endDate"
      +        ],
      +        "type": "object"
      +      }
      +    ]
      +  }
      +]
    • removedInput schema / properties / contract / properties
      Removed value: -{
      -  "agreementType": {
      -    "default": "standalone_contract",
      -    "enum": [
      -      "master_agreement",
      -      "statement_of_work",
      -      "order_form",
      -      "amendment",
      -      "schedule",
      -      "policy",
      -      "standalone_contract",
      -      "other"
      -    ],
      -    "type": "string"
      -  },
      -  "annualValue": {
      -    "anyOf": [
      -      {
      -        "type": "string"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ]
      -  },
      -  "autoRenewing": {
      -    "default": true,
      -    "type": "boolean"
      -  },
      -  "categoryId": {
      -    "anyOf": [
      -      {
      -        "format": "uuid",
      -        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -        "type": "string"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ]
      -  },
      -  "counterpartyId": {
      -    "anyOf": [
      -      {
      -        "type": "string"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ]
      -  },
      -  "counterpartyNotes": {
      -    "anyOf": [
      -      {
      -        "type": "string"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ]
      -  },
      -  "counterpartyRelationshipType": {
      -    "anyOf": [
      -      {
      -        "enum": [
      -          "vendor",
      -          "client",
      -          "partner",
      -          "other"
      -        ],
      -        "type": "string"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ]
      -  },
      -  "customFieldValues": {
      -    "additionalProperties": {
      -      "$ref": "#/definitions/__schema1"
      -    },
      -    "default": {},
      -    "propertyNames": {
      -      "type": "string"
      -    },
      -    "type": "object"
      -  },
      -  "description": {
      -    "default": "",
      -    "type": "string"
      -  },
      -  "endDate": {
      -    "anyOf": [
      -      {
      -        "type": "string"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ]
      -  },
      -  "financialAnnualValue": {
      -    "anyOf": [
      -      {
      -        "type": "string"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ]
      -  },
      -  "financialSummary": {
      -    "anyOf": [
      -      {
      -        "maxLength": 2000,
      -        "type": "string"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ]
      -  },
      -  "financialTotalValue": {
      -    "anyOf": [
      -      {
      -        "type": "string"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ]
      -  },
      -  "financialValueCurrency": {
      -    "anyOf": [
      -      {
      -        "maxLength": 3,
      -        "minLength": 3,
      -        "pattern": "^[A-Za-z]{3}$",
      -        "type": "string"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ]
      -  },
      -  "governingLaw": {
      -    "anyOf": [
      -      {
      -        "type": "string"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ]
      -  },
      -  "isExclusive": {
      -    "anyOf": [
      -      {
      -        "type": "boolean"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ]
      -  },
      -  "isOpenEnded": {
      -    "default": false,
      -    "type": "boolean"
      -  },
      -  "jurisdiction": {
      -    "anyOf": [
      -      {
      -        "type": "string"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ]
      -  },
      -  "liabilityCapAmount": {
      -    "anyOf": [
      -      {
      -        "type": "string"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ]
      -  },
      -  "liabilityCapCurrency": {
      -    "anyOf": [
      -      {
      -        "maxLength": 3,
      -        "minLength": 3,
      -        "pattern": "^[A-Za-z]{3}$",
      -        "type": "string"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ]
      -  },
      -  "liabilitySummary": {
      -    "anyOf": [
      -      {
      -        "type": "string"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ]
      -  },
      -  "noticeInstructions": {
      -    "anyOf": [
      -      {
      -        "type": "string"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ]
      -  },
      -  "noticePeriodUnit": {
      -    "default": "months",
      -    "enum": [
      -      "days",
      -      "weeks",
      -      "months",
      -      "quarters",
      -      "years"
      -    ],
      -    "type": "string"
      -  },
      -  "noticePeriodValue": {
      -    "anyOf": [
      -      {
      -        "exclusiveMinimum": 0,
      -        "maximum": 9007199254740991,
      -        "type": "integer"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ],
      -    "default": 1
      -  },
      -  "ownerUserId": {
      -    "anyOf": [
      -      {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ]
      -  },
      -  "parentContractId": {
      -    "anyOf": [
      -      {
      -        "format": "uuid",
      -        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -        "type": "string"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ]
      -  },
      -  "parties": {
      -    "default": [],
      -    "items": {
      -      "properties": {
      -        "counterpartyId": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "Existing party ID only when the extracted legalName matches the stored legalName"
      -        },
      -        "isPrimary": {
      -          "description": "Party A and Party B are primary for their roles",
      -          "type": "boolean"
      -        },
      -        "legalName": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "Exact registered/legal name from the document, if available"
      -        },
      -        "name": {
      -          "description": "Application display name in the requested output language",
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "notes": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "role": {
      -          "default": "third_party",
      -          "description": "party_a = our org, party_b = the main counterparty, third_party = other external parties",
      -          "enum": [
      -            "party_a",
      -            "party_b",
      -            "third_party"
      -          ],
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "name"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "partiesSummary": {
      -    "anyOf": [
      -      {
      -        "type": "string"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ]
      -  },
      -  "renewalPeriodUnit": {
      -    "anyOf": [
      -      {
      -        "enum": [
      -          "days",
      -          "weeks",
      -          "months",
      -          "quarters",
      -          "years"
      -        ],
      -        "type": "string"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ],
      -    "default": "years"
      -  },
      -  "renewalPeriodValue": {
      -    "anyOf": [
      -      {
      -        "exclusiveMinimum": 0,
      -        "maximum": 9007199254740991,
      -        "type": "integer"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ],
      -    "default": 1
      -  },
      -  "startDate": {
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "status": {
      -    "default": "active",
      -    "enum": [
      -      "active",
      -      "notice-given",
      -      "terminated",
      -      "expired"
      -    ],
      -    "type": "string"
      -  },
      -  "summary": {
      -    "anyOf": [
      -      {
      -        "properties": {
      -          "amendmentTerms": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "analysis": {
      -            "anyOf": [
      -              {
      -                "properties": {
      -                  "deviations": {
      -                    "anyOf": [
      -                      {
      -                        "items": {
      -                          "properties": {
      -                            "derivedFrom": {
      -                              "anyOf": [
      -                                {
      -                                  "items": {
      -                                    "type": "string"
      -                                  },
      -                                  "type": "array"
      -                                },
      -                                {
      -                                  "type": "null"
      -                                }
      -                              ]
      -                            },
      -                            "evidenceQuote": {
      -                              "anyOf": [
      -                                {
      -                                  "type": "string"
      -                                },
      -                                {
      -                                  "type": "null"
      -                                }
      -                              ],
      -                              "description": "Compact evidence reference (for example EU-12 | exact short quote; newline-separated refs are allowed for separate supporting lines) when numbered evidence units are supplied, or a VERBATIM span copied exactly from the contract text otherwise. Used to highlight the clause in the document viewer. Omit only if no single unit/span applies."
      -                            },
      -                            "expected": {
      -                              "type": "string"
      -                            },
      -                            "found": {
      -                              "type": "string"
      -                            },
      -                            "headline": {
      -                              "anyOf": [
      -                                {
      -                                  "type": "string"
      -                                },
      -                                {
      -                                  "type": "null"
      -                                }
      -                              ],
      -                              "description": "<=10-word plain-language impact for the reviewing org (party_a); glanceable title"
      -                            },
      -                            "playbookRuleId": {
      -                              "anyOf": [
      -                                {
      -                                  "type": "string"
      -                                },
      -                                {
      -                                  "type": "null"
      -                                }
      -                              ]
      -                            },
      -                            "severity": {
      -                              "default": "medium",
      -                              "enum": [
      -                                "low",
      -                                "medium",
      -                                "high"
      -                              ],
      -                              "type": "string"
      -                            }
      -                          },
      -                          "required": [
      -                            "severity",
      -                            "expected",
      -                            "found"
      -                          ],
      -                          "type": "object"
      -                        },
      -                        "type": "array"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  },
      -                  "gaps": {
      -                    "anyOf": [
      -                      {
      -                        "items": {
      -                          "properties": {
      -                            "context": {
      -                              "anyOf": [
      -                                {
      -                                  "type": "string"
      -                                },
      -                                {
      -                                  "type": "null"
      -                                }
      -                              ],
      -                              "description": "Why the term is unclear or missing"
      -                            },
      -                            "derivedFrom": {
      -                              "anyOf": [
      -                                {
      -                                  "items": {
      -                                    "type": "string"
      -                                  },
      -                                  "type": "array"
      -                                },
      -                                {
      -                                  "type": "null"
      -                                }
      -                              ]
      -                            },
      -                            "evidenceQuote": {
      -                              "anyOf": [
      -                                {
      -                                  "type": "string"
      -                                },
      -                                {
      -                                  "type": "null"
      -                                }
      -                              ],
      -                              "description": "Compact evidence reference (for example EU-12 | exact short quote; newline-separated refs are allowed for separate supporting lines) when numbered evidence units are supplied, or a VERBATIM span copied exactly from the contract text otherwise. Used to highlight the clause in the document viewer. Omit only if no single unit/span applies."
      -                            },
      -                            "headline": {
      -                              "anyOf": [
      -                                {
      -                                  "type": "string"
      -                                },
      -                                {
      -                                  "type": "null"
      -                                }
      -                              ],
      -                              "description": "<=10-word plain-language impact for the reviewing org (party_a); glanceable title"
      -                            },
      -                            "impact": {
      -                              "anyOf": [
      -                                {
      -                                  "type": "string"
      -                                },
      -                                {
      -                                  "type": "null"
      -                                }
      -                              ]
      -                            },
      -                            "missing": {
      -                              "description": "Missing or unclear core term",
      -                              "type": "string"
      -                            },
      -                            "severity": {
      -                              "default": "medium",
      -                              "enum": [
      -                                "low",
      -                                "medium",
      -                                "high"
      -                              ],
      -                              "type": "string"
      -                            }
      -                          },
      -                          "required": [
      -                            "missing",
      -                            "severity"
      -                          ],
      -                          "type": "object"
      -                        },
      -                        "type": "array"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  },
      -                  "obligations": {
      -                    "anyOf": [
      -                      {
      -                        "items": {
      -                          "properties": {
      -                            "action": {
      -                              "description": "Obligation or commitment",
      -                              "type": "string"
      -                            },
      -                            "derivedFrom": {
      -                              "anyOf": [
      -                                {
      -                                  "items": {
      -                                    "type": "string"
      -                                  },
      -                                  "type": "array"
      -                                },
      -                                {
      -                                  "type": "null"
      -                                }
      -                              ]
      -                            },
      -                            "dueDate": {
      -                              "anyOf": [
      -                                {
      -                                  "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      -                                  "type": "string"
      -                                },
      -                                {
      -                                  "type": "null"
      -                                }
      -                              ]
      -                            },
      -                            "evidenceQuote": {
      -                              "anyOf": [
      -                                {
      -                                  "type": "string"
      -                                },
      -                                {
      -                                  "type": "null"
      -                                }
      -                              ],
      -                              "description": "Compact evidence reference (for example EU-12 | exact short quote; newline-separated refs are allowed for separate supporting lines) when numbered evidence units are supplied, or a VERBATIM span copied exactly from the contract text otherwise. Used to highlight the clause in the document viewer. Omit only if no single unit/span applies."
      -                            },
      -                            "headline": {
      -                              "anyOf": [
      -                                {
      -                                  "type": "string"
      -                                },
      -                                {
      -                                  "type": "null"
      -                                }
      -                              ],
      -                              "description": "<=10-word plain-language impact for the reviewing org (party_a); glanceable title"
      -                            },
      -                            "party": {
      -                              "anyOf": [
      -                                {
      -                                  "enum": [
      -                                    "party_a",
      -                                    "party_b",
      -                                    "third_party",
      -                                    "mutual"
      -                                  ],
      -                                  "type": "string"
      -                                },
      -                                {
      -                                  "type": "null"
      -                                }
      -                              ],
      -                              "description": "party_a = our org, party_b = counterparty, third_party = others, mutual = both parties"
      -                            },
      -                            "recurrenceInterval": {
      -                              "anyOf": [
      -                                {
      -                                  "type": "number"
      -                                },
      -                                {
      -                                  "type": "null"
      -                                }
      -                              ]
      -                            },
      -                            "recurrenceUnit": {
      -                              "anyOf": [
      -                                {
      -                                  "enum": [
      -                                    "days",
      -                                    "weeks",
      -                                    "months",
      -                                    "quarters",
      -                                    "years"
      -                                  ],
      -                                  "type": "string"
      -                                },
      -                                {
      -                                  "type": "null"
      -                                }
      -                              ]
      -                            },
      -                            "severity": {
      -                              "default": "medium",
      -                              "enum": [
      -                                "low",
      -                                "medium",
      -                                "high"
      -                              ],
      -                              "type": "string"
      -                            },
      -                            "timingType": {
      -                              "anyOf": [
      -                                {
      -                                  "enum": [
      -                                    "scheduled",
      -                                    "recurring",
      -                                    "triggered",
      -                                    "none"
      -                                  ],
      -                                  "type": "string"
      -                                },
      -                                {
      -                                  "type": "null"
      -                                }
      -                              ]
      -                            },
      -                            "triggerEvent": {
      -                              "anyOf": [
      -                                {
      -                                  "type": "string"
      -                                },
      -                                {
      -                                  "type": "null"
      -                                }
      -                              ]
      -                            },
      -                            "windowRelation": {
      -                              "anyOf": [
      -                                {
      -                                  "enum": [
      -                                    "within",
      -                                    "after",
      -                                    "before"
      -                                  ],
      -                                  "type": "string"
      -                                },
      -                                {
      -                                  "type": "null"
      -                                }
      -                              ]
      -                            },
      -                            "windowUnit": {
      -                              "anyOf": [
      -                                {
      -                                  "enum": [
      -                                    "days",
      -                                    "weeks",
      -                                    "months",
      -                                    "quarters",
      -                                    "years"
      -                                  ],
      -                                  "type": "string"
      -                                },
      -                                {
      -                                  "type": "null"
      -                                }
      -                              ]
      -                            },
      -                            "windowValue": {
      -                              "anyOf": [
      -                                {
      -                                  "type": "number"
      -                                },
      -                                {
      -                                  "type": "null"
      -                                }
      -                              ]
      -                            }
      -                          },
      -                          "required": [
      -                            "action",
      -                            "severity"
      -                          ],
      -                          "type": "object"
      -                        },
      -                        "type": "array"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  },
      -                  "overallRisk": {
      -                    "anyOf": [
      -                      {
      -                        "enum": [
      -                          "high",
      -                          "moderate",
      -                          "low"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  },
      -                  "riskAllocation": {
      -                    "anyOf": [
      -                      {
      -                        "items": {
      -                          "properties": {
      -                            "category": {
      -                              "anyOf": [
      -                                {
      -                                  "type": "string"
      -                                },
      -                                {
      -                                  "type": "null"
      -                                }
      -                              ],
      -                              "description": "e.g. indemnity, limitation of liability, waiver, disclaimer, insurance"
      -                            },
      -                            "clause": {
      -                              "description": "Risk allocation term summary",
      -                              "type": "string"
      -                            },
      -                            "derivedFrom": {
      -                              "anyOf": [
      -                                {
      -                                  "items": {
      -                                    "type": "string"
      -                                  },
      -                                  "type": "array"
      -                                },
      -                                {
      -                                  "type": "null"
      -                                }
      -                              ]
      -                            },
      -                            "evidenceQuote": {
      -                              "anyOf": [
      -                                {
      -                                  "type": "string"
      -                                },
      -                                {
      -                                  "type": "null"
      -                                }
      -                              ],
      -                              "description": "Compact evidence reference (for example EU-12 | exact short quote; newline-separated refs are allowed for separate supporting lines) when numbered evidence units are supplied, or a VERBATIM span copied exactly from the contract text otherwise. Used to highlight the clause in the document viewer. Omit only if no single unit/span applies."
      -                            },
      -                            "favors": {
      -                              "anyOf": [
      -                                {
      -                                  "enum": [
      -                                    "us",
      -                                    "counterparty",
      -                                    "mutual"
      -                                  ],
      -                                  "type": "string"
      -                                },
      -                                {
      -                                  "type": "null"
      -                                }
      -                              ]
      -                            },
      -                            "headline": {
      -                              "anyOf": [
      -                                {
      -                                  "type": "string"
      -                                },
      -                                {
      -                                  "type": "null"
      -                                }
      -                              ],
      -                              "description": "<=10-word plain-language impact for the reviewing org (party_a); glanceable title"
      -                            },
      -                            "rationale": {
      -                              "anyOf": [
      -                                {
      -                                  "type": "string"
      -                                },
      -                                {
      -                                  "type": "null"
      -                                }
      -                              ]
      -                            },
      -                            "severity": {
      -                              "default": "medium",
      -                              "enum": [
      -                                "low",
      -                                "medium",
      -                                "high"
      -                              ],
      -                              "type": "string"
      -                            }
      -                          },
      -                          "required": [
      -                            "clause",
      -                            "severity"
      -                          ],
      -                          "type": "object"
      -                        },
      -                        "type": "array"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  },
      -                  "risks": {
      -                    "anyOf": [
      -                      {
      -                        "items": {
      -                          "properties": {
      -                            "category": {
      -                              "anyOf": [
      -                                {
      -                                  "type": "string"
      -                                },
      -                                {
      -                                  "type": "null"
      -                                }
      -                              ],
      -                              "description": "e.g. term, termination, liability, payment, ip, assignment, confidentiality, dispute"
      -                            },
      -                            "derivedFrom": {
      -                              "anyOf": [
      -                                {
      -                                  "items": {
      -                                    "type": "string"
      -                                  },
      -                                  "type": "array"
      -                                },
      -                                {
      -                                  "type": "null"
      -                                }
      -                              ]
      -                            },
      -                            "evidenceQuote": {
      -                              "anyOf": [
      -                                {
      -                                  "type": "string"
      -                                },
      -                                {
      -                                  "type": "null"
      -                                }
      -                              ],
      -                              "description": "Compact evidence reference (for example EU-12 | exact short quote; newline-separated refs are allowed for separate supporting lines) when numbered evidence units are supplied, or a VERBATIM span copied exactly from the contract text otherwise. Used to highlight the clause in the document viewer. Omit only if no single unit/span applies."
      -                            },
      -                            "headline": {
      -                              "anyOf": [
      -                                {
      -                                  "type": "string"
      -                                },
      -                                {
      -                                  "type": "null"
      -                                }
      -                              ],
      -                              "description": "<=10-word plain-language impact for the reviewing org (party_a); glanceable title"
      -                            },
      -                            "issue": {
      -                              "description": "Short label of the concern",
      -                              "type": "string"
      -                            },
      -                            "rationale": {
      -                              "anyOf": [
      -                                {
      -                                  "type": "string"
      -                                },
      -                                {
      -                                  "type": "null"
      -                                }
      -                              ]
      -                            },
      -                            "severity": {
      -                              "default": "medium",
      -                              "enum": [
      -                                "low",
      -                                "medium",
      -                                "high"
      -                              ],
      -                              "type": "string"
      -                            }
      -                          },
      -                          "required": [
      -                            "severity",
      -                            "issue"
      -                          ],
      -                          "type": "object"
      -                        },
      -                        "type": "array"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  },
      -                  "summary": {
      -                    "anyOf": [
      -                      {
      -                        "type": "string"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  },
      -                  "warranties": {
      -                    "anyOf": [
      -                      {
      -                        "items": {
      -                          "properties": {
      -                            "derivedFrom": {
      -                              "anyOf": [
      -                                {
      -                                  "items": {
      -                                    "type": "string"
      -                                  },
      -                                  "type": "array"
      -                                },
      -                                {
      -                                  "type": "null"
      -                                }
      -                              ]
      -                            },
      -                            "evidenceQuote": {
      -                              "anyOf": [
      -                                {
      -                                  "type": "string"
      -                                },
      -                                {
      -                                  "type": "null"
      -                                }
      -                              ],
      -                              "description": "Compact evidence reference (for example EU-12 | exact short quote; newline-separated refs are allowed for separate supporting lines) when numbered evidence units are supplied, or a VERBATIM span copied exactly from the contract text otherwise. Used to highlight the clause in the document viewer. Omit only if no single unit/span applies."
      -                            },
      -                            "headline": {
      -                              "anyOf": [
      -                                {
      -                                  "type": "string"
      -                                },
      -                                {
      -                                  "type": "null"
      -                                }
      -                              ],
      -                              "description": "<=10-word plain-language impact for the reviewing org (party_a); glanceable title"
      -                            },
      -                            "party": {
      -                              "anyOf": [
      -                                {
      -                                  "enum": [
      -                                    "party_a",
      -                                    "party_b",
      -                                    "third_party",
      -                                    "mutual"
      -                                  ],
      -                                  "type": "string"
      -                                },
      -                                {
      -                                  "type": "null"
      -                                }
      -                              ],
      -                              "description": "party_a = our org, party_b = counterparty, third_party = others, mutual = both parties"
      -                            },
      -                            "severity": {
      -                              "default": "medium",
      -                              "enum": [
      -                                "low",
      -                                "medium",
      -                                "high"
      -                              ],
      -                              "type": "string"
      -                            },
      -                            "statement": {
      -                              "description": "Representation, warranty, or guarantee",
      -                              "type": "string"
      -                            }
      -                          },
      -                          "required": [
      -                            "statement",
      -                            "severity"
      -                          ],
      -                          "type": "object"
      -                        },
      -                        "type": "array"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  }
      -                },
      -                "type": "object"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "annualValue": {
      -            "anyOf": [
      -              {
      -                "type": "number"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "Legacy alias of annualized value"
      -          },
      -          "autoRenewing": {
      -            "anyOf": [
      -              {
      -                "type": "boolean"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "True if the agreement auto-renews"
      -          },
      -          "categoryId": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "categoryIsNew": {
      -            "anyOf": [
      -              {
      -                "type": "boolean"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "categoryName": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "categoryNewName": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "confidentialityClause": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "contractId": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "counterpartyId": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "Existing counterparty ID only when legal names match; never match by display name only"
      -          },
      -          "counterpartyIsNew": {
      -            "anyOf": [
      -              {
      -                "type": "boolean"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "counterpartyName": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "Matched counterparty display name in the requested output language"
      -          },
      -          "counterpartyNewAddressCity": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "counterpartyNewAddressCountry": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "counterpartyNewAddressLine1": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "counterpartyNewAddressLine2": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "counterpartyNewAddressPostalCode": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "counterpartyNewAddressState": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "counterpartyNewContactDisplayName": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "Application display name for the contact person in the requested output language"
      -          },
      -          "counterpartyNewContactEmail": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "counterpartyNewContactName": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "Exact contact person name from the source document, if available"
      -          },
      -          "counterpartyNewContactPhone": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "counterpartyNewContactRole": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "counterpartyNewEmail": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "counterpartyNewLegalName": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "Exact registered/legal name for a new counterparty, if available"
      -          },
      -          "counterpartyNewName": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "Application display name for a new counterparty in the requested output language"
      -          },
      -          "counterpartyNewPhone": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "counterpartyNewRegistrationNumber": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "counterpartyNewTaxId": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "counterpartyNewType": {
      -            "anyOf": [
      -              {
      -                "enum": [
      -                  "individual",
      -                  "company",
      -                  "non-profit",
      -                  "government"
      -                ],
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "counterpartyNewWebsite": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "currency": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "customFieldValues": {
      -            "anyOf": [
      -              {
      -                "additionalProperties": {
      -                  "$ref": "#/definitions/__schema1"
      -                },
      -                "propertyNames": {
      -                  "type": "string"
      -                },
      -                "type": "object"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "description": {
      -            "anyOf": [
      -              {
      -                "maxLength": 1000,
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "disputeResolution": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "endDate": {
      -            "anyOf": [
      -              {
      -                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "End date in YYYY-MM-DD if stated or computable"
      -          },
      -          "events": {
      -            "anyOf": [
      -              {
      -                "items": {
      -                  "properties": {
      -                    "date": {
      -                      "anyOf": [
      -                        {
      -                          "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ]
      -                    },
      -                    "description": {
      -                      "anyOf": [
      -                        {
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ]
      -                    },
      -                    "recurrenceInterval": {
      -                      "anyOf": [
      -                        {
      -                          "type": "number"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ]
      -                    },
      -                    "recurrenceUnit": {
      -                      "anyOf": [
      -                        {
      -                          "enum": [
      -                            "days",
      -                            "weeks",
      -                            "months",
      -                            "quarters",
      -                            "years"
      -                          ],
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ]
      -                    },
      -                    "title": {
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "title"
      -                  ],
      -                  "type": "object"
      -                },
      -                "type": "array"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "evidence": {
      -            "anyOf": [
      -              {
      -                "additionalProperties": {
      -                  "anyOf": [
      -                    {
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "propertyNames": {
      -                  "type": "string"
      -                },
      -                "type": "object"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "exclusivityDetails": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "fieldEvidence": {
      -            "anyOf": [
      -              {
      -                "properties": {
      -                  "counterpartyName": {
      -                    "anyOf": [
      -                      {
      -                        "type": "string"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ],
      -                    "description": "Compact evidence reference (for example EU-12 | exact short quote; newline-separated refs are allowed for separate supporting lines) when numbered evidence units are supplied, or a VERBATIM span copied exactly from the contract text otherwise. Used to highlight where the field was extracted from. Omit if the value is not stated in a single locatable unit/span."
      -                  },
      -                  "endDate": {
      -                    "anyOf": [
      -                      {
      -                        "type": "string"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ],
      -                    "description": "Compact evidence reference (for example EU-12 | exact short quote; newline-separated refs are allowed for separate supporting lines) when numbered evidence units are supplied, or a VERBATIM span copied exactly from the contract text otherwise. Used to highlight where the field was extracted from. Omit if the value is not stated in a single locatable unit/span."
      -                  },
      -                  "financialAnnualValue": {
      -                    "anyOf": [
      -                      {
      -                        "type": "string"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ],
      -                    "description": "Compact evidence reference (for example EU-12 | exact short quote; newline-separated refs are allowed for separate supporting lines) when numbered evidence units are supplied, or a VERBATIM span copied exactly from the contract text otherwise. Used to highlight where the field was extracted from. Omit if the value is not stated in a single locatable unit/span."
      -                  },
      -                  "financialTotalValue": {
      -                    "anyOf": [
      -                      {
      -                        "type": "string"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ],
      -                    "description": "Compact evidence reference (for example EU-12 | exact short quote; newline-separated refs are allowed for separate supporting lines) when numbered evidence units are supplied, or a VERBATIM span copied exactly from the contract text otherwise. Used to highlight where the field was extracted from. Omit if the value is not stated in a single locatable unit/span."
      -                  },
      -                  "governingLaw": {
      -                    "anyOf": [
      -                      {
      -                        "type": "string"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ],
      -                    "description": "Compact evidence reference (for example EU-12 | exact short quote; newline-separated refs are allowed for separate supporting lines) when numbered evidence units are supplied, or a VERBATIM span copied exactly from the contract text otherwise. Used to highlight where the field was extracted from. Omit if the value is not stated in a single locatable unit/span."
      -                  },
      -                  "jurisdiction": {
      -                    "anyOf": [
      -                      {
      -                        "type": "string"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ],
      -                    "description": "Compact evidence reference (for example EU-12 | exact short quote; newline-separated refs are allowed for separate supporting lines) when numbered evidence units are supplied, or a VERBATIM span copied exactly from the contract text otherwise. Used to highlight where the field was extracted from. Omit if the value is not stated in a single locatable unit/span."
      -                  },
      -                  "liabilityCapAmount": {
      -                    "anyOf": [
      -                      {
      -                        "type": "string"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ],
      -                    "description": "Compact evidence reference (for example EU-12 | exact short quote; newline-separated refs are allowed for separate supporting lines) when numbered evidence units are supplied, or a VERBATIM span copied exactly from the contract text otherwise. Used to highlight where the field was extracted from. Omit if the value is not stated in a single locatable unit/span."
      -                  },
      -                  "noticePeriodValue": {
      -                    "anyOf": [
      -                      {
      -                        "type": "string"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ],
      -                    "description": "Compact evidence reference (for example EU-12 | exact short quote; newline-separated refs are allowed for separate supporting lines) when numbered evidence units are supplied, or a VERBATIM span copied exactly from the contract text otherwise. Used to highlight where the field was extracted from. Omit if the value is not stated in a single locatable unit/span."
      -                  },
      -                  "partyList": {
      -                    "anyOf": [
      -                      {
      -                        "type": "string"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ],
      -                    "description": "Smallest table, lines, or clause that names the extracted contract parties"
      -                  },
      -                  "renewalPeriodValue": {
      -                    "anyOf": [
      -                      {
      -                        "type": "string"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ],
      -                    "description": "Compact evidence reference (for example EU-12 | exact short quote; newline-separated refs are allowed for separate supporting lines) when numbered evidence units are supplied, or a VERBATIM span copied exactly from the contract text otherwise. Used to highlight where the field was extracted from. Omit if the value is not stated in a single locatable unit/span."
      -                  },
      -                  "startDate": {
      -                    "anyOf": [
      -                      {
      -                        "type": "string"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ],
      -                    "description": "Compact evidence reference (for example EU-12 | exact short quote; newline-separated refs are allowed for separate supporting lines) when numbered evidence units are supplied, or a VERBATIM span copied exactly from the contract text otherwise. Used to highlight where the field was extracted from. Omit if the value is not stated in a single locatable unit/span."
      -                  }
      -                },
      -                "type": "object"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "financialAnnualValue": {
      -            "anyOf": [
      -              {
      -                "type": "number"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "Annualized value for recurring payments"
      -          },
      -          "financialSummary": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "Short summary of the payment terms"
      -          },
      -          "financialTotalValue": {
      -            "anyOf": [
      -              {
      -                "type": "number"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "Total contract value for one-off payments"
      -          },
      -          "financialValueCurrency": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "Currency code for monetary values"
      -          },
      -          "forceMajeureClause": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "governingLaw": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "indemnityClause": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "intellectualPropertyRights": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "isExclusive": {
      -            "anyOf": [
      -              {
      -                "type": "boolean"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "isOpenEnded": {
      -            "anyOf": [
      -              {
      -                "type": "boolean"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "True if the agreement has no end date"
      -          },
      -          "jurisdiction": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "liabilityCapAmount": {
      -            "anyOf": [
      -              {
      -                "type": "number"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "liabilityCapCurrency": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "liabilitySummary": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "limitationOfLiability": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "noticeInstructions": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "noticePeriodUnit": {
      -            "anyOf": [
      -              {
      -                "enum": [
      -                  "days",
      -                  "weeks",
      -                  "months",
      -                  "quarters",
      -                  "years"
      -                ],
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "Notice period unit"
      -          },
      -          "noticePeriodValue": {
      -            "anyOf": [
      -              {
      -                "type": "number"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "Notice period length"
      -          },
      -          "parties": {
      -            "anyOf": [
      -              {
      -                "items": {
      -                  "properties": {
      -                    "address": {
      -                      "anyOf": [
      -                        {
      -                          "properties": {
      -                            "city": {
      -                              "anyOf": [
      -                                {
      -                                  "type": "string"
      -                                },
      -                                {
      -                                  "type": "null"
      -                                }
      -                              ]
      -                            },
      -                            "country": {
      -                              "anyOf": [
      -                                {
      -                                  "type": "string"
      -                                },
      -                                {
      -                                  "type": "null"
      -                                }
      -                              ]
      -                            },
      -                            "line1": {
      -                              "anyOf": [
      -                                {
      -                                  "type": "string"
      -                                },
      -                                {
      -                                  "type": "null"
      -                                }
      -                              ]
      -                            },
      -                            "line2": {
      -                              "anyOf": [
      -                                {
      -                                  "type": "string"
      -                                },
      -                                {
      -                                  "type": "null"
      -                                }
      -                              ]
      -                            },
      -                            "postalCode": {
      -                              "anyOf": [
      -                                {
      -                                  "type": "string"
      -                                },
      -                                {
      -                                  "type": "null"
      -                                }
      -                              ]
      -                            },
      -                            "stateProvince": {
      -                              "anyOf": [
      -                                {
      -                                  "type": "string"
      -                                },
      -                                {
      -                                  "type": "null"
      -                                }
      -                              ]
      -                            }
      -                          },
      -                          "type": "object"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ]
      -                    },
      -                    "contacts": {
      -                      "anyOf": [
      -                        {
      -                          "items": {
      -                            "properties": {
      -                              "displayName": {
      -                                "anyOf": [
      -                                  {
      -                                    "type": "string"
      -                                  },
      -                                  {
      -                                    "type": "null"
      -                                  }
      -                                ],
      -                                "description": "Application display name in the requested output language"
      -                              },
      -                              "email": {
      -                                "anyOf": [
      -                                  {
      -                                    "type": "string"
      -                                  },
      -                                  {
      -                                    "type": "null"
      -                                  }
      -                                ]
      -                              },
      -                              "isPrimary": {
      -                                "anyOf": [
      -                                  {
      -                                    "type": "boolean"
      -                                  },
      -                                  {
      -                                    "type": "null"
      -                                  }
      -                                ]
      -                              },
      -                              "name": {
      -                                "anyOf": [
      -                                  {
      -                                    "type": "string"
      -                                  },
      -                                  {
      -                                    "type": "null"
      -                                  }
      -                                ],
      -                                "description": "Exact person name from the source document"
      -                              },
      -                              "phone": {
      -                                "anyOf": [
      -                                  {
      -                                    "type": "string"
      -                                  },
      -                                  {
      -                                    "type": "null"
      -                                  }
      -                                ]
      -                              },
      -                              "title": {
      -                                "anyOf": [
      -                                  {
      -                                    "type": "string"
      -                                  },
      -                                  {
      -                                    "type": "null"
      -                                  }
      -                                ]
      -                              }
      -                            },
      -                            "type": "object"
      -                          },
      -                          "type": "array"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ],
      -                      "description": "Reusable contact people, kept separate from contract signers"
      -                    },
      -                    "counterpartyId": {
      -                      "anyOf": [
      -                        {
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ],
      -                      "description": "Existing party ID only when the extracted legalName matches the stored legalName"
      -                    },
      -                    "email": {
      -                      "anyOf": [
      -                        {
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ]
      -                    },
      -                    "isPrimary": {
      -                      "anyOf": [
      -                        {
      -                          "type": "boolean"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ],
      -                      "description": "Party A and Party B are primary for their roles; only one primary per role"
      -                    },
      -                    "legalName": {
      -                      "anyOf": [
      -                        {
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ],
      -                      "description": "Exact registered/legal name from the document, if available"
      -                    },
      -                    "name": {
      -                      "anyOf": [
      -                        {
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ],
      -                      "description": "Application display name in the requested output language"
      -                    },
      -                    "notes": {
      -                      "anyOf": [
      -                        {
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ]
      -                    },
      -                    "phone": {
      -                      "anyOf": [
      -                        {
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ]
      -                    },
      -                    "registrationNumber": {
      -                      "anyOf": [
      -                        {
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ]
      -                    },
      -                    "role": {
      -                      "anyOf": [
      -                        {
      -                          "enum": [
      -                            "party_a",
      -                            "party_b",
      -                            "third_party"
      -                          ],
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ],
      -                      "description": "party_a = our org, party_b = counterparty, third_party = others"
      -                    },
      -                    "signers": {
      -                      "anyOf": [
      -                        {
      -                          "items": {
      -                            "properties": {
      -                              "email": {
      -                                "anyOf": [
      -                                  {
      -                                    "type": "string"
      -                                  },
      -                                  {
      -                                    "type": "null"
      -                                  }
      -                                ]
      -                              },
      -                              "name": {
      -                                "anyOf": [
      -                                  {
      -                                    "type": "string"
      -                                  },
      -                                  {
      -                                    "type": "null"
      -                                  }
      -                                ]
      -                              },
      -                              "signedAt": {
      -                                "anyOf": [
      -                                  {
      -                                    "anyOf": [
      -                                      {
      -                                        "format": "date",
      -                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      -                                        "type": "string"
      -                                      },
      -                                      {
      -                                        "format": "date-time",
      -                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      -                                        "type": "string"
      -                                      }
      -                                    ]
      -                                  },
      -                                  {
      -                                    "type": "null"
      -                                  }
      -                                ],
      -                                "description": "Signature date or timestamp when explicitly stated"
      -                              },
      -                              "title": {
      -                                "anyOf": [
      -                                  {
      -                                    "type": "string"
      -                                  },
      -                                  {
      -                                    "type": "null"
      -                                  }
      -                                ]
      -                              }
      -                            },
      -                            "type": "object"
      -                          },
      -                          "type": "array"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ],
      -                      "description": "Identified structured signers attributed to this party, never legacy role-attribution guesses"
      -                    },
      -                    "taxId": {
      -                      "anyOf": [
      -                        {
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ]
      -                    },
      -                    "type": {
      -                      "anyOf": [
      -                        {
      -                          "enum": [
      -                            "individual",
      -                            "company",
      -                            "non-profit",
      -                            "government"
      -                          ],
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ]
      -                    },
      -                    "website": {
      -                      "anyOf": [
      -                        {
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ]
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "type": "array"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "Full profiles for Party A, Party B, and additional third parties"
      -          },
      -          "partiesSummary": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "paymentTerms": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "proposedCategoryFields": {
      -            "anyOf": [
      -              {
      -                "items": {
      -                  "properties": {
      -                    "key": {
      -                      "type": "string"
      -                    },
      -                    "label": {
      -                      "type": "string"
      -                    },
      -                    "options": {
      -                      "anyOf": [
      -                        {
      -                          "items": {
      -                            "type": "string"
      -                          },
      -                          "type": "array"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ]
      -                    },
      -                    "type": {
      -                      "enum": [
      -                        "text",
      -                        "number",
      -                        "date",
      -                        "boolean",
      -                        "currency",
      -                        "percentage",
      -                        "select",
      -                        "multi_select"
      -                      ],
      -                      "type": "string"
      -                    },
      -                    "value": {
      -                      "anyOf": [
      -                        {
      -                          "$ref": "#/definitions/__schema1"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ]
      -                    }
      -                  },
      -                  "required": [
      -                    "label",
      -                    "key",
      -                    "type"
      -                  ],
      -                  "type": "object"
      -                },
      -                "type": "array"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "renewalPeriodUnit": {
      -            "anyOf": [
      -              {
      -                "enum": [
      -                  "days",
      -                  "weeks",
      -                  "months",
      -                  "quarters",
      -                  "years"
      -                ],
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "Renewal period unit"
      -          },
      -          "renewalPeriodValue": {
      -            "anyOf": [
      -              {
      -                "type": "number"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "Renewal period length"
      -          },
      -          "signatureDate": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "signedByPartyA": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "signedByPartyB": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "sourceLanguageCode": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "BCP-47 language code for the dominant language of the source document, or und if unclear"
      -          },
      -          "startDate": {
      -            "anyOf": [
      -              {
      -                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "Start date in YYYY-MM-DD if stated or computable"
      -          },
      -          "status": {
      -            "anyOf": [
      -              {
      -                "enum": [
      -                  "active",
      -                  "notice-given",
      -                  "terminated",
      -                  "expired"
      -                ],
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "terminationClause": {
      -            "anyOf": [
      -              {
      -                "maxLength": 1500,
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "title": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "title"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ]
      -  },
      -  "title": {
      -    "minLength": 1,
      -    "type": "string"
      -  }
      -}
    • removedInput schema / properties / contract / required
      Removed value: -[
      -  "title",
      -  "startDate"
      -]
    • changedInput schema / properties / externalId / description
      Previous value: -"Stable identifier assigned by the source system"New value: +"Real record id in that system; never invent one"
    • changedInput schema / properties / externalSystem / description
      Previous value: -"Source integration identifier (e.g. zapier, docusign, salesforce)"New value: +"Real source system (e.g. zapier, docusign, salesforce); never invent one"
    • changedInput schema / properties / files / description
      Previous value: -"Documents prepared for this contract using the upload preparation capability"New value: +"Prepared contract documents"
    • addedInput schema / properties / files / items / $schema
      Added value: +"http://json-schema.org/draft-07/schema#"
    • changedInput schema / properties / files / items / properties / fileSize / maximum
      Previous value: -26214400New value: +52428800
    • removedInput schema / properties / files / items / properties / r2Key
      Removed value: -{
      -  "minLength": 1,
      -  "type": "string"
      -}
    • addedInput schema / properties / files / items / properties / uploadReference
      Added value: +{
      +  "description": "Opaque prepared-upload reference",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • changedInput schema / properties / files / items / required
      Previous value: -[
      -  "r2Key",
      -  "fileName",
      -  "mimeType",
      -  "fileSize"
      -]New value: +[
      +  "fileName",
      +  "mimeType",
      +  "fileSize",
      +  "uploadReference"
      +]
    • addedInput schema / properties / folderId
      Added value: +{
      +  "description": "Visible folder; omit for unfiled org root. Hidden/invalid IDs create nothing.",
      +  "format": "uuid",
      +  "type": "string"
      +}
    • changedInput schema / properties / metadata / description
      Previous value: -"Optional information supplied by the source system"New value: +"Source-system metadata"
    • changedOutput schema / (root)
      Previous value: -{
      -  "$schema": "http://json-schema.org/draft-07/schema#",
      -  "additionalProperties": false,
      -  "properties": {
      -    "contractId": {
      -      "allOf": [
      -        {
      -          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -          "type": "string"
      -        },
      -        {
      -          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -          "type": "string"
      -        }
      -      ],
      -      "description": "Created contract UUID",
      -      "type": "string"
      -    },
      -    "jobId": {
      -      "description": "Background processing job identifier",
      -      "minLength": 1,
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "contractId",
      -    "jobId"
      -  ],
      -  "type": "object"
      -}New value: +null
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare idempotentHint=true, destructiveHint=false, and readOnlyHint=false, so the description need not restate safety. It does add genuinely new behavior: AI extraction runs regardless of supplied fields, consumption counts against trial caps, no Parser credits are used, retries with identical input and source ids resolve to the same contract, and the call returns processing.jobId. It stops short of describing async timing, failure modes, or what happens on a conflicting existing link, which keeps it below a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Seven short sentences, front-loaded with the routing decision before the cost and return-value details, and each sentence carries a distinct fact. The phrasing is telegraphic in places ("No Parser credits.") but nothing is redundant padding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with a large nested contract schema and no output schema, the description covers the missing pieces an agent most needs: idempotency semantics, quota/cost impact, the alternative tools, and the return value (processing.jobId) that feeds status polling. It does not explain how ingestion interacts with an already-linked record or what the job status lifecycle looks like, which is the remaining gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already carries the per-parameter semantics (externalId, externalSystem, folderId, metadata, allowDuplicate, files, contract). The description reinforces the 'real source ids, never invent' constraint but adds nothing about allowDuplicate, folderId, or metadata usage beyond what the schema documents, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific operation (ingest a contract record) and constrains it to existing records from another system with real source ids, which separates it from uploading brand-new documents. The only weakness is that the alternatives are referred to by human-facing titles ("Import contracts", "Add contract documents") rather than the exact sibling tool names, so an agent must map them itself.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit routing rules: use Import contracts for new documents/attachments, use this tool only for existing records with real source ids, and use Add contract documents for related files. Both a positive condition and two alternatives with their selecting conditions are stated, leaving nothing to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.