-
Notifications
You must be signed in to change notification settings - Fork 89
Open
Description
The current definition for s/tuple is such that transforming (s/tuple ::sort-column ::sort-order) to json-schema results in
"sort-by": {
"type": {
"type": "array",
"items": [
{
"type": "array",
"items": { "type": "string" },
"description": "A tuple of [axis, column] describing a log-format column"
},
{ "enum": ["desc", "asc"] }
]
}
}The correct definition uses anyOf.
"sort-by": {
"type": {
"type": "array",
"items": {
"anyOf": [
{
"type": "array",
"items": { "type": "string" },
"description": "A tuple of [axis, column] describing a log-format column"
},
{ "enum": ["desc", "asc"] }
]
}
}
}Metadata
Metadata
Assignees
Labels
No labels