diff --git a/CROSSSECTOR/ITinfrastructure/CONTRIBUTORS.yaml b/CROSSSECTOR/ITinfrastructure/CONTRIBUTORS.yaml new file mode 100644 index 000000000..5a5a21038 --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/CONTRIBUTORS.yaml @@ -0,0 +1,47 @@ +description: This is a compilation list of all CONTRIBUTORS across different objects (data models) alphabetically ordered. All fields are non mandatory +contributors: +- name: Rafael + surname: VaƱo + mail: ravagar2@upv.es + organization: Universitat Politecnica de Valencia + project: aerOS (HE), https://aeros-project.eu + comments: + year: 2025 +- name: Ignacio + surname: Lacalle + mail: iglaub@upv.es + organization: Universitat Politecnica de Valencia + project: aerOS (HE), https://aeros-project.eu + comments: + year: 2025 +- name: Andreu + surname: Belsa + mail: anbelpel@upv.es + organization: Universitat Politecnica de Valencia + project: aerOS (HE), https://aeros-project.eu + year: 2025 +- name: Ignacio + surname: Dominguez Martinez-Casanueva + mail: ignacio.dominguezmartinez@telefonica.com + organization: Telefonica + project: aerOS (HE), https://aeros-project.eu + comments: + year: 2025 +- name: Vasilis + surname: Pitislis + mail: vpitsilis@dat.demokritos.gr + organization: NCSRD + project: aerOS (HE), https://aeros-project.eu + comments: + year: 2025 +- name: Pawel + surname: Szmeja + mail: Pawel.Szmeja@ibspan.waw.pl + organization: Systems Research Institute Polish Academy of Sciences + project: aerOS (HE), https://aeros-project.eu + comments: + year: 2025 + + + + \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/Domain/ADOPTERS.yaml b/CROSSSECTOR/ITinfrastructure/Domain/ADOPTERS.yaml index 0e7a77a03..33d0ef4aa 100644 --- a/CROSSSECTOR/ITinfrastructure/Domain/ADOPTERS.yaml +++ b/CROSSSECTOR/ITinfrastructure/Domain/ADOPTERS.yaml @@ -1,10 +1,16 @@ -description: This is a compilation list of the current adopters of the data model [Data model] of the Subject [Subject]. All fields are non mandatory. More info at https://smart-data-models.github.io/data-models/templates/dataModel/CURRENT_ADOPTERS.yaml +description: This is a compilation list of the current adopters of the data model Domain of the Subject ITinfrastructure. All fields are non mandatory. More info at https://smart-data-models.github.io/data-models/templates/dataModel/CURRENT_ADOPTERS.yaml currentAdopters: -- - adopter: - description: - mail: - organization: - project: - comments: - startDate: +- adopter: aerOS HE Project + description: A Meta-OS to govern the Cloud-Edge-IoT computing continuum + mail: aeros-project@outlook.es + organization: + project: https://aeros-project.eu + comments: + startDate: 2022-09-01 +- adopter: Eclipse aeriOS + description: A Meta-OS to govern the Cloud-Edge-IoT computing continuum (open source solution from aerOS HE Project) + mail: aerios-dev@eclipse.org + organization: + project: https://projects.eclipse.org/projects/iot.aerios + comments: + startDate: 2025-11-01 diff --git a/CROSSSECTOR/ITinfrastructure/Domain/examples/example-normalized.json b/CROSSSECTOR/ITinfrastructure/Domain/examples/example-normalized.json index dd1edc294..47e333aab 100644 --- a/CROSSSECTOR/ITinfrastructure/Domain/examples/example-normalized.json +++ b/CROSSSECTOR/ITinfrastructure/Domain/examples/example-normalized.json @@ -1,131 +1,31 @@ { - "id": "ThreePhaseAcMeasurement:LV3_Ventilation", - "type": "ThreePhaseAcMeasurement", - "dateEnergyMeteringStarted": { - "type": "DateTime", - "value": "2018-07-07T15:05:59.408Z" - }, - "refDevice": { - "type": "Relationship", - "value": "Device:eQL-EDF3GL-2006201705" - }, - "name": { - "value": "HKAPK0200" - }, + "id": "Domain:UPV", + "type": "Domain", "description": { - "value": "measurement corresponding to the ventilation machine rooms" - }, - "totalActiveEnergyImport": { - "type": "Number", - "value": 150781.96448 - }, - "totalReactiveEnergyImport": { - "type": "Number", - "value": 20490.3392 - }, - "totalActiveEnergyExport": { - "type": "Number", - "value": 1059.80176 - }, - "totalReactiveEnergyExport": { - "type": "Number", - "value": 93275.02176 - }, - "totalActivePower": { - "type": "Number", - "value": 31700.269531 - }, - "activePower": { - "type": "StructuredValue", - "value": { - "L1": 11996.416016, - "L2": 9461.501953, - "L3": 10242.351562 - } - }, - "totalReactivePower": { - "type": "Number", - "value": -7830.332031 + "type": "Text", + "value": "This is an example domain of the continuum managed by UPV" }, - "reactivePower": { - "type": "StructuredValue", - "value": { - "L1": -2612.606934, - "L2": -2209.906006, - "L3": -3007.81958 - } + "publicUrl": { + "type": "Property", + "value": "https://upv-domain.aeros-project.eu" }, - "totalApparentPower": { - "type": "Number", - "value": 36019.089844 - }, - "apparentPower": { - "type": "StructuredValue", - "value": { - "L1": 13201.412109, - "L2": 10755.304688, - "L3": 11941.094727 - } - }, - "powerFactor": { - "type": "StructuredValue", - "value": { - "L1": 0.908817, - "L2": 0.879906, - "L3": 0.859293 - } - }, - "displacementPowerFactor": { - "type": "StructuredValue", - "value": { - "L1": 0.978013, - "L2": 0.973317, - "L3": 0.960382 - } - }, - "frequency": { - "type": "Number", - "value": 50.020672 - }, - "current": { - "type": "StructuredValue", - "value": { - "L1": 56.126038, - "L2": 45.894356, - "L3": 50.872452, - "N": 0.0 - } - }, - "phaseVoltage": { - "type": "StructuredValue", - "value": { - "L1": 234.961304, - "L2": 234.563477, - "L3": 235.354034 - } - }, - "phaseToPhaseVoltage": { - "type": "StructuredValue", - "value": { - "L12": 406.769196, - "L23": 407.081238, - "L31": 407.734558 - } - }, - "thdVoltage": { - "type": "StructuredValue", - "value": { - "L1": 0.01471114, - "L2": 0.01600046, - "L3": 0.01541459 - } - }, - "thdCurrent": { - "type": "StructuredValue", - "value": { - "L1": 0.38497337, - "L2": 0.45807529, - "L3": 0.4938652 - } + "owner": { + "type": "Relationship", + "value": [ + "Organization:UPV", + "Organization:University" + ] + }, + "isEntrypoint": { + "type": "Boolean", + "value": true + }, + "domainStatus": { + "type": "Text", + "value": "Preliminary" + }, + "publicKey": { + "type": "Text", + "value": "k8hAPelai4z1wBfyJO5cDUJutyuW10kOh5ezeh7p7SE=" } -} +} \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/Domain/examples/example-normalized.jsonld b/CROSSSECTOR/ITinfrastructure/Domain/examples/example-normalized.jsonld index d755f2b6b..bfe67d627 100644 --- a/CROSSSECTOR/ITinfrastructure/Domain/examples/example-normalized.jsonld +++ b/CROSSSECTOR/ITinfrastructure/Domain/examples/example-normalized.jsonld @@ -1,160 +1,34 @@ { - "id": "urn:ngsi-ld:ThreePhaseAcMeasurement:ThreePhaseAcMeasurement:LV3_Ventilation", - "type": "ThreePhaseAcMeasurement", - "dateEnergyMeteringStarted": { - "type": "Property", - "value": { - "@type": "DateTime", - "@value": "2018-07-07T15:05:59.408Z" - } - }, - "refDevice": { - "type": "Relationship", - "object": [ - "urn:ngsi-ld:Device:Device:eQL-EDF3GL-2006201705" - ] - }, - "name": { - "type": "Property", - "value": "HKAPK0200" - }, + "id": "urn:ngsi-ld:Domain:UPV", + "type": "Domain", "description": { "type": "Property", - "value": "measurement corresponding to the ventilation machine rooms" - }, - "totalActiveEnergyImport": { - "type": "Property", - "value": 150781.96448, - "observedAt": "2019-01-24T22:00:00.173Z" - }, - "totalReactiveEnergyImport": { - "type": "Property", - "value": 20490.3392, - "observedAt": "2019-01-24T22:00:00.173Z" - }, - "totalActiveEnergyExport": { - "type": "Property", - "value": 1059.80176, - "observedAt": "2019-01-24T22:00:00.173Z" - }, - "totalReactiveEnergyExport": { - "type": "Property", - "value": 93275.02176, - "observedAt": "2019-01-24T22:00:00.173Z" - }, - "totalActivePower": { - "type": "Property", - "value": 31700.269531, - "observedAt": "2019-01-24T22:00:00.173Z" - }, - "activePower": { - "type": "Property", - "value": { - "L1": 11996.416016, - "L2": 9461.501953, - "L3": 10242.351562 - }, - "observedAt": "2019-01-24T22:00:00.173Z", - "measurementType": { - "type": "Property", - "value": "average" - }, - "measurementInterval": { - "type": "Property", - "value": 1 - } - }, - "totalReactivePower": { - "type": "Property", - "value": -7830.332031, - "observedAt": "2019-01-24T22:00:00.173Z", - "measurementType": { - "type": "Property", - "value": "average" - } - }, - "reactivePower": { - "type": "Property", - "value": { - "L1": -2612.606934, - "L2": -2209.906006, - "L3": -3007.81958 - } + "value": "This is an example domain of the continuum managed by UPV" }, - "totalApparentPower": { + "publicUrl": { "type": "Property", - "value": 36019.089844 + "value": "https://upv-domain.aeros-project.eu" }, - "apparentPower": { - "type": "Property", - "value": { - "L1": 13201.412109, - "L2": 10755.304688, - "L3": 11941.094727 - } - }, - "powerFactor": { - "type": "Property", - "value": { - "L1": 0.908817, - "L2": 0.879906, - "L3": 0.859293 - } - }, - "displacementPowerFactor": { - "type": "Property", - "value": { - "L1": 0.978013, - "L2": 0.973317, - "L3": 0.960382 - } - }, - "frequency": { - "type": "Property", - "value": 50.020672 - }, - "current": { - "type": "Property", - "value": { - "L1": 56.126038, - "L2": 45.894356, - "L3": 50.872452, - "N": 0.0 - } - }, - "phaseVoltage": { - "type": "Property", - "value": { - "L1": 234.961304, - "L2": 234.563477, - "L3": 235.354034 - } + "owner": { + "type": "Relationship", + "object": [ + "urn:ngsi-ld:Organization:UPV", + "urn:ngsi-ld:Organization:University" + ] }, - "phaseToPhaseVoltage": { + "isEntrypoint": { "type": "Property", - "value": { - "L12": 406.769196, - "L23": 407.081238, - "L31": 407.734558 - } + "value": true }, - "thdVoltage": { + "domainStatus": { "type": "Property", - "value": { - "L1": 0.01471114, - "L2": 0.01600046, - "L3": 0.01541459 - } + "value": "Preliminary" }, - "thdCurrent": { + "publicKey": { "type": "Property", - "value": { - "L1": 0.38497337, - "L2": 0.45807529, - "L3": 0.4938652 - } + "value": "k8hAPelai4z1wBfyJO5cDUJutyuW10kOh5ezeh7p7SE=" }, "@context": [ "https://smartdatamodels.org/context.jsonld" ] -} +} \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/Domain/examples/example.json b/CROSSSECTOR/ITinfrastructure/Domain/examples/example.json index 4d4bca3f8..90a2be029 100644 --- a/CROSSSECTOR/ITinfrastructure/Domain/examples/example.json +++ b/CROSSSECTOR/ITinfrastructure/Domain/examples/example.json @@ -1,67 +1,13 @@ { - "id": "ThreePhaseAcMeasurement:LV3_Ventilation", - "type": "ThreePhaseAcMeasurement", - "dateEnergyMeteringStarted": "2018-07-07T15:05:59.408Z", - "refDevice": ["Device:eQL-EDF3GL-2006201705"], - "name": "HKAPK0200", - "description": "measurement corresponding to the ventilation machine rooms", - "totalActiveEnergyImport": 150781.96448, - "totalReactiveEnergyImport": 20490.3392, - "totalActiveEnergyExport": 1059.80176, - "totalReactiveEnergyExport": 93275.02176, - "totalActivePower": 31700.269531, - "activePower": { - "L1": 11996.416016, - "L2": 9461.501953, - "L3": 10242.351562 - }, - "totalReactivePower": -7830.332031, - "reactivePower": { - "L1": -2612.606934, - "L2": -2209.906006, - "L3": -3007.81958 - }, - "totalApparentPower": 36019.089844, - "apparentPower": { - "L1": 13201.412109, - "L2": 10755.304688, - "L3": 11941.094727 - }, - "powerFactor": { - "L1": 0.908817, - "L2": 0.879906, - "L3": 0.859293 - }, - "displacementPowerFactor": { - "L1": 0.978013, - "L2": 0.973317, - "L3": 0.960382 - }, - "frequency": 50.020672, - "current": { - "L1": 56.126038, - "L2": 45.894356, - "L3": 50.872452, - "N": 0.0 - }, - "phaseVoltage": { - "L1": 234.961304, - "L2": 234.563477, - "L3": 235.354034 - }, - "phaseToPhaseVoltage": { - "L12": 406.769196, - "L23": 407.081238, - "L31": 407.734558 - }, - "thdVoltage": { - "L1": 0.01471114, - "L2": 0.01600046, - "L3": 0.01541459 - }, - "thdCurrent": { - "L1": 0.38497337, - "L2": 0.45807529, - "L3": 0.4938652 - } -} + "id": "Domain:UPV", + "type": "Domain", + "description": "This is an example domain of the continuum managed by UPV", + "publicUrl": "https://upv-domain.aeros-project.eu", + "owner": [ + "Organization:UPV", + "Organization:University" + ], + "isEntrypoint": true, + "domainStatus": "Preliminary", + "publicKey": "k8hAPelai4z1wBfyJO5cDUJutyuW10kOh5ezeh7p7SE=" +} \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/Domain/examples/example.jsonld b/CROSSSECTOR/ITinfrastructure/Domain/examples/example.jsonld index f5bedb1c4..a76babb49 100644 --- a/CROSSSECTOR/ITinfrastructure/Domain/examples/example.jsonld +++ b/CROSSSECTOR/ITinfrastructure/Domain/examples/example.jsonld @@ -1,75 +1,16 @@ { + "id": "urn:ngsi-ld:Domain:UPV", + "type": "Domain", + "description": "This is an example domain of the continuum managed by UPV", + "publicUrl": "https://upv-domain.aeros-project.eu", + "owner": [ + "urn:ngsi-ld:Organization:UPV", + "urn:ngsi-ld:Organization:University" + ], + "isEntrypoint": true, + "domainStatus": "Preliminary", + "publicKey": "k8hAPelai4z1wBfyJO5cDUJutyuW10kOh5ezeh7p7SE=", "@context": [ "https://smartdatamodels.org/context.jsonld" - ], - "activePower": { - "L1": 11996.416016, - "L2": 9461.501953, - "L3": 10242.351562 - }, - "apparentPower": { - "L1": 13201.412109, - "L2": 10755.304688, - "L3": 11941.094727 - }, - "current": { - "L1": 56.126038, - "L2": 45.894356, - "L3": 50.872452, - "N": 0.0 - }, - "dateEnergyMeteringStarted": { - "@type": "DateTime", - "@value": "2018-07-07T15:05:59.408Z" - }, - "description": "measurement corresponding to the ventilation machine rooms", - "displacementPowerFactor": { - "L1": 0.978013, - "L2": 0.973317, - "L3": 0.960382 - }, - "frequency": 50.020672, - "id": "urn:ngsi-ld:ThreePhaseAcMeasurement:ThreePhaseAcMeasurement:LV3_Ventilation", - "name": "HKAPK0200", - "phaseToPhaseVoltage": { - "L12": 406.769196, - "L23": 407.081238, - "L31": 407.734558 - }, - "phaseVoltage": { - "L1": 234.961304, - "L2": 234.563477, - "L3": 235.354034 - }, - "powerFactor": { - "L1": 0.908817, - "L2": 0.879906, - "L3": 0.859293 - }, - "reactivePower": { - "L1": -2612.606934, - "L2": -2209.906006, - "L3": -3007.81958 - }, - "refDevice": [ - "urn:ngsi-ld:Device:Device:eQL-EDF3GL-2006201705" - ], - "thdCurrent": { - "L1": 0.38497337, - "L2": 0.45807529, - "L3": 0.4938652 - }, - "thdVoltage": { - "L1": 0.01471114, - "L2": 0.01600046, - "L3": 0.01541459 - }, - "totalActiveEnergyExport": 1059.80176, - "totalActiveEnergyImport": 150781.96448, - "totalActivePower": 31700.269531, - "totalApparentPower": 36019.089844, - "totalReactiveEnergyExport": 93275.02176, - "totalReactiveEnergyImport": 20490.3392, - "totalReactivePower": -7830.332031, - "type": "ThreePhaseAcMeasurement" -} + ] +} \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/Domain/schema.json b/CROSSSECTOR/ITinfrastructure/Domain/schema.json index 6c9585db4..78e95be0c 100644 --- a/CROSSSECTOR/ITinfrastructure/Domain/schema.json +++ b/CROSSSECTOR/ITinfrastructure/Domain/schema.json @@ -1,12 +1,12 @@ { - "$schema": "https://json-schema.org/draft/2020-12/schema", + "$schema": "http://json-schema.org/draft-04/schema#", "$schemaVersion": "0.0.1", - "$id": "https://smart-data-models.github.io/dataModel.SUBJECT/DATAMODEL/schema.json", - "title": "Smart Data Models - SUBJECT / DATAMODEL", - "description": "Description of the data model DATAMODEL ", + "$id": "https://smart-data-models.github.io/dataModel.ITinfrastructure/Domain/schema.json", + "title": "Smart Data Models - ITinfrastructure / Domain", + "description": "Domain of the Cloud-Edge-IoT computing continuum, which is composed of a set of InfrastructureElements", "modelTags": "", "derivedFrom": "", - "license": "https://smart-data-models.github.io/dataModel.SUBJECT/DATAMODEL/LICENSE.md", + "license": "https://smart-data-models.github.io/dataModel.ITinfrastructure/Domain/LICENSE.md", "type": "object", "allOf": [ { @@ -19,393 +19,42 @@ "properties": { "type": { "type": "string", + "description": "Property. NGSI Entity type. It has to be Domain", "enum": [ - "ThreePhaseAcMeasurement" - ], - "description": "Property. It must be equal to `ThreePhaseAcMeasurement`." - }, - "refDevice": { - "type": "array", - "description": "Relationship. Device(s) used to obtain the measurement.", - "items": { - "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/EntityIdentifierType" - }, - "minItems": 1, - "uniqueItems": true + "Domain" + ] }, - "refTargetDevice": { - "type": "array", - "description": "Relationship. Device(s) for which the measurement was taken.", - "items": { - "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/EntityIdentifierType" - }, - "minItems": 1, - "uniqueItems": true - }, - "dateEnergyMeteringStarted": { + "publicUrl": { "type": "string", - "format": "date-time", - "description": "Property. Model:'http://schema.org/DateTime'. The starting date for metering energy." - }, - "totalActiveEnergyImport": { - "type": "number", - "minimum": 0, - "description": "Property. Model:'https://schema.org/Number'. Units:'kilowatt hour (kWh)'. Total energy imported i.e. consumed since metering started (since `dateEnergyMeteringStarted`)." - }, - "totalReactiveEnergyImport": { - "type": "number", - "minimum": 0, - "description": "Property. Model:'https://schema.org/Number'. Units:'kilovolt-ampere-reactive-hour (kVArh)'. Total energy imported i.e. consumed (with regards to fundamental frequency reactive power) since the metering start date (`dateEnergyMeteringStarted`)" - }, - "totalApparentEnergyImport": { - "type": "number", - "minimum": 0, - "description": "Property. Model:'https://schema.org/Number'. Units:'kilovolt-ampere-hour (kVAh)'. Total energy imported i.e. consumed (with regards to apparent power) since the metering start date (`dateEnergyMeteringStarted`)" - }, - "totalActiveEnergyExport": { - "type": "number", - "minimum": 0, - "description": "Property. Model:'https://schema.org/Number'. Units:'kilowatt hour (kWh)'. Total energy exported since metering started (since `dateEnergyMeteringStarted`)." - }, - "totalReactiveEnergyExport": { - "type": "number", - "minimum": 0, - "description": "Property. Model:'https://schema.org/Number'. Units:'kilovolt-ampere-reactive-hour (kVArh)'. Total fundamental frequency reactive energy exported since metering started (since `dateEnergyMeteringStarted`)." - }, - "totalApparentEnergyExport": { - "type": "number", - "minimum": 0, - "description": "Property. Model:'https://schema.org/Number'. Units:'kilovolt-ampere-reactive-hour (kVArh)'. Total energy exported (with regards to apparent power) since the metering start date (`dateEnergyMeteringStarted`)" - }, - "frequency": { - "type": "number", - "minimum": 0, - "description": "Property. Model:'http://schema.org/Number'. Units:'Hertz (Hz)'. The frequency of the circuit." - }, - "totalActivePower": { - "type": "number", - "description": "Property. Model:'http://schema.org/Number'. Units:'watt (W)'. Active power consumed (counting all phases)" - }, - "totalReactivePower": { - "type": "number", - "description": "Property. Model:'http://schema.org/Number'. Units:'volt-ampere-reactive (VAr)'. Reactive power consumed (counting all phases)" - }, - "totalApparentPower": { - "type": "number", - "minimum": 0, - "description": "Property. Model:'http://schema.org/Number'. Units:'volt-ampere (VA)'. Apparent power consumed (counting all phases)." - }, - "activeEnergyImport": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'kilowatt hour (kWh)'. Active energy imported i.e. consumed per phase since the metering start date. The actual values will be conveyed by subproperties which names will be equal to the name of each of the alternating current phases: L1, L2, L3.", - "properties": { - "L1": { - "type": "number", - "minimum": 0 - }, - "L2": { - "type": "number", - "minimum": 0 - }, - "L3": { - "type": "number", - "minimum": 0 - } - } - }, - "reactiveEnergyImport": { - "type": "object", - "description": "Property. Model:'kilovolt-ampere-reactive-hour (kVArh)'. Units:'http://schema.org/StructuredValue'. Fundamental frequency reactive energy imported i.e. consumed per phase since the metering start date. The actual values will be conveyed by subproperties which names will be equal to the name of each of the alternating current phases: L1, L2, L3.", - "properties": { - "L1": { - "type": "number", - "minimum": 0 - }, - "L2": { - "type": "number", - "minimum": 0 - }, - "L3": { - "type": "number", - "minimum": 0 - } - } - }, - "apparentEnergyImport": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'kilovolt-ampere-hour (kVAh)'. Apparent energy imported i.e. consumed per phase since the metering start date. The actual values will be conveyed by subproperties which names will be equal to the name of each of the alternating current phases: L1, L2, L3.", - "properties": { - "L1": { - "type": "number", - "minimum": 0 - }, - "L2": { - "type": "number", - "minimum": 0 - }, - "L3": { - "type": "number", - "minimum": 0 - } - } + "description": "Property. Model:'https://schema.org/URL'. Public URL of the domain, which must point to its exposed API." }, - "activeEnergyExport": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'kilowatt hour (kWh)'. Active energy exported per phase since the metering start date. The actual values will be conveyed by subproperties which names will be equal to the name of each of the alternating current phases: L1, L2, L3.", - "properties": { - "L1": { - "type": "number", - "minimum": 0 - }, - "L2": { - "type": "number", - "minimum": 0 - }, - "L3": { - "type": "number", - "minimum": 0 - } - } + "isEntrypoint": { + "type": "boolean", + "description": "Property. Defines if this domain is the Entrypoint domain of the continuum." }, - "reactiveEnergyExport": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'kilovolt-ampere-reactive-hour (kVArh)'. Fundamental frequency reactive energy exported per phase since the metering start date. The actual values will be conveyed by subproperties which names will be equal to the name of each of the alternating current phases: L1, L2, L3.", - "properties": { - "L1": { - "type": "number", - "minimum": 0 - }, - "L2": { - "type": "number", - "minimum": 0 - }, - "L3": { - "type": "number", - "minimum": 0 - } - } - }, - "apparentEnergyExport": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'kilovolt-ampere-hour (kVAh)'. Apparent energy exported per phase since the metering start date. The actual values will be conveyed by subproperties which names will be equal to the name of each of the alternating current phases: L1, L2, L3.", - "properties": { - "L1": { - "type": "number", - "minimum": 0 - }, - "L2": { - "type": "number", - "minimum": 0 - }, - "L3": { - "type": "number", - "minimum": 0 - } - } - }, - "activePower": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'watt (W)'.Active power consumed per phase. The actual values will beconveyed by subproperties which names will be equal to the name of each of the alternating current phases: L1, L2, L3. ", - "properties": { - "L1": { - "type": "number" - }, - "L2": { - "type": "number" - }, - "L3": { - "type": "number" - } - } - }, - "reactivePower": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'volts-ampere-reactive (VAr)'. Fundamental frequency reactive power. The actual values will be conveyed by subproperties whose names will be equal to the name of each of the alternating current phases: L1, L2, L3.", - "properties": { - "L1": { - "type": "number" - }, - "L2": { - "type": "number" - }, - "L3": { - "type": "number" - } - } - }, - "apparentPower": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'volt-ampere (VA)'. Apparent power consumed per phase. The actual values will be conveyed by subproperties which names will be equal to the name of each of the alternating current phases: L1, L2, L3", - "properties": { - "L1": { - "type": "number", - "minimum": 0 - }, - "L2": { - "type": "number", - "minimum": 0 - }, - "L3": { - "type": "number", - "minimum": 0 - } - } - }, - "totalPowerFactor": { - "type": "number", - "description": "Property. Model:'http://schema.org/Number'. Units:'-1 to +1'. Power factor including all phases", - "minimum": -1, - "maximum": 1 - }, - "powerFactor": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'-1 to +1'. Power factor for each phase. The actual values will be conveyed by one subproperty per alternating current phase: L1, L2 and L3", - "properties": { - "L1": { - "type": "number", - "minimum": -1, - "maximum": 1 - }, - "L2": { - "type": "number", - "minimum": -1, - "maximum": 1 - }, - "L3": { - "type": "number", - "minimum": -1, - "maximum": 1 - } - } - }, - "totalDisplacementPowerFactor": { - "type": "number", - "description": "Property. Model:'http://schema.org/Number'. Units:'-1 to +1'. Displacement power factor including all phases. The quantity is based on the fundamental frequency of the system", - "minimum": -1, - "maximum": 1 - }, - "displacementPowerFactor": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'-1 to +1'. Displacement power factor for each phase. The quantity is based on the fundamental frequency of the system. The actual values will be conveyed by one subproperty per alternating current phase: L1, L2 and L3", - "properties": { - "L1": { - "type": "number", - "minimum": -1, - "maximum": 1 - }, - "L2": { - "type": "number", - "minimum": -1, - "maximum": 1 - }, - "L3": { - "type": "number", - "minimum": -1, - "maximum": 1 - } - } - }, - "current": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'Ampers (A)'. Electrical current. The actual values will be conveyed by one subproperty per alternating current phase and the neutral wire: L1, L2, L3 and N.", - "properties": { - "L1": { - "type": "number" - }, - "L2": { - "type": "number" - }, - "L3": { - "type": "number" - }, - "N": { - "type": "number" - } - } - }, - "phaseVoltage": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'Volts (V)'. The voltage between each phase and neutral conductor. The actual values will be conveyed by one subproperty per alternating current phase: L1, L2 and L3", - "properties": { - "L1": { - "type": "number", - "minimum": 0 - }, - "L2": { - "type": "number", - "minimum": 0 - }, - "L3": { - "type": "number", - "minimum": 0 - } - } - }, - "phaseToPhaseVoltage": { - "type": "object", - "description": "Property. Model:'(http://schema.org/StructuredValue'. Units:'Volts (V)'. Voltage between phases. A value for each phase pair: phases 1 and 2 (L12), phases 2 and 3 (L32), phases 3 and 1 (L31).", - "properties": { - "L12": { - "type": "number", - "minimum": 0 - }, - "L23": { - "type": "number", - "minimum": 0 - }, - "L31": { - "type": "number", - "minimum": 0 - } - } - }, - "thdVoltage": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'0 to 1'. Total harmonic distortion of voltage for each phase. The actual values will be conveyed by one subproperty per alternating current phase: L1, L2 and L3", - "properties": { - "L1": { - "type": "number", - "minimum": 0, - "maximum": 1 - }, - "L2": { - "type": "number", - "minimum": 0, - "maximum": 1 - }, - "L3": { - "type": "number", - "minimum": 0, - "maximum": 1 - } - } + "domainStatus": { + "type": "string", + "enum": [ + "Preliminary", + "Functional", + "Removed", + "Untrusted" + ], + "description": "Property. Enum:'Preliminary', 'Functional', 'Removed', 'Untrusted'. Current status of the domain." }, - "thdCurrent": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'0 to 1'. Total harmonic distortion of electrical current. The actual values will be conveyed by one subproperty per alternating current phase: L1, L2 and L3", - "properties": { - "L1": { - "type": "number", - "minimum": 0, - "maximum": 1 - }, - "L2": { - "type": "number", - "minimum": 0, - "maximum": 1 - }, - "L3": { - "type": "number", - "minimum": 0, - "maximum": 1 - } - } + "publicKey": { + "type": "string", + "description": "Property. Public (WireGuard) base64-encoded key of the domain." } } } ], "required": [ "id", - "type" + "type", + "publicUrl", + "owner", + "isEntrypoint", + "domainStatus" ] -} +} \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/DomainStatus/ADOPTERS.yaml b/CROSSSECTOR/ITinfrastructure/DomainStatus/ADOPTERS.yaml deleted file mode 100644 index 0e7a77a03..000000000 --- a/CROSSSECTOR/ITinfrastructure/DomainStatus/ADOPTERS.yaml +++ /dev/null @@ -1,10 +0,0 @@ -description: This is a compilation list of the current adopters of the data model [Data model] of the Subject [Subject]. All fields are non mandatory. More info at https://smart-data-models.github.io/data-models/templates/dataModel/CURRENT_ADOPTERS.yaml -currentAdopters: -- - adopter: - description: - mail: - organization: - project: - comments: - startDate: diff --git a/CROSSSECTOR/ITinfrastructure/DomainStatus/examples/example-normalized.json b/CROSSSECTOR/ITinfrastructure/DomainStatus/examples/example-normalized.json deleted file mode 100644 index dd1edc294..000000000 --- a/CROSSSECTOR/ITinfrastructure/DomainStatus/examples/example-normalized.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "id": "ThreePhaseAcMeasurement:LV3_Ventilation", - "type": "ThreePhaseAcMeasurement", - "dateEnergyMeteringStarted": { - "type": "DateTime", - "value": "2018-07-07T15:05:59.408Z" - }, - "refDevice": { - "type": "Relationship", - "value": "Device:eQL-EDF3GL-2006201705" - }, - "name": { - "value": "HKAPK0200" - }, - "description": { - "value": "measurement corresponding to the ventilation machine rooms" - }, - "totalActiveEnergyImport": { - "type": "Number", - "value": 150781.96448 - }, - "totalReactiveEnergyImport": { - "type": "Number", - "value": 20490.3392 - }, - "totalActiveEnergyExport": { - "type": "Number", - "value": 1059.80176 - }, - "totalReactiveEnergyExport": { - "type": "Number", - "value": 93275.02176 - }, - "totalActivePower": { - "type": "Number", - "value": 31700.269531 - }, - "activePower": { - "type": "StructuredValue", - "value": { - "L1": 11996.416016, - "L2": 9461.501953, - "L3": 10242.351562 - } - }, - "totalReactivePower": { - "type": "Number", - "value": -7830.332031 - }, - "reactivePower": { - "type": "StructuredValue", - "value": { - "L1": -2612.606934, - "L2": -2209.906006, - "L3": -3007.81958 - } - }, - "totalApparentPower": { - "type": "Number", - "value": 36019.089844 - }, - "apparentPower": { - "type": "StructuredValue", - "value": { - "L1": 13201.412109, - "L2": 10755.304688, - "L3": 11941.094727 - } - }, - "powerFactor": { - "type": "StructuredValue", - "value": { - "L1": 0.908817, - "L2": 0.879906, - "L3": 0.859293 - } - }, - "displacementPowerFactor": { - "type": "StructuredValue", - "value": { - "L1": 0.978013, - "L2": 0.973317, - "L3": 0.960382 - } - }, - "frequency": { - "type": "Number", - "value": 50.020672 - }, - "current": { - "type": "StructuredValue", - "value": { - "L1": 56.126038, - "L2": 45.894356, - "L3": 50.872452, - "N": 0.0 - } - }, - "phaseVoltage": { - "type": "StructuredValue", - "value": { - "L1": 234.961304, - "L2": 234.563477, - "L3": 235.354034 - } - }, - "phaseToPhaseVoltage": { - "type": "StructuredValue", - "value": { - "L12": 406.769196, - "L23": 407.081238, - "L31": 407.734558 - } - }, - "thdVoltage": { - "type": "StructuredValue", - "value": { - "L1": 0.01471114, - "L2": 0.01600046, - "L3": 0.01541459 - } - }, - "thdCurrent": { - "type": "StructuredValue", - "value": { - "L1": 0.38497337, - "L2": 0.45807529, - "L3": 0.4938652 - } - } -} diff --git a/CROSSSECTOR/ITinfrastructure/DomainStatus/examples/example-normalized.jsonld b/CROSSSECTOR/ITinfrastructure/DomainStatus/examples/example-normalized.jsonld deleted file mode 100644 index d755f2b6b..000000000 --- a/CROSSSECTOR/ITinfrastructure/DomainStatus/examples/example-normalized.jsonld +++ /dev/null @@ -1,160 +0,0 @@ -{ - "id": "urn:ngsi-ld:ThreePhaseAcMeasurement:ThreePhaseAcMeasurement:LV3_Ventilation", - "type": "ThreePhaseAcMeasurement", - "dateEnergyMeteringStarted": { - "type": "Property", - "value": { - "@type": "DateTime", - "@value": "2018-07-07T15:05:59.408Z" - } - }, - "refDevice": { - "type": "Relationship", - "object": [ - "urn:ngsi-ld:Device:Device:eQL-EDF3GL-2006201705" - ] - }, - "name": { - "type": "Property", - "value": "HKAPK0200" - }, - "description": { - "type": "Property", - "value": "measurement corresponding to the ventilation machine rooms" - }, - "totalActiveEnergyImport": { - "type": "Property", - "value": 150781.96448, - "observedAt": "2019-01-24T22:00:00.173Z" - }, - "totalReactiveEnergyImport": { - "type": "Property", - "value": 20490.3392, - "observedAt": "2019-01-24T22:00:00.173Z" - }, - "totalActiveEnergyExport": { - "type": "Property", - "value": 1059.80176, - "observedAt": "2019-01-24T22:00:00.173Z" - }, - "totalReactiveEnergyExport": { - "type": "Property", - "value": 93275.02176, - "observedAt": "2019-01-24T22:00:00.173Z" - }, - "totalActivePower": { - "type": "Property", - "value": 31700.269531, - "observedAt": "2019-01-24T22:00:00.173Z" - }, - "activePower": { - "type": "Property", - "value": { - "L1": 11996.416016, - "L2": 9461.501953, - "L3": 10242.351562 - }, - "observedAt": "2019-01-24T22:00:00.173Z", - "measurementType": { - "type": "Property", - "value": "average" - }, - "measurementInterval": { - "type": "Property", - "value": 1 - } - }, - "totalReactivePower": { - "type": "Property", - "value": -7830.332031, - "observedAt": "2019-01-24T22:00:00.173Z", - "measurementType": { - "type": "Property", - "value": "average" - } - }, - "reactivePower": { - "type": "Property", - "value": { - "L1": -2612.606934, - "L2": -2209.906006, - "L3": -3007.81958 - } - }, - "totalApparentPower": { - "type": "Property", - "value": 36019.089844 - }, - "apparentPower": { - "type": "Property", - "value": { - "L1": 13201.412109, - "L2": 10755.304688, - "L3": 11941.094727 - } - }, - "powerFactor": { - "type": "Property", - "value": { - "L1": 0.908817, - "L2": 0.879906, - "L3": 0.859293 - } - }, - "displacementPowerFactor": { - "type": "Property", - "value": { - "L1": 0.978013, - "L2": 0.973317, - "L3": 0.960382 - } - }, - "frequency": { - "type": "Property", - "value": 50.020672 - }, - "current": { - "type": "Property", - "value": { - "L1": 56.126038, - "L2": 45.894356, - "L3": 50.872452, - "N": 0.0 - } - }, - "phaseVoltage": { - "type": "Property", - "value": { - "L1": 234.961304, - "L2": 234.563477, - "L3": 235.354034 - } - }, - "phaseToPhaseVoltage": { - "type": "Property", - "value": { - "L12": 406.769196, - "L23": 407.081238, - "L31": 407.734558 - } - }, - "thdVoltage": { - "type": "Property", - "value": { - "L1": 0.01471114, - "L2": 0.01600046, - "L3": 0.01541459 - } - }, - "thdCurrent": { - "type": "Property", - "value": { - "L1": 0.38497337, - "L2": 0.45807529, - "L3": 0.4938652 - } - }, - "@context": [ - "https://smartdatamodels.org/context.jsonld" - ] -} diff --git a/CROSSSECTOR/ITinfrastructure/DomainStatus/examples/example.json b/CROSSSECTOR/ITinfrastructure/DomainStatus/examples/example.json deleted file mode 100644 index 4d4bca3f8..000000000 --- a/CROSSSECTOR/ITinfrastructure/DomainStatus/examples/example.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "id": "ThreePhaseAcMeasurement:LV3_Ventilation", - "type": "ThreePhaseAcMeasurement", - "dateEnergyMeteringStarted": "2018-07-07T15:05:59.408Z", - "refDevice": ["Device:eQL-EDF3GL-2006201705"], - "name": "HKAPK0200", - "description": "measurement corresponding to the ventilation machine rooms", - "totalActiveEnergyImport": 150781.96448, - "totalReactiveEnergyImport": 20490.3392, - "totalActiveEnergyExport": 1059.80176, - "totalReactiveEnergyExport": 93275.02176, - "totalActivePower": 31700.269531, - "activePower": { - "L1": 11996.416016, - "L2": 9461.501953, - "L3": 10242.351562 - }, - "totalReactivePower": -7830.332031, - "reactivePower": { - "L1": -2612.606934, - "L2": -2209.906006, - "L3": -3007.81958 - }, - "totalApparentPower": 36019.089844, - "apparentPower": { - "L1": 13201.412109, - "L2": 10755.304688, - "L3": 11941.094727 - }, - "powerFactor": { - "L1": 0.908817, - "L2": 0.879906, - "L3": 0.859293 - }, - "displacementPowerFactor": { - "L1": 0.978013, - "L2": 0.973317, - "L3": 0.960382 - }, - "frequency": 50.020672, - "current": { - "L1": 56.126038, - "L2": 45.894356, - "L3": 50.872452, - "N": 0.0 - }, - "phaseVoltage": { - "L1": 234.961304, - "L2": 234.563477, - "L3": 235.354034 - }, - "phaseToPhaseVoltage": { - "L12": 406.769196, - "L23": 407.081238, - "L31": 407.734558 - }, - "thdVoltage": { - "L1": 0.01471114, - "L2": 0.01600046, - "L3": 0.01541459 - }, - "thdCurrent": { - "L1": 0.38497337, - "L2": 0.45807529, - "L3": 0.4938652 - } -} diff --git a/CROSSSECTOR/ITinfrastructure/DomainStatus/examples/example.jsonld b/CROSSSECTOR/ITinfrastructure/DomainStatus/examples/example.jsonld deleted file mode 100644 index f5bedb1c4..000000000 --- a/CROSSSECTOR/ITinfrastructure/DomainStatus/examples/example.jsonld +++ /dev/null @@ -1,75 +0,0 @@ -{ - "@context": [ - "https://smartdatamodels.org/context.jsonld" - ], - "activePower": { - "L1": 11996.416016, - "L2": 9461.501953, - "L3": 10242.351562 - }, - "apparentPower": { - "L1": 13201.412109, - "L2": 10755.304688, - "L3": 11941.094727 - }, - "current": { - "L1": 56.126038, - "L2": 45.894356, - "L3": 50.872452, - "N": 0.0 - }, - "dateEnergyMeteringStarted": { - "@type": "DateTime", - "@value": "2018-07-07T15:05:59.408Z" - }, - "description": "measurement corresponding to the ventilation machine rooms", - "displacementPowerFactor": { - "L1": 0.978013, - "L2": 0.973317, - "L3": 0.960382 - }, - "frequency": 50.020672, - "id": "urn:ngsi-ld:ThreePhaseAcMeasurement:ThreePhaseAcMeasurement:LV3_Ventilation", - "name": "HKAPK0200", - "phaseToPhaseVoltage": { - "L12": 406.769196, - "L23": 407.081238, - "L31": 407.734558 - }, - "phaseVoltage": { - "L1": 234.961304, - "L2": 234.563477, - "L3": 235.354034 - }, - "powerFactor": { - "L1": 0.908817, - "L2": 0.879906, - "L3": 0.859293 - }, - "reactivePower": { - "L1": -2612.606934, - "L2": -2209.906006, - "L3": -3007.81958 - }, - "refDevice": [ - "urn:ngsi-ld:Device:Device:eQL-EDF3GL-2006201705" - ], - "thdCurrent": { - "L1": 0.38497337, - "L2": 0.45807529, - "L3": 0.4938652 - }, - "thdVoltage": { - "L1": 0.01471114, - "L2": 0.01600046, - "L3": 0.01541459 - }, - "totalActiveEnergyExport": 1059.80176, - "totalActiveEnergyImport": 150781.96448, - "totalActivePower": 31700.269531, - "totalApparentPower": 36019.089844, - "totalReactiveEnergyExport": 93275.02176, - "totalReactiveEnergyImport": 20490.3392, - "totalReactivePower": -7830.332031, - "type": "ThreePhaseAcMeasurement" -} diff --git a/CROSSSECTOR/ITinfrastructure/DomainStatus/schema.json b/CROSSSECTOR/ITinfrastructure/DomainStatus/schema.json deleted file mode 100644 index 6c9585db4..000000000 --- a/CROSSSECTOR/ITinfrastructure/DomainStatus/schema.json +++ /dev/null @@ -1,411 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$schemaVersion": "0.0.1", - "$id": "https://smart-data-models.github.io/dataModel.SUBJECT/DATAMODEL/schema.json", - "title": "Smart Data Models - SUBJECT / DATAMODEL", - "description": "Description of the data model DATAMODEL ", - "modelTags": "", - "derivedFrom": "", - "license": "https://smart-data-models.github.io/dataModel.SUBJECT/DATAMODEL/LICENSE.md", - "type": "object", - "allOf": [ - { - "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons" - }, - { - "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons" - }, - { - "properties": { - "type": { - "type": "string", - "enum": [ - "ThreePhaseAcMeasurement" - ], - "description": "Property. It must be equal to `ThreePhaseAcMeasurement`." - }, - "refDevice": { - "type": "array", - "description": "Relationship. Device(s) used to obtain the measurement.", - "items": { - "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/EntityIdentifierType" - }, - "minItems": 1, - "uniqueItems": true - }, - "refTargetDevice": { - "type": "array", - "description": "Relationship. Device(s) for which the measurement was taken.", - "items": { - "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/EntityIdentifierType" - }, - "minItems": 1, - "uniqueItems": true - }, - "dateEnergyMeteringStarted": { - "type": "string", - "format": "date-time", - "description": "Property. Model:'http://schema.org/DateTime'. The starting date for metering energy." - }, - "totalActiveEnergyImport": { - "type": "number", - "minimum": 0, - "description": "Property. Model:'https://schema.org/Number'. Units:'kilowatt hour (kWh)'. Total energy imported i.e. consumed since metering started (since `dateEnergyMeteringStarted`)." - }, - "totalReactiveEnergyImport": { - "type": "number", - "minimum": 0, - "description": "Property. Model:'https://schema.org/Number'. Units:'kilovolt-ampere-reactive-hour (kVArh)'. Total energy imported i.e. consumed (with regards to fundamental frequency reactive power) since the metering start date (`dateEnergyMeteringStarted`)" - }, - "totalApparentEnergyImport": { - "type": "number", - "minimum": 0, - "description": "Property. Model:'https://schema.org/Number'. Units:'kilovolt-ampere-hour (kVAh)'. Total energy imported i.e. consumed (with regards to apparent power) since the metering start date (`dateEnergyMeteringStarted`)" - }, - "totalActiveEnergyExport": { - "type": "number", - "minimum": 0, - "description": "Property. Model:'https://schema.org/Number'. Units:'kilowatt hour (kWh)'. Total energy exported since metering started (since `dateEnergyMeteringStarted`)." - }, - "totalReactiveEnergyExport": { - "type": "number", - "minimum": 0, - "description": "Property. Model:'https://schema.org/Number'. Units:'kilovolt-ampere-reactive-hour (kVArh)'. Total fundamental frequency reactive energy exported since metering started (since `dateEnergyMeteringStarted`)." - }, - "totalApparentEnergyExport": { - "type": "number", - "minimum": 0, - "description": "Property. Model:'https://schema.org/Number'. Units:'kilovolt-ampere-reactive-hour (kVArh)'. Total energy exported (with regards to apparent power) since the metering start date (`dateEnergyMeteringStarted`)" - }, - "frequency": { - "type": "number", - "minimum": 0, - "description": "Property. Model:'http://schema.org/Number'. Units:'Hertz (Hz)'. The frequency of the circuit." - }, - "totalActivePower": { - "type": "number", - "description": "Property. Model:'http://schema.org/Number'. Units:'watt (W)'. Active power consumed (counting all phases)" - }, - "totalReactivePower": { - "type": "number", - "description": "Property. Model:'http://schema.org/Number'. Units:'volt-ampere-reactive (VAr)'. Reactive power consumed (counting all phases)" - }, - "totalApparentPower": { - "type": "number", - "minimum": 0, - "description": "Property. Model:'http://schema.org/Number'. Units:'volt-ampere (VA)'. Apparent power consumed (counting all phases)." - }, - "activeEnergyImport": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'kilowatt hour (kWh)'. Active energy imported i.e. consumed per phase since the metering start date. The actual values will be conveyed by subproperties which names will be equal to the name of each of the alternating current phases: L1, L2, L3.", - "properties": { - "L1": { - "type": "number", - "minimum": 0 - }, - "L2": { - "type": "number", - "minimum": 0 - }, - "L3": { - "type": "number", - "minimum": 0 - } - } - }, - "reactiveEnergyImport": { - "type": "object", - "description": "Property. Model:'kilovolt-ampere-reactive-hour (kVArh)'. Units:'http://schema.org/StructuredValue'. Fundamental frequency reactive energy imported i.e. consumed per phase since the metering start date. The actual values will be conveyed by subproperties which names will be equal to the name of each of the alternating current phases: L1, L2, L3.", - "properties": { - "L1": { - "type": "number", - "minimum": 0 - }, - "L2": { - "type": "number", - "minimum": 0 - }, - "L3": { - "type": "number", - "minimum": 0 - } - } - }, - "apparentEnergyImport": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'kilovolt-ampere-hour (kVAh)'. Apparent energy imported i.e. consumed per phase since the metering start date. The actual values will be conveyed by subproperties which names will be equal to the name of each of the alternating current phases: L1, L2, L3.", - "properties": { - "L1": { - "type": "number", - "minimum": 0 - }, - "L2": { - "type": "number", - "minimum": 0 - }, - "L3": { - "type": "number", - "minimum": 0 - } - } - }, - "activeEnergyExport": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'kilowatt hour (kWh)'. Active energy exported per phase since the metering start date. The actual values will be conveyed by subproperties which names will be equal to the name of each of the alternating current phases: L1, L2, L3.", - "properties": { - "L1": { - "type": "number", - "minimum": 0 - }, - "L2": { - "type": "number", - "minimum": 0 - }, - "L3": { - "type": "number", - "minimum": 0 - } - } - }, - "reactiveEnergyExport": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'kilovolt-ampere-reactive-hour (kVArh)'. Fundamental frequency reactive energy exported per phase since the metering start date. The actual values will be conveyed by subproperties which names will be equal to the name of each of the alternating current phases: L1, L2, L3.", - "properties": { - "L1": { - "type": "number", - "minimum": 0 - }, - "L2": { - "type": "number", - "minimum": 0 - }, - "L3": { - "type": "number", - "minimum": 0 - } - } - }, - "apparentEnergyExport": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'kilovolt-ampere-hour (kVAh)'. Apparent energy exported per phase since the metering start date. The actual values will be conveyed by subproperties which names will be equal to the name of each of the alternating current phases: L1, L2, L3.", - "properties": { - "L1": { - "type": "number", - "minimum": 0 - }, - "L2": { - "type": "number", - "minimum": 0 - }, - "L3": { - "type": "number", - "minimum": 0 - } - } - }, - "activePower": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'watt (W)'.Active power consumed per phase. The actual values will beconveyed by subproperties which names will be equal to the name of each of the alternating current phases: L1, L2, L3. ", - "properties": { - "L1": { - "type": "number" - }, - "L2": { - "type": "number" - }, - "L3": { - "type": "number" - } - } - }, - "reactivePower": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'volts-ampere-reactive (VAr)'. Fundamental frequency reactive power. The actual values will be conveyed by subproperties whose names will be equal to the name of each of the alternating current phases: L1, L2, L3.", - "properties": { - "L1": { - "type": "number" - }, - "L2": { - "type": "number" - }, - "L3": { - "type": "number" - } - } - }, - "apparentPower": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'volt-ampere (VA)'. Apparent power consumed per phase. The actual values will be conveyed by subproperties which names will be equal to the name of each of the alternating current phases: L1, L2, L3", - "properties": { - "L1": { - "type": "number", - "minimum": 0 - }, - "L2": { - "type": "number", - "minimum": 0 - }, - "L3": { - "type": "number", - "minimum": 0 - } - } - }, - "totalPowerFactor": { - "type": "number", - "description": "Property. Model:'http://schema.org/Number'. Units:'-1 to +1'. Power factor including all phases", - "minimum": -1, - "maximum": 1 - }, - "powerFactor": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'-1 to +1'. Power factor for each phase. The actual values will be conveyed by one subproperty per alternating current phase: L1, L2 and L3", - "properties": { - "L1": { - "type": "number", - "minimum": -1, - "maximum": 1 - }, - "L2": { - "type": "number", - "minimum": -1, - "maximum": 1 - }, - "L3": { - "type": "number", - "minimum": -1, - "maximum": 1 - } - } - }, - "totalDisplacementPowerFactor": { - "type": "number", - "description": "Property. Model:'http://schema.org/Number'. Units:'-1 to +1'. Displacement power factor including all phases. The quantity is based on the fundamental frequency of the system", - "minimum": -1, - "maximum": 1 - }, - "displacementPowerFactor": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'-1 to +1'. Displacement power factor for each phase. The quantity is based on the fundamental frequency of the system. The actual values will be conveyed by one subproperty per alternating current phase: L1, L2 and L3", - "properties": { - "L1": { - "type": "number", - "minimum": -1, - "maximum": 1 - }, - "L2": { - "type": "number", - "minimum": -1, - "maximum": 1 - }, - "L3": { - "type": "number", - "minimum": -1, - "maximum": 1 - } - } - }, - "current": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'Ampers (A)'. Electrical current. The actual values will be conveyed by one subproperty per alternating current phase and the neutral wire: L1, L2, L3 and N.", - "properties": { - "L1": { - "type": "number" - }, - "L2": { - "type": "number" - }, - "L3": { - "type": "number" - }, - "N": { - "type": "number" - } - } - }, - "phaseVoltage": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'Volts (V)'. The voltage between each phase and neutral conductor. The actual values will be conveyed by one subproperty per alternating current phase: L1, L2 and L3", - "properties": { - "L1": { - "type": "number", - "minimum": 0 - }, - "L2": { - "type": "number", - "minimum": 0 - }, - "L3": { - "type": "number", - "minimum": 0 - } - } - }, - "phaseToPhaseVoltage": { - "type": "object", - "description": "Property. Model:'(http://schema.org/StructuredValue'. Units:'Volts (V)'. Voltage between phases. A value for each phase pair: phases 1 and 2 (L12), phases 2 and 3 (L32), phases 3 and 1 (L31).", - "properties": { - "L12": { - "type": "number", - "minimum": 0 - }, - "L23": { - "type": "number", - "minimum": 0 - }, - "L31": { - "type": "number", - "minimum": 0 - } - } - }, - "thdVoltage": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'0 to 1'. Total harmonic distortion of voltage for each phase. The actual values will be conveyed by one subproperty per alternating current phase: L1, L2 and L3", - "properties": { - "L1": { - "type": "number", - "minimum": 0, - "maximum": 1 - }, - "L2": { - "type": "number", - "minimum": 0, - "maximum": 1 - }, - "L3": { - "type": "number", - "minimum": 0, - "maximum": 1 - } - } - }, - "thdCurrent": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'0 to 1'. Total harmonic distortion of electrical current. The actual values will be conveyed by one subproperty per alternating current phase: L1, L2 and L3", - "properties": { - "L1": { - "type": "number", - "minimum": 0, - "maximum": 1 - }, - "L2": { - "type": "number", - "minimum": 0, - "maximum": 1 - }, - "L3": { - "type": "number", - "minimum": 0, - "maximum": 1 - } - } - } - } - } - ], - "required": [ - "id", - "type" - ] -} diff --git a/CROSSSECTOR/ITinfrastructure/InfrastructureElement/ADOPTERS.yaml b/CROSSSECTOR/ITinfrastructure/InfrastructureElement/ADOPTERS.yaml new file mode 100644 index 000000000..69fb22ba9 --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/InfrastructureElement/ADOPTERS.yaml @@ -0,0 +1,16 @@ +description: This is a compilation list of the current adopters of the data model InfrastructureElement of the Subject ITinfrastructure. All fields are non mandatory. More info at https://smart-data-models.github.io/data-models/templates/dataModel/CURRENT_ADOPTERS.yaml +currentAdopters: +- adopter: aerOS HE Project + description: A Meta-OS to govern the Cloud-Edge-IoT computing continuum + mail: aeros-project@outlook.es + organization: + project: https://aeros-project.eu + comments: + startDate: 2022-09-01 +- adopter: Eclipse aeriOS + description: A Meta-OS to govern the Cloud-Edge-IoT computing continuum (open source solution from aerOS HE Project) + mail: aerios-dev@eclipse.org + organization: + project: https://projects.eclipse.org/projects/iot.aerios + comments: + startDate: 2025-11-01 diff --git a/CROSSSECTOR/ITinfrastructure/InfrastructureElement/examples/example-normalized.json b/CROSSSECTOR/ITinfrastructure/InfrastructureElement/examples/example-normalized.json new file mode 100644 index 000000000..1ff930e08 --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/InfrastructureElement/examples/example-normalized.json @@ -0,0 +1,154 @@ +{ + "id": "InfrastructureElement:Production:00155dc09474", + "type": "InfrastructureElement", + "domain": { + "type": "Relationship", + "value": "Domain:Production" + }, + "hostname": { + "type": "Text", + "value": "continuum-worker-1" + }, + "internalIpAddress": { + "type": "Text", + "value": "192.168.1.35" + }, + "macAddress": { + "type": "Text", + "value": "00:15:5d:c0:94:74" + }, + "trustScore": { + "type": "Number", + "value": 0.58 + }, + "containerTechnology": { + "type": "Text", + "value": "Kubernetes" + }, + "lowLevelOrchestrator": { + "type": "Relationship", + "value": "LowLevelOrchestrator:Production:Kubernetes" + }, + "cpuCores": { + "type": "Number", + "value": 4 + }, + "cpuFreqMax": { + "type": "Number", + "value": 2100.5 + }, + "currentCpuUsage": { + "type": "Number", + "value": 20 + }, + "ramCapacity": { + "type": "Number", + "value": 8192 + }, + "availableRam": { + "type": "Number", + "value": 5100 + }, + "currentRamUsage": { + "type": "Number", + "value": 3092 + }, + "currentRamUsagePct": { + "type": "Number", + "value": 37.7 + }, + "gpu": { + "type": "Boolean", + "value": true + }, + "gpuMemory": { + "type": "Number", + "value": 2048 + }, + "diskType": { + "type": "Text", + "value": "SSD" + }, + "diskCapacity": { + "type": "Number", + "value": 65536 + }, + "availableDisk": { + "type": "Number", + "value": 30585 + }, + "currentDiskUsage": { + "type": "Number", + "value": 34951 + }, + "currentDiskUsagePct": { + "type": "Number", + "value": 53 + }, + "netSpeedUp": { + "type": "Number", + "value": 510 + }, + "netSpeedDown": { + "type": "Number", + "value": 520 + }, + "netTrafficUp": { + "type": "Number", + "value": 2.5 + }, + "netTrafficDown": { + "type": "Number", + "value": 3.5 + }, + "netLostPackages": { + "type": "Number", + "value": 200 + }, + "avgPowerConsumption": { + "type": "Number", + "value": 100 + }, + "currentPowerConsumption": { + "type": "Number", + "value": 95 + }, + "powerSource": { + "type": "Relationship", + "value": "PowerSource:Production:SolarFarm01" + }, + "energyEfficiencyRatio": { + "type": "Number", + "value": 0.8 + }, + "realTimeCapable": { + "type": "Boolean", + "value": true + }, + "cpuArchitecture": { + "type": "Text", + "value": "AMD64" + }, + "operatingSystem": { + "type": "Text", + "value": "Linux" + }, + "infrastructureElementTier": { + "type": "Text", + "value": "Edge" + }, + "infrastructureElementStatus": { + "type": "Text", + "value": "Ready" + }, + "location": { + "type": "GeoProperty", + "value": { + "type": "Point", + "coordinates": [ + -0.3411743020092746, + 39.48103451588121 + ] + } + } +} diff --git a/CROSSSECTOR/ITinfrastructure/InfrastructureElement/examples/example-normalized.jsonld b/CROSSSECTOR/ITinfrastructure/InfrastructureElement/examples/example-normalized.jsonld new file mode 100644 index 000000000..3d016ac9e --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/InfrastructureElement/examples/example-normalized.jsonld @@ -0,0 +1,172 @@ +{ + "id": "urn:ngsi-ld:InfrastructureElement:Production:00155dc09474", + "type": "InfrastructureElement", + "domain": { + "type": "Relationship", + "object": "urn:ngsi-ld:Domain:Production" + }, + "hostname": { + "type": "Property", + "value": "continuum-worker-1" + }, + "internalIpAddress": { + "type": "Property", + "value": "192.168.1.35" + }, + "macAddress": { + "type": "Property", + "value": "00:15:5d:c0:94:74" + }, + "trustScore": { + "type": "Property", + "value": 0.58 + }, + "containerTechnology": { + "type": "Property", + "value": "Kubernetes" + }, + "lowLevelOrchestrator": { + "type": "Relationship", + "object": "urn:ngsi-ld:LowLevelOrchestrator:Production:Kubernetes" + }, + "cpuCores": { + "type": "Property", + "value": 4 + }, + "cpuFreqMax": { + "type": "Property", + "value": 2100.5, + "unitCode": "Megahertzs (MHz)" + }, + "currentCpuUsage": { + "type": "Property", + "value": 20, + "unitCode": "Percentage (%)" + }, + "ramCapacity": { + "type": "Property", + "value": 8192, + "unitCode": "Megabytes (MB)" + }, + "availableRam": { + "type": "Property", + "value": 5100, + "unitCode": "Megabytes (MB)" + }, + "currentRamUsage": { + "type": "Property", + "value": 3092, + "unitCode": "Megabytes (MB)" + }, + "currentRamUsagePct": { + "type": "Property", + "value": 37.7, + "unitCode": "Percentage (%)" + }, + "gpu": { + "type": "Property", + "value": true + }, + "gpuMemory": { + "type": "Property", + "value": 2048, + "unitCode": "Megabytes (MB)" + }, + "diskType": { + "type": "Property", + "value": "SSD" + }, + "diskCapacity": { + "type": "Property", + "value": 65536, + "unitCode": "Megabytes (MB)" + }, + "availableDisk": { + "type": "Property", + "value": 30585, + "unitCode": "Megabytes (MB)" + }, + "currentDiskUsage": { + "type": "Property", + "value": 34951, + "unitCode": "Megabytes (MB)" + }, + "currentDiskUsagePct": { + "type": "Property", + "value": 53, + "unitCode": "Percentage (%)" + }, + "netSpeedUp": { + "type": "Property", + "value": 510, + "unitCode": "Megabits per second (Mbps)" + }, + "netSpeedDown": { + "type": "Property", + "value": 520, + "unitCode": "Megabits per second (Mbps)" + }, + "netTrafficUp": { + "type": "Property", + "value": 2.5, + "unitCode": "Megabytes per second (MBps)" + }, + "netTrafficDown": { + "type": "Property", + "value": 3.5, + "unitCode": "Megabytes per second (MBps)" + }, + "netLostPackages": { + "type": "Property", + "value": 200 + }, + "avgPowerConsumption": { + "type": "Property", + "value": 100 + }, + "currentPowerConsumption": { + "type": "Property", + "value": 95 + }, + "powerSource": { + "type": "Relationship", + "object": "urn:ngsi-ld:PowerSource:Production:SolarFarm01" + }, + "energyEfficiencyRatio": { + "type": "Property", + "value": 0.8 + }, + "realTimeCapable": { + "type": "Property", + "value": true + }, + "cpuArchitecture": { + "type": "Property", + "value": "AMD64" + }, + "operatingSystem": { + "type": "Property", + "value": "Linux" + }, + "infrastructureElementTier": { + "type": "Property", + "value": "Edge" + }, + "infrastructureElementStatus": { + "type": "Property", + "value": "Ready" + }, + "location": { + "type": "GeoProperty", + "value": { + "type": "Point", + "coordinates": [ + -0.3411743020092746, + 39.48103451588121 + ] + } + }, + "@context": [ + "https://smartdatamodels.org/context.jsonld" + ] +} diff --git a/CROSSSECTOR/ITinfrastructure/InfrastructureElement/examples/example.json b/CROSSSECTOR/ITinfrastructure/InfrastructureElement/examples/example.json new file mode 100644 index 000000000..7ba94ce43 --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/InfrastructureElement/examples/example.json @@ -0,0 +1,39 @@ +{ + "id": "urn:ngsi-ld:InfrastructureElement:Production:00155dc09474", + "type": "InfrastructureElement", + "domain": "urn:ngsi-ld:Domain:Production", + "hostname": "continuum-worker-1", + "internalIpAddress": "192.168.1.35", + "macAddress": "00:15:5d:c0:94:74", + "infrastructureElementStatus": "Ready", + "operatingSystem": "Linux", + "infrastructureElementTier": "Edge", + "trustScore": 0.58, + "containerTechnology": "Kubernetes", + "lowLevelOrchestrator": "urn:ngsi-ld:LowLevelOrchestrator:Production:Kubernetes", + "cpuArchitecture": "AMD64", + "cpuCores": 4, + "currentCpuUsage": 20.58, + "ramCapacity": 8192, + "availableRam": 5100, + "currentRamUsage": 3092, + "currentRamUsagePct": 37.7, + "diskType": "SSD", + "diskCapacity": 65536, + "availableDisk": 30585, + "currentDiskUsage": 34951, + "currentDiskUsagePct": 53.34, + "avgPowerConsumption": 110, + "currentPowerConsumption": 95, + "realTimeCapable": true, + "powerSource": "urn:ngsi-ld:PowerSource:Production:SolarFarm01", + "energyEfficiencyRatio": 0.78, + "location": { + "type": "Point", + "coordinates": [ + -0.3411743020092746, + 39.48103451588121 + ] + } +} + diff --git a/CROSSSECTOR/ITinfrastructure/InfrastructureElement/examples/example.jsonld b/CROSSSECTOR/ITinfrastructure/InfrastructureElement/examples/example.jsonld new file mode 100644 index 000000000..ac3c70eae --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/InfrastructureElement/examples/example.jsonld @@ -0,0 +1,41 @@ +{ + "id": "urn:ngsi-ld:InfrastructureElement:Production:00155dc09474", + "type": "InfrastructureElement", + "domain": "urn:ngsi-ld:Domain:Production", + "hostname": "continuum-worker-1", + "internalIpAddress": "192.168.1.35", + "macAddress": "00:15:5d:c0:94:74", + "infrastructureElementStatus": "Ready", + "operatingSystem": "Linux", + "infrastructureElementTier": "Edge", + "trustScore": 0.58, + "containerTechnology": "Kubernetes", + "lowLevelOrchestrator": "urn:ngsi-ld:LowLevelOrchestrator:Production:Kubernetes", + "cpuArchitecture": "AMD64", + "cpuCores": 4, + "currentCpuUsage": 20.58, + "ramCapacity": 8192, + "availableRam": 5100, + "currentRamUsage": 3092, + "currentRamUsagePct": 37.7, + "diskType": "SSD", + "diskCapacity": 65536, + "availableDisk": 30585, + "currentDiskUsage": 34951, + "currentDiskUsagePct": 53.34, + "avgPowerConsumption": 110, + "currentPowerConsumption": 95, + "realTimeCapable": true, + "powerSource": "urn:ngsi-ld:PowerSource:Production:SolarFarm01", + "energyEfficiencyRatio": 0.78, + "location": { + "type": "Point", + "coordinates": [ + -0.3411743020092746, + 39.48103451588121 + ] + }, + "@context": [ + "https://smartdatamodels.org/context.jsonld" + ] +} diff --git a/CROSSSECTOR/ITinfrastructure/DomainStatus/notes.yaml b/CROSSSECTOR/ITinfrastructure/InfrastructureElement/notes.yaml similarity index 100% rename from CROSSSECTOR/ITinfrastructure/DomainStatus/notes.yaml rename to CROSSSECTOR/ITinfrastructure/InfrastructureElement/notes.yaml diff --git a/CROSSSECTOR/ITinfrastructure/InfrastructureElement/schema.json b/CROSSSECTOR/ITinfrastructure/InfrastructureElement/schema.json new file mode 100644 index 000000000..bc8085b0f --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/InfrastructureElement/schema.json @@ -0,0 +1,244 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$schemaVersion": "0.0.1", + "$id": "https://smart-data-models.github.io/dataModel.ITinfrastructure/InfrastructureElement/schema.json", + "title": "Smart Data Models - ITinfrastructure / InfrastructureElement", + "description": "An Infrastructure Element (IE) is a computing node of the Cloud-Edge-IoT computing continuum that can run different ServiceComponents.", + "modelTags": "", + "derivedFrom": "", + "license": "https://smart-data-models.github.io/dataModel.ITinfrastructure/InfrastructureElement/LICENSE.md", + "type": "object", + "allOf": [ + { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons" + }, + { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons" + }, + { + "$ref": "https://smart-data-models.github.io/dataModel.Device/device-schema.json#/definitions/Device-Commons" + }, + { + "properties": { + "type": { + "type": "string", + "description": "Property. NGSI Entity type. It has to be InfrastructureElement", + "enum": [ + "InfrastructureElement" + ] + }, + "domain": { + "type": "string", + "description": "Relationship. Domain to which belongs the Infrastructure Element" + }, + "hostname": { + "type": "string", + "description": "Property. Hostname (or internal name) of the Infrastructure Element." + }, + "internalIpAddress": { + "type": "string", + "description": "Property. Model:'https://schema.org/Text'. Internal IP address of the main network interface of the Infrastructure Element." + }, + "infrastructureElementStatus": { + "type": "string", + "enum": [ + "Disabled", + "Insecure", + "Maintenance", + "Overloaded", + "Ready", + "Untrusted" + ], + "description": "Property. Enum:'Disabled', 'Insecure', 'Maintenance', 'Overloaded', 'Ready', 'Untrusted'. Current status of the Infrastructure Element." + }, + "trustScore": { + "type": "number", + "description": "Property. Numerical score between 0 and 1 that aims to indicate the trustworthiness index of the Infrastructure Element", + "format" : "float", + "minimum": 0, + "maximum": 1 + }, + "containerTechnology": { + "type": "string", + "enum": [ + "Kubernetes", + "Docker", + "containerd", + "Podman", + "iSulad" + ], + "description": "Property. Enum:'Kubernetes', 'Docker', 'containerd', 'Podman', 'iSulad'. Technology or container management framework that uses the IE to run containers (so that ServiceComponents) on it." + }, + "lowLevelOrchestrator": { + "type": "string", + "description": "Relationship. LowLevelOrchestrator related to the Infrastructure Element." + }, + "infrastructureElementTier": { + "type": "string", + "enum": [ + "Cloud", + "Edge", + "FarEdge", + "IoT", + "CloudOnPremises" + ], + "description": "Property. Enum:'Cloud', 'Edge', 'FarEdge', 'IoT', 'CloudOnPremises'. Architectural layer or tier in the Cloud-Edge-Iot continuum to which belongs the Infrastructure Element." + }, + "operatingSystem": { + "type": "string", + "enum": [ + "Linux", + "macOS", + "Windows" + ], + "description": "Property. Enum:'Linux', 'macOS', 'Windows'. Operating System that runs the Infrastructure Element." + }, + "cpuArchitecture": { + "type": "string", + "enum": [ + "AMD64", + "ARM64", + "ARM32", + "MIPS64LE", + "PPC64LE", + "RISC-V", + "S390X" + ], + "description": "Property. Enum:'AMD64', 'ARM64', 'ARM32', 'MIPS64LE', 'PPC64LE', 'RISC-V', 'S390X'. CPU architecture that must have the Infrastructure Element." + }, + "cpuCores": { + "type": "number", + "description": "Property. Number of CPU cores of the Infrastructure Element.", + "minimum": 1 + }, + "cpuFreqMax": { + "type": "number", + "description": "Property. Units:'Megahertzs (MHz)'. Maximum CPU frequency of the Infrastructure Element." + }, + "currentCpuUsage": { + "type": "number", + "description": "Property. Current percentage of CPU usage in the Infrastructure Element.", + "format" : "float", + "minimum": 0, + "maximum": 100 + }, + "ramCapacity": { + "type": "number", + "description": "Property. Units:'Megabytes (MB)'. RAM capacity of the Infrastructure Element." + }, + "availableRam": { + "type": "number", + "description": "Property. Units:'Megabytes (MB)'. Current RAM available in Infrastructure Element." + }, + "currentRamUsage": { + "type": "number", + "description": "Property. Units:'Megabytes (MB)'. Current RAM in use in Infrastructure Element." + }, + "currentRamUsagePct": { + "type": "number", + "description": "Property. Current percentage of RAM usage in the Infrastructure Element.", + "format" : "float", + "minimum": 0, + "maximum": 100 + }, + "gpu": { + "type": "boolean", + "description": "Property. Indicates if the Infrastructure Element has a dedicated GPU." + }, + "gpuMemory": { + "type": "number", + "description": "Property. Units:'Megabytes (MB)'. (Only if the IE has GPU) GPU memory of the Infrastructure Element." + }, + "diskType": { + "type": "string", + "enum": [ + "HDD", + "SSD" + ], + "description": "Property. Enum:'HDD', 'SSD'. Disk type of the Infrastructure Element." + }, + "diskCapacity": { + "type": "number", + "description": "Property. Units:'Megabytes (MB)'. Maximum disk capacity of the Infrastructure Element." + }, + "availableDisk": { + "type": "number", + "description": "Property. Units:'Megabytes (MB)'. Current disk space available in Infrastructure Element." + }, + "currentDiskUsage": { + "type": "number", + "description": "Property. Units:'Megabytes (MB)'. Current disk usage of the Infrastructure Element." + }, + "currentDiskUsagePct": { + "type": "number", + "description": "Property. Current percentage of disk usage of the Infrastructure Element.", + "format" : "float", + "minimum": 0, + "maximum": 100 + }, + "realTimeCapable": { + "type": "boolean", + "description": "Property. Defines if the Infrastructure Element is capable of real-time processing." + }, + "netSpeedUp": { + "type": "number", + "description": "Property. Units:'Megabits per second (Mbps)'. Current upload speed of the main network interface of the Infrastructure Element." + }, + "netSpeedDown": { + "type": "number", + "description": "Property. Units:'Megabits per second (Mbps)'. Current download speed of the main network interface of the Infrastructure Element." + }, + "netTrafficUp": { + "type": "number", + "description": "Property. Units:'Megabytes per second (MBps)'. Current upload traffic of the main network interface of the Infrastructure Element." + }, + "netTrafficDown": { + "type": "number", + "description": "Property. Units:'Megabytes per second (MBps)'. Current download traffic of the main network interface of the Infrastructure Element." + }, + "netLostPackages": { + "type": "number", + "description": "Property. Number of packages lost from the main network interface of the Infrastructure Element." + }, + "avgPowerConsumption": { + "type": "number", + "description": "Property. Units:'Watts (W)'. Average energy consumption of the Infrastructure Element.", + "format" : "float" + }, + "currentPowerConsumption": { + "type": "number", + "description": "Property. Units:'Watts (W)'. Current energy consumption of the Infrastructure Element.", + "format" : "float" + }, + "powerSource": { + "type": "string", + "description": "Relationship. PowerSource which feeds the Infrastructure Element." + }, + "energyEfficiencyRatio": { + "type": "number", + "description": "Property. Ratio (between 0 and 1) that aims to depict the energy efficiency of the Infrastructure Element.", + "format" : "float", + "minimum": 0, + "maximum": 1 + } + } + } + ], + "required": [ + "id", + "type", + "domain", + "hostname", + "internalIpAddress", + "macAddress", + "lowLevelOrchestrator", + "operatingSystem", + "cpuArchitecture", + "infrastructureElementStatus", + "cpuCores", + "currentCpuUsage", + "ramCapacity", + "availableRam", + "currentRamUsage" + ] +} diff --git a/CROSSSECTOR/ITinfrastructure/InfrastructureElementRequirements/ADOPTERS.yaml b/CROSSSECTOR/ITinfrastructure/InfrastructureElementRequirements/ADOPTERS.yaml new file mode 100644 index 000000000..696b5af35 --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/InfrastructureElementRequirements/ADOPTERS.yaml @@ -0,0 +1,16 @@ +description: This is a compilation list of the current adopters of the data model ServiceComponent of the Subject ITinfrastructure. All fields are non mandatory. More info at https://smart-data-models.github.io/data-models/templates/dataModel/CURRENT_ADOPTERS.yaml +currentAdopters: +- adopter: aerOS HE Project + description: A Meta-OS to govern the Cloud-Edge-IoT computing continuum + mail: aeros-project@outlook.es + organization: + project: https://aeros-project.eu + comments: + startDate: 2022-09-01 +- adopter: Eclipse aeriOS + description: A Meta-OS to govern the Cloud-Edge-IoT computing continuum (open source solution from aerOS HE Project) + mail: aerios-dev@eclipse.org + organization: + project: https://projects.eclipse.org/projects/iot.aerios + comments: + startDate: 2025-11-01 diff --git a/CROSSSECTOR/ITinfrastructure/InfrastructureElementRequirements/examples/example-normalized.json b/CROSSSECTOR/ITinfrastructure/InfrastructureElementRequirements/examples/example-normalized.json new file mode 100644 index 000000000..2f4cf5705 --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/InfrastructureElementRequirements/examples/example-normalized.json @@ -0,0 +1,62 @@ +{ + "id": "Service:01:Component:01:InfrastructureElementRequirements", + "type": "InfrastructureElementRequirements", + "requiredCpuUsage": { + "type": "Number", + "value": 0.2 + }, + "requiredMemoryUsage": { + "type": "Number", + "value": 4096 + }, + "cpuArchitecture": { + "type": "Text", + "value": "AMD64" + }, + "gpu": { + "type": "Boolean", + "value": true + }, + "diskType": { + "type": "Text", + "value": "SSD" + }, + "realTimeCapable": { + "type": "Boolean", + "value": false + }, + "greenEnergyRatio": { + "type": "Number", + "value": 0.75 + }, + "energyEfficiencyRatio": { + "type": "Number", + "value": 0.8 + }, + "location": { + "type": "GeoProperty", + "value": { + "type": "Polygon", + "coordinates": [ + [ + [ + -0.3411743020092746, + 39.48103451588121 + ], + [ + -0.3411743020092746, + 39.4103451588121 + ], + [ + -0.3411743020092746, + 39.48103451588121 + ], + [ + -0.3411743020092746, + 39.48103451588121 + ] + ] + ] + } + } +} \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/InfrastructureElementRequirements/examples/example-normalized.jsonld b/CROSSSECTOR/ITinfrastructure/InfrastructureElementRequirements/examples/example-normalized.jsonld new file mode 100644 index 000000000..372cfe12c --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/InfrastructureElementRequirements/examples/example-normalized.jsonld @@ -0,0 +1,69 @@ +{ + "id": "urn:ngsi-ld:Service:01:Component:01:InfrastructureElementRequirements", + "type": "InfrastructureElementRequirements", + "infrastructureElement": { + "type": "Relationship", + "object": "urn:ngsi-ld:InfrastructureElement:001" + }, + "requiredCpuUsage": { + "type": "Property", + "value": 0.2 + }, + "requiredMemoryUsage": { + "type": "Property", + "value": 4096 + }, + "cpuArchitecture": { + "type": "Property", + "value": "AMD64" + }, + "gpu": { + "type": "Property", + "value": true + }, + "diskType": { + "type": "Property", + "value": "SSD" + }, + "realTimeCapable": { + "type": "Property", + "value": true + }, + "greenEnergyRatio": { + "type": "Property", + "value": 0.75 + }, + "energyEfficiencyRatio": { + "type": "Property", + "value": 0.8 + }, + "location": { + "type": "GeoProperty", + "value": { + "type": "Polygon", + "coordinates": [ + [ + [ + -0.3411743020092746, + 39.48103451588121 + ], + [ + -0.3411743020092746, + 39.4103451588121 + ], + [ + -0.3411743020092746, + 39.48103451588121 + ], + [ + -0.3411743020092746, + 39.48103451588121 + ] + ] + ] + } + }, + "@context": [ + "https://smartdatamodels.org/context.jsonld" + ] +} \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/InfrastructureElementRequirements/examples/example.json b/CROSSSECTOR/ITinfrastructure/InfrastructureElementRequirements/examples/example.json new file mode 100644 index 000000000..035a75f9f --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/InfrastructureElementRequirements/examples/example.json @@ -0,0 +1,35 @@ +{ + "id": "Service:01:Component:01:InfrastructureElementRequirements", + "type": "InfrastructureElementRequirements", + "requiredCpuUsage": 0.2, + "requiredMemoryUsage": 4096, + "cpuArchitecture": "AMD64", + "diskType": "SSD", + "gpu": true, + "realTimeCapable": false, + "greenEnergyRatio": 0.75, + "energyEfficiencyRatio": 0.8, + "location": { + "type": "Polygon", + "coordinates": [ + [ + [ + -0.3411743020092746, + 39.48103451588121 + ], + [ + -0.3411743020092746, + 39.4103451588121 + ], + [ + -0.3411743020092746, + 39.48103451588121 + ], + [ + -0.3411743020092746, + 39.48103451588121 + ] + ] + ] + } +} \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/InfrastructureElementRequirements/examples/example.jsonld b/CROSSSECTOR/ITinfrastructure/InfrastructureElementRequirements/examples/example.jsonld new file mode 100644 index 000000000..66218152d --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/InfrastructureElementRequirements/examples/example.jsonld @@ -0,0 +1,38 @@ +{ + "id": "Service:01:Component:01:InfrastructureElementRequirements", + "type": "InfrastructureElementRequirements", + "requiredCpuUsage": 0.2, + "requiredMemoryUsage": 4096, + "cpuArchitecture": "AMD64", + "diskType": "SSD", + "gpu": true, + "realTimeCapable": false, + "greenEnergyRatio": 0.75, + "energyEfficiencyRatio": 0.8, + "location": { + "type": "Polygon", + "coordinates": [ + [ + [ + -0.3411743020092746, + 39.48103451588121 + ], + [ + -0.3411743020092746, + 39.4103451588121 + ], + [ + -0.3411743020092746, + 39.48103451588121 + ], + [ + -0.3411743020092746, + 39.48103451588121 + ] + ] + ] + }, + "@context": [ + "https://smartdatamodels.org/context.jsonld" + ] +} \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/nfrastructureElement/notes.yaml b/CROSSSECTOR/ITinfrastructure/InfrastructureElementRequirements/notes.yaml similarity index 100% rename from CROSSSECTOR/ITinfrastructure/nfrastructureElement/notes.yaml rename to CROSSSECTOR/ITinfrastructure/InfrastructureElementRequirements/notes.yaml diff --git a/CROSSSECTOR/ITinfrastructure/InfrastructureElementRequirements/schema.json b/CROSSSECTOR/ITinfrastructure/InfrastructureElementRequirements/schema.json new file mode 100644 index 000000000..64b4596da --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/InfrastructureElementRequirements/schema.json @@ -0,0 +1,90 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "$schemaVersion": "0.0.1", + "$id": "https://smart-data-models.github.io/dataModel.ITinfrastructure/InfrastructureElementRequirements/schema.json", + "title": "Smart Data Models - ITinfrastructure / InfrastructureElementRequirements", + "description": "Computing requirements that must accomplish an InfrastructureElement to run a certain ServiceComponent on it.", + "modelTags": "", + "derivedFrom": "", + "license": "https://smart-data-models.github.io/dataModel.ITinfrastructure/InfrastructureElementRequirements/LICENSE.md", + "type": "object", + "allOf": [ + { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons" + }, + { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons" + }, + { + "properties": { + "type": { + "description": "Property. NGSI Entity type. It has to be InfrastructureElementRequirements", + "type": "string", + "enum": [ + "InfrastructureElementRequirements" + ] + }, + "infrastructureElement": { + "type": "string", + "description": "Relationship. Only if an specific InfrastructureElement has been selected to run the component." + }, + "cpuArchitecture": { + "type": "string", + "enum": [ + "AMD64", + "ARM64", + "ARM32", + "MIPS64LE", + "PPC64LE", + "RISC-V", + "S390X" + ], + "description": "Property. Enum:'AMD64', 'ARM64', 'ARM32', 'MIPS64LE', 'PPC64LE', 'RISC-V', 'S390X'. CPU architecture that must have the Infrastructure Element." + }, + "diskType": { + "type": "string", + "enum": [ + "HDD", + "SSD" + ], + "description": "Property. Enum:'HDD', 'SSD'. Disk type that must have the Infrastructure Element." + }, + "gpu": { + "type": "boolean", + "description": "Property. Defines if the Infrastructure Element must have a GPU." + }, + "realTimeCapable": { + "type": "boolean", + "description": "Property. Defines if the Infrastructure Element must be capable of real-time processing." + }, + "requiredCpuUsage": { + "type": "number", + "description": "Property. Units:'CPU cores'. Required CPU usage of the component.", + "format" : "float" + }, + "requiredMemoryUsage": { + "type": "number", + "description": "Property. Units:'Megabytes (MB)'. Required memory usage of the component." + }, + "greenEnergyRatio": { + "type": "number", + "description": "Property. Ratio (between 0 and 1) of green energy that must use the power source that feeds the Infrastructure Element.", + "format" : "float", + "minimum": 0, + "maximum": 1 + }, + "energyEfficiencyRatio": { + "type": "number", + "description": "Property. Energy efficiency ratio (between 0 and 1) that must have the Infrastructure Element.", + "format" : "float", + "minimum": 0, + "maximum": 1 + } + } + } + ], + "required": [ + "id", + "type" + ] +} \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/LowLevelOrchestrator/ADOPTERS.yaml b/CROSSSECTOR/ITinfrastructure/LowLevelOrchestrator/ADOPTERS.yaml new file mode 100644 index 000000000..935b1eaf1 --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/LowLevelOrchestrator/ADOPTERS.yaml @@ -0,0 +1,16 @@ +description: This is a compilation list of the current adopters of the data model LowLevelOrchestrator of the Subject ITinfrastructure. All fields are non mandatory. More info at https://smart-data-models.github.io/data-models/templates/dataModel/CURRENT_ADOPTERS.yaml +currentAdopters: +- adopter: aerOS HE Project + description: A Meta-OS to govern the Cloud-Edge-IoT computing continuum + mail: aeros-project@outlook.es + organization: + project: https://aeros-project.eu + comments: + startDate: 2022-09-01 +- adopter: Eclipse aeriOS + description: A Meta-OS to govern the Cloud-Edge-IoT computing continuum (open source solution from aerOS HE Project) + mail: aerios-dev@eclipse.org + organization: + project: https://projects.eclipse.org/projects/iot.aerios + comments: + startDate: 2025-11-01 diff --git a/CROSSSECTOR/ITinfrastructure/LowLevelOrchestrator/examples/example-normalized.json b/CROSSSECTOR/ITinfrastructure/LowLevelOrchestrator/examples/example-normalized.json new file mode 100644 index 000000000..bfc23c9b1 --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/LowLevelOrchestrator/examples/example-normalized.json @@ -0,0 +1,16 @@ +{ + "id": "LowLevelOrchestrator:Cloud:Kubernetes", + "type": "LowLevelOrchestrator", + "description": { + "type": "Text", + "value": "LLO of type Kubernetes of the Domain Cloud" + }, + "domain": { + "type": "Relationship", + "value": "Domain:Cloud" + }, + "orchestrationType": { + "type": "Text", + "value": "Kubernetes" + } +} \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/LowLevelOrchestrator/examples/example-normalized.jsonld b/CROSSSECTOR/ITinfrastructure/LowLevelOrchestrator/examples/example-normalized.jsonld new file mode 100644 index 000000000..d47a5d6ab --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/LowLevelOrchestrator/examples/example-normalized.jsonld @@ -0,0 +1,19 @@ +{ + "id": "urn:ngsi-ld:LowLevelOrchestrator:Cloud:Kubernetes", + "type": "LowLevelOrchestrator", + "description": { + "type": "Property", + "value": "LLO of type Kubernetes of the Domain Cloud" + }, + "domain": { + "type": "Relationship", + "object": "urn:ngsi-ld:Domain:Cloud" + }, + "orchestrationType": { + "type": "Property", + "value": "Kubernetes" + }, + "@context": [ + "https://smartdatamodels.org/context.jsonld" + ] +} \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/LowLevelOrchestrator/examples/example.json b/CROSSSECTOR/ITinfrastructure/LowLevelOrchestrator/examples/example.json new file mode 100644 index 000000000..fda08d550 --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/LowLevelOrchestrator/examples/example.json @@ -0,0 +1,6 @@ +{ + "id": "LowLevelOrchestrator:Cloud:Kubernetes", + "type": "LowLevelOrchestrator", + "domain": "Domain:Cloud", + "orchestrationType": "Kubernetes" +} \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/LowLevelOrchestrator/examples/example.jsonld b/CROSSSECTOR/ITinfrastructure/LowLevelOrchestrator/examples/example.jsonld new file mode 100644 index 000000000..29391f1b0 --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/LowLevelOrchestrator/examples/example.jsonld @@ -0,0 +1,9 @@ +{ + "id": "urn:ngsi-ld:LowLevelOrchestrator:Cloud:Kubernetes", + "type": "LowLevelOrchestrator", + "domain": "urn:ngsi-ld:Domain:Cloud", + "orchestrationType": "Kubernetes", + "@context": [ + "https://smartdatamodels.org/context.jsonld" + ] +} \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/LowLevelOrchestrator/notes.yaml b/CROSSSECTOR/ITinfrastructure/LowLevelOrchestrator/notes.yaml new file mode 100644 index 000000000..7d0cb2efa --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/LowLevelOrchestrator/notes.yaml @@ -0,0 +1,8 @@ +notesHeader: + notes appearing at the beginning of the spec +notesMiddle: + notes appearing in the middle of the spec +notesFooter: + notes appearing in the footer of the spec +notesReadme: + notes appearing in the beginning of the README.md at the root of the data model directory diff --git a/CROSSSECTOR/ITinfrastructure/LowLevelOrchestrator/schema.json b/CROSSSECTOR/ITinfrastructure/LowLevelOrchestrator/schema.json new file mode 100644 index 000000000..904e87a64 --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/LowLevelOrchestrator/schema.json @@ -0,0 +1,51 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "$schemaVersion": "0.0.1", + "$id": "https://smart-data-models.github.io/dataModel.ITinfrastructure/LowLevelOrchestrator/schema.json", + "title": "Smart Data Models - ITinfrastructure / LowLevelOrchestrator", + "description": "A Low Level Orchestrator of the domain, which is associated with a unique orchestration type (e.g., Kubernetes, Docker, containerd, etc.).", + "modelTags": "", + "derivedFrom": "", + "license": "https://smart-data-models.github.io/dataModel.ITinfrastructure/LowLevelOrchestrator/LICENSE.md", + "type": "object", + "allOf": [ + { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons" + }, + { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons" + }, + { + "properties": { + "type": { + "description": "Property. NGSI Entity type. It has to be LowLevelOrchestrator", + "type": "string", + "enum": [ + "LowLevelOrchestrator" + ] + }, + "domain": { + "type": "string", + "description": "Relationship. Domain to which the Low Level Orchestrator belongs." + }, + "orchestrationType": { + "type": "string", + "enum": [ + "Kubernetes", + "Docker", + "containerd", + "Podman", + "iSulad" + ], + "description": "Property. Enum:'Kubernetes', 'Docker', 'containerd', 'Podman', 'iSulad'. Orchestration type of the Low Level Orchestrator, which is usually a container management framework." + } + } + } + ], + "required": [ + "id", + "type", + "domain", + "orchestrationType" + ] +} \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/NetworkConnection/ADOPTERS.yaml b/CROSSSECTOR/ITinfrastructure/NetworkConnection/ADOPTERS.yaml new file mode 100644 index 000000000..155d6a63e --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/NetworkConnection/ADOPTERS.yaml @@ -0,0 +1,16 @@ +description: This is a compilation list of the current adopters of the data model NetworkConnection of the Subject ITinfrastructure. All fields are non mandatory. More info at https://smart-data-models.github.io/data-models/templates/dataModel/CURRENT_ADOPTERS.yaml +currentAdopters: +- adopter: aerOS HE Project + description: A Meta-OS to govern the Cloud-Edge-IoT computing continuum + mail: aeros-project@outlook.es + organization: + project: https://aeros-project.eu + comments: + startDate: 2022-09-01 +- adopter: Eclipse aeriOS + description: A Meta-OS to govern the Cloud-Edge-IoT computing continuum (open source solution from aerOS HE Project) + mail: aerios-dev@eclipse.org + organization: + project: https://projects.eclipse.org/projects/iot.aerios + comments: + startDate: 2025-11-01 diff --git a/CROSSSECTOR/ITinfrastructure/NetworkConnection/examples/example-normalized.json b/CROSSSECTOR/ITinfrastructure/NetworkConnection/examples/example-normalized.json new file mode 100644 index 000000000..4c830ef78 --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/NetworkConnection/examples/example-normalized.json @@ -0,0 +1,20 @@ +{ + "id": "NetworkConnection:01", + "type": "NetworkConnection", + "linkFrom": { + "type": "Relationship", + "value": "Service:01:Component:01" + }, + "linkTo": { + "type": "Relationship", + "value": "Service:WebApp01:Component:Backend" + }, + "networkPorts": { + "type": "Relationship", + "value": ["Service:WebApp01:Component:Backend:NetworkPort:Backend"] + }, + "status": { + "type": "Text", + "value": "Up" + } +} \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/NetworkConnection/examples/example-normalized.jsonld b/CROSSSECTOR/ITinfrastructure/NetworkConnection/examples/example-normalized.jsonld new file mode 100644 index 000000000..b53633848 --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/NetworkConnection/examples/example-normalized.jsonld @@ -0,0 +1,23 @@ +{ + "id": "urn:ngsi-ld:NetworkConnection:01", + "type": "NetworkConnection", + "linkFrom": { + "type": "Relationship", + "object": "urn:ngsi-ld:Service:01:Component:01" + }, + "linkTo": { + "type": "Relationship", + "object": "urn:ngsi-ld:Service:WebApp01:Component:Backend" + }, + "networkPorts": { + "type": "Relationship", + "object": ["urn:ngsi-ld:Service:WebApp01:Component:Backend:NetworkPort:Backend"] + }, + "status": { + "type": "Property", + "value": "Up" + }, + "@context": [ + "https://smartdatamodels.org/context.jsonld" + ] +} \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/NetworkConnection/examples/example.json b/CROSSSECTOR/ITinfrastructure/NetworkConnection/examples/example.json new file mode 100644 index 000000000..eb55d8cb2 --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/NetworkConnection/examples/example.json @@ -0,0 +1,8 @@ +{ + "id": "NetworkConnection:01", + "type": "NetworkConnection", + "linkFrom": "Service:01:Component:01", + "linkTo": "Service:WebApp01:Component:Backend", + "networkPorts": ["Service:WebApp01:Component:Backend:NetworkPort:Backend"], + "status": "Up" +} \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/NetworkConnection/examples/example.jsonld b/CROSSSECTOR/ITinfrastructure/NetworkConnection/examples/example.jsonld new file mode 100644 index 000000000..f9b74d7e7 --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/NetworkConnection/examples/example.jsonld @@ -0,0 +1,11 @@ +{ + "id": "urn:ngsi-ld:NetworkConnection:01", + "type": "NetworkConnection", + "linkFrom": "urn:ngsi-ld:Service:01:Component:01", + "linkTo": "urn:ngsi-ld:Service:WebApp01:Component:Backend", + "networkPorts": ["urn:ngsi-ld:Service:WebApp01:Component:Backend:NetworkPort:Backend"], + "status": "Up", + "@context": [ + "https://smartdatamodels.org/context.jsonld" + ] +} \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/NetworkConnection/notes.yaml b/CROSSSECTOR/ITinfrastructure/NetworkConnection/notes.yaml new file mode 100644 index 000000000..7d0cb2efa --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/NetworkConnection/notes.yaml @@ -0,0 +1,8 @@ +notesHeader: + notes appearing at the beginning of the spec +notesMiddle: + notes appearing in the middle of the spec +notesFooter: + notes appearing in the footer of the spec +notesReadme: + notes appearing in the beginning of the README.md at the root of the data model directory diff --git a/CROSSSECTOR/ITinfrastructure/NetworkConnection/schema.json b/CROSSSECTOR/ITinfrastructure/NetworkConnection/schema.json new file mode 100644 index 000000000..5f9803077 --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/NetworkConnection/schema.json @@ -0,0 +1,63 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "$schemaVersion": "0.0.1", + "$id": "https://smart-data-models.github.io/dataModel.ITinfrastructure/NetworkConnection/schema.json", + "title": "Smart Data Models - ITinfrastructure / NetworkConnection", + "description": "Network connection among two ServiceComponents.", + "modelTags": "", + "derivedFrom": "", + "license": "https://smart-data-models.github.io/dataModel.ITinfrastructure/NetworkConnection/LICENSE.md", + "type": "object", + "allOf": [ + { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons" + }, + { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons" + }, + { + "properties": { + "type": { + "description": "Property. NGSI Entity type. It has to be NetworkConnection", + "type": "string", + "enum": [ + "NetworkConnection" + ] + }, + "linkFrom": { + "type": "string", + "description": "Relationship. ServiceComponent which needs to establish a network connection with the 'linkTo' component." + }, + "linkTo": { + "type": "string", + "description": "Relationship. ServiceComponent which exposes some network ports that need to be used by the 'linkFrom' component." + }, + "networkPorts": { + "type": "array", + "description": "Relationship. NetworkPorts exposed by the 'linkTo' component and used by the 'linkFrom' component.", + "items": { + "type": "string", + "minItems": 1, + "description": "Relationship. NetworkPort exposed by the 'linkTo' component and used by the 'linkFrom' component." + } + }, + "status": { + "type": "string", + "enum": [ + "Up", + "Down" + ], + "description": "Property. Enum:'Up', 'Down'. Status of the connection." + } + } + } + ], + "required": [ + "id", + "type", + "linkFrom", + "linkTo", + "networkPorts", + "status" + ] +} \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/NetworkPort/ADOPTERS.yaml b/CROSSSECTOR/ITinfrastructure/NetworkPort/ADOPTERS.yaml new file mode 100644 index 000000000..c7008987b --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/NetworkPort/ADOPTERS.yaml @@ -0,0 +1,16 @@ +description: This is a compilation list of the current adopters of the data model NetworkPort of the Subject ITinfrastructure. All fields are non mandatory. More info at https://smart-data-models.github.io/data-models/templates/dataModel/CURRENT_ADOPTERS.yaml +currentAdopters: +- adopter: aerOS HE Project + description: A Meta-OS to govern the Cloud-Edge-IoT computing continuum + mail: aeros-project@outlook.es + organization: + project: https://aeros-project.eu + comments: + startDate: 2022-09-01 +- adopter: Eclipse aeriOS + description: A Meta-OS to govern the Cloud-Edge-IoT computing continuum (open source solution from aerOS HE Project) + mail: aerios-dev@eclipse.org + organization: + project: https://projects.eclipse.org/projects/iot.aerios + comments: + startDate: 2025-11-01 diff --git a/CROSSSECTOR/ITinfrastructure/NetworkPort/examples/example-normalized.json b/CROSSSECTOR/ITinfrastructure/NetworkPort/examples/example-normalized.json new file mode 100644 index 000000000..0ae478bf2 --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/NetworkPort/examples/example-normalized.json @@ -0,0 +1,12 @@ +{ + "id": "Service:WebApp01:Component:Backend:NetworkPort:01", + "type": "NetworkPort", + "portNumber": { + "type": "Number", + "value": 443 + }, + "portProtocol": { + "type": "Text", + "value": "TCP" + } +} \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/NetworkPort/examples/example-normalized.jsonld b/CROSSSECTOR/ITinfrastructure/NetworkPort/examples/example-normalized.jsonld new file mode 100644 index 000000000..e80f5a5ee --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/NetworkPort/examples/example-normalized.jsonld @@ -0,0 +1,15 @@ +{ + "id": "urn:ngsi-ld:Service:WebApp01:Component:Backend:NetworkPort:01", + "type": "NetworkPort", + "portNumber": { + "type": "Property", + "value": 443 + }, + "portProtocol": { + "type": "Property", + "value": "TCP" + }, + "@context": [ + "https://smartdatamodels.org/context.jsonld" + ] +} \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/NetworkPort/examples/example.json b/CROSSSECTOR/ITinfrastructure/NetworkPort/examples/example.json new file mode 100644 index 000000000..ece74b0b8 --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/NetworkPort/examples/example.json @@ -0,0 +1,6 @@ +{ + "id": "urn:ngsi-ld:Service:WebApp01:Component:Backend:NetworkPort:01", + "type": "NetworkPort", + "portNumber": 443, + "portProtocol": "TCP" +} \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/NetworkPort/examples/example.jsonld b/CROSSSECTOR/ITinfrastructure/NetworkPort/examples/example.jsonld new file mode 100644 index 000000000..e6ba12f86 --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/NetworkPort/examples/example.jsonld @@ -0,0 +1,9 @@ +{ + "id": "urn:ngsi-ld:Service:WebApp01:Component:Backend:NetworkPort:01", + "type": "NetworkPort", + "portNumber": 443, + "portProtocol": "TCP", + "@context": [ + "https://smartdatamodels.org/context.jsonld" + ] +} \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/NetworkPort/notes.yaml b/CROSSSECTOR/ITinfrastructure/NetworkPort/notes.yaml new file mode 100644 index 000000000..7d0cb2efa --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/NetworkPort/notes.yaml @@ -0,0 +1,8 @@ +notesHeader: + notes appearing at the beginning of the spec +notesMiddle: + notes appearing in the middle of the spec +notesFooter: + notes appearing in the footer of the spec +notesReadme: + notes appearing in the beginning of the README.md at the root of the data model directory diff --git a/CROSSSECTOR/ITinfrastructure/NetworkPort/schema.json b/CROSSSECTOR/ITinfrastructure/NetworkPort/schema.json new file mode 100644 index 000000000..cc6950363 --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/NetworkPort/schema.json @@ -0,0 +1,49 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "$schemaVersion": "0.0.1", + "$id": "https://smart-data-models.github.io/dataModel.ITinfrastructure/NetworkPort/schema.json", + "title": "Smart Data Models - ITinfrastructure / NetworkPort", + "description": "Network port exposed by a ServiceComponent.", + "modelTags": "", + "derivedFrom": "", + "license": "https://smart-data-models.github.io/dataModel.ITinfrastructure/NetworkPort/LICENSE.md", + "type": "object", + "allOf": [ + { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons" + }, + { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons" + }, + { + "properties": { + "type": { + "description": "Property. NGSI Entity type. It has to be NetworkPort", + "type": "string", + "enum": [ + "NetworkPort" + ] + }, + "number": { + "type": "number", + "description": "Property. Number of the network port." + }, + "protocol": { + "type": "string", + "enum": [ + "TCP", + "UDP", + "SCTP" + ], + "description": "Property. Protocol of the network port. Enum:'TCP', 'UDP', 'SCTP'" + } + } + } + ], + "required": [ + "id", + "type", + "number", + "protocol" + ] +} \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/PersistentStorage/ADOPTERS.yaml b/CROSSSECTOR/ITinfrastructure/PersistentStorage/ADOPTERS.yaml new file mode 100644 index 000000000..696b5af35 --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/PersistentStorage/ADOPTERS.yaml @@ -0,0 +1,16 @@ +description: This is a compilation list of the current adopters of the data model ServiceComponent of the Subject ITinfrastructure. All fields are non mandatory. More info at https://smart-data-models.github.io/data-models/templates/dataModel/CURRENT_ADOPTERS.yaml +currentAdopters: +- adopter: aerOS HE Project + description: A Meta-OS to govern the Cloud-Edge-IoT computing continuum + mail: aeros-project@outlook.es + organization: + project: https://aeros-project.eu + comments: + startDate: 2022-09-01 +- adopter: Eclipse aeriOS + description: A Meta-OS to govern the Cloud-Edge-IoT computing continuum (open source solution from aerOS HE Project) + mail: aerios-dev@eclipse.org + organization: + project: https://projects.eclipse.org/projects/iot.aerios + comments: + startDate: 2025-11-01 diff --git a/CROSSSECTOR/ITinfrastructure/PersistentStorage/examples/example-normalized.json b/CROSSSECTOR/ITinfrastructure/PersistentStorage/examples/example-normalized.json new file mode 100644 index 000000000..00c0592fb --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/PersistentStorage/examples/example-normalized.json @@ -0,0 +1,24 @@ +{ + "id": "Service:WebApp01:Component:Db:PersistentStorage:01", + "type": "PersistentStorage", + "mountPath": { + "type": "Property", + "value": "/data/db" + }, + "storageType": { + "type": "Property", + "value": "Local" + }, + "hostPath": { + "type": "Property", + "value": "/var/mongo-persistence/data/db" + }, + "accessMode": { + "type": "Property", + "value": "ReadWriteOnce" + }, + "size": { + "type": "Property", + "value": 2048 + } +} \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/PersistentStorage/examples/example-normalized.jsonld b/CROSSSECTOR/ITinfrastructure/PersistentStorage/examples/example-normalized.jsonld new file mode 100644 index 000000000..b6c71ca7c --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/PersistentStorage/examples/example-normalized.jsonld @@ -0,0 +1,27 @@ +{ + "id": "urn:ngsi-ld:Service:WebApp01:Component:Db:PersistentStorage:01", + "type": "PersistentStorage", + "mountPath": { + "type": "Property", + "value": "/data/db" + }, + "storageType": { + "type": "Property", + "value": "Local" + }, + "hostPath": { + "type": "Property", + "value": "/var/mongo-persistence/data/db" + }, + "accessMode": { + "type": "Property", + "value": "ReadWriteOnce" + }, + "size": { + "type": "Property", + "value": 2048 + }, + "@context": [ + "https://smartdatamodels.org/context.jsonld" + ] +} \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/PersistentStorage/examples/example.json b/CROSSSECTOR/ITinfrastructure/PersistentStorage/examples/example.json new file mode 100644 index 000000000..8cf1a04a0 --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/PersistentStorage/examples/example.json @@ -0,0 +1,9 @@ +{ + "id": "Service:WebApp01:Component:Db:PersistentStorage:01", + "type": "PersistentStorage", + "mountPath": "/data/db", + "storageType": "Local", + "hostPath": "/var/mongo-persistence/data/db", + "accessMode": "ReadWriteOnce", + "size": 2048 +} \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/PersistentStorage/examples/example.jsonld b/CROSSSECTOR/ITinfrastructure/PersistentStorage/examples/example.jsonld new file mode 100644 index 000000000..c4d4689d7 --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/PersistentStorage/examples/example.jsonld @@ -0,0 +1,12 @@ +{ + "id": "urn:ngsi-ld:Service:WebApp01:Component:Db:PersistentStorage:01", + "type": "PersistentStorage", + "mountPath": "/data/db", + "storageType": "Local", + "hostPath": "/var/mongo-persistence/data/db", + "accessMode": "ReadWriteOnce", + "size": 2048, + "@context": [ + "https://smartdatamodels.org/context.jsonld" + ] +} \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/PersistentStorage/notes.yaml b/CROSSSECTOR/ITinfrastructure/PersistentStorage/notes.yaml new file mode 100644 index 000000000..7d0cb2efa --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/PersistentStorage/notes.yaml @@ -0,0 +1,8 @@ +notesHeader: + notes appearing at the beginning of the spec +notesMiddle: + notes appearing in the middle of the spec +notesFooter: + notes appearing in the footer of the spec +notesReadme: + notes appearing in the beginning of the README.md at the root of the data model directory diff --git a/CROSSSECTOR/ITinfrastructure/PersistentStorage/schema.json b/CROSSSECTOR/ITinfrastructure/PersistentStorage/schema.json new file mode 100644 index 000000000..097b88795 --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/PersistentStorage/schema.json @@ -0,0 +1,65 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "$schemaVersion": "0.0.1", + "$id": "https://smart-data-models.github.io/dataModel.ITinfrastructure/PersistentStorage/schema.json", + "title": "Smart Data Models - ITinfrastructure / PersistentStorage", + "description": "Persistent storage requested by a ServiceComponent.", + "modelTags": "", + "derivedFrom": "", + "license": "https://smart-data-models.github.io/dataModel.ITinfrastructure/PersistentStorage/LICENSE.md", + "type": "object", + "allOf": [ + { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons" + }, + { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons" + }, + { + "properties": { + "type": { + "description": "Property. NGSI Entity type. It has to be PersistentStorage", + "type": "string", + "enum": [ + "PersistentStorage" + ] + }, + "mountPath": { + "type": "string", + "description": "Property. Mount path in the ServiceComponent of the requested persistent storage." + }, + "storageType": { + "type": "string", + "enum": [ + "External", + "Local" + ], + "description": "Property. Type of the requested storage, if local is mounted in the selectedIE of the ServiceComponent, otherwise is mounted in an external infrastructure such a cloud storage system. Enum:'External', 'Local'" + }, + "hostPath": { + "type": "string", + "description": "Property. (Only if the storageType is 'local') Host path in the Infrastructure Element where the persistent storage is located." + }, + "accessMode": { + "type": "string", + "enum": [ + "ReadWriteOnce", + "ReadOnlyMany", + "ReadWriteMany" + ], + "description": "Property. Mode of the requested persistent storage. Enum:'ReadWriteOnce', 'ReadOnlyMany', 'ReadWriteMany'" + }, + "size": { + "type": "number", + "description": "Property. Units:'Megabytes (MB)'. Size of the requested persistent storage." + } + } + } + ], + "required": [ + "id", + "type", + "mountPath", + "size" + ] +} \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/PowerSource/ADOPTERS.yaml b/CROSSSECTOR/ITinfrastructure/PowerSource/ADOPTERS.yaml new file mode 100644 index 000000000..7c59447c7 --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/PowerSource/ADOPTERS.yaml @@ -0,0 +1,16 @@ +description: This is a compilation list of the current adopters of the data model Service of the Subject ITinfrastructure. All fields are non mandatory. More info at https://smart-data-models.github.io/data-models/templates/dataModel/CURRENT_ADOPTERS.yaml +currentAdopters: +- adopter: aerOS HE Project + description: A Meta-OS to govern the Cloud-Edge-IoT computing continuum + mail: aeros-project@outlook.es + organization: + project: https://aeros-project.eu + comments: + startDate: 2022-09-01 +- adopter: Eclipse aeriOS + description: A Meta-OS to govern the Cloud-Edge-IoT computing continuum (open source solution from aerOS HE Project) + mail: aerios-dev@eclipse.org + organization: + project: https://projects.eclipse.org/projects/iot.aerios + comments: + startDate: 2025-11-01 diff --git a/CROSSSECTOR/ITinfrastructure/PowerSource/examples/example-normalized.json b/CROSSSECTOR/ITinfrastructure/PowerSource/examples/example-normalized.json new file mode 100644 index 000000000..138bab13e --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/PowerSource/examples/example-normalized.json @@ -0,0 +1,26 @@ +{ + "id": "urn:ngsi-ld:PowerSource:01", + "type": "PowerSource", + "description": { + "type": "Property", + "value": "Photovoltaic panels located in Warsaw" + }, + "greenEnergyRatio": { + "type": "Property", + "value": 0.95 + }, + "currentPowerGeneratorPotential": { + "type": "Property", + "value": 25.5 + }, + "location": { + "type": "GeoProperty", + "value": { + "type": "Point", + "coordinates": [ + 21.01178, + 52.22977 + ] + } + } +} \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/PowerSource/examples/example-normalized.jsonld b/CROSSSECTOR/ITinfrastructure/PowerSource/examples/example-normalized.jsonld new file mode 100644 index 000000000..8ef32224f --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/PowerSource/examples/example-normalized.jsonld @@ -0,0 +1,29 @@ +{ + "id": "urn:ngsi-ld:PowerSource:01", + "type": "PowerSource", + "description": { + "type": "Property", + "value": "Photovoltaic panels located in Warsaw" + }, + "greenEnergyRatio": { + "type": "Property", + "value": 0.95 + }, + "currentPowerGeneratorPotential": { + "type": "Property", + "value": 25.5 + }, + "location": { + "type": "GeoProperty", + "value": { + "type": "Point", + "coordinates": [ + 21.01178, + 52.22977 + ] + } + }, + "@context": [ + "https://smartdatamodels.org/context.jsonld" + ] +} \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/PowerSource/examples/example.json b/CROSSSECTOR/ITinfrastructure/PowerSource/examples/example.json new file mode 100644 index 000000000..d8fea3e87 --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/PowerSource/examples/example.json @@ -0,0 +1,14 @@ +{ + "id": "urn:ngsi-ld:PowerSource:01", + "type": "PowerSource", + "description": "Photovoltaic panels located in Warsaw", + "greenEnergyRatio": 0.95, + "currentPowerGeneratorPotential": 25.5, + "location": { + "type": "Point", + "coordinates": [ + 21.01178, + 52.22977 + ] + } +} \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/PowerSource/examples/example.jsonld b/CROSSSECTOR/ITinfrastructure/PowerSource/examples/example.jsonld new file mode 100644 index 000000000..d859d5193 --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/PowerSource/examples/example.jsonld @@ -0,0 +1,17 @@ +{ + "id": "urn:ngsi-ld:PowerSource:01", + "type": "PowerSource", + "description": "Photovoltaic panels located in Warsaw", + "greenEnergyRatio": 0.95, + "currentPowerGeneratorPotential": 25.5, + "location": { + "type": "Point", + "coordinates": [ + 21.01178, + 52.22977 + ] + }, + "@context": [ + "https://smartdatamodels.org/context.jsonld" + ] +} \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/PowerSource/notes.yaml b/CROSSSECTOR/ITinfrastructure/PowerSource/notes.yaml new file mode 100644 index 000000000..7d0cb2efa --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/PowerSource/notes.yaml @@ -0,0 +1,8 @@ +notesHeader: + notes appearing at the beginning of the spec +notesMiddle: + notes appearing in the middle of the spec +notesFooter: + notes appearing in the footer of the spec +notesReadme: + notes appearing in the beginning of the README.md at the root of the data model directory diff --git a/CROSSSECTOR/ITinfrastructure/PowerSource/schema.json b/CROSSSECTOR/ITinfrastructure/PowerSource/schema.json new file mode 100644 index 000000000..c371f8862 --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/PowerSource/schema.json @@ -0,0 +1,48 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "$schemaVersion": "0.0.1", + "$id": "https://smart-data-models.github.io/dataModel.ITinfrastructure/PowerSource/schema.json", + "title": "Smart Data Models - ITinfrastructure / PowerSource", + "description": "Power source of an Infrastructure Element.", + "modelTags": "", + "derivedFrom": "", + "license": "https://smart-data-models.github.io/dataModel.ITinfrastructure/PowerSource/LICENSE.md", + "type": "object", + "allOf": [ + { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons" + }, + { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons" + }, + { + "properties": { + "type": { + "description": "Property. NGSI Entity type. It has to be PowerSource", + "type": "string", + "enum": [ + "PowerSource" + ] + }, + "greenEnergyRatio": { + "type": "number", + "description": "Property. Ratio (between 0 and 1) of green energy used by the power source.", + "format" : "float", + "minimum": 0, + "maximum": 1 + }, + "currentPowerGeneratorPotential": { + "type": "number", + "description": "Property. Units:'kW'. Current power generator potential.", + "format" : "float" + } + } + } + ], + "required": [ + "id", + "type", + "greenEnergyRatio", + "currentPowerGeneratorPotential" + ] +} \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/Service/ADOPTERS.yaml b/CROSSSECTOR/ITinfrastructure/Service/ADOPTERS.yaml new file mode 100644 index 000000000..7c59447c7 --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/Service/ADOPTERS.yaml @@ -0,0 +1,16 @@ +description: This is a compilation list of the current adopters of the data model Service of the Subject ITinfrastructure. All fields are non mandatory. More info at https://smart-data-models.github.io/data-models/templates/dataModel/CURRENT_ADOPTERS.yaml +currentAdopters: +- adopter: aerOS HE Project + description: A Meta-OS to govern the Cloud-Edge-IoT computing continuum + mail: aeros-project@outlook.es + organization: + project: https://aeros-project.eu + comments: + startDate: 2022-09-01 +- adopter: Eclipse aeriOS + description: A Meta-OS to govern the Cloud-Edge-IoT computing continuum (open source solution from aerOS HE Project) + mail: aerios-dev@eclipse.org + organization: + project: https://projects.eclipse.org/projects/iot.aerios + comments: + startDate: 2025-11-01 diff --git a/CROSSSECTOR/ITinfrastructure/Service/examples/example-normalized.json b/CROSSSECTOR/ITinfrastructure/Service/examples/example-normalized.json new file mode 100644 index 000000000..17a84b2ea --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/Service/examples/example-normalized.json @@ -0,0 +1,28 @@ +{ + "id": "Service:WebApp01", + "type": "Service", + "name": { + "type": "Text", + "value": "Web application number 1" + }, + "description": { + "type": "Text", + "value": "Web application deployed for testing purposes" + }, + "serviceType": { + "type": "Relationship", + "value": "ServiceType:WebApplication" + }, + "domainHandler": { + "type": "Relationship", + "value": "Domain:Cloud" + }, + "actionType": { + "type": "Text", + "value": "Deployed" + }, + "hasOverlay": { + "type": "Boolean", + "value": true + } +} \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/Service/examples/example-normalized.jsonld b/CROSSSECTOR/ITinfrastructure/Service/examples/example-normalized.jsonld new file mode 100644 index 000000000..4a6f86e55 --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/Service/examples/example-normalized.jsonld @@ -0,0 +1,31 @@ +{ + "id": "urn:ngsi-ld:Service:WebApp01", + "type": "Service", + "name": { + "type": "Property", + "value": "Web application number 1" + }, + "description": { + "type": "Property", + "value": "Web application deployed for testing purposes" + }, + "serviceType": { + "type": "Relationship", + "object": "urn:ngsi-ld:ServiceType:WebApplication" + }, + "domainHandler": { + "type": "Relationship", + "object": "urn:ngsi-ld:Domain:Cloud" + }, + "actionType": { + "type": "Property", + "value": "Deployed" + }, + "hasOverlay": { + "type": "Property", + "value": true + }, + "@context": [ + "https://smartdatamodels.org/context.jsonld" + ] +} \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/Service/examples/example.json b/CROSSSECTOR/ITinfrastructure/Service/examples/example.json new file mode 100644 index 000000000..a5ee94a46 --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/Service/examples/example.json @@ -0,0 +1,10 @@ +{ + "id": "Service:WebApp01", + "type": "Service", + "name": "Web application number 1", + "description": "Web application deployed for testing purposes", + "serviceType": "ServiceType:WebApplication", + "actionType": "Deployed", + "hasOverlay": true, + "domainHandler": "Domain:Cloud" +} \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/Service/examples/example.jsonld b/CROSSSECTOR/ITinfrastructure/Service/examples/example.jsonld new file mode 100644 index 000000000..b88c9efc6 --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/Service/examples/example.jsonld @@ -0,0 +1,13 @@ +{ + "id": "urn:ngsi-ld:Service:WebApp01", + "type": "Service", + "name": "Web application number 1", + "description": "Web application deployed for testing purposes", + "serviceType": "urn:ngsi-ld:ServiceType:WebApplication", + "actionType": "Deployed", + "hasOverlay": true, + "domainHandler": "urn:ngsi-ld:Domain:Cloud", + "@context": [ + "https://smartdatamodels.org/context.jsonld" + ] +} \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/Service/notes.yaml b/CROSSSECTOR/ITinfrastructure/Service/notes.yaml new file mode 100644 index 000000000..7d0cb2efa --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/Service/notes.yaml @@ -0,0 +1,8 @@ +notesHeader: + notes appearing at the beginning of the spec +notesMiddle: + notes appearing in the middle of the spec +notesFooter: + notes appearing in the footer of the spec +notesReadme: + notes appearing in the beginning of the README.md at the root of the data model directory diff --git a/CROSSSECTOR/ITinfrastructure/Service/schema.json b/CROSSSECTOR/ITinfrastructure/Service/schema.json new file mode 100644 index 000000000..2fe974c78 --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/Service/schema.json @@ -0,0 +1,60 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "$schemaVersion": "0.0.1", + "$id": "https://smart-data-models.github.io/dataModel.ITinfrastructure/Service/schema.json", + "title": "Smart Data Models - ITinfrastructure / Service", + "description": "Service deployed in the Cloud-Edge-IoT continuum, which is composed of a set of ServiceComponents running on top of InfrastructureElements.", + "modelTags": "", + "derivedFrom": "", + "license": "https://smart-data-models.github.io/dataModel.ITinfrastructure/Service/LICENSE.md", + "type": "object", + "allOf": [ + { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons" + }, + { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons" + }, + { + "properties": { + "type": { + "description": "Property. NGSI Entity type. It has to be Service", + "type": "string", + "enum": [ + "Service" + ] + }, + "serviceType": { + "type": "string", + "description": "Relationship. Type of the deployed service, which must be a ServiceType entity." + }, + "actionType": { + "type": "string", + "enum": [ + "Deploying", + "Deployed", + "Destroying", + "Finished", + "Handled" + ], + "description": "Property. Enum:'Deploying', 'Deployed', 'Destroying', 'Finished', 'Handled'. Current status of whole service in the orchestration process." + }, + "domainHandler": { + "type": "string", + "description": "Relationship. Domain which is in charge of performing the orchestration process of the service." + }, + "hasOverlay": { + "type": "boolean", + "description": "Property. Defines if the components of this services are connected through an overlay network." + } + } + } + ], + "required": [ + "id", + "type", + "actionType", + "domainHandler", + "hasOverlay" + ] +} \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/ServiceComponent/ADOPTERS.yaml b/CROSSSECTOR/ITinfrastructure/ServiceComponent/ADOPTERS.yaml new file mode 100644 index 000000000..696b5af35 --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/ServiceComponent/ADOPTERS.yaml @@ -0,0 +1,16 @@ +description: This is a compilation list of the current adopters of the data model ServiceComponent of the Subject ITinfrastructure. All fields are non mandatory. More info at https://smart-data-models.github.io/data-models/templates/dataModel/CURRENT_ADOPTERS.yaml +currentAdopters: +- adopter: aerOS HE Project + description: A Meta-OS to govern the Cloud-Edge-IoT computing continuum + mail: aeros-project@outlook.es + organization: + project: https://aeros-project.eu + comments: + startDate: 2022-09-01 +- adopter: Eclipse aeriOS + description: A Meta-OS to govern the Cloud-Edge-IoT computing continuum (open source solution from aerOS HE Project) + mail: aerios-dev@eclipse.org + organization: + project: https://projects.eclipse.org/projects/iot.aerios + comments: + startDate: 2025-11-01 diff --git a/CROSSSECTOR/ITinfrastructure/ServiceComponent/examples/example-normalized.json b/CROSSSECTOR/ITinfrastructure/ServiceComponent/examples/example-normalized.json new file mode 100644 index 000000000..7c027ca2c --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/ServiceComponent/examples/example-normalized.json @@ -0,0 +1,80 @@ +{ + "id": "Service:WebApp01:Component:Backend", + "type": "ServiceComponent", + "infrastructureElement": { + "type": "Relationship", + "value": "InfrastructureElement:Cloud:00155dc09474" + }, + "service": { + "type": "Relationship", + "object": "Service:WebApp01" + }, + "serviceComponentStatus": { + "type": "Text", + "value": "Starting" + }, + "infrastructureElementRequirements": { + "type": "Relationship", + "value": "Service:WebApp01:Component:Backend:InfrastructureElementRequirements" + }, + "containerImage": { + "type": "Property", + "value": "ravaga/webapp-backend:1.5.1" + }, + "cliArgs": { + "type": "StructuredValue", + "value": [ + { + "key": "-app-env", + "value": "production" + }, + { + "key": "-db-url", + "value": "http://db-svc.default.svc.cluster.local:27017" + } + ] + }, + "envVars": { + "type": "StructuredValue", + "value": [ + { + "key": "APP_ENV", + "value": "production" + }, + { + "key": "DB_URL", + "value": "http://db-svc.default.svc.cluster.local:27017" + } + ] + }, + "networkPorts": { + "type": "Relationship", + "value": [ + "Service:WebApp01:Component:Backend:NetworkPort:01", + "Service:WebApp01:Component:Backend:NetworkPort:02" + ] + }, + "persistentStorage": { + "type": "Relationship", + "value": [ + "Service:WebApp01:Component:Backend:PersistentStorage:01", + "Service:WebApp01:Component:Backend:PersistentStorage:02" + ] + }, + "isJob": { + "type": "Boolean", + "value": false + }, + "overlayNetworkIP": { + "type": "Text", + "value": "10.0.0.15" + }, + "currentCpuUsage": { + "type": "Number", + "value": 0.25 + }, + "currentMemoryUsage": { + "type": "Number", + "value": 512 + } +} \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/ServiceComponent/examples/example-normalized.jsonld b/CROSSSECTOR/ITinfrastructure/ServiceComponent/examples/example-normalized.jsonld new file mode 100644 index 000000000..605cec900 --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/ServiceComponent/examples/example-normalized.jsonld @@ -0,0 +1,85 @@ +{ + "id": "urn:ngsi-ld:Service:WebApp01:Component:Backend", + "type": "ServiceComponent", + "infrastructureElement": { + "type": "Relationship", + "object": "urn:ngsi-ld:InfrastructureElement:Cloud:00155dc09474" + }, + "service": { + "type": "Relationship", + "object": "urn:ngsi-ld:Service:WebApp01" + }, + "serviceComponentStatus": { + "type": "Property", + "value": "Starting" + }, + "infrastructureElementRequirements": { + "type": "Relationship", + "object": "urn:ngsi-ld:Service:WebApp01:Component:Backend:InfrastructureElementRequirements" + }, + "containerImage": { + "type": "Property", + "value": "ravaga/webapp-backend:1.5.1" + }, + "cliArgs": { + "type": "Property", + "value": [ + { + "key": "-app-env", + "value": "production" + }, + { + "key": "-db-url", + "value": "http://db-svc.default.svc.cluster.local:27017" + } + ] + }, + "envVars": { + "type": "Property", + "value": [ + { + "key": "APP_ENV", + "value": "production" + }, + { + "key": "DB_URL", + "value": "http://db-svc.default.svc.cluster.local:27017" + } + ] + }, + "networkPorts": { + "type": "Relationship", + "object": [ + "urn:ngsi-ld:Service:WebApp01:Component:Backend:NetworkPort:01", + "urn:ngsi-ld:Service:WebApp01:Component:Backend:NetworkPort:02" + ] + }, + "persistentStorage": { + "type": "Relationship", + "object": [ + "urn:ngsi-ld:Service:WebApp01:Component:Backend:PersistentStorage:01", + "urn:ngsi-ld:Service:WebApp01:Component:Backend:PersistentStorage:02" + ] + }, + "isJob": { + "type": "Property", + "value": false + }, + "overlayNetworkIP": { + "type": "Property", + "value": "10.0.0.15" + }, + "currentCpuUsage": { + "type": "Property", + "value": 0.25, + "unit": "Cores" + }, + "currentMemoryUsage": { + "type": "Property", + "value": 512, + "unit": "Megabytes" + }, + "@context": [ + "https://smartdatamodels.org/context.jsonld" + ] +} \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/ServiceComponent/examples/example.json b/CROSSSECTOR/ITinfrastructure/ServiceComponent/examples/example.json new file mode 100644 index 000000000..0bc91d58b --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/ServiceComponent/examples/example.json @@ -0,0 +1,41 @@ +{ + "id": "Service:WebApp01:Component:Backend", + "type": "ServiceComponent", + "infrastructureElement": "InfrastructureElement:Cloud:00155dc09474", + "service": "Service:WebApp01", + "serviceComponentStatus": "Starting", + "infrastructureElementRequirements": "Service:WebApp01:Component:Backend:InfrastructureElementRequirements", + "containerImage": "ravaga/webapp-backend:1.5.1", + "cliArgs": [ + { + "key": "-app-env", + "value": "production" + }, + { + "key": "-db-url", + "value": "http://db-svc.default.svc.cluster.local:27017" + } + ], + "envVars": [ + { + "key": "APP_ENV", + "value": "production" + }, + { + "key": "DB_URL", + "value": "http://db-svc.default.svc.cluster.local:27017" + } + ], + "networkPorts": [ + "Service:WebApp01:Component:Backend:NetworkPort:01", + "Service:WebApp01:Component:Backend:NetworkPort:02" + ], + "persistentStorage": [ + "Service:WebApp01:Component:Backend:PersistentStorage:01", + "Service:WebApp01:Component:Backend:PersistentStorage:02" + ], + "isJob": false, + "overlayNetworkIP": "10.0.0.15", + "currentCpuUsage": 0.25, + "currentMemoryUsage": 512 +} \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/ServiceComponent/examples/example.jsonld b/CROSSSECTOR/ITinfrastructure/ServiceComponent/examples/example.jsonld new file mode 100644 index 000000000..40e1d2b65 --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/ServiceComponent/examples/example.jsonld @@ -0,0 +1,44 @@ +{ + "id": "urn:ngsi-ld:Service:WebApp01:Component:Backend", + "type": "ServiceComponent", + "infrastructureElement": "urn:ngsi-ld:InfrastructureElement:Cloud:00155dc09474", + "service": "urn:ngsi-ld:Service:WebApp01", + "serviceComponentStatus": "Starting", + "infrastructureElementRequirements": "urn:ngsi-ld:Service:WebApp01:Component:Backend:InfrastructureElementRequirements", + "containerImage": "ravaga/webapp-backend:1.5.1", + "cliArgs": [ + { + "key": "-app-env", + "value": "production" + }, + { + "key": "-db-url", + "value": "http://db-svc.default.svc.cluster.local:27017" + } + ], + "envVars": [ + { + "key": "APP_ENV", + "value": "production" + }, + { + "key": "DB_URL", + "value": "http://db-svc.default.svc.cluster.local:27017" + } + ], + "networkPorts": [ + "urn:ngsi-ld:Service:WebApp01:Component:Backend:NetworkPort:01", + "urn:ngsi-ld:Service:WebApp01:Component:Backend:NetworkPort:02" + ], + "persistentStorage": [ + "urn:ngsi-ld:Service:WebApp01:Component:Backend:PersistentStorage:01", + "urn:ngsi-ld:Service:WebApp01:Component:Backend:PersistentStorage:02" + ], + "isJob": false, + "overlayNetworkIP": "10.0.0.15", + "currentCpuUsage": 0.25, + "currentMemoryUsage": 512, + "@context": [ + "https://smartdatamodels.org/context.jsonld" + ] +} \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/ServiceComponent/notes.yaml b/CROSSSECTOR/ITinfrastructure/ServiceComponent/notes.yaml new file mode 100644 index 000000000..7d0cb2efa --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/ServiceComponent/notes.yaml @@ -0,0 +1,8 @@ +notesHeader: + notes appearing at the beginning of the spec +notesMiddle: + notes appearing in the middle of the spec +notesFooter: + notes appearing in the footer of the spec +notesReadme: + notes appearing in the beginning of the README.md at the root of the data model directory diff --git a/CROSSSECTOR/ITinfrastructure/ServiceComponent/schema.json b/CROSSSECTOR/ITinfrastructure/ServiceComponent/schema.json new file mode 100644 index 000000000..1e63906a1 --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/ServiceComponent/schema.json @@ -0,0 +1,148 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "$schemaVersion": "0.0.1", + "$id": "https://smart-data-models.github.io/dataModel.ITinfrastructure/ServiceComponent/schema.json", + "title": "Smart Data Models - ITinfrastructure / ServiceComponent", + "description": "Component (packaged software, for instance, a container) of a service deployed in the Cloud-Edge-IoT continuum, which runs on top of an InfrastructureElement.", + "modelTags": "", + "derivedFrom": "", + "license": "https://smart-data-models.github.io/dataModel.ITinfrastructure/ServiceComponent/LICENSE.md", + "type": "object", + "allOf": [ + { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons" + }, + { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons" + }, + { + "properties": { + "type": { + "description": "Property. NGSI Entity type. It has to be ServiceComponent", + "type": "string", + "enum": [ + "ServiceComponent" + ] + }, + "infrastructureElement": { + "type": "string", + "description": "Relationship. InfrastructureElement in which the component has been deployed." + }, + "service": { + "type": "string", + "description": "Relationship. Service to which the component belongs." + }, + "serviceComponentStatus": { + "type": "string", + "enum": [ + "Failed", + "Finished", + "Locating", + "Migrating", + "Removing", + "Running", + "Starting" + ], + "description": "Property. Current status of the component. Enum:'Failed', 'Finished', 'Locating', 'Migrating', 'Removing', 'Running', 'Starting'" + }, + "infrastructureElementRequirements": { + "type": "string", + "description": "Relationship. Requirements of infrastructure (e.g. RAM, CPU, ...) that are needed for running the component." + }, + "containerImage": { + "type": "string", + "description": "Property. Container image used for the component, it must point to a valid image stored in a container registry (e.g. Docker Hub or GitHub/Gitlab container registry)." + }, + "cliArgs": { + "type": "array", + "description": "Property. Command line arguments (in key-value format) that are needed to run the component.", + "items": { + "type": "object", + "minItems": 1, + "description": "Property. Command line argument (in key-value format, the value can be empty).", + "properties": { + "key": { + "type": "string", + "description": "Property. Command line argument name or key, it can start with a dash (-) for short options or two dashes (--) for long options." + }, + "value": { + "type": "string", + "description": "Property. Command line argument value (optional)." + } + }, + "required": ["key"], + "additionalProperties": false + } + }, + "envVars": { + "type": "array", + "description": "Property. Environment variables (in key-value format) that are needed to run the component.", + "items": { + "type": "object", + "minItems": 1, + "description": "Property. Environment variable (in key-value format).", + "properties": { + "key": { + "type": "string", + "description": "Property. Environment variable name." + }, + "value": { + "type": "string", + "description": "Property. Environment variable value." + } + }, + "required": ["key", "value"], + "additionalProperties": false + } + }, + "networkPorts": { + "type": "array", + "description": "Relationship. Network ports that are exposed by the component.", + "items": { + "type": "string", + "format": "uri", + "minItems": 1, + "description": "Relationship. NetworkPort exposed by the component." + } + }, + "persistentStorage": { + "type": "array", + "description": "Relationship. Requirements of persistent storage that are needed for running the component.", + "items": { + "type": "string", + "format": "uri", + "minItems": 1, + "description": "Relationship. PersistentStorage needed for running the component." + } + }, + "isJob": { + "type": "boolean", + "description": "Property. Defines if the component is deployed as a job: a one-off task that runs to completion and then stops." + }, + "overlayNetworkIP": { + "type": "string", + "description": "Property. IP address assigned to the component in the network overlay that connects all the components of the same service." + }, + "currentCpuUsage": { + "type": "number", + "description": "Property. Units:'CPU cores'. Current CPU usage of the component.", + "format" : "float" + }, + "currentMemoryUsage": { + "type": "number", + "description": "Property. Units:'Megabytes (MB)'. Current memory usage of the component." + } + } + } + ], + "required": [ + "id", + "type", + "infrastructureElement", + "service", + "serviceComponentStatus", + "infrastructureElementRequirements", + "containerImage", + "isJob" + ] +} \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/ServiceType/ADOPTERS.yaml b/CROSSSECTOR/ITinfrastructure/ServiceType/ADOPTERS.yaml new file mode 100644 index 000000000..7c59447c7 --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/ServiceType/ADOPTERS.yaml @@ -0,0 +1,16 @@ +description: This is a compilation list of the current adopters of the data model Service of the Subject ITinfrastructure. All fields are non mandatory. More info at https://smart-data-models.github.io/data-models/templates/dataModel/CURRENT_ADOPTERS.yaml +currentAdopters: +- adopter: aerOS HE Project + description: A Meta-OS to govern the Cloud-Edge-IoT computing continuum + mail: aeros-project@outlook.es + organization: + project: https://aeros-project.eu + comments: + startDate: 2022-09-01 +- adopter: Eclipse aeriOS + description: A Meta-OS to govern the Cloud-Edge-IoT computing continuum (open source solution from aerOS HE Project) + mail: aerios-dev@eclipse.org + organization: + project: https://projects.eclipse.org/projects/iot.aerios + comments: + startDate: 2025-11-01 diff --git a/CROSSSECTOR/ITinfrastructure/ServiceType/examples/example-normalized.json b/CROSSSECTOR/ITinfrastructure/ServiceType/examples/example-normalized.json new file mode 100644 index 000000000..30b24bb30 --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/ServiceType/examples/example-normalized.json @@ -0,0 +1,20 @@ +{ + "id": "ServiceType:Orion-LD", + "type": "ServiceType", + "name": { + "type": "Property", + "value": "Orion-LD" + }, + "description": { + "type": "Property", + "value": "Context Broker and CEF building block for context data management which supports both the NGSI-LD and the NGSI-v2 APIs" + }, + "webPage": { + "type": "Property", + "value": "https://github.com/FIWARE/context.Orion-LD" + }, + "license": { + "type": "Property", + "value": "AGPL-3.0" + } +} \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/ServiceType/examples/example-normalized.jsonld b/CROSSSECTOR/ITinfrastructure/ServiceType/examples/example-normalized.jsonld new file mode 100644 index 000000000..abb545f43 --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/ServiceType/examples/example-normalized.jsonld @@ -0,0 +1,23 @@ +{ + "id": "urn:ngsi-ld:ServiceType:Orion-LD", + "type": "ServiceType", + "name": { + "type": "Property", + "value": "Orion-LD" + }, + "description": { + "type": "Property", + "value": "Context Broker and CEF building block for context data management which supports both the NGSI-LD and the NGSI-v2 APIs" + }, + "webPage": { + "type": "Property", + "value": "https://github.com/FIWARE/context.Orion-LD" + }, + "license": { + "type": "Property", + "value": "AGPL-3.0" + }, + "@context": [ + "https://smartdatamodels.org/context.jsonld" + ] +} \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/ServiceType/examples/example.json b/CROSSSECTOR/ITinfrastructure/ServiceType/examples/example.json new file mode 100644 index 000000000..bd6067646 --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/ServiceType/examples/example.json @@ -0,0 +1,8 @@ +{ + "id": "urn:ngsi-ld:ServiceType:Orion-LD", + "type": "ServiceType", + "name": "Orion-LD", + "description": "Context Broker and CEF building block for context data management which supports both the NGSI-LD and the NGSI-v2 APIs", + "webPage": "https://github.com/FIWARE/context.Orion-LD", + "license": "AGPL-3.0" +} \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/ServiceType/examples/example.jsonld b/CROSSSECTOR/ITinfrastructure/ServiceType/examples/example.jsonld new file mode 100644 index 000000000..3ac2213bd --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/ServiceType/examples/example.jsonld @@ -0,0 +1,11 @@ +{ + "id": "urn:ngsi-ld:ServiceType:Orion-LD", + "type": "ServiceType", + "name": "Orion-LD", + "description": "Context Broker and CEF building block for context data management which supports both the NGSI-LD and the NGSI-v2 APIs", + "webPage": "https://github.com/FIWARE/context.Orion-LD", + "license": "AGPL-3.0", + "@context": [ + "https://smartdatamodels.org/context.jsonld" + ] +} \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/ServiceType/notes.yaml b/CROSSSECTOR/ITinfrastructure/ServiceType/notes.yaml new file mode 100644 index 000000000..7d0cb2efa --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/ServiceType/notes.yaml @@ -0,0 +1,8 @@ +notesHeader: + notes appearing at the beginning of the spec +notesMiddle: + notes appearing in the middle of the spec +notesFooter: + notes appearing in the footer of the spec +notesReadme: + notes appearing in the beginning of the README.md at the root of the data model directory diff --git a/CROSSSECTOR/ITinfrastructure/ServiceType/schema.json b/CROSSSECTOR/ITinfrastructure/ServiceType/schema.json new file mode 100644 index 000000000..6148c33b4 --- /dev/null +++ b/CROSSSECTOR/ITinfrastructure/ServiceType/schema.json @@ -0,0 +1,43 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "$schemaVersion": "0.0.1", + "$id": "https://smart-data-models.github.io/dataModel.ITinfrastructure/ServiceType/schema.json", + "title": "Smart Data Models - ITinfrastructure / ServiceType", + "description": "Catalogued service that can be deployed in the Cloud-Edge-IoT continuum.", + "modelTags": "", + "derivedFrom": "", + "license": "https://smart-data-models.github.io/dataModel.ITinfrastructure/ServiceType/LICENSE.md", + "type": "object", + "allOf": [ + { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons" + }, + { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons" + }, + { + "properties": { + "type": { + "description": "Property. NGSI Entity type. It has to be ServiceType", + "type": "string", + "enum": [ + "ServiceType" + ] + }, + "webPage": { + "type": "string", + "description": "Property. Model:'https://schema.org/URL'. Link to the web page of the catalogued service." + }, + "license": { + "type": "string", + "description": "Property. License under which the catalogued service is provided." + } + } + } + ], + "required": [ + "id", + "type", + "name" + ] +} \ No newline at end of file diff --git a/CROSSSECTOR/ITinfrastructure/nfrastructureElement/ADOPTERS.yaml b/CROSSSECTOR/ITinfrastructure/nfrastructureElement/ADOPTERS.yaml deleted file mode 100644 index 0e7a77a03..000000000 --- a/CROSSSECTOR/ITinfrastructure/nfrastructureElement/ADOPTERS.yaml +++ /dev/null @@ -1,10 +0,0 @@ -description: This is a compilation list of the current adopters of the data model [Data model] of the Subject [Subject]. All fields are non mandatory. More info at https://smart-data-models.github.io/data-models/templates/dataModel/CURRENT_ADOPTERS.yaml -currentAdopters: -- - adopter: - description: - mail: - organization: - project: - comments: - startDate: diff --git a/CROSSSECTOR/ITinfrastructure/nfrastructureElement/examples/example-normalized.json b/CROSSSECTOR/ITinfrastructure/nfrastructureElement/examples/example-normalized.json deleted file mode 100644 index dd1edc294..000000000 --- a/CROSSSECTOR/ITinfrastructure/nfrastructureElement/examples/example-normalized.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "id": "ThreePhaseAcMeasurement:LV3_Ventilation", - "type": "ThreePhaseAcMeasurement", - "dateEnergyMeteringStarted": { - "type": "DateTime", - "value": "2018-07-07T15:05:59.408Z" - }, - "refDevice": { - "type": "Relationship", - "value": "Device:eQL-EDF3GL-2006201705" - }, - "name": { - "value": "HKAPK0200" - }, - "description": { - "value": "measurement corresponding to the ventilation machine rooms" - }, - "totalActiveEnergyImport": { - "type": "Number", - "value": 150781.96448 - }, - "totalReactiveEnergyImport": { - "type": "Number", - "value": 20490.3392 - }, - "totalActiveEnergyExport": { - "type": "Number", - "value": 1059.80176 - }, - "totalReactiveEnergyExport": { - "type": "Number", - "value": 93275.02176 - }, - "totalActivePower": { - "type": "Number", - "value": 31700.269531 - }, - "activePower": { - "type": "StructuredValue", - "value": { - "L1": 11996.416016, - "L2": 9461.501953, - "L3": 10242.351562 - } - }, - "totalReactivePower": { - "type": "Number", - "value": -7830.332031 - }, - "reactivePower": { - "type": "StructuredValue", - "value": { - "L1": -2612.606934, - "L2": -2209.906006, - "L3": -3007.81958 - } - }, - "totalApparentPower": { - "type": "Number", - "value": 36019.089844 - }, - "apparentPower": { - "type": "StructuredValue", - "value": { - "L1": 13201.412109, - "L2": 10755.304688, - "L3": 11941.094727 - } - }, - "powerFactor": { - "type": "StructuredValue", - "value": { - "L1": 0.908817, - "L2": 0.879906, - "L3": 0.859293 - } - }, - "displacementPowerFactor": { - "type": "StructuredValue", - "value": { - "L1": 0.978013, - "L2": 0.973317, - "L3": 0.960382 - } - }, - "frequency": { - "type": "Number", - "value": 50.020672 - }, - "current": { - "type": "StructuredValue", - "value": { - "L1": 56.126038, - "L2": 45.894356, - "L3": 50.872452, - "N": 0.0 - } - }, - "phaseVoltage": { - "type": "StructuredValue", - "value": { - "L1": 234.961304, - "L2": 234.563477, - "L3": 235.354034 - } - }, - "phaseToPhaseVoltage": { - "type": "StructuredValue", - "value": { - "L12": 406.769196, - "L23": 407.081238, - "L31": 407.734558 - } - }, - "thdVoltage": { - "type": "StructuredValue", - "value": { - "L1": 0.01471114, - "L2": 0.01600046, - "L3": 0.01541459 - } - }, - "thdCurrent": { - "type": "StructuredValue", - "value": { - "L1": 0.38497337, - "L2": 0.45807529, - "L3": 0.4938652 - } - } -} diff --git a/CROSSSECTOR/ITinfrastructure/nfrastructureElement/examples/example-normalized.jsonld b/CROSSSECTOR/ITinfrastructure/nfrastructureElement/examples/example-normalized.jsonld deleted file mode 100644 index d755f2b6b..000000000 --- a/CROSSSECTOR/ITinfrastructure/nfrastructureElement/examples/example-normalized.jsonld +++ /dev/null @@ -1,160 +0,0 @@ -{ - "id": "urn:ngsi-ld:ThreePhaseAcMeasurement:ThreePhaseAcMeasurement:LV3_Ventilation", - "type": "ThreePhaseAcMeasurement", - "dateEnergyMeteringStarted": { - "type": "Property", - "value": { - "@type": "DateTime", - "@value": "2018-07-07T15:05:59.408Z" - } - }, - "refDevice": { - "type": "Relationship", - "object": [ - "urn:ngsi-ld:Device:Device:eQL-EDF3GL-2006201705" - ] - }, - "name": { - "type": "Property", - "value": "HKAPK0200" - }, - "description": { - "type": "Property", - "value": "measurement corresponding to the ventilation machine rooms" - }, - "totalActiveEnergyImport": { - "type": "Property", - "value": 150781.96448, - "observedAt": "2019-01-24T22:00:00.173Z" - }, - "totalReactiveEnergyImport": { - "type": "Property", - "value": 20490.3392, - "observedAt": "2019-01-24T22:00:00.173Z" - }, - "totalActiveEnergyExport": { - "type": "Property", - "value": 1059.80176, - "observedAt": "2019-01-24T22:00:00.173Z" - }, - "totalReactiveEnergyExport": { - "type": "Property", - "value": 93275.02176, - "observedAt": "2019-01-24T22:00:00.173Z" - }, - "totalActivePower": { - "type": "Property", - "value": 31700.269531, - "observedAt": "2019-01-24T22:00:00.173Z" - }, - "activePower": { - "type": "Property", - "value": { - "L1": 11996.416016, - "L2": 9461.501953, - "L3": 10242.351562 - }, - "observedAt": "2019-01-24T22:00:00.173Z", - "measurementType": { - "type": "Property", - "value": "average" - }, - "measurementInterval": { - "type": "Property", - "value": 1 - } - }, - "totalReactivePower": { - "type": "Property", - "value": -7830.332031, - "observedAt": "2019-01-24T22:00:00.173Z", - "measurementType": { - "type": "Property", - "value": "average" - } - }, - "reactivePower": { - "type": "Property", - "value": { - "L1": -2612.606934, - "L2": -2209.906006, - "L3": -3007.81958 - } - }, - "totalApparentPower": { - "type": "Property", - "value": 36019.089844 - }, - "apparentPower": { - "type": "Property", - "value": { - "L1": 13201.412109, - "L2": 10755.304688, - "L3": 11941.094727 - } - }, - "powerFactor": { - "type": "Property", - "value": { - "L1": 0.908817, - "L2": 0.879906, - "L3": 0.859293 - } - }, - "displacementPowerFactor": { - "type": "Property", - "value": { - "L1": 0.978013, - "L2": 0.973317, - "L3": 0.960382 - } - }, - "frequency": { - "type": "Property", - "value": 50.020672 - }, - "current": { - "type": "Property", - "value": { - "L1": 56.126038, - "L2": 45.894356, - "L3": 50.872452, - "N": 0.0 - } - }, - "phaseVoltage": { - "type": "Property", - "value": { - "L1": 234.961304, - "L2": 234.563477, - "L3": 235.354034 - } - }, - "phaseToPhaseVoltage": { - "type": "Property", - "value": { - "L12": 406.769196, - "L23": 407.081238, - "L31": 407.734558 - } - }, - "thdVoltage": { - "type": "Property", - "value": { - "L1": 0.01471114, - "L2": 0.01600046, - "L3": 0.01541459 - } - }, - "thdCurrent": { - "type": "Property", - "value": { - "L1": 0.38497337, - "L2": 0.45807529, - "L3": 0.4938652 - } - }, - "@context": [ - "https://smartdatamodels.org/context.jsonld" - ] -} diff --git a/CROSSSECTOR/ITinfrastructure/nfrastructureElement/examples/example.json b/CROSSSECTOR/ITinfrastructure/nfrastructureElement/examples/example.json deleted file mode 100644 index 4d4bca3f8..000000000 --- a/CROSSSECTOR/ITinfrastructure/nfrastructureElement/examples/example.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "id": "ThreePhaseAcMeasurement:LV3_Ventilation", - "type": "ThreePhaseAcMeasurement", - "dateEnergyMeteringStarted": "2018-07-07T15:05:59.408Z", - "refDevice": ["Device:eQL-EDF3GL-2006201705"], - "name": "HKAPK0200", - "description": "measurement corresponding to the ventilation machine rooms", - "totalActiveEnergyImport": 150781.96448, - "totalReactiveEnergyImport": 20490.3392, - "totalActiveEnergyExport": 1059.80176, - "totalReactiveEnergyExport": 93275.02176, - "totalActivePower": 31700.269531, - "activePower": { - "L1": 11996.416016, - "L2": 9461.501953, - "L3": 10242.351562 - }, - "totalReactivePower": -7830.332031, - "reactivePower": { - "L1": -2612.606934, - "L2": -2209.906006, - "L3": -3007.81958 - }, - "totalApparentPower": 36019.089844, - "apparentPower": { - "L1": 13201.412109, - "L2": 10755.304688, - "L3": 11941.094727 - }, - "powerFactor": { - "L1": 0.908817, - "L2": 0.879906, - "L3": 0.859293 - }, - "displacementPowerFactor": { - "L1": 0.978013, - "L2": 0.973317, - "L3": 0.960382 - }, - "frequency": 50.020672, - "current": { - "L1": 56.126038, - "L2": 45.894356, - "L3": 50.872452, - "N": 0.0 - }, - "phaseVoltage": { - "L1": 234.961304, - "L2": 234.563477, - "L3": 235.354034 - }, - "phaseToPhaseVoltage": { - "L12": 406.769196, - "L23": 407.081238, - "L31": 407.734558 - }, - "thdVoltage": { - "L1": 0.01471114, - "L2": 0.01600046, - "L3": 0.01541459 - }, - "thdCurrent": { - "L1": 0.38497337, - "L2": 0.45807529, - "L3": 0.4938652 - } -} diff --git a/CROSSSECTOR/ITinfrastructure/nfrastructureElement/examples/example.jsonld b/CROSSSECTOR/ITinfrastructure/nfrastructureElement/examples/example.jsonld deleted file mode 100644 index f5bedb1c4..000000000 --- a/CROSSSECTOR/ITinfrastructure/nfrastructureElement/examples/example.jsonld +++ /dev/null @@ -1,75 +0,0 @@ -{ - "@context": [ - "https://smartdatamodels.org/context.jsonld" - ], - "activePower": { - "L1": 11996.416016, - "L2": 9461.501953, - "L3": 10242.351562 - }, - "apparentPower": { - "L1": 13201.412109, - "L2": 10755.304688, - "L3": 11941.094727 - }, - "current": { - "L1": 56.126038, - "L2": 45.894356, - "L3": 50.872452, - "N": 0.0 - }, - "dateEnergyMeteringStarted": { - "@type": "DateTime", - "@value": "2018-07-07T15:05:59.408Z" - }, - "description": "measurement corresponding to the ventilation machine rooms", - "displacementPowerFactor": { - "L1": 0.978013, - "L2": 0.973317, - "L3": 0.960382 - }, - "frequency": 50.020672, - "id": "urn:ngsi-ld:ThreePhaseAcMeasurement:ThreePhaseAcMeasurement:LV3_Ventilation", - "name": "HKAPK0200", - "phaseToPhaseVoltage": { - "L12": 406.769196, - "L23": 407.081238, - "L31": 407.734558 - }, - "phaseVoltage": { - "L1": 234.961304, - "L2": 234.563477, - "L3": 235.354034 - }, - "powerFactor": { - "L1": 0.908817, - "L2": 0.879906, - "L3": 0.859293 - }, - "reactivePower": { - "L1": -2612.606934, - "L2": -2209.906006, - "L3": -3007.81958 - }, - "refDevice": [ - "urn:ngsi-ld:Device:Device:eQL-EDF3GL-2006201705" - ], - "thdCurrent": { - "L1": 0.38497337, - "L2": 0.45807529, - "L3": 0.4938652 - }, - "thdVoltage": { - "L1": 0.01471114, - "L2": 0.01600046, - "L3": 0.01541459 - }, - "totalActiveEnergyExport": 1059.80176, - "totalActiveEnergyImport": 150781.96448, - "totalActivePower": 31700.269531, - "totalApparentPower": 36019.089844, - "totalReactiveEnergyExport": 93275.02176, - "totalReactiveEnergyImport": 20490.3392, - "totalReactivePower": -7830.332031, - "type": "ThreePhaseAcMeasurement" -} diff --git a/CROSSSECTOR/ITinfrastructure/nfrastructureElement/schema.json b/CROSSSECTOR/ITinfrastructure/nfrastructureElement/schema.json deleted file mode 100644 index 6c9585db4..000000000 --- a/CROSSSECTOR/ITinfrastructure/nfrastructureElement/schema.json +++ /dev/null @@ -1,411 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$schemaVersion": "0.0.1", - "$id": "https://smart-data-models.github.io/dataModel.SUBJECT/DATAMODEL/schema.json", - "title": "Smart Data Models - SUBJECT / DATAMODEL", - "description": "Description of the data model DATAMODEL ", - "modelTags": "", - "derivedFrom": "", - "license": "https://smart-data-models.github.io/dataModel.SUBJECT/DATAMODEL/LICENSE.md", - "type": "object", - "allOf": [ - { - "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons" - }, - { - "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons" - }, - { - "properties": { - "type": { - "type": "string", - "enum": [ - "ThreePhaseAcMeasurement" - ], - "description": "Property. It must be equal to `ThreePhaseAcMeasurement`." - }, - "refDevice": { - "type": "array", - "description": "Relationship. Device(s) used to obtain the measurement.", - "items": { - "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/EntityIdentifierType" - }, - "minItems": 1, - "uniqueItems": true - }, - "refTargetDevice": { - "type": "array", - "description": "Relationship. Device(s) for which the measurement was taken.", - "items": { - "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/EntityIdentifierType" - }, - "minItems": 1, - "uniqueItems": true - }, - "dateEnergyMeteringStarted": { - "type": "string", - "format": "date-time", - "description": "Property. Model:'http://schema.org/DateTime'. The starting date for metering energy." - }, - "totalActiveEnergyImport": { - "type": "number", - "minimum": 0, - "description": "Property. Model:'https://schema.org/Number'. Units:'kilowatt hour (kWh)'. Total energy imported i.e. consumed since metering started (since `dateEnergyMeteringStarted`)." - }, - "totalReactiveEnergyImport": { - "type": "number", - "minimum": 0, - "description": "Property. Model:'https://schema.org/Number'. Units:'kilovolt-ampere-reactive-hour (kVArh)'. Total energy imported i.e. consumed (with regards to fundamental frequency reactive power) since the metering start date (`dateEnergyMeteringStarted`)" - }, - "totalApparentEnergyImport": { - "type": "number", - "minimum": 0, - "description": "Property. Model:'https://schema.org/Number'. Units:'kilovolt-ampere-hour (kVAh)'. Total energy imported i.e. consumed (with regards to apparent power) since the metering start date (`dateEnergyMeteringStarted`)" - }, - "totalActiveEnergyExport": { - "type": "number", - "minimum": 0, - "description": "Property. Model:'https://schema.org/Number'. Units:'kilowatt hour (kWh)'. Total energy exported since metering started (since `dateEnergyMeteringStarted`)." - }, - "totalReactiveEnergyExport": { - "type": "number", - "minimum": 0, - "description": "Property. Model:'https://schema.org/Number'. Units:'kilovolt-ampere-reactive-hour (kVArh)'. Total fundamental frequency reactive energy exported since metering started (since `dateEnergyMeteringStarted`)." - }, - "totalApparentEnergyExport": { - "type": "number", - "minimum": 0, - "description": "Property. Model:'https://schema.org/Number'. Units:'kilovolt-ampere-reactive-hour (kVArh)'. Total energy exported (with regards to apparent power) since the metering start date (`dateEnergyMeteringStarted`)" - }, - "frequency": { - "type": "number", - "minimum": 0, - "description": "Property. Model:'http://schema.org/Number'. Units:'Hertz (Hz)'. The frequency of the circuit." - }, - "totalActivePower": { - "type": "number", - "description": "Property. Model:'http://schema.org/Number'. Units:'watt (W)'. Active power consumed (counting all phases)" - }, - "totalReactivePower": { - "type": "number", - "description": "Property. Model:'http://schema.org/Number'. Units:'volt-ampere-reactive (VAr)'. Reactive power consumed (counting all phases)" - }, - "totalApparentPower": { - "type": "number", - "minimum": 0, - "description": "Property. Model:'http://schema.org/Number'. Units:'volt-ampere (VA)'. Apparent power consumed (counting all phases)." - }, - "activeEnergyImport": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'kilowatt hour (kWh)'. Active energy imported i.e. consumed per phase since the metering start date. The actual values will be conveyed by subproperties which names will be equal to the name of each of the alternating current phases: L1, L2, L3.", - "properties": { - "L1": { - "type": "number", - "minimum": 0 - }, - "L2": { - "type": "number", - "minimum": 0 - }, - "L3": { - "type": "number", - "minimum": 0 - } - } - }, - "reactiveEnergyImport": { - "type": "object", - "description": "Property. Model:'kilovolt-ampere-reactive-hour (kVArh)'. Units:'http://schema.org/StructuredValue'. Fundamental frequency reactive energy imported i.e. consumed per phase since the metering start date. The actual values will be conveyed by subproperties which names will be equal to the name of each of the alternating current phases: L1, L2, L3.", - "properties": { - "L1": { - "type": "number", - "minimum": 0 - }, - "L2": { - "type": "number", - "minimum": 0 - }, - "L3": { - "type": "number", - "minimum": 0 - } - } - }, - "apparentEnergyImport": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'kilovolt-ampere-hour (kVAh)'. Apparent energy imported i.e. consumed per phase since the metering start date. The actual values will be conveyed by subproperties which names will be equal to the name of each of the alternating current phases: L1, L2, L3.", - "properties": { - "L1": { - "type": "number", - "minimum": 0 - }, - "L2": { - "type": "number", - "minimum": 0 - }, - "L3": { - "type": "number", - "minimum": 0 - } - } - }, - "activeEnergyExport": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'kilowatt hour (kWh)'. Active energy exported per phase since the metering start date. The actual values will be conveyed by subproperties which names will be equal to the name of each of the alternating current phases: L1, L2, L3.", - "properties": { - "L1": { - "type": "number", - "minimum": 0 - }, - "L2": { - "type": "number", - "minimum": 0 - }, - "L3": { - "type": "number", - "minimum": 0 - } - } - }, - "reactiveEnergyExport": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'kilovolt-ampere-reactive-hour (kVArh)'. Fundamental frequency reactive energy exported per phase since the metering start date. The actual values will be conveyed by subproperties which names will be equal to the name of each of the alternating current phases: L1, L2, L3.", - "properties": { - "L1": { - "type": "number", - "minimum": 0 - }, - "L2": { - "type": "number", - "minimum": 0 - }, - "L3": { - "type": "number", - "minimum": 0 - } - } - }, - "apparentEnergyExport": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'kilovolt-ampere-hour (kVAh)'. Apparent energy exported per phase since the metering start date. The actual values will be conveyed by subproperties which names will be equal to the name of each of the alternating current phases: L1, L2, L3.", - "properties": { - "L1": { - "type": "number", - "minimum": 0 - }, - "L2": { - "type": "number", - "minimum": 0 - }, - "L3": { - "type": "number", - "minimum": 0 - } - } - }, - "activePower": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'watt (W)'.Active power consumed per phase. The actual values will beconveyed by subproperties which names will be equal to the name of each of the alternating current phases: L1, L2, L3. ", - "properties": { - "L1": { - "type": "number" - }, - "L2": { - "type": "number" - }, - "L3": { - "type": "number" - } - } - }, - "reactivePower": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'volts-ampere-reactive (VAr)'. Fundamental frequency reactive power. The actual values will be conveyed by subproperties whose names will be equal to the name of each of the alternating current phases: L1, L2, L3.", - "properties": { - "L1": { - "type": "number" - }, - "L2": { - "type": "number" - }, - "L3": { - "type": "number" - } - } - }, - "apparentPower": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'volt-ampere (VA)'. Apparent power consumed per phase. The actual values will be conveyed by subproperties which names will be equal to the name of each of the alternating current phases: L1, L2, L3", - "properties": { - "L1": { - "type": "number", - "minimum": 0 - }, - "L2": { - "type": "number", - "minimum": 0 - }, - "L3": { - "type": "number", - "minimum": 0 - } - } - }, - "totalPowerFactor": { - "type": "number", - "description": "Property. Model:'http://schema.org/Number'. Units:'-1 to +1'. Power factor including all phases", - "minimum": -1, - "maximum": 1 - }, - "powerFactor": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'-1 to +1'. Power factor for each phase. The actual values will be conveyed by one subproperty per alternating current phase: L1, L2 and L3", - "properties": { - "L1": { - "type": "number", - "minimum": -1, - "maximum": 1 - }, - "L2": { - "type": "number", - "minimum": -1, - "maximum": 1 - }, - "L3": { - "type": "number", - "minimum": -1, - "maximum": 1 - } - } - }, - "totalDisplacementPowerFactor": { - "type": "number", - "description": "Property. Model:'http://schema.org/Number'. Units:'-1 to +1'. Displacement power factor including all phases. The quantity is based on the fundamental frequency of the system", - "minimum": -1, - "maximum": 1 - }, - "displacementPowerFactor": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'-1 to +1'. Displacement power factor for each phase. The quantity is based on the fundamental frequency of the system. The actual values will be conveyed by one subproperty per alternating current phase: L1, L2 and L3", - "properties": { - "L1": { - "type": "number", - "minimum": -1, - "maximum": 1 - }, - "L2": { - "type": "number", - "minimum": -1, - "maximum": 1 - }, - "L3": { - "type": "number", - "minimum": -1, - "maximum": 1 - } - } - }, - "current": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'Ampers (A)'. Electrical current. The actual values will be conveyed by one subproperty per alternating current phase and the neutral wire: L1, L2, L3 and N.", - "properties": { - "L1": { - "type": "number" - }, - "L2": { - "type": "number" - }, - "L3": { - "type": "number" - }, - "N": { - "type": "number" - } - } - }, - "phaseVoltage": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'Volts (V)'. The voltage between each phase and neutral conductor. The actual values will be conveyed by one subproperty per alternating current phase: L1, L2 and L3", - "properties": { - "L1": { - "type": "number", - "minimum": 0 - }, - "L2": { - "type": "number", - "minimum": 0 - }, - "L3": { - "type": "number", - "minimum": 0 - } - } - }, - "phaseToPhaseVoltage": { - "type": "object", - "description": "Property. Model:'(http://schema.org/StructuredValue'. Units:'Volts (V)'. Voltage between phases. A value for each phase pair: phases 1 and 2 (L12), phases 2 and 3 (L32), phases 3 and 1 (L31).", - "properties": { - "L12": { - "type": "number", - "minimum": 0 - }, - "L23": { - "type": "number", - "minimum": 0 - }, - "L31": { - "type": "number", - "minimum": 0 - } - } - }, - "thdVoltage": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'0 to 1'. Total harmonic distortion of voltage for each phase. The actual values will be conveyed by one subproperty per alternating current phase: L1, L2 and L3", - "properties": { - "L1": { - "type": "number", - "minimum": 0, - "maximum": 1 - }, - "L2": { - "type": "number", - "minimum": 0, - "maximum": 1 - }, - "L3": { - "type": "number", - "minimum": 0, - "maximum": 1 - } - } - }, - "thdCurrent": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'0 to 1'. Total harmonic distortion of electrical current. The actual values will be conveyed by one subproperty per alternating current phase: L1, L2 and L3", - "properties": { - "L1": { - "type": "number", - "minimum": 0, - "maximum": 1 - }, - "L2": { - "type": "number", - "minimum": 0, - "maximum": 1 - }, - "L3": { - "type": "number", - "minimum": 0, - "maximum": 1 - } - } - } - } - } - ], - "required": [ - "id", - "type" - ] -}