web / lib/services/schema-detection
lib/services/schema-detection
Schema detection service for import workflows.
Provides language-aware schema detection with support for custom detectors and automatic fallback to a default detector. Includes field mapping detection, language detection, and structural pattern analysis.
References
DetectionContext
Re-exports DetectionContext
DetectionResult
Re-exports DetectionResult
DetectorConfig
Re-exports DetectorConfig
FieldMapping
Re-exports FieldMapping
FieldMappingsResult
Re-exports FieldMappingsResult
FieldStatistics
Re-exports FieldStatistics
GeoFieldMapping
Re-exports GeoFieldMapping
LanguageResult
Re-exports LanguageResult
PatternResult
Re-exports PatternResult
SchemaDetectionPlugin
Re-exports SchemaDetectionPlugin
SchemaDetectionPluginOptions
Re-exports SchemaDetectionPluginOptions
SchemaDetector
Re-exports SchemaDetector
SchemaDetectionService
Re-exports SchemaDetectionService
defaultDetector
Re-exports defaultDetector
schemaDetectionPlugin
Re-exports schemaDetectionPlugin
detectGeoFields
Re-exports detectGeoFields
FieldPatternMatch
Re-exports FieldPatternMatch
ADDRESS_PATTERNS
Re-exports ADDRESS_PATTERNS
COMBINED_COORDINATE_PATTERNS
Re-exports COMBINED_COORDINATE_PATTERNS
COORDINATE_BOUNDS
Re-exports COORDINATE_BOUNDS
detectFieldMappings
Re-exports detectFieldMappings
FIELD_PATTERNS
Re-exports FIELD_PATTERNS
getFieldPatterns
Re-exports getFieldPatterns
LATITUDE_PATTERNS
Re-exports LATITUDE_PATTERNS
LONGITUDE_PATTERNS
Re-exports LONGITUDE_PATTERNS
matchFieldNamePatterns
Re-exports matchFieldNamePatterns
detectLanguage
Re-exports detectLanguage
LANGUAGE_NAMES
Re-exports LANGUAGE_NAMES
SUPPORTED_LANGUAGES
Re-exports SUPPORTED_LANGUAGES