Skip to content

Commit

Permalink
Specify types that arrays can take
Browse files Browse the repository at this point in the history
  • Loading branch information
jamie-suse committed May 23, 2024
1 parent 19eb5da commit cf5adf2
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions guides/check_definition.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,17 @@
"type": "string"
},
{
"type": "array"
"type": "array",
"items": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
}
}
]
},
Expand Down Expand Up @@ -126,7 +136,17 @@
"type": "string"
},
{
"type": "array"
"type": "array",
"items": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
}
}
]
},
Expand Down

0 comments on commit cf5adf2

Please sign in to comment.