-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathconvert2rhel_insights_tasks_schema_1.1.json
69 lines (69 loc) · 1.41 KB
/
convert2rhel_insights_tasks_schema_1.1.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
{
"title": "Convert2RHEL Insights Tasks Schema",
"description": "The Insights Task is expected to set up convert2rhel and run either analysis or conversion. This schema defines the output format that is expected by Red Hat Insights Task UI.",
"type": "object",
"properties": {
"status": {
"$ref": "#/$defs/status_codes"
},
"alert": {
"type": "boolean"
},
"error": {
"type": "boolean"
},
"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",
"alert",
"message",
"report",
"report_json"
],
"$defs": {
"status_codes": {
"description": "The severity of the results and messages",
"type": "string",
"enum": [
"SUCCESS",
"INFO",
"WARNING",
"SKIP",
"OVERRIDABLE",
"ERROR"
]
}
}
}