Capture actual heading text in schemas #52

Closed
opened 2025-10-01 00:02:22 +00:00 by tegwick · 0 comments
Owner

UseCase: As a user creating schemas from documents, I want the schema to preserve the actual heading text from the source document, so that generated drafts maintain consistent section titles and structure.

Technical Requirements:
Modify schema generation to store actual heading text alongside structural information, enabling schemas to specify required heading text that must appear in documents validated against the schema.

Acceptance Criteria:

  • Schema captures exact heading text from source document
  • Schema validation can enforce specific heading text requirements
  • Heading text is preserved in outline structure representation
  • Generated schemas include heading text as schema constraints
  • Backward compatibility with existing schemas maintained
  • Schema validation provides meaningful errors for heading text mismatches

Dependencies:

  • Current schema generation system (Issue #5)
  • Schema validation system (Issue #7)
  • Metaschema definition (Issue #50)
UseCase: As a user creating schemas from documents, I want the schema to preserve the actual heading text from the source document, so that generated drafts maintain consistent section titles and structure. Technical Requirements: Modify schema generation to store actual heading text alongside structural information, enabling schemas to specify required heading text that must appear in documents validated against the schema. Acceptance Criteria: - [ ] Schema captures exact heading text from source document - [ ] Schema validation can enforce specific heading text requirements - [ ] Heading text is preserved in outline structure representation - [ ] Generated schemas include heading text as schema constraints - [ ] Backward compatibility with existing schemas maintained - [ ] Schema validation provides meaningful errors for heading text mismatches Dependencies: - Current schema generation system (Issue #5) - Schema validation system (Issue #7) - Metaschema definition (Issue #50)
Sign in to join this conversation.