UNPKG

@aaswe/codebase-ai

Version:

AI-Assisted Software Engineering (AASWE) - Rich codebase context for IDE LLMs

125 lines 2.76 kB
/** * RDF Validator * * Production-quality validator for RDF/TTL files ensuring syntax correctness, * semantic consistency, and compliance with the AASWE ontology schema. */ import { RDFValidationResult } from './types'; /** * Production-Quality RDF Validator * * Validates RDF content for syntax, semantics, and schema compliance * with comprehensive error reporting and suggestions. */ export declare class RDFValidator { private readonly parser; private readonly store; private errors; private warnings; constructor(); /** * Validate RDF Content */ validateContent(rdfContent: string): Promise<RDFValidationResult>; /** * Validate RDF File */ validateFile(filePath: string): Promise<RDFValidationResult>; /** * Parse RDF Content */ private parseRDF; /** * Validate Syntax */ private validateSyntax; /** * Validate Namespaces */ private validateNamespaces; /** * Validate URIs */ private validateURIs; /** * Validate Single URI */ private validateURI; /** * Validate Literals */ private validateLiterals; /** * Validate Single Literal */ private validateLiteral; /** * Validate Datatype Literals */ private validateDatatypeLiteral; /** * Validate Schema Compliance */ private validateSchema; /** * Validate Required Properties */ private validateRequiredProperties; /** * Validate Property Domains */ private validatePropertyDomains; /** * Validate Property Ranges */ private validatePropertyRanges; /** * Validate Class Hierarchy */ private validateClassHierarchy; /** * Check for Circular Inheritance */ private hasCircularInheritance; /** * Validate Semantic Consistency */ private validateSemantics; /** * Validate Unique Identifiers */ private validateUniqueIdentifiers; /** * Validate Referential Integrity */ private validateReferentialIntegrity; /** * Validate Business Rules */ private validateBusinessRules; /** * Check Best Practices */ private checkBestPractices; /** * Check Documentation Coverage */ private checkDocumentation; /** * Check Naming Conventions */ private checkNamingConventions; /** * Check Complexity Metrics */ private checkComplexityMetrics; /** * Helper Methods */ private resetValidation; private addError; private addWarning; private extractNamespace; private calculateStatistics; } //# sourceMappingURL=RDFValidator.d.ts.map