| 1 | { |
| 2 | "jsonSchema": { |
| 3 | "$schema": "http://json-schema.org/draft-07/schema#", |
| 4 | "title": "NSD collector configuration.", |
| 5 | "type": "object", |
| 6 | "properties": { |
| 7 | "update_every": { |
| 8 | "title": "Update every", |
| 9 | "description": "Data collection interval, measured in seconds.", |
| 10 | "type": "integer", |
| 11 | "minimum": 1, |
| 12 | "default": 10 |
| 13 | }, |
| 14 | "timeout": { |
| 15 | "title": "Timeout", |
| 16 | "description": "Timeout for executing the binary, specified in seconds.", |
| 17 | "type": "number", |
| 18 | "minimum": 0.5, |
| 19 | "default": 2 |
| 20 | } |
| 21 | } |
| 22 | }, |
| 23 | "uiSchema": { |
| 24 | "uiOptions": { |
| 25 | "fullPage": true |
| 26 | }, |
| 27 | "timeout": { |
| 28 | "ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)." |
| 29 | } |
| 30 | } |
| 31 | } |