Skip to content

Commit

Permalink
Added SHACL shape for documentation (CLARIAH/clariah-plus#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
proycon authored and brambg committed Sep 16, 2022
1 parent d6f4498 commit 51af050
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion schemas/shacl/software.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,28 @@ clariah:SoftwareSourceCodeShape a sh:NodeShape ;
sh:message "An interface type *SHOULD* be expressed: Software source code should define one or more target products that are the resulting software applications offering specific interfaces" ; #strongly diverging from schema.org definition!! (see https://github.com/codemeta/codemeta/issues/267)
] ,
[
sh:path schema:funding ;
sh:path schema:softwareHelp ;
sh:or (
[ sh:class schema:WebSite ]
[ sh:class schema:WebPage ]
[ sh:class schema:Article ]
[ sh:class schema:Book ]
[ sh:class schema:Chapter ]
[ sh:class schema:Blog ]
[ sh:class schema:Guide ]
[ sh:class schema:HowTo ]
[ sh:class schema:DigitalDocument ]
[ sh:class schema:ScholarlyArticle ]
[ sh:class schema:TechArticle ]
[ sh:class schema:CreativeWork ] #everything goes but we tried to be a bit more specific above
) ;
sh:minCount 1 ;
rdfs:label "Software application help (i.e. documentation)" ;
sh:severity sh:Warning ;
sh:message "Documentation *SHOULD* be expressed" ;
] ,
[
sh:path codemeta:funding ;
sh:or (
[ sh:class schema:Grant ]
) ;
Expand Down

0 comments on commit 51af050

Please sign in to comment.