Skip to content

Commit

Permalink
Add rdfc:ReaderChannel and rdfc:WriterChannel shapes
Browse files Browse the repository at this point in the history
  • Loading branch information
julianrojas87 committed Aug 3, 2024
1 parent efbc237 commit 5d664e9
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rdf-connect-js.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,14 @@ rdfc-js:JSProcessorShape a sh:NodeShape ;
sh:path rdfc-js:function ;
sh:name "func" ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:minCount 1
], [
sh:class fno:Mapping ;
sh:path rdfc-js:mapping ;
sh:name "mapping" ;
sh:maxCount 1 ;
sh:minCount 1
] , [
], [
sh:path rdfc:executedBy ;
sh:name "executed by" ;
sh:maxCount 1 ;
Expand Down
44 changes: 44 additions & 0 deletions rdf-connect.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
@prefix cc: <http://creativecommons.org/ns#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix rdfl: <https://w3id.org/rdf-lens/ontology#> .
@prefix rdfc: <https://w3id.org/rdf-connect#> .
@prefix rdfc-js: <https://w3id.org/rdf-connect/js#> .
@prefix rdfc-jvm: <https://w3id.org/rdf-connect/jvm#> .
Expand Down Expand Up @@ -176,6 +177,49 @@ rdfc:KafkaWriterChannel a rdfs:Class ;
# Channel Shapes
#################################################################

rdfc:ReaderChannelShape a sh:NodeShape ;
sh:targetClass rdfc:ReaderChannel ;
sh:property [
sh:path ( ) ;
sh:name "id" ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:datatype xsd:iri
], [
sh:path rdf:type ;
sh:name "ty" ;
sh:maxCount 1 ;
sh:datatype xsd:iri
], [
sh:path ( ) ;
sh:name "config" ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:class rdfl:TypedExtract
] .

rdfc:WriterChannelShape a sh:NodeShape ;
sh:targetClass rdfc:WriterChannel ;
sh:property [
sh:path ( ) ;
sh:name "id" ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:datatype xsd:iri
], [
sh:path rdf:type ;
sh:name "ty" ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:datatype xsd:iri
], [
sh:path ( ) ;
sh:name "config" ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:class rdfl:TypedExtract
] .

rdfc:FileChannelShape a sh:NodeShape ;
sh:targetClass rdfc:FileChannel ;
sh:property [
Expand Down

0 comments on commit 5d664e9

Please sign in to comment.