-
Notifications
You must be signed in to change notification settings - Fork 0
Home
OCF is a JSON Schema-based data standard for company capitalization tables developed by the Open Cap Table Coalition. This specification enables AI agents to generate valid OCF objects and transactions from corporate legal documents including incorporation docs, stock purchase agreements, convertible notes, SAFEs, stock option grants, warrant agreements, and board resolutions.
OCF represents cap tables as a collection of JSON files, each containing specific object types. The format uses JSON Schema for validation and supports the complete lifecycle of securities from issuance through conversion, exercise, transfer, and cancellation.
When generating OCF from legal documents:
-
Every object must have a unique
id- Generate UUIDs or use descriptive identifiers -
Set correct
object_typeconstant - Must match schema (e.g., "TX_STOCK_ISSUANCE", "STAKEHOLDER") -
Reference objects by
id- Usestakeholder_id,stock_class_id,security_idto link related objects - Preserve chronological order - Transactions must be dated correctly and sequenced properly
- Validate required fields - Each schema defines required properties that must be present
-
Use proper enums - Values like
stakeholder_type,class_typemust match defined enum values - Model transactions, not just state - OCF is transaction-based; represent each event separately
An OCF package consists of 10 file types, each containing an array of objects:
- OCF_MANIFEST_FILE - Root document with issuer info and file references
- OCF_STAKEHOLDERS_FILE - All stakeholders (investors, employees, founders, institutions)
- OCF_STOCK_CLASSES_FILE - Stock classes (Common, Preferred Series A/B/C, etc.)
- OCF_STOCK_PLANS_FILE - Equity compensation plans
- OCF_VESTING_TERMS_FILE - Vesting schedules
- OCF_FINANCINGS_FILE - Financing rounds grouping related issuances
- OCF_TRANSACTIONS_FILE - All transactions (issuances, conversions, exercises, transfers, adjustments)
- OCF_VALUATIONS_FILE - Company valuations
- OCF_DOCUMENTS_FILE - References to source legal documents
- OCF_STOCK_LEGEND_TEMPLATES_FILE - Stock restriction legends
- Object Types Reference - All foundational objects (Issuer, Stakeholder, StockClass, etc.) and transaction types (issuance, conversion, exercise, transfer, adjustment, vesting)
- Legal Document Mapping - How to translate legal documents (incorporation docs, stock purchase agreements, SAFEs, convertible notes, option grants, warrants, board resolutions) into OCF objects, plus transaction sequencing patterns
- Schema Patterns and Types - Schema composition patterns, core data types, common enumerations, validation requirements, schema documentation links, and sample files
-
Flattened Schemas - ~230 AI-optimized schemas where all
$refandallOfinheritance is resolved into single self-contained JSON files. Includes object schemas, file-level schemas, individual transaction types, and ~130 pre-flattened convertible/warrant issuance variants (one per trigger x conversion right x mechanism combination). Generated byflatten_json_schema.mjs