Is your feature request related to a problem? Please describe.
PR #4961 introduces the SemanticDocumentValidator interface, but intentionally defers the concrete validation implementation.
This issue tracks implementing write time validation for Apache Ossie semantic model documents.
Scope
Implement a concrete SemanticDocumentValidator that:
- Validates semantic model documents against the Apache Ossie JSON Schema.
- Enforces configurable document size limits.
- Returns clear client errors for malformed or invalid documents.
- Integrates validation into semantic model create and update operations.
- Adds unit and integration tests covering valid documents, schema violations, malformed input, and size limit violations.
Additional considerations
The implementation should avoid network access during validation and should package or otherwise reliably load the supported schema version.
We should also define how schema versions are selected and how compatibility will be handled as Apache Ossie evolves.
Related review discussion: #4961 (comment)
Is your feature request related to a problem? Please describe.
PR #4961 introduces the
SemanticDocumentValidatorinterface, but intentionally defers the concrete validation implementation.This issue tracks implementing write time validation for Apache Ossie semantic model documents.
Scope
Implement a concrete
SemanticDocumentValidatorthat:Additional considerations
The implementation should avoid network access during validation and should package or otherwise reliably load the supported schema version.
We should also define how schema versions are selected and how compatibility will be handled as Apache Ossie evolves.
Related review discussion: #4961 (comment)