-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathlicenses-parameterizable.ttl
More file actions
35 lines (28 loc) · 1.3 KB
/
licenses-parameterizable.ttl
File metadata and controls
35 lines (28 loc) · 1.3 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://software-metadata.pub/software-card#> .
@prefix scex: <https://software-metadata.pub/software-card-examples#> .
@prefix scimpl: <https://software-metadata.pub/software-card-implementation#> .
@prefix schema: <https://schema.org/> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
scex:suggestedLicenses a sc:Parameter ;
sc:parameterType rdf:List ;
sc:parameterConfigPath "suggested_licenses" ;
sc:parameterDefaultValue ( "https://spdx.org/licenses/Apache-2.0" "https://spdx.org/licenses/MIT" ) .
scex:licenseRequirements a sh:NodeShape ;
sh:targetClass schema:SoftwareSourceCode ;
sh:property [
sh:name "Suggested license" ;
sh:description "A license from this list should be chosen." ;
sh:severity sh:Warning ;
sh:path schema:license ;
sh:datatype xsd:string ;
sh:in scex:suggestedLicenses ;
] ;
.