decision-schema

v1decision

JSON Schema

{"$schema":"https://json-schema.org/draft-07/schema","$id":"https://doc-processing-suite/schemas/decision.schema.json","title":"DecisionDocument","description":"Board and shareholder resolution document data schema","type":"object","properties":{"documentId":{"type":"string","minLength":1},"category":{"type":"string","const":"decision"},"templateVariant":{"type":"string","default":"default"},"decisionType":{"type":"string","enum":["board_resolution","shareholder_resolution","written_resolution","unanimous_consent"]},"resolutionNumber":{"type":"string","minLength":1},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"companyName":{"type":"string","minLength":1},"resolutionTitle":{"type":"string","minLength":1},"resolutionText":{"type":"string","minLength":1},"background":{"type":"string"},"whereas":{"type":"array","items":{"type":"string"}},"resolvedClauses":{"type":"array","items":{"type":"string"},"minItems":1},"votingResults":{"$ref":"#/$defs/VotingResults"},"effectiveDate":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"chairman":{"$ref":"#/$defs/Person"},"secretary":{"$ref":"#/$defs/Person"},"witnesses":{"type":"array","items":{"$ref":"#/$defs/Person"}}},"required":["documentId","category","decisionType","resolutionNumber","date","companyName","resolutionTitle","resolutionText","resolvedClauses","votingResults","chairman"],"additionalProperties":false,"$defs":{"Person":{"type":"object","properties":{"name":{"type":"string","minLength":1},"title":{"type":"string"},"email":{"type":"string","format":"email"}},"required":["name"],"additionalProperties":false},"Vote":{"type":"object","properties":{"voterName":{"type":"string","minLength":1},"vote":{"type":"string","enum":["for","against","abstain"]},"sharesRepresented":{"type":"integer","minimum":1}},"required":["voterName","vote"],"additionalProperties":false},"VotingResults":{"type":"object","properties":{"totalVotes":{"type":"integer","minimum":1},"votesFor":{"type":"integer","minimum":0},"votesAgainst":{"type":"integer","minimum":0},"abstentions":{"type":"integer","minimum":0},"passed":{"type":"boolean"},"votes":{"type":"array","items":{"$ref":"#/$defs/Vote"}}},"required":["totalVotes","votesFor","votesAgainst","abstentions","passed"],"additionalProperties":false}}}
Content Hash: decision-v1-...
Created: 17:34 21/01/2026 (4 days ago)

Quick Actions

Info

This schema defines the structure for extracted document data. It is used by prompts to generate structured outputs from documents.