{ "$schema": "http://json-schema.org/draft-07/schema", "$id": "https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/objects/Document.schema.json", "title": "Object - Document", "description": "Object describing a document", "type": "object", "allOf": [ { "$ref": "https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/primitives/objects/Object.schema.json" } ], "properties": { "object_type": { "const": "DOCUMENT" }, "path": { "description": "Relative path/filename for the document. Path is understood to be a relative location within an associated ZIP archive (packaged separately from the OCF archive) e.g. './acceptance_records/John_Wayne_2017_Grant_Agreement.pdf'", "type": "string" }, "related_objects": { "title": "Document - Related Objects Array", "description": "List of objects which this document is related to", "type": "array", "items": { "$ref": "https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/types/ObjectReference.schema.json" } }, "uri": { "description": "Uniform resource identifier for the document if not using the `path` property and associated ZIP archive separate from the OCF package.", "type": "string" }, "md5": { "description": "MD5 file checksum", "$ref": "https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/types/Md5.schema.json" }, "id": {}, "comments": {} }, "required": ["md5"], "oneOf": [ { "required": ["path"] }, { "required": ["uri"] } ], "additionalProperties": false, "$comment": "Copyright © 2025 Open Cap Table Coalition (https://opencaptablecoalition.com) / Original File: https://github.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/tree/main/schema/objects/Document.schema.json" }