desktoplab.org /legal/ Document & Legal Mechanics
← All Hubs
Part 1 of 2 Automation Pipeline • JSON Schema Draft 2020-12 • Native PDF AcroForm & DOCX Generator

Visual Form Schema Builder & Template Tagger

Convert plain contract clauses or existing .docx files into structured templates with typed schema fields ({{field_key}}), auto-generate a strict .schema.json definition and sample JSON/XML payload, and export a ready-to-fill .docx or interactive .pdf AcroForm.

1. Source Template & Clause Tagger

2. Schema Field Definitions (6 Fields)

Configure data types, required rules, and default sample values for JSON/XML validation

Field Key ({{...}}) Display Label Data Type Sample / Default Value Req Insert Del


                    
                
Schema-Driven Document Engineering

Supported Schema Field Types & Automated Formatting Rules

Schema Type JSON Schema Representation PDF AcroForm Widget Template Filler Auto-Transform
string { "type": "string", "minLength": 1 } Standard single-line `PDFTextField` Trims whitespace and escapes XML entities (`&`, `<`, `>`).
currency { "type": "number", "minimum": 0 } Numeric `PDFTextField` Formats `1450` as `$1,450.00` and provides `{{field_words}}` (`One Thousand Four Hundred Fifty Dollars`).
date { "type": "string", "format": "date" } ISO Date `PDFTextField` Converts `2026-11-15` into formal legal dates (`November 15, 2026`).
boolean { "type": "boolean" } Interactive `PDFCheckBox` Checks/unchecks PDF checkboxes or outputs `Yes` / `No` in DOCX.