You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geaflow.apache.org by "kitalkuyo-gita (via GitHub)" <gi...@apache.org> on 2026/08/22 01:46:06 UTC

[I] [geaflow/ai-memory] Implement `SchemaValidator` for extracted graph facts [geaflow]

kitalkuyo-gita opened a new issue, #840:
URL: https://github.com/apache/geaflow/issues/840

   Priority: P0  
   Difficulty: Intermediate
   
   Context: `GraphEntity` can be written today, but extracted facts need schema validation before entering graph storage or indexes.
   
   Scope:
   
   - Validate vertex labels, edge labels, required properties, property types, and relation endpoints.
   - Return structured validation errors with fact ID and source span.
   - Add tests for invalid label, missing property, wrong type, dangling edge, and unsupported predicate.
   
   Constraints:
   
   - Do not mutate the graph.
   - Do not silently drop invalid facts.
   
   Acceptance Criteria:
   
   - Valid facts pass unchanged.
   - Invalid facts are returned with stable error codes.
   - Error messages do not include full raw document text.
   
   Suggested paths:
   
   - `geaflow-ai/src/main/java/org/apache/geaflow/ai/validate`
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@geaflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@geaflow.apache.org
For additional commands, e-mail: issues-help@geaflow.apache.org