2026-01-15 10:47:59 -06:00
|
|
|
|
// File: internal/standards/doc.go
|
2026-01-13 18:14:21 -06:00
|
|
|
|
//
|
2026-01-15 10:47:59 -06:00
|
|
|
|
// Package standards defines weatherfeeder’s provider-agnostic “project law”:
|
|
|
|
|
|
//
|
|
|
|
|
|
// - Schema identifiers and versioning conventions (see schema.go).
|
|
|
|
|
|
// - Canonical interpretations / cross-provider mappings that are not specific to a
|
|
|
|
|
|
// single upstream API (e.g., shared code tables, text heuristics, unit policy).
|
|
|
|
|
|
//
|
|
|
|
|
|
// Standards are used by both sources and normalizers. Keep this package free of
|
|
|
|
|
|
// provider-specific logic and free of dependencies on internal/sources/* or
|
|
|
|
|
|
// internal/normalizers/* to avoid import cycles.
|
|
|
|
|
|
//
|
|
|
|
|
|
// Provider-specific decoding and mapping lives in internal/normalizers/<provider>.
|
2026-01-13 18:14:21 -06:00
|
|
|
|
package standards
|