Skip to content

Commit 74b36d9

Browse files
Add missing schemas, extension examples, and documentation improvements
Phase 1: Missing Schema Files - Create collaboration.schema.json with comments, changes, CRDT metadata - Create forms.schema.json with all form block types and validation - Create security.schema.json with signatures, encryption, access control Phase 2: Extension Marks Integration - Integrate semantic and academic marks into content.schema.json - Update validation scripts for schema dependencies Phase 3: Author/Person Standardization - Add base Person definition with identifier field to anchor.schema.json - Update extension schemas to use allOf composition - Add ORCID recommendation for academic documents Phase 4: Extension Examples - Create academic-document/ with theorems, proofs, exercises, algorithms - Create semantic-document/ with citations, footnotes, glossary - Create forms-document/ with comprehensive form validation examples - Create collaboration-document/ with comments, suggestions, track changes - Create phantoms-document/ with multi-scope annotation clusters Phase 5: Documentation - Add terminology glossary and Person docs to anchors spec - Create spec/extensions/README.md with compatibility matrix - Document extension policies in schemas/README.md - Add conditional validation docs to forms extension - Add CI and license badges to README
1 parent c5d80f4 commit 74b36d9

36 files changed

Lines changed: 3344 additions & 33 deletions

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Codex Document Format
22

3+
[![Validate Schemas](https://github.com/gvonness-apolitical/codex-file-format-spec/actions/workflows/validate-schemas.yml/badge.svg)](https://github.com/gvonness-apolitical/codex-file-format-spec/actions/workflows/validate-schemas.yml)
4+
[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](LICENSE)
5+
36
**An open specification for documents that unify viewing and editing, with modern security and machine readability.**
47

58
> Status: Draft Specification (v0.1)
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"version": "0.1",
3+
"equations": {
4+
"style": "number",
5+
"resetOn": "chapter"
6+
},
7+
"theorems": {
8+
"style": "chapter.number",
9+
"counters": {
10+
"theorem": { "share": ["lemma", "proposition", "corollary"] },
11+
"definition": { "share": [] }
12+
}
13+
},
14+
"algorithms": {
15+
"style": "number",
16+
"resetOn": "none"
17+
},
18+
"exercises": {
19+
"style": "chapter.number",
20+
"resetOn": "chapter"
21+
}
22+
}

0 commit comments

Comments
 (0)