Skip to content

Commit 8d37d20

Browse files
authored
Merge pull request #14 from softwarepub/13-integrate-transport-format
13 integrate transport format
2 parents b153e9a + fa67a26 commit 8d37d20

16 files changed

Lines changed: 1239 additions & 200 deletions
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[
2+
{
3+
"@id": "_:N7dadb5f5fbbe4cbca887cdc620c43ab6",
4+
"@type": [
5+
"http://www.w3.org/ns/shacl#ValidationReport"
6+
],
7+
"http://www.w3.org/ns/shacl#conforms": [
8+
{
9+
"@type": "http://www.w3.org/2001/XMLSchema#boolean",
10+
"@value": true
11+
}
12+
]
13+
}
14+
]
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
@prefix sh: <http://www.w3.org/ns/shacl#> .
2+
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
3+
4+
[] a sh:ValidationReport ;
5+
sh:conforms true .
6+
Lines changed: 235 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,235 @@
1+
[
2+
{
3+
"@id": "_:N8068169b02c343babe9bb8722635033a",
4+
"@type": [
5+
"http://www.w3.org/ns/shacl#ValidationReport"
6+
],
7+
"http://www.w3.org/ns/shacl#conforms": [
8+
{
9+
"@type": "http://www.w3.org/2001/XMLSchema#boolean",
10+
"@value": false
11+
}
12+
],
13+
"http://www.w3.org/ns/shacl#result": [
14+
{
15+
"@id": "_:Na299b0ba08894a7f95ccd9234e8a247e"
16+
}
17+
]
18+
},
19+
{
20+
"@id": "_:Na299b0ba08894a7f95ccd9234e8a247e",
21+
"@type": [
22+
"http://www.w3.org/ns/shacl#ValidationResult"
23+
],
24+
"http://www.w3.org/ns/shacl#focusNode": [
25+
{
26+
"@id": "_:ne00ff720add644d5b48309d25eb5efd3b10"
27+
}
28+
],
29+
"http://www.w3.org/ns/shacl#resultMessage": [
30+
{
31+
"@value": "String length not >= Literal(\"100\", datatype=xsd:integer)"
32+
}
33+
],
34+
"http://www.w3.org/ns/shacl#resultPath": [
35+
{
36+
"@id": "https://schema.org/description"
37+
}
38+
],
39+
"http://www.w3.org/ns/shacl#resultSeverity": [
40+
{
41+
"@id": "http://www.w3.org/ns/shacl#Violation"
42+
}
43+
],
44+
"http://www.w3.org/ns/shacl#sourceConstraintComponent": [
45+
{
46+
"@id": "http://www.w3.org/ns/shacl#MinLengthConstraintComponent"
47+
}
48+
],
49+
"http://www.w3.org/ns/shacl#sourceShape": [
50+
{
51+
"@id": "_:n2f40e429a2ba4abe8f8925c2ca966033b1"
52+
}
53+
],
54+
"http://www.w3.org/ns/shacl#value": [
55+
{
56+
"@value": "Proof-of-concept implementation of the HERMES workflow."
57+
}
58+
]
59+
},
60+
{
61+
"@id": "_:n2f40e429a2ba4abe8f8925c2ca966033b1",
62+
"http://www.w3.org/ns/shacl#datatype": [
63+
{
64+
"@id": "http://www.w3.org/2001/XMLSchema#string"
65+
}
66+
],
67+
"http://www.w3.org/ns/shacl#description": [
68+
{
69+
"@value": "The software description must have a certain length."
70+
}
71+
],
72+
"http://www.w3.org/ns/shacl#minLength": [
73+
{
74+
"@type": "http://www.w3.org/2001/XMLSchema#integer",
75+
"@value": 100
76+
}
77+
],
78+
"http://www.w3.org/ns/shacl#name": [
79+
{
80+
"@value": "Long description"
81+
}
82+
],
83+
"http://www.w3.org/ns/shacl#path": [
84+
{
85+
"@id": "https://schema.org/description"
86+
}
87+
]
88+
},
89+
{
90+
"@id": "_:ne00ff720add644d5b48309d25eb5efd3b10",
91+
"@type": [
92+
"https://schema.org/SoftwareSourceCode",
93+
"http://www.w3.org/2000/01/rdf-schema#Resource"
94+
],
95+
"https://doi.org/10.5063/schema/codemeta-2.0#readme": [
96+
{
97+
"@type": "https://schema.org/URL",
98+
"@value": "https://raw.githubusercontent.com/softwarepub/hermes/proof-of-concept/README.md"
99+
}
100+
],
101+
"https://schema.org/author": [
102+
{
103+
"@id": "https://orcid.org/0000-0001-6372-3853"
104+
},
105+
{
106+
"@id": "https://orcid.org/0000-0003-1761-2591"
107+
},
108+
{
109+
"@id": "https://orcid.org/0000-0003-4925-7248"
110+
},
111+
{
112+
"@id": "_:N538b305b81934ae391b8cef6677ba07e"
113+
},
114+
{
115+
"@id": "https://orcid.org/0000-0002-2702-3419"
116+
},
117+
{
118+
"@id": "https://orcid.org/0000-0002-3145-9880"
119+
},
120+
{
121+
"@id": "https://orcid.org/0000-0001-8174-7795"
122+
},
123+
{
124+
"@id": "_:Nda10c5ecbef84b65b8015a979111ed93"
125+
}
126+
],
127+
"https://schema.org/codeRepository": [
128+
{
129+
"@type": "https://schema.org/URL",
130+
"@value": "https://github.com/hermes-hmc/hermes"
131+
}
132+
],
133+
"https://schema.org/description": [
134+
{
135+
"@value": "Proof-of-concept implementation of the HERMES workflow."
136+
}
137+
],
138+
"https://schema.org/hasPart": [
139+
{
140+
"@id": "_:Ncf37313a1e0340efabab1d373b7658b6"
141+
}
142+
],
143+
"https://schema.org/license": [
144+
{
145+
"@value": "https://spdx.org/licenses/Apache-2.0"
146+
}
147+
],
148+
"https://schema.org/version": [
149+
{
150+
"@value": "proof-of-concept"
151+
}
152+
]
153+
},
154+
{
155+
"@id": "_:Ncf37313a1e0340efabab1d373b7658b6",
156+
"@type": [
157+
"https://schema.org/CreativeWork",
158+
"http://www.w3.org/2000/01/rdf-schema#Resource"
159+
],
160+
"https://schema.org/associatedMedia": [
161+
{
162+
"@id": "_:Ndfd4d1a0eed24ccfb2f0f32df4abbed4"
163+
}
164+
],
165+
"https://schema.org/name": [
166+
{
167+
"@value": "README"
168+
}
169+
]
170+
},
171+
{
172+
"@id": "_:Ndfd4d1a0eed24ccfb2f0f32df4abbed4",
173+
"@type": [
174+
"https://schema.org/TextObject",
175+
"http://www.w3.org/2000/01/rdf-schema#Resource"
176+
],
177+
"https://schema.org/encodingFormat": [
178+
{
179+
"@value": "text/markdown"
180+
}
181+
],
182+
"https://schema.org/url": [
183+
{
184+
"@type": "https://schema.org/URL",
185+
"@value": "https://raw.githubusercontent.com/softwarepub/hermes/proof-of-concept/README.md"
186+
}
187+
]
188+
},
189+
{
190+
"@id": "_:N538b305b81934ae391b8cef6677ba07e",
191+
"@type": [
192+
"https://schema.org/Organization",
193+
"http://www.w3.org/2000/01/rdf-schema#Resource"
194+
],
195+
"https://schema.org/name": [
196+
{
197+
"@value": "HERMES Team"
198+
}
199+
]
200+
},
201+
{
202+
"@id": "_:Nda10c5ecbef84b65b8015a979111ed93",
203+
"@type": [
204+
"https://schema.org/Person",
205+
"http://www.w3.org/2000/01/rdf-schema#Resource"
206+
],
207+
"https://schema.org/affiliation": [
208+
{
209+
"@id": "_:N8772291b30d041d9b1a5633fbbf68439"
210+
}
211+
],
212+
"https://schema.org/email": [
213+
{
214+
"@value": "gitlab-admin+bot@hzdr.de"
215+
}
216+
],
217+
"https://schema.org/givenName": [
218+
{
219+
"@value": "HIFIS Bot"
220+
}
221+
]
222+
},
223+
{
224+
"@id": "_:N8772291b30d041d9b1a5633fbbf68439",
225+
"@type": [
226+
"https://schema.org/Organization",
227+
"http://www.w3.org/2000/01/rdf-schema#Resource"
228+
],
229+
"https://schema.org/legalName": [
230+
{
231+
"@value": "Helmholtz Federated IT Services (HIFIS)"
232+
}
233+
]
234+
}
235+
]
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
@prefix codemeta: <https://doi.org/10.5063/schema/codemeta-2.0#> .
2+
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
3+
@prefix schema: <https://schema.org/> .
4+
@prefix sh: <http://www.w3.org/ns/shacl#> .
5+
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
6+
7+
[] a sh:ValidationReport ;
8+
sh:conforms false ;
9+
sh:result [ a sh:ValidationResult ;
10+
sh:focusNode [ a rdfs:Resource,
11+
schema:SoftwareSourceCode ;
12+
codemeta:readme "https://raw.githubusercontent.com/softwarepub/hermes/proof-of-concept/README.md"^^schema:URL ;
13+
schema:author [ a rdfs:Resource,
14+
schema:Organization ;
15+
schema:name "HERMES Team" ],
16+
[ a rdfs:Resource,
17+
schema:Person ;
18+
schema:affiliation [ a rdfs:Resource,
19+
schema:Organization ;
20+
schema:legalName "Helmholtz Federated IT Services (HIFIS)" ] ;
21+
schema:email "gitlab-admin+bot@hzdr.de" ;
22+
schema:givenName "HIFIS Bot" ],
23+
<https://orcid.org/0000-0001-6372-3853>,
24+
<https://orcid.org/0000-0001-8174-7795>,
25+
<https://orcid.org/0000-0002-2702-3419>,
26+
<https://orcid.org/0000-0002-3145-9880>,
27+
<https://orcid.org/0000-0003-1761-2591>,
28+
<https://orcid.org/0000-0003-4925-7248> ;
29+
schema:codeRepository "https://github.com/hermes-hmc/hermes"^^schema:URL ;
30+
schema:description "Proof-of-concept implementation of the HERMES workflow." ;
31+
schema:hasPart [ a rdfs:Resource,
32+
schema:CreativeWork ;
33+
schema:associatedMedia [ a rdfs:Resource,
34+
schema:TextObject ;
35+
schema:encodingFormat "text/markdown" ;
36+
schema:url "https://raw.githubusercontent.com/softwarepub/hermes/proof-of-concept/README.md"^^schema:URL ] ;
37+
schema:name "README" ] ;
38+
schema:license "https://spdx.org/licenses/Apache-2.0" ;
39+
schema:version "proof-of-concept" ] ;
40+
sh:resultMessage "String length not >= Literal(\"100\", datatype=xsd:integer)" ;
41+
sh:resultPath schema:description ;
42+
sh:resultSeverity sh:Violation ;
43+
sh:sourceConstraintComponent sh:MinLengthConstraintComponent ;
44+
sh:sourceShape [ sh:datatype xsd:string ;
45+
sh:description "The software description must have a certain length." ;
46+
sh:minLength 100 ;
47+
sh:name "Long description" ;
48+
sh:path schema:description ] ;
49+
sh:value "Proof-of-concept implementation of the HERMES workflow." ] .
50+

0 commit comments

Comments
 (0)