-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Labels
DEGDEG energy schemaDEG energy schemacanonical-urlsCanonical URL complianceCanonical URL compliancejson-ldJSON-LD context and vocabJSON-LD context and vocabphase-9Phase 9: DEG harmonizationPhase 9: DEG harmonization
Milestone
Description
Context
Phase 9 — DEG Harmonization (see project plan). Depends on DEG-1.
Problem
Some DEG schemas use non-canonical @vocab base URIs (e.g., raw GitHub URLs or project-specific namespaces) instead of the canonical https://schema.beckn.io/<domain>/v2.0/ pattern used across beckn/schemas.
This prevents the federated schema registry from correctly constructing canonical term URIs for DEG schemas when served through schema.beckn.io.
Tasks
- Identify all DEG schemas with non-canonical
@vocabin theircontext.jsonld - Map each non-canonical URI to its canonical equivalent under
https://schema.beckn.io/energy/v2.0/ - Update all affected
context.jsonldfiles - Update all affected
vocab.jsonld@idvalues to match canonical pattern - Verify canonical URL resolution on schema.beckn.io staging environment
Acceptance criteria
- All DEG schema term URIs resolve to
https://schema.beckn.io/energy/v2.0/<Term>pattern - No raw GitHub or non-canonical URLs appear in
@vocabor@idacross DEG schemas
Dependencies
- Blocked by SDF-1 + SDF-2 (
beckn/protocol-specifications-v2): All@vocabcanonical naming patterns for DEG schemas must conform to the naming authority established indocs/governance/STYLE_GUIDE.mdandCONTRIBUTING_SCHEMAS.mdonce those governance documents are moved and updated to thedraftbranch. Do not begincontext.jsonld/vocab.jsonldedits until SDF-1 and SDF-2 are merged.
Related
- DEG-1 (context/vocab structure harmonization — must complete first)
- SDF-1: Move + update
STYLE_GUIDE.mdtodraftbranch - SDF-2: Move + update
CONTRIBUTING_SCHEMAS.mdtodraftbranch - DEG-3 (validation to prevent recurrence)
- Phase 10 exit criteria: canonical URL validation
Assigned: @ameetdesh
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
DEGDEG energy schemaDEG energy schemacanonical-urlsCanonical URL complianceCanonical URL compliancejson-ldJSON-LD context and vocabJSON-LD context and vocabphase-9Phase 9: DEG harmonizationPhase 9: DEG harmonization