forked from oamg/convert2rhel-insights-tasks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
preconversion_assessment_schema_1.0.json
63 lines (63 loc) · 1.33 KB
/
preconversion_assessment_schema_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
{
"title": "Convert2rhel pre-conversion script schema",
"description": "Script is expected to set up Convert2rhel and run pre-conversion assessment. This schema defines the output format that is expected by Red Hat Insights Task UI.",
"type": "object",
"properties": {
"status": {
"$ref": "#/$defs/status_codes"
},
"report": {
"type": "string"
},
"message": {
"type": "string"
},
"report_json": {
"oneOf": [
{
"type": "null"
},
{
"type": "object",
"properties": {
"entries": {
"type": "object"
},
"tasks_format_version": {
"type": "string"
},
"tasks_format_id": {
"type": "string"
}
},
"required": [
"entries",
"tasks_format_version",
"tasks_format_id"
]
}
]
}
},
"required": [
"status",
"message",
"report",
"report_json"
],
"additionalProperties": false,
"$defs": {
"status_codes": {
"description": "The severity of the results and messages",
"type": "string",
"enum": [
"SUCCESS",
"INFO",
"WARNING",
"SKIP",
"OVERRIDABLE",
"ERROR"
]
}
}
}