Experiments
Schemas
Edit
Edit Schema
Name
*
Name cannot be changed after creation
Version
Version is auto-incremented on changes
Category
Optional category for organization
JSON Schema Content
*
{"$schema":"https://json-schema.org/draft-07/schema","$id":"https://doc-processing-suite/schemas/agreement.schema.json","title":"AgreementDocument","description":"Agreement document data schema","type":"object","properties":{"documentId":{"type":"string","minLength":1},"category":{"type":"string","const":"agreement"},"templateVariant":{"type":"string","default":"default"},"agreementType":{"type":"string","enum":["service_agreement","nda","partnership_agreement","employment_contract","consulting_agreement","license_agreement"]},"title":{"type":"string","minLength":1},"agreementNumber":{"type":"string","minLength":1},"effectiveDate":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"expirationDate":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"parties":{"type":"array","items":{"$ref":"#/$defs/Party"},"minItems":2},"recitals":{"type":"string"},"terms":{"type":"array","items":{"$ref":"#/$defs/Term"},"minItems":1},"signatures":{"type":"array","items":{"$ref":"#/$defs/Signature"},"minItems":2},"governingLaw":{"type":"string","minLength":1},"jurisdiction":{"type":"string","minLength":1}},"required":["documentId","category","agreementType","title","agreementNumber","effectiveDate","parties","terms","signatures","governingLaw","jurisdiction"],"additionalProperties":false,"$defs":{"Person":{"type":"object","properties":{"name":{"type":"string","minLength":1},"title":{"type":"string"},"email":{"type":"string","format":"email"}},"required":["name"],"additionalProperties":false},"Address":{"type":"object","properties":{"street":{"type":"string","minLength":1},"city":{"type":"string","minLength":1},"state":{"type":"string"},"postalCode":{"type":"string","minLength":1},"country":{"type":"string","minLength":1}},"required":["street","city","postalCode","country"],"additionalProperties":false},"Party":{"type":"object","properties":{"name":{"type":"string","minLength":1},"type":{"type":"string","enum":["individual","company"]},"address":{"$ref":"#/$defs/Address"},"representative":{"$ref":"#/$defs/Person"},"registrationNumber":{"type":"string"}},"required":["name","type","address"],"additionalProperties":false},"Term":{"type":"object","properties":{"number":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"content":{"type":"string","minLength":1}},"required":["number","title","content"],"additionalProperties":false},"Signature":{"type":"object","properties":{"name":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"onBehalfOf":{"type":"string"}},"required":["name","title","date"],"additionalProperties":false}}}
Format
Minify
1
Enter a valid JSON Schema definition
Cancel
Update Schema