Initial schemas and validation with extension workplan
This commit is contained in:
parent
b96b1fb745
commit
8c9129c371
15 changed files with 1025 additions and 2 deletions
31
src/markitect_tool/schema/__init__.py
Normal file
31
src/markitect_tool/schema/__init__.py
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
"""Schema loading and validation for structured Markdown documents."""
|
||||
|
||||
from markitect_tool.schema.loader import (
|
||||
InvalidSchemaFormatError,
|
||||
MarkdownSchema,
|
||||
SchemaLoaderError,
|
||||
SchemaNotFoundError,
|
||||
load_schema_file,
|
||||
load_schema_text,
|
||||
)
|
||||
from markitect_tool.schema.validator import (
|
||||
SchemaValidationResult,
|
||||
ValidationViolation,
|
||||
validate_document,
|
||||
validate_markdown_file,
|
||||
validate_schema,
|
||||
)
|
||||
|
||||
__all__ = [
|
||||
"InvalidSchemaFormatError",
|
||||
"MarkdownSchema",
|
||||
"SchemaLoaderError",
|
||||
"SchemaNotFoundError",
|
||||
"SchemaValidationResult",
|
||||
"ValidationViolation",
|
||||
"load_schema_file",
|
||||
"load_schema_text",
|
||||
"validate_document",
|
||||
"validate_markdown_file",
|
||||
"validate_schema",
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue