@prefix af-p: <http://purl.allotrope.org/ontologies/process#> .
@prefix af-s: <http://purl.allotrope.org/shape/> .
@prefix af-x: <http://purl.allotrope.org/ontologies/property#> .
@prefix dct: <http://purl.org/dc/terms/> .
@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 ro: <http://purl.obolibrary.org/obo/RO> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

af-s:AFS_0000446 a sh:NodeShape ;
    rdfs:isDefinedBy <http://purl.allotrope.org/shapes/adm/lc-uv/CR/2024/12/lc-uv-results-only.injection.shapes> ;
    skos:prefLabel "LCUV results-only injection shape" ;
    sh:and ( af-s:AFS_0000001 af-s:AFS_0000445 ) ;
    sh:message "AN LCUV injection SHOULD have exactly 1 identifier AND 1 related start date with date time value." ;
    sh:property af-s:AFS_0000447 ;
    sh:severity sh:Warning ;
    sh:targetClass af-p:AFP_0001611 .

af-s:AFS_0000447 a sh:PropertyShape ;
    rdfs:isDefinedBy <http://purl.allotrope.org/shapes/adm/lc-uv/CR/2024/12/lc-uv-results-only.injection.shapes> ;
    skos:prefLabel "with start date" ;
    sh:and ( af-s:AFS_0000001 ) ;
    sh:message "It SHOULD have a related start date." ;
    sh:path ro:_0002224 ;
    sh:qualifiedMaxCount 1 ;
    sh:qualifiedMinCount 1 ;
    sh:qualifiedValueShape [ sh:class af-p:AFP_0003328 ;
            sh:message "It MUST be a start with related date time." ;
            sh:property [ sh:message "It MUST be described by a date time value." ;
                    sh:path [ sh:inversePath af-x:AFX_0002699 ] ;
                    sh:qualifiedMaxCount 1 ;
                    sh:qualifiedMinCount 1 ;
                    sh:qualifiedValueShape af-s:AFS_0000278 ] ] ;
    sh:severity sh:Warning .

<http://purl.allotrope.org/shapes/adm/lc-uv/CR/2024/12/lc-uv-results-only.injection.shapes> a owl:Ontology ;
    dct:description "Results-only module of the Allotrope LC-UV Injection Shape library." ;
    dct:license <http://purl.allotrope.org/voc/creative-commons-attribution-license> ;
    dct:publisher <http://www.allotrope.org> ;
    dct:rights <http://purl.allotrope.org/voc/attribution>,
        <http://purl.allotrope.org/voc/copyright> ;
    dct:title "Allotrope LC-UV Results-Only Injection Shape Library - (CR/2024/12)" ;
    owl:imports <http://purl.allotrope.org/shapes/adm/core/REC/2021/12/prefix.shacl>,
        <http://purl.allotrope.org/shapes/adm/core/REC/2022/06/common.shapes>,
        <http://purl.allotrope.org/shapes/adm/core/REC/2022/06/datum.shapes>,
        <http://purl.allotrope.org/shapes/adm/lc-uv/CR/2024/12/lc-uv-injection-core.shapes>,
        <http://purl.allotrope.org/shapes/qudt/REC/2022/06/qudt.shapes>,
        <http://purl.allotrope.org/shapes/qudt/REC/2022/06/unit.shapes> ;
    owl:priorVersion <http://purl.allotrope.org/shapes/adm/lc-uv/CR/2020/09/lc-uv-results-only.injection.shapes> ;
    owl:versionIRI <http://purl.allotrope.org/shapes/adm/lc-uv/CR/2024/12/lc-uv-results-only.injection.shapes> ;
    owl:versionInfo "CR/2024/12" ;
    skos:prefLabel "LC-UV results-only injection shapes" .

