{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "Alert", "description": "Alert schema from FlashBlade REST API", "$id": "https://raw.githubusercontent.com/api-evangelist/pure-storage/refs/heads/main/json-schema/flashblade-rest-api-alert-schema.json", "allOf": [ { "type": "object", "properties": { "id": { "description": "A non-modifiable, globally unique ID chosen by the system.\n", "type": "string", "readOnly": true }, "name": { "description": "Name of the object (e.g., a file system or snapshot).", "type": "string", "readOnly": true } } }, { "type": "object", "properties": { "action": { "description": "The action of the alert.", "type": "string", "readOnly": true }, "code": { "description": "Alert code.", "type": "integer", "format": "int64", "readOnly": true }, "component_name": { "description": "The component name of the alert.", "type": "string", "readOnly": true }, "component_type": { "description": "The component type of the alert.", "type": "string", "readOnly": true }, "created": { "description": "The creation timestamp of the alert.", "type": "integer", "format": "int64", "readOnly": true }, "description": { "description": "The description of the alert.", "type": "string", "readOnly": true }, "duration": { "description": "The duration of the alert.", "type": "integer", "format": "int64", "readOnly": true }, "flagged": { "description": "Flagged state of the alert.", "type": "boolean" }, "index": { "description": "The unique index of the alert.", "type": "integer", "format": "int64", "readOnly": true }, "knowledge_base_url": { "description": "URL of the relevant Knowledge Base page.", "type": "string", "readOnly": true }, "notified": { "description": "The last notification timestamp of the alert.", "type": "integer", "format": "int64", "readOnly": true }, "severity": { "description": "Severity of the alert.\nValid values are `info`, `warning`, and `critical`.\n", "type": "string", "readOnly": true }, "state": { "description": "The current state of the alert.\nValid values are `open`, `closing`, `closed`, and\n`waiting to downgrade`.\n", "type": "string", "readOnly": true }, "summary": { "description": "The summary of the alert.", "type": "string", "readOnly": true }, "updated": { "description": "The last updated timestamp of the alert.", "type": "integer", "format": "int64", "readOnly": true }, "variables": { "description": "Key-value pairs of additional information of the alert.", "type": "object", "readOnly": true, "additionalProperties": { "type": "string" } } } } ] }