Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit ae8e5d8e authored by Carmine Romano's avatar Carmine Romano
Browse files

add SIMPL-510 Billing Schema

parent c66aee51
No related branches found
No related tags found
4 merge requests!11merge into release,!8Added FileWatcher and Hashing management,!7Merge Sprint 2 - Hashing management and Watcher,!5Merge WatcherHashing
...@@ -53,7 +53,15 @@ gax-validation:ApplicationOfferingShape a sh:NodeShape ; ...@@ -53,7 +53,15 @@ gax-validation:ApplicationOfferingShape a sh:NodeShape ;
sh:name "contract template" ; sh:name "contract template" ;
sh:node gax-validation:ContractTemplateShape ; sh:node gax-validation:ContractTemplateShape ;
sh:order 5 ; sh:order 5 ;
sh:path simpl:contractTemplate ] ; sh:path simpl:contractTemplate ],
[ skos:example "'(a structure object of type BillingSchema'" ;
sh:description "Basic classification of the service as per provision type and service model." ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:name "billing schema" ;
sh:node gax-validation:BillingSchemaShape ;
sh:order 6 ;
sh:path simpl:billingSchema ] ;
sh:targetClass simpl:ApplicationOffering . sh:targetClass simpl:ApplicationOffering .
gax-validation:ApplicationPropertiesShape a sh:NodeShape ; gax-validation:ApplicationPropertiesShape a sh:NodeShape ;
...@@ -102,6 +110,36 @@ gax-validation:ApplicationPropertiesShape a sh:NodeShape ; ...@@ -102,6 +110,36 @@ gax-validation:ApplicationPropertiesShape a sh:NodeShape ;
sh:path simpl:url ] ; sh:path simpl:url ] ;
sh:targetClass simpl:ApplicationProperties . sh:targetClass simpl:ApplicationProperties .
gax-validation:BillingSchemaShape a sh:NodeShape ;
sh:property [ skos:example "'Billing Schema 1', 'Billing Schema 2'" ;
sh:datatype xsd:string ;
sh:description "Indicates Billing Schema Document" ;
sh:in ( "Billing Schema 1" ) ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:name "billing schema document" ;
sh:order 1 ;
sh:path simpl:billingSchemaDocument ],
[ skos:example "'Free text'" ;
sh:datatype xsd:string ;
sh:description "Indicates HASH VALUE" ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:name "billing schema hash value" ;
sh:order 2 ;
sh:path simpl:billingSchemaHashValue ;
sh:rule "hidden" ],
[ skos:example "'Free text'" ;
sh:datatype xsd:string ;
sh:description "Indicates HASH ALGORITHM" ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:name "billing schema hash alg" ;
sh:order 3 ;
sh:path simpl:billingSchemaHashAlg ;
sh:rule "hidden" ] ;
sh:targetClass simpl:BillingSchema .
gax-validation:ContractTemplateShape a sh:NodeShape ; gax-validation:ContractTemplateShape a sh:NodeShape ;
sh:property [ skos:example "'Contract Template 1', 'Contract Template 2'" ; sh:property [ skos:example "'Contract Template 1', 'Contract Template 2'" ;
sh:datatype xsd:string ; sh:datatype xsd:string ;
...@@ -201,7 +239,14 @@ gax-validation:OfferingPriceShape a sh:NodeShape ; ...@@ -201,7 +239,14 @@ gax-validation:OfferingPriceShape a sh:NodeShape ;
sh:targetClass simpl:OfferingPrice . sh:targetClass simpl:OfferingPrice .
gax-validation:ProviderInformationShape a sh:NodeShape ; gax-validation:ProviderInformationShape a sh:NodeShape ;
sh:property [ skos:example "'123'" ; sh:property [ skos:example "'signature'" ;
sh:datatype xsd:string ;
sh:description "A digital signature that ensures that the provider is the one that uploaded the Self-description" ;
sh:maxCount 1 ;
sh:name "signature" ;
sh:order 3 ;
sh:path simpl:signature ],
[ skos:example "'123'" ;
sh:datatype xsd:string ; sh:datatype xsd:string ;
sh:description "A reference to ID of the Data/Application/Infrastructure Provider" ; sh:description "A reference to ID of the Data/Application/Infrastructure Provider" ;
sh:maxCount 1 ; sh:maxCount 1 ;
...@@ -216,18 +261,19 @@ gax-validation:ProviderInformationShape a sh:NodeShape ; ...@@ -216,18 +261,19 @@ gax-validation:ProviderInformationShape a sh:NodeShape ;
sh:minCount 1 ; sh:minCount 1 ;
sh:name "contact" ; sh:name "contact" ;
sh:order 2 ; sh:order 2 ;
sh:path simpl:contact ], sh:path simpl:contact ] ;
[ skos:example "'signature'" ;
sh:datatype xsd:string ;
sh:description "A digital signature that ensures that the provider is the one that uploaded the Self-description" ;
sh:maxCount 1 ;
sh:name "signature" ;
sh:order 3 ;
sh:path simpl:signature ] ;
sh:targetClass simpl:ProviderInformation . sh:targetClass simpl:ProviderInformation .
gax-validation:ServicePolicyShape a sh:NodeShape ; gax-validation:ServicePolicyShape a sh:NodeShape ;
sh:property [ skos:example "'Admin', 'Manager'" ; sh:property [ skos:example "'Admin', 'Manager'" ;
sh:datatype xsd:string ;
sh:description "Access policy to define who can access the dataset" ;
sh:in ( "Admin" "Manager" ) ;
sh:maxCount 1 ;
sh:name "access-policy" ;
sh:order 1 ;
sh:path simpl:access-policy ],
[ skos:example "'Admin', 'Manager'" ;
sh:datatype xsd:string ; sh:datatype xsd:string ;
sh:description "Usage policy to define how a dataset can be used" ; sh:description "Usage policy to define how a dataset can be used" ;
sh:in ( "Admin" "Manager" ) ; sh:in ( "Admin" "Manager" ) ;
...@@ -241,14 +287,6 @@ gax-validation:ServicePolicyShape a sh:NodeShape ; ...@@ -241,14 +287,6 @@ gax-validation:ServicePolicyShape a sh:NodeShape ;
sh:maxCount 1 ; sh:maxCount 1 ;
sh:name "compliance" ; sh:name "compliance" ;
sh:order 3 ; sh:order 3 ;
sh:path simpl:compliance ], sh:path simpl:compliance ] ;
[ skos:example "'Admin', 'Manager'" ;
sh:datatype xsd:string ;
sh:description "Access policy to define who can access the dataset" ;
sh:in ( "Admin" "Manager" ) ;
sh:maxCount 1 ;
sh:name "access-policy" ;
sh:order 1 ;
sh:path simpl:access-policy ] ;
sh:targetClass simpl:ServicePolicy . sh:targetClass simpl:ServicePolicy .
...@@ -53,9 +53,47 @@ gax-validation:DataOfferingShape a sh:NodeShape ; ...@@ -53,9 +53,47 @@ gax-validation:DataOfferingShape a sh:NodeShape ;
sh:name "contract template" ; sh:name "contract template" ;
sh:node gax-validation:ContractTemplateShape ; sh:node gax-validation:ContractTemplateShape ;
sh:order 5 ; sh:order 5 ;
sh:path simpl:contractTemplate ] ; sh:path simpl:contractTemplate ],
[ skos:example "'(a structure object of type BillingSchema'" ;
sh:description "Basic classification of the service as per provision type and service model." ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:name "billing schema" ;
sh:node gax-validation:BillingSchemaShape ;
sh:order 6 ;
sh:path simpl:billingSchema ] ;
sh:targetClass simpl:DataOffering . sh:targetClass simpl:DataOffering .
gax-validation:BillingSchemaShape a sh:NodeShape ;
sh:property [ skos:example "'Billing Schema 1', 'Billing Schema 2'" ;
sh:datatype xsd:string ;
sh:description "Indicates Billing Schema Document" ;
sh:in ( "Billing Schema 1" ) ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:name "billing schema document" ;
sh:order 1 ;
sh:path simpl:billingSchemaDocument ],
[ skos:example "'Free text'" ;
sh:datatype xsd:string ;
sh:description "Indicates HASH VALUE" ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:name "billing schema hash value" ;
sh:order 2 ;
sh:path simpl:billingSchemaHashValue ;
sh:rule "hidden" ],
[ skos:example "'Free text'" ;
sh:datatype xsd:string ;
sh:description "Indicates HASH ALGORITHM" ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:name "billing schema hash alg" ;
sh:order 3 ;
sh:path simpl:billingSchemaHashAlg ;
sh:rule "hidden" ] ;
sh:targetClass simpl:BillingSchema .
gax-validation:ContractTemplateShape a sh:NodeShape ; gax-validation:ContractTemplateShape a sh:NodeShape ;
sh:property [ skos:example "'Contract Template 1', 'Contract Template 2'" ; sh:property [ skos:example "'Contract Template 1', 'Contract Template 2'" ;
sh:datatype xsd:string ; sh:datatype xsd:string ;
...@@ -88,6 +126,28 @@ gax-validation:ContractTemplateShape a sh:NodeShape ; ...@@ -88,6 +126,28 @@ gax-validation:ContractTemplateShape a sh:NodeShape ;
gax-validation:DataPropertiesShape a sh:NodeShape ; gax-validation:DataPropertiesShape a sh:NodeShape ;
sh:property [ skos:example "'Text'" ; sh:property [ skos:example "'Text'" ;
sh:datatype xsd:string ;
sh:description "Data Provenance" ;
sh:maxCount 1 ;
sh:name "provenance" ;
sh:order 1 ;
sh:path simpl:provenance ],
[ skos:example "'csv, xml'" ;
sh:datatype xsd:string ;
sh:description "Format under which the data is distributed (e.g. csv, xml, …). Might be more than one format available for the same dataset." ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:name "format" ;
sh:order 2 ;
sh:path simpl:format ],
[ skos:example "'Text'" ;
sh:datatype xsd:string ;
sh:description "Schema of the dataset: thus, a description what the structure of the data looks like. What are the columns and the data ranges." ;
sh:maxCount 1 ;
sh:name "schema" ;
sh:order 3 ;
sh:path simpl:schema ],
[ skos:example "'Text'" ;
sh:datatype xsd:string ; sh:datatype xsd:string ;
sh:description "Related datasets" ; sh:description "Related datasets" ;
sh:maxCount 1 ; sh:maxCount 1 ;
...@@ -121,29 +181,7 @@ gax-validation:DataPropertiesShape a sh:NodeShape ; ...@@ -121,29 +181,7 @@ gax-validation:DataPropertiesShape a sh:NodeShape ;
sh:maxCount 1 ; sh:maxCount 1 ;
sh:name "anonymization" ; sh:name "anonymization" ;
sh:order 8 ; sh:order 8 ;
sh:path simpl:anonymization ], sh:path simpl:anonymization ] ;
[ skos:example "'Text'" ;
sh:datatype xsd:string ;
sh:description "Data Provenance" ;
sh:maxCount 1 ;
sh:name "provenance" ;
sh:order 1 ;
sh:path simpl:provenance ],
[ skos:example "'csv, xml'" ;
sh:datatype xsd:string ;
sh:description "Format under which the data is distributed (e.g. csv, xml, …). Might be more than one format available for the same dataset." ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:name "format" ;
sh:order 2 ;
sh:path simpl:format ],
[ skos:example "'Text'" ;
sh:datatype xsd:string ;
sh:description "Schema of the dataset: thus, a description what the structure of the data looks like. What are the columns and the data ranges." ;
sh:maxCount 1 ;
sh:name "schema" ;
sh:order 3 ;
sh:path simpl:schema ] ;
sh:targetClass simpl:DataProperties . sh:targetClass simpl:DataProperties .
gax-validation:GeneralServicePropertiesShape a sh:NodeShape ; gax-validation:GeneralServicePropertiesShape a sh:NodeShape ;
...@@ -215,7 +253,14 @@ gax-validation:OfferingPriceShape a sh:NodeShape ; ...@@ -215,7 +253,14 @@ gax-validation:OfferingPriceShape a sh:NodeShape ;
sh:targetClass simpl:OfferingPrice . sh:targetClass simpl:OfferingPrice .
gax-validation:ProviderInformationShape a sh:NodeShape ; gax-validation:ProviderInformationShape a sh:NodeShape ;
sh:property [ skos:example "'123'" ; sh:property [ skos:example "'signature'" ;
sh:datatype xsd:string ;
sh:description "A digital signature that ensures that the provider is the one that uploaded the Self-description" ;
sh:maxCount 1 ;
sh:name "signature" ;
sh:order 3 ;
sh:path simpl:signature ],
[ skos:example "'123'" ;
sh:datatype xsd:string ; sh:datatype xsd:string ;
sh:description "A reference to ID of the Data/Application/Infrastructure Provider" ; sh:description "A reference to ID of the Data/Application/Infrastructure Provider" ;
sh:maxCount 1 ; sh:maxCount 1 ;
...@@ -230,14 +275,7 @@ gax-validation:ProviderInformationShape a sh:NodeShape ; ...@@ -230,14 +275,7 @@ gax-validation:ProviderInformationShape a sh:NodeShape ;
sh:minCount 1 ; sh:minCount 1 ;
sh:name "contact" ; sh:name "contact" ;
sh:order 2 ; sh:order 2 ;
sh:path simpl:contact ], sh:path simpl:contact ] ;
[ skos:example "'signature'" ;
sh:datatype xsd:string ;
sh:description "A digital signature that ensures that the provider is the one that uploaded the Self-description" ;
sh:maxCount 1 ;
sh:name "signature" ;
sh:order 3 ;
sh:path simpl:signature ] ;
sh:targetClass simpl:ProviderInformation . sh:targetClass simpl:ProviderInformation .
gax-validation:ServicePolicyShape a sh:NodeShape ; gax-validation:ServicePolicyShape a sh:NodeShape ;
......
...@@ -7,9 +7,16 @@ config: ...@@ -7,9 +7,16 @@ config:
- -
key: "Contract Template 1" key: "Contract Template 1"
value: "https://files.dev.simpl-europe.eu/static/pdf/Dataset_Contract_Template.pdf" value: "https://files.dev.simpl-europe.eu/static/pdf/Dataset_Contract_Template.pdf"
-
key: "Billing Schema 1"
value: "https://files.dev.simpl-europe.eu/static/pdf/Dataset_Contract_Template.pdf"
hashModelList: hashModelList:
- -
hashDoc: "contractTemplateDocument" hashDoc: "contractTemplateDocument"
hashAlg: "contractTemplateHashAlg" hashAlg: "contractTemplateHashAlg"
hashValue: "contractTemplateHashValue" hashValue: "contractTemplateHashValue"
-
hashDoc: "billingSchemaDocument"
hashAlg: "billingSchemaHashValue"
hashValue: "billingSchemaHashAlg"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment