From b608cc326b58611c237148c80c3749b7232a7fcc Mon Sep 17 00:00:00 2001 From: tili Date: Thu, 19 Dec 2024 01:11:08 +0800 Subject: [PATCH] CRH Cloud event update --- .../resource_manager/v1/ChangeEvent.json | 62 +++++++++++++++---- 1 file changed, 50 insertions(+), 12 deletions(-) diff --git a/jsonschema/equinix/resource_manager/v1/ChangeEvent.json b/jsonschema/equinix/resource_manager/v1/ChangeEvent.json index 942a471..b992d09 100644 --- a/jsonschema/equinix/resource_manager/v1/ChangeEvent.json +++ b/jsonschema/equinix/resource_manager/v1/ChangeEvent.json @@ -4,10 +4,60 @@ "examples": [], "package": "equinix.resource_manager.v1", "datatype": "equinix.resource_manager.v1.ChangeEvent", + "cloudeventTypes": [ + ], "domain": "Equinix Resource Manager ChangeEvent", "$schema": "http://json-schema.org/draft-04/schema#", "$ref": "#/definitions/Data", "definitions": { + "SpecVersion": { + "type": "string", + "description": "Version of the CloudEvent specification."}, + "Source": { + "type": "string", + "description": "The source of the event." + }, + "Id": { + "type": "string", + "description": "Unique identifier for the event." + }, + "Type": { + "type": "string", + "description": "Type of the resource event." + }, + "Time": { + "type": "string", + "format": "date-time", + "description": "Timestamp when the event occurred." + }, + "Subject": { + "type": "string", + "description": "Subject of the event." + }, + "DataContentType": { + "type": "string", + "description": "The content type of the data." + }, + "DataSchema": { + "type": "string", + "description": "The schema of the data." + }, + "SeverityNumber": { + "type": "integer", + "description": "Numeric severity level of the event." + }, + "SeverityText": { + "type": "string", + "description": "Text representation of the severity." + }, + "EquinixProject": { + "type": "string", + "description": "The Equinix project associated with the event." + }, + "EquinixOrganization": { + "type": "string", + "description": "The Equinix organization associated with the event." + }, "Data": { "properties": { "resource": { @@ -31,17 +81,5 @@ "title": "Resource", "description": "Schema of the resource that fired the event" } - }, - "cloudeventTypes": { - "released": [], - "preview": [] - }, - "metricNames": { - "released": [], - "preview": [] - }, - "alertNames": { - "released": [], - "preview": [] } }