EnergyResource schema definitions (v0.3)
17 schema types · Source: deg-main
Item attributes for energy resources. Attached to Item.itemAttributes to provide energy-specific characteristics including source type and meter identifiers. This is the v0.3 schema, originally defined as a component in EnergyTrade/v0.3/attributes.yaml.
Discriminated union of all typed EnergyResource kinds. Dispatched by the 'type' field. Each kind lives in its own schema at schema.nfh.global/<Kind>/v1.0 and is referenced above. EnergyResourceCommon (id, type, subResources, parentResources, attributes) and EnergyResourceCommonAttributes (make, model, maxExportKw, maxImportKw, ratedPowerKw, telemetryProvider, commissioningDate, location) are defined in EnergyResourceCommon/v1.0 and inherited by all kinds via allOf external $ref. For P2P-trading: minimal usage is {id, type}. For demand-flex and credentials: add attributes fields as needed. For targeted validation: $ref the specific kind directly.
Discriminated union of all typed EnergyResource kinds. Dispatched by the 'type' field. Each kind lives in its own schema at schema.nfh.global/<Kind>/v1.1. EnergyResourceCommon (id, type, subResources, parentResources, attributes) and EnergyResourceCommonAttributes (make, model, ratedPower, maxExport, maxImport, telemetryProvider, commissioningDate, location) are defined in EnergyResourceCommon/v1.1 and inherited by all kinds via allOf external $ref.