From 356e0155eee19a27e9d229e066af0fcee3197cd3 Mon Sep 17 00:00:00 2001 From: Matthew Zember Date: Thu, 3 Mar 2022 12:41:27 -0500 Subject: [PATCH] Making required properties on Device Schema nullable. --- src/schemas/Device.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/schemas/Device.json b/src/schemas/Device.json index 7faf7ef..e5fad71 100644 --- a/src/schemas/Device.json +++ b/src/schemas/Device.json @@ -9,7 +9,7 @@ "properties": { "category": { "description": "The device category", - "type": "string", + "type": ["string", "null"], "examples": [ "server", "endpoint", @@ -21,11 +21,11 @@ }, "make": { "description": "Same as hardwareVendor: The manufacturer or vendor of the device, e.g. Apple Inc., Generic", - "type": "string" + "type": ["string", "null"] }, "model": { "description": "Same as hardwareModel: The device hardware model, e.g. MacBookPro13,3", - "type": "string" + "type": ["string", "null"] }, "version": { "description": "Same as hardwareVersion: The device hardware version", @@ -33,7 +33,7 @@ }, "serial": { "description": "Same as hardwareSerial: The device serial number", - "type": "string" + "type": ["string", "null"] }, "hardwareVendor": { "description": "The manufacturer or vendor of the device, e.g. Apple Inc., Generic",