# description
JSON Schema for the unified ElectricityCredential — a W3C Verifiable Credential (VC Data Model 2.0) issued per meter by electricity distribution utilities. Combines customer identity, customer details, consumption characteristics, generation capability, and storage capability as equal-level properties within the credentialSubject. Bundled (self-contained, no external $refs) for distribution alongside the modular attributes.yaml.

# properties.id.description
Unique identifier for the credential in URN UUID format

# properties.issuer.properties.idRef.description
Reference to an identity issued by an external authority

# properties.issuer.properties.idRef.properties.issuedBy.description
DID of the authority that issued the identity (e.g., did:web:kerc.karnataka.gov.in)

# properties.validFrom.description
Date and time from which the credential is valid (W3C VC Data Model 2.0)

# properties.validUntil.description
Date and time until which the credential is valid (W3C VC Data Model 2.0)

# properties.credentialStatus.description
Revocation status information for the credential

# properties.credentialStatus.properties.id.description
URL to look up the revocation status of this specific credential via DeDi registry

# properties.credentialStatus.properties.type.description
Type of status check mechanism (DeDi Registry)

# properties.credentialStatus.properties.statusListCredential.description
URL to the issuer revocation registry on DeDi

# properties.credentialSubject.properties.id.description
Optional DID of the customer/credential subject

# properties.credentialSubject.properties.consumptionProfiles.description
Connection and consumption characteristics. Array supports multiple meters or tariff categories.

# properties.credentialSubject.properties.generationProfiles.description
DER generation assets. Array supports multiple generation units.

# properties.credentialSubject.properties.storageProfiles.description
Energy storage assets. Array supports multiple batteries.

# properties.proof.properties.verificationMethod.description
URI of the verification method/public key

# $defs.CustomerProfile.description
Core customer identity: customer number, meter number, external ID reference

# $defs.CustomerProfile.properties.customerNumber.description
Full customer account number assigned by the utility

# $defs.CustomerProfile.properties.meterType.description
Type of electricity meter installed. Values derived from Green Button / ESPI meter kind classifications.

# $defs.CustomerProfile.properties.idRef.description
Reference to an identity issued by an external authority

# $defs.CustomerProfile.properties.idRef.properties.issuedBy.description
DID of the authority that issued the identity (e.g., did:web:kerc.karnataka.gov.in)

# $defs.CustomerDetails.description
Customer personal and address information

# $defs.CustomerDetails.properties.fullName.description
Full name of the customer as per ID proof

# $defs.CustomerDetails.properties.installationAddress.description
The physical location of the installation. Follows the beckn Location schema.

# $defs.CustomerDetails.properties.installationAddress.properties.gps.description
GPS coordinates of the installation (e.g., '12.9716,77.5946')

# $defs.CustomerDetails.properties.installationAddress.properties.address.description
Complete postal address of the installation

# $defs.CustomerDetails.properties.installationAddress.properties.state.properties.code.description
State code as per country or international standards

# $defs.CustomerDetails.properties.installationAddress.properties.country.properties.code.description
Country code as per ISO 3166-1 alpha-2 format

# $defs.CustomerDetails.properties.installationAddress.properties.3dspace.description
Three dimensional region describing the location

# $defs.CustomerDetails.properties.installationAddress.properties.openLocationCode.description
Open Location Code (OLC) for the installation location

# $defs.CustomerDetails.properties.serviceConnectionDate.description
Date and time when the electricity connection was activated (with timezone offset)

# $defs.ConsumptionProfile.properties.id.description
DID of the customer/credential subject (links to customer)

# $defs.ConsumptionProfile.properties.consumerNumber.description
Full consumer account number assigned by the utility

# $defs.ConsumptionProfile.properties.premisesType.description
Type of premises for the electricity connection

# $defs.ConsumptionProfile.properties.sanctionedLoadKW.description
Sanctioned/approved electrical load in kilowatts (kW)

# $defs.ConsumptionProfile.properties.tariffCategoryCode.description
Billing/tariff category code assigned by the utility

# $defs.ConsumptionProfile.properties.meterNumber.description
Meter serial number (optional, for linking to specific meter)

# $defs.GenerationProfile.properties.id.description
DID of the customer/credential subject (links to customer)

# $defs.GenerationProfile.properties.consumerNumber.description
Consumer account number assigned by the utility

# $defs.GenerationProfile.properties.meterNumber.description
Meter serial number associated with this generation asset (optional)

# $defs.GenerationProfile.properties.assetId.description
Unique identifier for the generation asset

# $defs.GenerationProfile.properties.capacityKW.description
Installed generation capacity in kilowatts (kW)

# $defs.GenerationProfile.properties.commissioningDate.description
Date when the generation system was activated

# $defs.StorageProfile.properties.id.description
DID of the customer/credential subject (links to customer)

# $defs.StorageProfile.properties.consumerNumber.description
Consumer account number assigned by the utility

# $defs.StorageProfile.properties.meterNumber.description
Meter serial number associated with this storage asset (optional)

# $defs.StorageProfile.properties.storageCapacityKWh.description
Battery storage capacity in kilowatt-hours (kWh)

# $defs.StorageProfile.properties.powerRatingKW.description
Battery charge/discharge power rating in kilowatts (kW)

# $defs.StorageProfile.properties.commissioningDate.description
Date when the storage system was activated