https://cacontology.projectvic.org/infrastructure#PaymentProcessingShape
Validation shape for payment processing instances.
Instances of cacontology-infrastructure:PaymentProcessing can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
|---|---|---|---|---|
| cacontology-infrastructure:PaymentProcessing | ||||
| cacontology-infrastructure:hasFinancialComplexity | 1 |
xsd:string
|
||
| cacontology-infrastructure:hasFinancialTraceability | 1 |
xsd:double
|
||
| cacontology-infrastructure:monthlyRevenue | 0 | 1 |
xsd:decimal
|
|
| cacontology-infrastructure:paymentMethods | 0 | 10 |
xsd:string
|
|
@prefix cacontology-infrastructure: <https://cacontology.projectvic.org/infrastructure#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-infrastructure:PaymentProcessingShape a sh:NodeShape ;
rdfs:label "Payment Processing Shape"@en ;
rdfs:comment "Validation shape for payment processing instances."@en ;
sh:property [ sh:datatype xsd:string ;
sh:in ( "credit_cards" "cryptocurrency" "digital_wallets" "bank_transfers" "prepaid_cards" "gift_cards" "cash_equivalents" ) ;
sh:maxCount 10 ;
sh:message "Payment methods must be from the allowed list."@en ;
sh:minCount 0 ;
sh:path cacontology-infrastructure:paymentMethods ],
[ sh:datatype xsd:decimal ;
sh:maxCount 1 ;
sh:maxInclusive 100000000.0 ;
sh:message "Monthly revenue must be between 0 and 100 million USD."@en ;
sh:minCount 0 ;
sh:minInclusive 0.0 ;
sh:path cacontology-infrastructure:monthlyRevenue ] ;
sh:targetClass cacontology-infrastructure:PaymentProcessing .