Contract Validation
ivy.agent.contract-validation · v1.0.0
ivyx
Extract contract details from a PDF, validate them against a numeric schema, and report results.
Steps
In the order the agent's file lists them. A branch or a loop is a step too; the wiring between steps is in the file.
- 01Ivy NodePDF Textivy.node.pdf-text
- 02Model turnextract JSON fields from the extracted text
- 03Ivy NodeSchema Validatorivy.node.schema-validator
Nodes it brings
Adding this agent in IVYX Studio adds these nodes with it. A node your workspace already has is kept as it is, even at another version.
What it touches
Collected from what each of its nodes declares, plus the model call when a step is a model turn. A declaration is the author's statement, and it is what policy rules select on.
Inputs
| Field | Type | Description |
|---|---|---|
| pathrequired | string | Path to the PDF file. |
Outputs
| Field | Type | Description |
|---|---|---|
| pages | array | Each page's text. |
| page_count | integer | How many pages the PDF has. |
| contract_json | object | the extracted fields |
| valid | boolean | True when no problem was found. |
| problems | array | One sentence per problem, each naming the path. |
Tests
2 of 2 test cases passed on Oct 1, 2026, in the publisher's own environment, before this version was published. The registry keeps that record; it does not run the cases again.
Requires: python:3.9
- service-agreement
Terms of a 12-month service agreement, checked against the schema.
- maintenance-agreement
Another contract gives other terms.