Skip to content

Commit a8ed35f

Browse files
WIP: lint autofixed
1 parent bfd0bbe commit a8ed35f

10 files changed

+6
-29
lines changed

schemas/cert_class_schema.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"required": ["$schema", "kind", "name", "long_name", "introduction"],
55
"properties": {
66
"$schema": {
7-
"type": "string",
87
"const": "cert_class_schema.json#"
98
},
109
"$source": {
@@ -15,7 +14,6 @@
1514
"type": "string"
1615
},
1716
"kind": {
18-
"type": "string",
1917
"const": "Processor CRD"
2018
},
2119
"long_name": {
@@ -28,7 +26,6 @@
2826
"minItems": 1,
2927
"uniqueItems": true,
3028
"items": {
31-
"type": "string",
3229
"enum": ["M", "S", "U", "VS", "VU"]
3330
}
3431
},
@@ -39,7 +36,6 @@
3936
},
4037
"processor_kind": {
4138
"description": "What kind of class is this?",
42-
"type": "string",
4339
"enum": ["Generic Unprivileged", "Microcontroller", "Apps Processor"]
4440
}
4541
},

schemas/cert_model_schema.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"required": ["$schema", "kind", "name", "long_name"],
55
"properties": {
66
"$schema": {
7-
"type": "string",
87
"const": "cert_model_schema.json#"
98
},
109
"$child_of": {
@@ -60,7 +59,6 @@
6059
},
6160
"base": {
6261
"description": "Base of the model",
63-
"type": "integer",
6462
"enum": [32, 64]
6563
},
6664
"class": {
@@ -157,7 +155,6 @@
157155
"type": "string"
158156
},
159157
"kind": {
160-
"type": "string",
161158
"const": "certificate model"
162159
},
163160
"long_name": {

schemas/config_schema.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@
140140
"required": ["$schema", "kind", "type", "name", "description"],
141141
"properties": {
142142
"$schema": {
143-
"type": "string",
144143
"const": "config_schema.json#",
145144
"format": "uri-reference"
146145
},
@@ -150,12 +149,10 @@
150149
},
151150
"type": {
152151
"description": "Type of the arch",
153-
"type": "string",
154152
"enum": ["unconfigured", "partially configured", "fully configured"]
155153
},
156154
"implemented_extensions": true,
157155
"kind": {
158-
"type": "string",
159156
"const": "architecture configuration"
160157
},
161158
"mandatory_extensions": true,

schemas/csr_schema.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -221,16 +221,16 @@
221221
"definedBy"
222222
],
223223
"properties": {
224+
"requires": {
225+
"description": "Extension that must be implemented for this CSR to exist",
226+
"type": "string"
227+
},
224228
"$schema": {
225229
"description": "Path to schema, relative to <UDB ROOT>/schemas",
226230
"type": "string",
227231
"const": "csr_schema.json#",
228232
"format": "uri-reference"
229233
},
230-
"requires": {
231-
"description": "Extension that must be implemented for this CSR to exist",
232-
"type": "string"
233-
},
234234
"description": {
235235
"oneOf": [
236236
{

schemas/json-schema-draft-07.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@
2626
"type": "string"
2727
},
2828
"examples": {
29-
"type": "array",
30-
"items": true
29+
"type": "array"
3130
},
3231
"readOnly": {
3332
"default": false,
@@ -61,8 +60,7 @@
6160
"enum": {
6261
"type": "array",
6362
"minItems": 1,
64-
"uniqueItems": true,
65-
"items": true
63+
"uniqueItems": true
6664
},
6765
"allOf": {
6866
"$ref": "#/definitions/schemaArray"

schemas/manual_schema.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"required": ["$schema", "kind", "name"],
55
"properties": {
66
"$schema": {
7-
"type": "string",
87
"const": "manual_schema.json#"
98
},
109
"$source": {
@@ -13,7 +12,6 @@
1312
"format": "uri-reference"
1413
},
1514
"kind": {
16-
"type": "string",
1715
"const": "manual"
1816
},
1917
"license": {

schemas/manual_version_schema.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
],
1414
"properties": {
1515
"$schema": {
16-
"type": "string",
1716
"const": "manual_version_schema.json#"
1817
},
1918
"$source": {
@@ -26,7 +25,6 @@
2625
"type": "string"
2726
},
2827
"kind": {
29-
"type": "string",
3028
"const": "manual version"
3129
},
3230
"manual": {

schemas/profile_class_schema.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"required": ["$schema", "kind", "name"],
55
"properties": {
66
"$schema": {
7-
"type": "string",
87
"const": "profile_class_schema.json#"
98
},
109
"description": {
@@ -27,7 +26,6 @@
2726
"type": "string"
2827
},
2928
"kind": {
30-
"type": "string",
3129
"const": "profile class"
3230
},
3331
"marketing_name": {
@@ -44,7 +42,6 @@
4442
},
4543
"processor_kind": {
4644
"description": "What kind of class is this?",
47-
"type": "string",
4845
"enum": ["Generic Unprivileged", "Microcontroller", "Apps Processor"]
4946
}
5047
},

schemas/profile_release_schema.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@
44
"required": ["$schema", "kind", "name"],
55
"properties": {
66
"$schema": {
7-
"type": "string",
87
"const": "profile_release_schema.json#"
98
},
109
"kind": {
11-
"type": "string",
1210
"const": "profile release"
1311
},
1412
"name": {

schemas/profile_schema.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@
44
"required": ["$schema", "kind", "name"],
55
"properties": {
66
"$schema": {
7-
"type": "string",
87
"const": "profile_schema.json#"
98
},
109
"kind": {
11-
"type": "string",
1210
"const": "profile"
1311
},
1412
"name": {

0 commit comments

Comments
 (0)