ElectricityCredential schema definitions (v1.0)
11 schema types · Source: deg-main
Unified W3C Verifiable Credential issued per meter by electricity distribution utilities. Combines customer identity, consumption, generation, and storage profiles in a single credentialSubject by composing the credentialSubject schemas of sibling profile credentials.
Non-PII customer identity and asset list. No PII — safe to share without customerDetails. Supports arbitrary topologies: a single customerNumber may have multiple METER entries (different premises, sub-meters, parallel meters) each with their own child DERs.
Tariff and regulatory load profile for one meter connection. meterId links to a METER entry in customerProfile.energyResources[]. Alias for MeterServiceProfile/v1.0 — kept for backward compatibility.
PII section — fullName, installationAddress, serviceConnectionDate. fullName appears ONLY here — never in customerProfile or resource entries. Defined in CustomerDetails/v1.0.
Non-PII customer identity and asset list. Supports arbitrary topologies: a single customerNumber may span multiple METER entries (different premises, sub-meters, parallel meters) each with child DERs.
External identity reference for the customer. Defined in IdRef/v1.0.
Tariff and regulatory load profile for one meter connection. meterId links to a METER entry in customerProfile.energyResources[]. Uses MeterServiceProfile/v1.1 (sanctionedLoad, contractMaxDemand as QuantitativeValue).
PII section — fullName, installationAddress, serviceConnectionDate. fullName appears ONLY here — never in customerProfile or resource entries. Defined in CustomerDetails/v1.0.
Discriminated union of all seven typed EnergyResource kinds, each inheriting id, type, subResources, parentResources, and attributes from EnergyResourceCommon/v1.1. All power/capacity fields use QuantitativeValue. Defined in EnergyResource/v2.1.