PREFIX ccf: <https://purl.org/ccf/latest/ccf.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#>

ccf:SpatialObjectReference a sh:NodeShape ;
  sh:closed false ;
  sh:property [
    sh:maxCount 1 ;
    sh:path ccf:has_object_file_subpath ;
    sh:datatype xsd:string ;
    sh:nodeKind sh:Literal ;
    sh:order 0
  ] , [
    sh:maxCount 1 ;
    sh:path ccf:has_object_file ;
    sh:datatype xsd:string ;
    sh:nodeKind sh:Literal ;
    sh:order 1
  ] , [
    sh:maxCount 1 ;
    sh:path ccf:has_object_file_format ;
    sh:datatype xsd:string ;
    sh:nodeKind sh:Literal ;
    sh:order 2
  ] ;
  sh:targetClass ccf:SpatialObjectReference .

<http://purl.org/ccf/latest/ccf.owl#SpatialObjectReference> a sh:NodeShape ;
  sh:closed false ;
  sh:targetClass <http://purl.org/ccf/latest/ccf.owl#SpatialObjectReference> .

ccf:SpatialPlacement a sh:NodeShape ;
  sh:closed false ;
  sh:property [
    sh:maxCount 1 ;
    sh:path ccf:has_x_translation ;
    sh:datatype xsd:decimal ;
    sh:nodeKind sh:Literal ;
    sh:order 0
  ] , [
    sh:maxCount 1 ;
    sh:path ccf:has_x_scaling ;
    sh:datatype xsd:decimal ;
    sh:nodeKind sh:Literal ;
    sh:order 1
  ] , [
    sh:maxCount 1 ;
    sh:path ccf:has_y_rotation ;
    sh:datatype xsd:decimal ;
    sh:nodeKind sh:Literal ;
    sh:order 2
  ] , [
    sh:path ccf:has_placement_source ;
    sh:class ccf:SpatialEntity ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 3
  ] , [
    sh:maxCount 1 ;
    sh:path ccf:has_z_translation ;
    sh:datatype xsd:decimal ;
    sh:nodeKind sh:Literal ;
    sh:order 4
  ] , [
    sh:maxCount 1 ;
    sh:path ccf:has_rotation_units ;
    sh:datatype xsd:string ;
    sh:nodeKind sh:Literal ;
    sh:order 5
  ] , [
    sh:maxCount 1 ;
    sh:path ccf:has_x_rotation ;
    sh:datatype xsd:decimal ;
    sh:nodeKind sh:Literal ;
    sh:order 6
  ] , [
    sh:maxCount 1 ;
    sh:path ccf:has_theta_rotation ;
    sh:datatype xsd:decimal ;
    sh:nodeKind sh:Literal ;
    sh:order 7
  ] , [
    sh:path ccf:has_placement_target ;
    sh:class ccf:SpatialEntity ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 8
  ] , [
    sh:maxCount 1 ;
    sh:path ccf:has_placement_date ;
    sh:datatype xsd:date ;
    sh:nodeKind sh:Literal ;
    sh:order 9
  ] , [
    sh:maxCount 1 ;
    sh:path ccf:has_y_translation ;
    sh:datatype xsd:decimal ;
    sh:nodeKind sh:Literal ;
    sh:order 10
  ] , [
    sh:maxCount 1 ;
    sh:path ccf:has_z_scaling ;
    sh:datatype xsd:decimal ;
    sh:nodeKind sh:Literal ;
    sh:order 11
  ] , [
    sh:maxCount 1 ;
    sh:path ccf:has_y_scaling ;
    sh:datatype xsd:decimal ;
    sh:nodeKind sh:Literal ;
    sh:order 12
  ] , [
    sh:maxCount 1 ;
    sh:path ccf:has_z_rotation ;
    sh:datatype xsd:decimal ;
    sh:nodeKind sh:Literal ;
    sh:order 13
  ] , [
    sh:maxCount 1 ;
    sh:path ccf:has_rotation_order ;
    sh:datatype xsd:string ;
    sh:nodeKind sh:Literal ;
    sh:order 14
  ] ;
  sh:targetClass ccf:SpatialPlacement .

<http://purl.org/ccf/latest/ccf.owl#SpatialPlacement> a sh:NodeShape ;
  sh:closed false ;
  sh:targetClass <http://purl.org/ccf/latest/ccf.owl#SpatialPlacement> .

ccf:SpatialEntity a sh:NodeShape ;
  sh:closed false ;
  sh:property [
    sh:maxCount 1 ;
    sh:path ccf:has_y_dimension ;
    sh:datatype xsd:decimal ;
    sh:nodeKind sh:Literal ;
    sh:order 0
  ] , [
    sh:path ccf:has_object_reference ;
    sh:class ccf:SpatialObjectReference ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 1
  ] , [
    sh:maxCount 1 ;
    sh:path ccf:has_x_dimension ;
    sh:datatype xsd:decimal ;
    sh:nodeKind sh:Literal ;
    sh:order 2
  ] , [
    sh:maxCount 1 ;
    sh:path ccf:has_dimension_units ;
    sh:datatype xsd:string ;
    sh:nodeKind sh:Literal ;
    sh:order 3
  ] , [
    sh:maxCount 1 ;
    sh:path ccf:ccf_representation_of ;
    sh:datatype xsd:string ;
    sh:nodeKind sh:Literal ;
    sh:order 4
  ] , [
    sh:maxCount 1 ;
    sh:path ccf:has_z_dimension ;
    sh:datatype xsd:decimal ;
    sh:nodeKind sh:Literal ;
    sh:order 5
  ] ;
  sh:targetClass ccf:SpatialEntity .

<http://purl.org/ccf/latest/ccf.owl#SpatialEntity> a sh:NodeShape ;
  sh:closed false ;
  sh:targetClass <http://purl.org/ccf/latest/ccf.owl#SpatialEntity> .

<https://w3id.org/linkml/Any> a sh:NodeShape ;
  rdfs:comment "An unconstrained type or object" ;
  sh:closed false ;
  sh:targetClass <https://w3id.org/linkml/Any> .
