Expand description
Validation functionality
Provides validation logic for:
- Table validation (naming conflicts, pattern exclusivity)
- Relationship validation (circular dependencies)
- Input validation and sanitization (security)
- JSON Schema validation for various file formats (ODCS, ODCL, Decision, Knowledge, etc.)
Modules§
- input
- Input validation and sanitization utilities.
- relationships
- Relationship validation functionality
- schema
- JSON Schema validation helpers
- tables
- Table validation functionality
- xml
- XML validation utilities
Structs§
- Relationship
Validation Result - Result of relationship validation.
- Table
Validation Result - Result of table validation.
Enums§
- Relationship
Validation Error - Error during relationship validation
- Table
Validation Error - Error during table validation
- Validation
Error - Errors that can occur during input validation.
Functions§
- load_
xsd_ schema - Load XSD schema content from the schemas directory.
- sanitize_
model_ name - Sanitize a model name for use as a filename.
- sanitize_
path - Sanitize a file path by removing dangerous components.
- sanitize_
sql_ identifier - Sanitize a SQL identifier by quoting it.
- validate_
avro_ internal - Validate AVRO file against AVRO specification
- validate_
bpmn_ dmn_ file_ size - Validate file size for BPMN/DMN models.
- validate_
cads_ internal - validate_
column_ name - Validate a column name.
- validate_
data_ type - Validate a data type string.
- validate_
decision_ internal - validate_
decisions_ index_ internal - validate_
glob_ pattern - Validate a glob pattern for security.
- validate_
json_ schema_ internal - validate_
knowledge_ index_ internal - validate_
knowledge_ internal - validate_
odcl_ internal - validate_
odcs_ internal - validate_
odps_ internal - validate_
openapi_ file_ size - Validate file size for OpenAPI specifications.
- validate_
openapi_ internal - validate_
path - Validate a file path for security.
- validate_
protobuf_ internal - Validate Protobuf file syntax
- validate_
relationships_ internal - Validate a relationships.yaml file
- validate_
sql_ internal - Validate SQL syntax using sqlparser
- validate_
table_ name - Validate a table name.
- validate_
url - Validate a URL for security.
- validate_
uuid - Validate a UUID string.
- validate_
workspace_ internal - validate_
xml_ against_ xsd - Validate XML content against an XSD schema file.