@prefix dct: <http://purl.org/dc/terms/> .
@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#> .

<https://data.norge.no/linkml/referansemodell-bronze/ReferanseBronseContainer> a sh:NodeShape ;
    rdfs:comment "Toppnivåobjekt for datafila." ;
    sh:closed true ;
    sh:ignoredProperties ( rdf:type ) ;
    sh:property [ sh:class dct:BibliographicResource ;
            sh:nodeKind sh:IRI ;
            sh:order 0 ;
            sh:path <https://data.norge.no/linkml/referansemodell-bronze/ressursar> ] ;
    sh:targetClass <https://data.norge.no/linkml/referansemodell-bronze/ReferanseBronseContainer> .

dct:BibliographicResource a sh:NodeShape ;
    rdfs:comment "Ein generisk ressurs med tittel og skildring." ;
    sh:closed true ;
    sh:ignoredProperties ( rdf:type ) ;
    sh:property [ sh:datatype xsd:string ;
            sh:description "Kortfatta skildring av ressursen." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 2 ;
            sh:path dct:description ],
        [ sh:description "Unik URI-identifikator for ressursen." ;
            sh:maxCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:order 0 ;
            sh:path dct:identifier ],
        [ sh:datatype xsd:string ;
            sh:description "Namn eller tittel på ressursen." ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:order 1 ;
            sh:path dct:title ] ;
    sh:targetClass dct:BibliographicResource .


