pdftract/tests/fixtures/profiles/contract/msa-expected.json
jedarden 702306125f feat(pdftract-dtpwa): implement contract profile per Phase 7.10 schema
- Rewrite profiles/builtin/contract/profile.yaml following Phase 7.10 schema
  with match predicates, extraction tuning, and field extractors
- Create tests/fixtures/profiles/contract/ directory with 5 expected outputs
- Add comprehensive regression tests in tests/profiles/test_contract.rs
- Profile extracts: parties, effective_date, term, governing_law, signatures

Fixtures cover: NDA, employment agreement, MSA, service agreement, real estate purchase

Closes: pdftract-dtpwa

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-24 07:10:32 -04:00

21 lines
697 B
JSON

{
"metadata": {
"document_type": "contract",
"document_type_confidence": 0.97,
"document_type_reasons": [
"text_contains matched 'MASTER SERVICES AGREEMENT'",
"text_contains matched 'WHEREAS'",
"text_contains matched 'NOW THEREFORE'",
"structural.page_count in range [2, 200]"
],
"profile_name": "contract",
"profile_version": "1.0.0",
"profile_fields": {
"parties": ["Global Services Provider LLC", "Enterprise Customer Inc."],
"effective_date": "2025-01-01",
"term": "3 years with auto-renewal",
"governing_law": "State of New York",
"signatures": ["Vendor Representative", "Client Representative"]
}
}
}