extension:CdxPropertyEntry leaf node


URI

https://spdx.org/rdf/3.0.1/terms/Extension/CdxPropertyEntry

Label

CdxPropertyEntry

Description

A property name with an associated value.

Property Shapes

By the associated SHACL property shapes, instances of extension:CdxPropertyEntry can have the following properties:

PROPERTY PROPERTY TYPE DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS GLOBAL RANGE
extension:CdxPropertyEntry
extension:cdxPropName owl:DatatypeProperty A name used in a CdxPropertyEntry name-value pair. 1 1 xsd:string
sh:Literal
xsd:string
extension:cdxPropValue owl:DatatypeProperty A value used in a CdxPropertyEntry name-value pair. 0 1 xsd:string
sh:Literal
xsd:string

Implementation

@prefix extension: <https://spdx.org/rdf/3.0.1/terms/Extension/> .
@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#> .

extension:CdxPropertyEntry a owl:Class,
        sh:NodeShape ;
    rdfs:comment "A property name with an associated value."@en ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:property [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path extension:cdxPropValue ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path extension:cdxPropName ] .