https://cacontology.projectvic.org/infrastructure#CryptocurrencyInfrastructureShape
Validation shape for cryptocurrency infrastructure instances.
Focus nodes of this shape (cacontology-infrastructure:CryptocurrencyInfrastructure) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
| cacontology-infrastructure:cryptoCurrencyTypes | Types of cryptocurrency accepted (Bitcoin, Monero, Ethereum). sh:message Cryptocurrency types must be from the allowed list. |
0 | 10 | xsd:string |
sh:in
Bitcoin, Monero, Ethereum, Litecoin, Zcash, Dash, Ripple, Tether, other
|
@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:CryptocurrencyInfrastructureShape a sh:NodeShape ;
rdfs:label "Cryptocurrency Infrastructure Shape"@en ;
rdfs:comment "Validation shape for cryptocurrency infrastructure instances."@en ;
sh:property [ sh:datatype xsd:string ;
sh:in ( "Bitcoin" "Monero" "Ethereum" "Litecoin" "Zcash" "Dash" "Ripple" "Tether" "other" ) ;
sh:maxCount 10 ;
sh:message "Cryptocurrency types must be from the allowed list."@en ;
sh:minCount 0 ;
sh:path cacontology-infrastructure:cryptoCurrencyTypes ] ;
sh:targetClass cacontology-infrastructure:CryptocurrencyInfrastructure .