Add missing schemas, extension examples, and documentation improvements#17
Merged
gvonness-apolitical merged 1 commit intomainfrom Feb 1, 2026
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR addresses consistency and completeness issues in the Codex specification:
Changes by Phase
Phase 1: Missing Schema Files
schemas/collaboration.schema.json- Comments, changes, CRDT metadataschemas/forms.schema.json- Form blocks, validation, conditional validationschemas/security.schema.json- Signatures, encryption, access controlPhase 2: Extension Marks Integration
content.schema.jsonto reference semantic/academic extension marksPhase 3: Author/Person Standardization
persondefinition withidentifierfield toanchor.schema.jsonallOfcompositionPhase 4: Extension Examples
examples/academic-document/- Theorems, proofs, exercises, algorithmsexamples/semantic-document/- Citations, footnotes, glossary, entitiesexamples/forms-document/- Comprehensive form with conditional validationexamples/collaboration-document/- Comments, suggestions, track changesexamples/phantoms-document/- Multi-scope annotation clustersPhase 5: Documentation
spec/core/03a-anchors-and-references.mdspec/extensions/README.mdwith compatibility matrixschemas/README.mdTest plan
npm testpasses