expandedlicensing:ListedLicense leaf node


URI

https://spdx.org/rdf/3.0.1/terms/ExpandedLicensing/ListedLicense

Label

ListedLicense

Description

A license that is listed on the SPDX License List.

Targets (1)

Node Constraints

value type sh:IRI

Property Constraints (2)

Focus nodes of this shape (expandedlicensing:ListedLicense) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
expandedlicensing:deprecatedVersion Specifies the SPDX License List version in which this license or exception identifier was deprecated. 0 1 xsd:string
sh:Literal
expandedlicensing:listVersionAdded Specifies the SPDX License List version in which this ListedLicense or ListedLicenseException identifier was first added. 0 1 xsd:string
sh:Literal

Implementation

@prefix expandedlicensing: <https://spdx.org/rdf/3.0.1/terms/ExpandedLicensing/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@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#> .

expandedlicensing:ListedLicense a owl:Class,
        sh:NodeShape ;
    rdfs:comment "A license that is listed on the SPDX License List."@en ;
    rdfs:subClassOf expandedlicensing:License ;
    sh:nodeKind sh:IRI ;
    sh:property [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path expandedlicensing:deprecatedVersion ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path expandedlicensing:listVersionAdded ] .