{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "The URL of the JSON-stat dataset endpoint to fetch"
},
"payload": {
"type": "object",
"description": "Optional JSON payload for POST requests"
}
},
"required": [
"url"
]
}{
"type": "object",
"properties": {
"datasetIndex": {
"type": "number",
"description": "The index of the dataset to select (0-based)",
"minimum": 0
}
},
"required": [
"datasetIndex"
]
}{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"flat",
"pivot"
],
"description": "The view mode to set: 'flat' for value list, 'pivot' for cross-tabulation"
}
},
"required": [
"mode"
]
}{
"type": "object",
"properties": {
"dimensionId": {
"type": "string",
"description": "The ID of the dimension to set the role for"
},
"role": {
"type": "string",
"enum": [
"row",
"column"
],
"description": "The role to set: 'row' to show as row, 'column' to show as column (pivot only)"
}
},
"required": [
"dimensionId",
"role"
]
}{
"type": "object",
"properties": {
"dimensionId": {
"type": "string",
"description": "The ID of the dimension to filter"
},
"categories": {
"type": "array",
"items": {
"type": "string"
},
"description": "Array of category labels to include. Empty array means show all categories."
}
},
"required": [
"dimensionId",
"categories"
]
}{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "The search query to find in the data. Empty string clears the search."
}
},
"required": [
"query"
]
}{
"type": "object",
"properties": {
"columnIndex": {
"type": "number",
"description": "The index of the column to sort by (0-based)",
"minimum": 0
},
"direction": {
"type": "string",
"enum": [
"asc",
"desc",
"ascending",
"descending"
],
"description": "Sort direction: 'asc' or 'ascending' for ascending, 'desc' or 'descending' for descending"
}
},
"required": [
"columnIndex",
"direction"
]
}{
"type": "object",
"properties": {}
}{
"type": "object",
"properties": {}
}{
"type": "object",
"properties": {}
}{
"type": "object",
"properties": {}
}{
"type": "object",
"properties": {}
}