Skip to content

Commit

Permalink
Merge pull request #148 from JupiterOne/device-schema-nullable
Browse files Browse the repository at this point in the history
Making required properties on Device Schema nullable.
  • Loading branch information
zemberdotnet authored Mar 4, 2022
2 parents ecd3b25 + 356e015 commit 4b60820
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/schemas/Device.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"properties": {
"category": {
"description": "The device category",
"type": "string",
"type": ["string", "null"],
"examples": [
"server",
"endpoint",
Expand All @@ -21,19 +21,19 @@
},
"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",
"type": "string"
},
"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",
Expand Down

0 comments on commit 4b60820

Please sign in to comment.