-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathprovenance_schema.json
53 lines (53 loc) · 1.64 KB
/
provenance_schema.json
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
"$id": "https://w3id.org/dats/schema/provenance_schema.json",
"$schema": "http://json-schema.org/draft-07/schema",
"title": "Internal DATS provenance schema",
"description": "The provenance information kept in DataMed. This schema is for internal use in DataMed and not to be implemented by repositories.",
"type": "object",
"properties": {
"@context": {
"description": "The JSON-LD context",
"anyOf": [
{
"type": "string"
},
{
"type": "object"
},
{
"type": "array"
}
]
},
"@id": {
"description": "The JSON-LD identifier",
"type": "string", "format": "uri"
},
"@type": {
"description": "The JSON-LD type",
"type": "string",
"const": "Provenance"
},
"transformationFile": {
"description": "The DataMed transformation file describing the mapping between the original repository and DATS.",
"type": "string"
},
"ingestMethod": {
"description": "The method used to ingest the dataset from the repository into DataMed.",
"type": "string"
},
"ingestTarget": {
"description": "The location where the source files can be found, using the ingestMethod, to produce this DATS intance ingested in DataMed.",
"type": "string"
},
"filePattern": {
"description": "A regular expression indicating the pattern of files considered during the ingestion process.",
"type": "string"
},
"ingestTimestamp": {
"description": "A timestamp reporting when the ingestion occurred.",
"type": "string"
}
},
"additionalProperties": false
}