Skip to content

Commit

Permalink
mandate
Browse files Browse the repository at this point in the history
  • Loading branch information
albertoabellagarcia committed Nov 22, 2023
1 parent a47892d commit d5ea23c
Show file tree
Hide file tree
Showing 10 changed files with 334 additions and 0 deletions.
33 changes: 33 additions & 0 deletions CROSSSECTOR/MANDATE/dataModel.Mandate/Agent/schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"$schema": "http://json-schema.org/schema#",
"$schemaVersion": "0.0.1",
"$id": "https://smart-data-models.github.io/dataModel.Mandate/Power/schema.json",
"modelTags": "ERA vocabulary, railway, train",
"license": "https://smart-data-models.github.io/dataModel.Mandate/Power/LICENSE.md",
"derivedFrom": "https://github.com/everis-rpam/RPaM-Ontology",
"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": [
"Agent"
],
"description": "Property. NGSI data type. It has to be Agent"
}
}
}
],
"required": [
"id",
"type"
],
"title": "Agent adapted to Smart Data Models"
}
33 changes: 33 additions & 0 deletions CROSSSECTOR/MANDATE/dataModel.Mandate/Contact/schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"$schema": "http://json-schema.org/schema#",
"$schemaVersion": "0.0.1",
"$id": "https://smart-data-models.github.io/dataModel.Mandate/Power/schema.json",
"modelTags": "ERA vocabulary, railway, train",
"license": "https://smart-data-models.github.io/dataModel.Mandate/Power/LICENSE.md",
"derivedFrom": "https://github.com/everis-rpam/RPaM-Ontology",
"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": [
"Contact"
],
"description": "Property. NGSI data type. It has to be Contact"
}
}
}
],
"required": [
"id",
"type"
],
"title": "Contact adapted to Smart Data Models"
}
33 changes: 33 additions & 0 deletions CROSSSECTOR/MANDATE/dataModel.Mandate/LegalPerson/schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"$schema": "http://json-schema.org/schema#",
"$schemaVersion": "0.0.1",
"$id": "https://smart-data-models.github.io/dataModel.Mandate/Power/schema.json",
"modelTags": "ERA vocabulary, railway, train",
"license": "https://smart-data-models.github.io/dataModel.Mandate/Power/LICENSE.md",
"derivedFrom": "https://github.com/everis-rpam/RPaM-Ontology",
"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": [
"LegalPerson"
],
"description": "Property. NGSI data type. It has to be LegalPerson"
}
}
}
],
"required": [
"id",
"type"
],
"title": "LegalPerson adapted to Smart Data Models"
}
34 changes: 34 additions & 0 deletions CROSSSECTOR/MANDATE/dataModel.Mandate/Mandate/schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"$schema": "http://json-schema.org/schema#",
"$schemaVersion": "0.0.1",
"$id": "https://smart-data-models.github.io/dataModel.Mandate/Power/schema.json",
"modelTags": "ERA vocabulary, railway, train",
"license": "https://smart-data-models.github.io/dataModel.Mandate/Power/LICENSE.md",
"derivedFrom": "https://github.com/everis-rpam/RPaM-Ontology",
"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": [
"Mandate"
],
"description": "Property. NGSI data type. It has to be Mandate"
}
}
}
],
"required": [
"id",
"type"
],
"title": "Mandate adapted to Smart Data Models",
"description": "Collection of empowerments."
}
34 changes: 34 additions & 0 deletions CROSSSECTOR/MANDATE/dataModel.Mandate/Mandatee/schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"$schema": "http://json-schema.org/schema#",
"$schemaVersion": "0.0.1",
"$id": "https://smart-data-models.github.io/dataModel.Mandate/Power/schema.json",
"modelTags": "ERA vocabulary, railway, train",
"license": "https://smart-data-models.github.io/dataModel.Mandate/Power/LICENSE.md",
"derivedFrom": "https://github.com/everis-rpam/RPaM-Ontology",
"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": [
"Mandatee"
],
"description": "Property. NGSI data type. It has to be Mandatee"
}
}
}
],
"required": [
"id",
"type"
],
"title": "Mandatee adapted to Smart Data Models",
"description": "Natural or legal person that acts on behalf of another natural or legal person."
}
34 changes: 34 additions & 0 deletions CROSSSECTOR/MANDATE/dataModel.Mandate/Mandator/schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"$schema": "http://json-schema.org/schema#",
"$schemaVersion": "0.0.1",
"$id": "https://smart-data-models.github.io/dataModel.Mandate/Power/schema.json",
"modelTags": "ERA vocabulary, railway, train",
"license": "https://smart-data-models.github.io/dataModel.Mandate/Power/LICENSE.md",
"derivedFrom": "https://github.com/everis-rpam/RPaM-Ontology",
"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": [
"Mandator"
],
"description": "Property. NGSI data type. It has to be Mandator"
}
}
}
],
"required": [
"id",
"type"
],
"title": "Mandator adapted to Smart Data Models",
"description": "Person who needs an activity executed in his name; creator of the mandate."
}
33 changes: 33 additions & 0 deletions CROSSSECTOR/MANDATE/dataModel.Mandate/NaturalPerson/schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"$schema": "http://json-schema.org/schema#",
"$schemaVersion": "0.0.1",
"$id": "https://smart-data-models.github.io/dataModel.Mandate/Power/schema.json",
"modelTags": "ERA vocabulary, railway, train",
"license": "https://smart-data-models.github.io/dataModel.Mandate/Power/LICENSE.md",
"derivedFrom": "https://github.com/everis-rpam/RPaM-Ontology",
"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": [
"NaturalPerson"
],
"description": "Property. NGSI data type. It has to be NaturalPerson"
}
}
}
],
"required": [
"id",
"type"
],
"title": "NaturalPerson adapted to Smart Data Models"
}
34 changes: 34 additions & 0 deletions CROSSSECTOR/MANDATE/dataModel.Mandate/Power/schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"$schema": "http://json-schema.org/schema#",
"$schemaVersion": "0.0.1",
"$id": "https://smart-data-models.github.io/dataModel.Mandate/Power/schema.json",
"modelTags": "ERA vocabulary, railway, train",
"license": "https://smart-data-models.github.io/dataModel.Mandate/Power/LICENSE.md",
"derivedFrom": "https://github.com/everis-rpam/RPaM-Ontology",
"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": [
"Power"
],
"description": "Property. NGSI data type. It has to be Power"
}
}
}
],
"required": [
"id",
"type"
],
"title": "Power adapted to Smart Data Models",
"description": "The specification of how one mandator assigns one power, and possible constraints on its use, to one or more Mandatees."
}
33 changes: 33 additions & 0 deletions CROSSSECTOR/MANDATE/dataModel.Mandate/PowerSource/schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"$schema": "http://json-schema.org/schema#",
"$schemaVersion": "0.0.1",
"$id": "https://smart-data-models.github.io/dataModel.Mandate/Power/schema.json",
"modelTags": "ERA vocabulary, railway, train",
"license": "https://smart-data-models.github.io/dataModel.Mandate/Power/LICENSE.md",
"derivedFrom": "https://github.com/everis-rpam/RPaM-Ontology",
"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": [
"PowerSource"
],
"description": "Property. NGSI data type. It has to be PowerSource"
}
}
}
],
"required": [
"id",
"type"
],
"title": "PowerSource adapted to Smart Data Models"
}
33 changes: 33 additions & 0 deletions CROSSSECTOR/MANDATE/dataModel.Mandate/System/schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"$schema": "http://json-schema.org/schema#",
"$schemaVersion": "0.0.1",
"$id": "https://smart-data-models.github.io/dataModel.Mandate/Power/schema.json",
"modelTags": "ERA vocabulary, railway, train",
"license": "https://smart-data-models.github.io/dataModel.Mandate/Power/LICENSE.md",
"derivedFrom": "https://github.com/everis-rpam/RPaM-Ontology",
"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": [
"System"
],
"description": "Property. NGSI data type. It has to be System"
}
}
}
],
"required": [
"id",
"type"
],
"title": "System adapted to Smart Data Models"
}

0 comments on commit d5ea23c

Please sign in to comment.