-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdescription-parameterizable.ttl
More file actions
35 lines (29 loc) · 1.33 KB
/
description-parameterizable.ttl
File metadata and controls
35 lines (29 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# SPDX-FileCopyrightText: 2024 Helmholtz-Zentrum Dresden - Rossendorf (HZDR)
# SPDX-License-Identifier: CC-BY-4.0
# SPDX-FileContributor: David Pape
@prefix codemeta: <https://doi.org/10.5063/schema/codemeta-2.0#> .
@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 sc: <https://schema.software-metadata.pub/software-card/2025-01/#> .
@prefix scex: <https://schema.software-metadata.pub/software-card/2025-01/examples/#> .
@prefix scimpl: <https://schema.software-metadata.pub/software-card/2025-01/implementation/#> .
@prefix schema: <https://schema.org/> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
scex:longDescriptionMinLength a sc:Parameter ;
sc:parameterOuterType sc:Scalar ;
sc:parameterInnerType xsd:integer ;
sc:parameterConfigPath "description_min_length" ;
sc:parameterDefaultValue 50 ;
.
scex:longDescriptionRequired a sh:NodeShape ;
sh:targetClass schema:SoftwareSourceCode ;
sh:property [
sh:name "Long description" ;
sh:description "The software description must have a certain length." ;
sh:path schema:description ;
sh:datatype xsd:string ;
sh:minLength scex:longDescriptionMinLength ;
] ;
.