-
Notifications
You must be signed in to change notification settings - Fork 0
/
parsedPortfolio_0-1-0.json
147 lines (147 loc) · 4.41 KB
/
parsedPortfolio_0-1-0.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "pacta.rmi.org/schemas/parsedPortfolios.json",
"title": "parsedPortfolios",
"description": "Metadata about PACTA portfolio parsed and reexported from workflow.portfolio.parsing",
"$comment": "Created by Alex Axthelm, aaxthelm@rmi.org",
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"input_filename": {
"description": "Filename of the input file.",
"type": "string"
},
"input_md5": {
"description": "md5 filehash of input file.",
"type": "string",
"pattern": "^[a-f0-9]{32}$"
},
"system_info": {
"type": "object",
"additionalProperties": true,
"properties": {
"timestamp": {
"description": "Timestamp of when the file was processed.",
"type": "string",
"format": "date-time"
},
"package": {
"description": "Name of the package that processed the file.",
"type": "string",
"pattern": "^workflow\\.portfolio\\.parsing$"
},
"packageVersion": {
"description": "Version of the package that processed the file.",
"type": "string",
"pattern": "^[0-9]+\\.[0-9]+\\.[0-9]+(\\.[0-9]+)?$"
},
"RVersion": {
"description": "Version of R that processed the file.",
"type": "string",
"pattern": "^[0-9]+\\.[0-9]+\\.[0-9]+$"
},
"dependencies": {
"type": "array",
"items": {
"type": "object",
"properties": {
"package": {
"description": "Name of the package.",
"type": "string"
},
"version": {
"description": "Version of the package.",
"type": "string",
"pattern": "^[0-9]+\\.[0-9]+\\.[0-9]+$"
}
},
"additionalProperties": false
}
}
}
},
"input_entries": {
"description": "Number of entries in input file.",
"type": "integer",
"exclusiveMinimum": 0
},
"subportfolios_count": {
"description": "Number of subportfolios in portfolio file.",
"type": "integer",
"exclusiveMinimum": 0
},
"group_cols": {
"description": "Columns used to group portfolio.",
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
}
},
"portfolios": {
"type": "array",
"minItems": 1,
"uniqueItems": true,
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"output_filename": {
"description": "Filename of the output file. Format: <uuid>.csv",
"type": "string",
"pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[89ab][a-f0-9]{3}-[a-f0-9]{12}.csv$"
},
"output_md5": {
"description": "md5 filehash of output file.",
"type": "string",
"pattern": "^[a-f0-9]{32}$"
},
"output_rows": {
"description": "Number of rows in output file.",
"type": "integer",
"exclusiveMinimum": 0
},
"portfolio_name": {
"description": "Name of portfolio defined in portfolio file.",
"type": "string"
},
"investor_name": {
"description": "Name of investor defined in portfolio file.",
"type": "string"
}
},
"required": [
"output_filename",
"output_md5",
"output_rows"
]
}
},
"errors": {
"description": "List of errors encountered during processing.",
"type": "array",
"minItems": 1,
"uniqueItems": true,
"items": {
"type": "string"
}
},
"warnings": {
"description": "List of warnings encountered during processing.",
"type": "array",
"minItems": 1,
"uniqueItems": true,
"items": {
"type": "string"
}
}
},
"required": [
"input_filename",
"input_md5",
"system_info"
]
}
}