{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/addVisualization.json",
"title": "addVisualization",
"type": "object",
"required": [
"token"
],
"properties": {
"token": {
"type": "string",
"example": "YOUR TOKEN IS HERE"
},
"item": {
"type": "object",
"required": [
"name",
"dataset_id",
"attachment_id"
],
"properties": {
"name": {
"type": "string",
"description": "The name of the visualization"
},
"dataset_id": {
"type": "integer",
"description": "The ID of the dataset to which the visualization will be linked to"
},
"attachment_id": {
"type": "integer",
"description": "The ID of the attachment (image) that will appear under the 'Visualization' tab of the dataset"
}
}
}
}
}