expandedlicensing:LicenseAddition


URI

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

Label

LicenseAddition

Description

Abstract class for additional text intended to be added to a License, but
which is not itself a standalone License.

Superclasses (1)

Targets (1)

Node Constraints

value type sh:IRI

Property Constraints (7)

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

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
expandedlicensing:additionText Identifies the full text of a LicenseAddition. 1 1 xsd:string
sh:Literal
expandedlicensing:isDeprecatedAdditionId Specifies whether an additional text identifier has been marked as deprecated. 0 1 xsd:boolean
sh:Literal
expandedlicensing:licenseXml Identifies all the text and metadata associated with a license in the license XML format. 0 1 xsd:string
sh:Literal
expandedlicensing:obsoletedBy Specifies the licenseId that is preferred to be used in place of a deprecated License or LicenseAddition. 0 1 xsd:string
sh:Literal
expandedlicensing:seeAlso Contains a URL where the License or LicenseAddition can be found in use. 0 * xsd:anyURI
sh:Literal
expandedlicensing:standardAdditionTemplate Identifies the full text of a LicenseAddition, in SPDX templating format. 0 1 xsd:string
sh:Literal
rdf:type
sh:message https://spdx.org/rdf/3.0.1/terms/ExpandedLicensing/LicenseAddition is an abstract class and should not be instantiated directly. Instantiate a subclass instead.
0 *
sh:not sh:hasValue expandedlicensing:LicenseAddition

Implementation

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

expandedlicensing:LicenseAddition a owl:Class,
        sh:NodeShape ;
    rdfs:comment """Abstract class for additional text intended to be added to a License, but
which is not itself a standalone License."""@en ;
    rdfs:subClassOf core:Element ;
    sh:nodeKind sh:IRI ;
    sh:property [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path expandedlicensing:standardAdditionTemplate ],
        [ sh:datatype xsd:anyURI ;
            sh:nodeKind sh:Literal ;
            sh:path expandedlicensing:seeAlso ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path expandedlicensing:obsoletedBy ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path expandedlicensing:licenseXml ],
        [ sh:datatype xsd:boolean ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path expandedlicensing:isDeprecatedAdditionId ],
        [ sh:message "https://spdx.org/rdf/3.0.1/terms/ExpandedLicensing/LicenseAddition is an abstract class and should not be instantiated directly. Instantiate a subclass instead."@en ;
            sh:not [ sh:hasValue expandedlicensing:LicenseAddition ] ;
            sh:path rdf:type ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path expandedlicensing:additionText ] .