Skip to content

Commit

Permalink
Update schema
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-codechimp committed Dec 11, 2023
1 parent f2bf263 commit e63c503
Showing 1 changed file with 22 additions and 19 deletions.
41 changes: 22 additions & 19 deletions schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,29 @@
},
"devices": {
"type": "array",
"properties": {
"manufacturer": {
"type": "string"
},
"model": {
"type": "string"
},
"battery_type": {
"type": "string"
},
"battery_quantity": {
"type": "integer"
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"manufacturer",
"model",
"battery_type"
],
"properties": {
"manufacturer": {
"type": "string"
},
"model": {
"type": "string"
},
"battery_type": {
"type": "string"
},
"battery_quantity": {
"type": "integer"
}
}
},
"additionalProperties": false,
"required": [
"manufacturer",
"model",
"battery_type"
]
}
}
},
"additionalProperties": false,
Expand Down

0 comments on commit e63c503

Please sign in to comment.