Skip to content

Commit ed4e0c4

Browse files
authored
Add missing field to MDS registration schema (#159)
* add missing field to schema * reorder to match metadata_store ordering
1 parent 4005758 commit ed4e0c4

File tree

1 file changed

+45
-38
lines changed

1 file changed

+45
-38
lines changed

ni/measurements/metadata/v1/registration.schema.json

Lines changed: 45 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -118,12 +118,12 @@
118118
"type": "string",
119119
"description": "A URI to a resource that further describes this hardware item"
120120
},
121+
"extension": {
122+
"$ref": "#/definitions/Extension"
123+
},
121124
"schemaId": {
122125
"type": "string",
123126
"description": "The unique identifier of the schema that applies to this instance's extension"
124-
},
125-
"extension": {
126-
"$ref": "#/definitions/Extension"
127127
}
128128
}
129129
},
@@ -148,12 +148,12 @@
148148
"type": "string",
149149
"description": "A URI to a resource that further describes this operator"
150150
},
151+
"extension": {
152+
"$ref": "#/definitions/Extension"
153+
},
151154
"schemaId": {
152155
"type": "string",
153156
"description": "The unique identifier of the schema that applies to this instance's extension"
154-
},
155-
"extension": {
156-
"$ref": "#/definitions/Extension"
157157
}
158158
}
159159
},
@@ -178,12 +178,12 @@
178178
"type": "string",
179179
"description": "A URI to a resource that further describes this software item"
180180
},
181+
"extension": {
182+
"$ref": "#/definitions/Extension"
183+
},
181184
"schemaId": {
182185
"type": "string",
183186
"description": "The unique identifier of the schema that applies to this instance's extension"
184-
},
185-
"extension": {
186-
"$ref": "#/definitions/Extension"
187187
}
188188
}
189189
},
@@ -228,12 +228,12 @@
228228
"type": "string",
229229
"description": "A URI to a resource that further describes this test adapter"
230230
},
231+
"extension": {
232+
"$ref": "#/definitions/Extension"
233+
},
231234
"schemaId": {
232235
"type": "string",
233236
"description": "The unique identifier of the schema that applies to this instance's extension"
234-
},
235-
"extension": {
236-
"$ref": "#/definitions/Extension"
237237
}
238238
}
239239
},
@@ -258,12 +258,12 @@
258258
"type": "string",
259259
"description": "A URI to a resource that further describes this test"
260260
},
261+
"extension": {
262+
"$ref": "#/definitions/Extension"
263+
},
261264
"schemaId": {
262265
"type": "string",
263266
"description": "The unique identifier of the schema that applies to this instance's extension"
264-
},
265-
"extension": {
266-
"$ref": "#/definitions/Extension"
267267
}
268268
}
269269
},
@@ -288,12 +288,12 @@
288288
"type": "string",
289289
"description": "A URI to a resource that further describes this test station"
290290
},
291+
"extension": {
292+
"$ref": "#/definitions/Extension"
293+
},
291294
"schemaId": {
292295
"type": "string",
293296
"description": "The unique identifier of the schema that applies to this instance's extension"
294-
},
295-
"extension": {
296-
"$ref": "#/definitions/Extension"
297297
}
298298
}
299299
},
@@ -310,6 +310,17 @@
310310
"type": "string",
311311
"description": "The name of the UUT model"
312312
},
313+
"family": {
314+
"type": "string",
315+
"description": "The UUT family or product line"
316+
},
317+
"manufacturers": {
318+
"type": "array",
319+
"description": "List of manufacturers of the UUT",
320+
"items": {
321+
"type": "string"
322+
}
323+
},
313324
"partNumber": {
314325
"type": "string",
315326
"description": "The part number of the UUT"
@@ -318,16 +329,12 @@
318329
"type": "string",
319330
"description": "A URI to a resource that further describes this UUT"
320331
},
321-
"family": {
322-
"type": "string",
323-
"description": "The UUT family or product line"
332+
"extension": {
333+
"$ref": "#/definitions/Extension"
324334
},
325335
"schemaId": {
326336
"type": "string",
327337
"description": "The unique identifier of the schema that applies to this instance's extension"
328-
},
329-
"extension": {
330-
"$ref": "#/definitions/Extension"
331338
}
332339
}
333340
},
@@ -340,6 +347,10 @@
340347
"type": "string",
341348
"description": "Optional alias identifier for referencing this UUT instance from other entities"
342349
},
350+
"uutAlias": {
351+
"type": "string",
352+
"description": "Alias reference to the parent UUT model or type"
353+
},
343354
"serialNumber": {
344355
"type": "string",
345356
"description": "The serial number of the UUT instance"
@@ -360,16 +371,12 @@
360371
"type": "string",
361372
"description": "A URI to a resource that further describes this UUT instance"
362373
},
374+
"extension": {
375+
"$ref": "#/definitions/Extension"
376+
},
363377
"schemaId": {
364378
"type": "string",
365379
"description": "The unique identifier of the schema that applies to this instance's extension"
366-
},
367-
"uutAlias": {
368-
"type": "string",
369-
"description": "Alias reference to the parent UUT model or type"
370-
},
371-
"extension": {
372-
"$ref": "#/definitions/Extension"
373380
}
374381
}
375382
},
@@ -382,6 +389,10 @@
382389
"type": "string",
383390
"description": "Optional alias identifier for referencing this test description from other entities"
384391
},
392+
"uutAlias": {
393+
"type": "string",
394+
"description": "Alias reference to the UUT this test is designed for"
395+
},
385396
"name": {
386397
"type": "string",
387398
"description": "The name of the test description"
@@ -390,16 +401,12 @@
390401
"type": "string",
391402
"description": "A URI to a resource that further describes this test description"
392403
},
404+
"extension": {
405+
"$ref": "#/definitions/Extension"
406+
},
393407
"schemaId": {
394408
"type": "string",
395409
"description": "The unique identifier of the schema that applies to this instance's extension"
396-
},
397-
"uutAlias": {
398-
"type": "string",
399-
"description": "Alias reference to the UUT this test is designed for"
400-
},
401-
"extension": {
402-
"$ref": "#/definitions/Extension"
403410
}
404411
}
405412
}

0 commit comments

Comments
 (0)