rec:Lease leaf node


URI

https://w3id.org/rec#Lease

Label

Lease

Superclasses (1)

Targets (1)

Property Constraints (4)

Focus nodes of this shape (rec:Lease) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
rec:leaseOf lease of
The object (e.g., property, equipment, etc) that this a lease of.
1 * sh:IRI
rec:leasee leasee
The agent leasing some leasable object, i.e., the user of the asset.
1 * rec:Agent
sh:IRI
rec:leasor leasor
The agent leasing out some leasable object, i.e., the owner of the asset.
1 * rec:Agent
sh:IRI
rec:regulatedBy regulated by
Indicates the contract regulating the terms of the lease in question.
0 * rec:LeaseContract
sh:IRI

Implementation

@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rec: <https://w3id.org/rec#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

rec:Lease a rdfs:Class,
        sh:NodeShape ;
    rdfs:label "Lease"^^xsd:string ;
    rdfs:subClassOf rec:Event ;
    sh:property [ a sh:PropertyShape ;
            sh:class rec:LeaseContract ;
            sh:description "Indicates the contract regulating the terms of the lease in question. "^^xsd:string ;
            sh:name "regulated by"^^xsd:string ;
            sh:nodeKind sh:IRI ;
            sh:path rec:regulatedBy ],
        [ a sh:PropertyShape ;
            sh:description "The object (e.g., property, equipment, etc) that this a lease of."^^xsd:string ;
            sh:minCount 1 ;
            sh:name "lease of"^^xsd:string ;
            sh:nodeKind sh:IRI ;
            sh:path rec:leaseOf ],
        [ a sh:PropertyShape ;
            sh:class rec:Agent ;
            sh:description "The agent leasing some leasable object, i.e., the user of the asset."^^xsd:string ;
            sh:minCount 1 ;
            sh:name "leasee"^^xsd:string ;
            sh:nodeKind sh:IRI ;
            sh:path rec:leasee ],
        [ a sh:PropertyShape ;
            sh:class rec:Agent ;
            sh:description "The agent leasing out some leasable object, i.e., the owner of the asset."^^xsd:string ;
            sh:minCount 1 ;
            sh:name "leasor"^^xsd:string ;
            sh:nodeKind sh:IRI ;
            sh:path rec:leasor ] .