forked from fabric8-analytics/fabric8-analytics-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent_analyses-v1-1-3.schema.json
159 lines (159 loc) · 4.92 KB
/
component_analyses-v1-1-3.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
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
148
149
150
151
152
153
154
155
156
157
158
159
{
"$schema": "http://json-schema.org/draft-04/schema#",
"definitions": {
"analysis_set": {
"type": "object",
"description": "Set of named component analyses",
"properties": {
"digests": {
"type": "object",
"additionalProperties": true
},
"security_issues": {
"type": "object",
"additionalProperties": true
},
"source_licenses": {
"type": "object",
"additionalProperties": true
},
"crypto_algorithms": {
"type": "object",
"additionalProperties": true
},
"languages": {
"type": "object",
"additionalProperties": true
},
"binary_data": {
"type": "object",
"additionalProperties": true
},
"static_analysis": {
"type": "object",
"additionalProperties": true
},
"metadata": {
"type": "object",
"additionalProperties": true
},
"github_details": {
"type": "object",
"additionalProperties": true
},
"redhat_downstream": {
"type": "object",
"additionalProperties": true
},
"blackduck": {
"type": "object",
"additionalProperties": true
},
"dependency_snapshot": {
"type": "object",
"additionalProperties": true
},
"code_metrics": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": false
}
},
"type": "object",
"description": "Software component analysis",
"properties": {
"schema": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Name of the schema",
"pattern": "^[a-zA-Z0-9_]+$"
},
"version": {
"type": "string",
"description": "Version of the schema",
"pattern": "^[0-9]+-[0-9]+-[0-9]+$"
},
"url": {
"type": "string",
"description": "Full URL of the schema",
"format": "uri"
}
},
"required": [
"name",
"version"
],
"additionalProperties": false
},
"_release": {
"type": "string",
"description": "Unique release id in form of \"ecosystem:package:version\""
},
"ecosystem": {
"type": "string",
"description": "Language ecosystem providing the component"
},
"package": {
"type": "string",
"description": "Component name"
},
"version": {
"type": "string",
"description": "Component version"
},
"latest_version": {
"description": "Latest version available of this component (null if unknown)",
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"started_at": {
"type": "string",
"description": "Date/time component analysis was started",
"format": "date-time"
},
"finished_at": {
"type": "string",
"description": "Date/time component analysis was finished",
"format": "date-time"
},
"access_count": {
"type": "number",
"description": "Number of times this component has been queried"
},
"dependents_count": {
"type": "number",
"description": "Number of dependent GitHub projects"
},
"analyses": {
"$ref": "#/definitions/analysis_set"
},
"package_info": {
"type": "object",
"description": "Additional information related to the package",
"additionalProperties": true
}
},
"required": [
"ecosystem",
"package",
"version",
"latest_version",
"started_at",
"finished_at",
"access_count",
"dependents_count",
"analyses"
],
"additionalProperties": false,
"title": "component_analysis-v1-1-3"
}