Skip to content

Commit c191d94

Browse files
authored
Merge pull request #584 from Alixbonard/v6-computation2core
Adding localFile schema from computation
2 parents cdbb36e + df60f5c commit c191d94

File tree

1 file changed

+63
-0
lines changed

1 file changed

+63
-0
lines changed
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
{
2+
"_type": "core:LocalFile",
3+
"_categories": [
4+
"fileOrigin"
5+
],
6+
"required": [
7+
"name",
8+
"path"
9+
],
10+
"properties": {
11+
"contentDescription": {
12+
"type": "string",
13+
"_instruction": "Enter a short content description for this local file instance."
14+
},
15+
"copyOf": {
16+
"_instruction": "Add the file of which this is a copy.",
17+
"_linkedTypes": [
18+
"core:File"
19+
]
20+
},
21+
"dataType": {
22+
"type": "array",
23+
"minItems": 1,
24+
"uniqueItems": true,
25+
"_instruction": "Add all data types that are specifically represented in this local file instance.",
26+
"_linkedTypes": [
27+
"controlledTerms:DataType"
28+
]
29+
},
30+
"format": {
31+
"_instruction": "Add the content type of this local file instance.",
32+
"_linkedTypes": [
33+
"core:ContentType"
34+
]
35+
},
36+
"hash": {
37+
"_instruction": "Add the hash that was generated for this local file instance.",
38+
"_embeddedTypes": [
39+
"core:Hash"
40+
]
41+
},
42+
"name": {
43+
"type": "string",
44+
"_instruction": "Enter the name of this local file instance."
45+
},
46+
"path": {
47+
"type": "string",
48+
"_instruction": "Enter the file system path (absolute path or relative to the working directory) to this local file instance."
49+
},
50+
"specialUsageRole": {
51+
"_instruction": "Add the special usage role of this local file instance.",
52+
"_linkedTypes": [
53+
"controlledTerms:FileUsageRole"
54+
]
55+
},
56+
"storageSize": {
57+
"_instruction": "Enter the storage size of this local file instance.",
58+
"_embeddedTypes": [
59+
"core:QuantitativeValue"
60+
]
61+
}
62+
}
63+
}

0 commit comments

Comments
 (0)