-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmapping.yml
More file actions
35 lines (29 loc) · 773 Bytes
/
mapping.yml
File metadata and controls
35 lines (29 loc) · 773 Bytes
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
prefixes:
ex: "https://w3id.org/docker/image/#"
dc: "http://purl.org/dc/elements/1.1/"
sources:
main-source: ['data.json~jsonpath', '$.*']
layer-source: ['data.json~jsonpath', '$.*.RootFS']
mappings:
dockerObject:
sources:
- main-source
s: https://w3id.org/docker/image/$(Id)
po:
- [dc:identifier,$(Id)]
- [a, ex:dockerObject]
- [ex:author,$(Author)]
- [ex:os,$(Os)]
- [ex:architecture, $(Architecture)]
- [ex:dockerVersion, $(DockerVersion)]
- [ex:container, $(Container)]
- [ex:size,$(Size)]
- p: ex:rootFs
o:
- mapping : layer
layer:
sources:
- layer-source
po:
- [a,ex:Layer]
- [ex:Layer,$(Layers),xsd:string]