diff --git a/homestar-runtime/schemas/api.json b/homestar-runtime/schemas/api.json index bc34b9da..ee42909e 100644 --- a/homestar-runtime/schemas/api.json +++ b/homestar-runtime/schemas/api.json @@ -298,7 +298,7 @@ "additionalProperties": false }, { - "description": "Outgoing conenction error notification.", + "description": "Outgoing connection error notification.", "type": "object", "required": [ "outgoing_connection_error" @@ -311,7 +311,7 @@ "additionalProperties": false }, { - "description": "Incoming conenction error notification.", + "description": "Incoming connection error notification.", "type": "object", "required": [ "incoming_connection_error" @@ -323,6 +323,19 @@ }, "additionalProperties": false }, + { + "description": "Autonat status changed notification.", + "type": "object", + "required": [ + "status_changed_autonat" + ], + "properties": { + "status_changed_autonat": { + "$ref": "#/definitions/status_changed_autonat" + } + }, + "additionalProperties": false + }, { "description": "mDNS discovered notification.", "type": "object", @@ -1100,6 +1113,28 @@ } } }, + "status_changed_autonat": { + "type": "object", + "required": [ + "status", + "timestamp" + ], + "properties": { + "address": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "string" + }, + "timestamp": { + "type": "integer", + "format": "int64" + } + } + }, "workflow_info_quorum_failure_dht": { "type": "object", "required": [ diff --git a/homestar-runtime/schemas/network.json b/homestar-runtime/schemas/network.json index 4fdc9d8f..d6dbd179 100644 --- a/homestar-runtime/schemas/network.json +++ b/homestar-runtime/schemas/network.json @@ -43,7 +43,7 @@ "additionalProperties": false }, { - "description": "Outgoing conenction error notification.", + "description": "Outgoing connection error notification.", "type": "object", "required": [ "outgoing_connection_error" @@ -56,7 +56,7 @@ "additionalProperties": false }, { - "description": "Incoming conenction error notification.", + "description": "Incoming connection error notification.", "type": "object", "required": [ "incoming_connection_error" @@ -68,6 +68,19 @@ }, "additionalProperties": false }, + { + "description": "Autonat status changed notification.", + "type": "object", + "required": [ + "status_changed_autonat" + ], + "properties": { + "status_changed_autonat": { + "$ref": "#/definitions/status_changed_autonat" + } + }, + "additionalProperties": false + }, { "description": "mDNS discovered notification.", "type": "object", @@ -845,6 +858,28 @@ } } }, + "status_changed_autonat": { + "type": "object", + "required": [ + "status", + "timestamp" + ], + "properties": { + "address": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "string" + }, + "timestamp": { + "type": "integer", + "format": "int64" + } + } + }, "workflow_info_quorum_failure_dht": { "type": "object", "required": [