Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

energy provider: add description back in #2

Merged
merged 1 commit into from
Mar 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions schema/bom-1.6.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1230,14 +1230,16 @@ message EnergyProviderType {

// BOM unique reference to the energy provider.
optional string bom_ref = 1;
// A description of the energy provider.
string description = 2;
// The organization of the energy provider.
OrganizationalEntity organization = 2;
OrganizationalEntity organization = 3;
// The energy source for the energy provider.
EnergySourceType energySource = 3;
EnergySourceType energySource = 4;
// The energy provided by the energy source for an associated activity.
EnergyMeasureType energyProvided = 4;
EnergyMeasureType energyProvided = 5;
// Provides the ability to document external references related to the BOM or to the project the BOM describes.
repeated ExternalReference external_references = 5;
repeated ExternalReference external_references = 6;
}

// A measure of energy.
Expand Down
5 changes: 5 additions & 0 deletions schema/bom-1.6.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -3629,6 +3629,11 @@
"description": "An optional identifier which can be used to reference the energy provider elsewhere in the BOM. Every bom-ref MUST be unique within the BOM.\nValue SHOULD not start with the BOM-Link intro 'urn:cdx:' to avoid conflicts with BOM-Links.",
"$ref": "#/definitions/refType"
},
"description": {
"type": "string",
"title": "Description",
"description": "A description of the energy provider."
},
"organization": {
"type": "object",
"title": "Organization",
Expand Down
7 changes: 7 additions & 0 deletions schema/bom-1.6.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -3477,6 +3477,13 @@ limitations under the License.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="description" type="xs:string" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
A description of the energy provider.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="organization" type="bom:organizationalEntity" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>
Expand Down
Loading