From 4e4a6f5f1a32d5feb7bf7587e079bec780bae8e9 Mon Sep 17 00:00:00 2001 From: Alexander Mattoni <5110855+mattoni@users.noreply.github.com> Date: Mon, 17 Feb 2025 16:37:30 -0800 Subject: [PATCH] Add deprecated field to integration definitions --- .../hubs/integrations/IntegrationDefinition.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/components/schemas/hubs/integrations/IntegrationDefinition.yml b/components/schemas/hubs/integrations/IntegrationDefinition.yml index b24dac57..5aff2018 100644 --- a/components/schemas/hubs/integrations/IntegrationDefinition.yml +++ b/components/schemas/hubs/integrations/IntegrationDefinition.yml @@ -1,5 +1,5 @@ title: IntegrationDefinition -description: Describes an integration for a Cycle Hub that can be enabled by the Hub owner. +description: Describes an integration for a Cycle hub that can be enabled by the hub owner. type: object required: - vendor @@ -24,7 +24,7 @@ properties: type: - array - "null" - description: A list of additional features supported by this Integration. + description: A list of additional features supported by this integration. items: type: string extends: @@ -38,7 +38,7 @@ properties: type: - object - "null" - description: Additional configuration options that are available when using this Integration. These describe additional functionality that Cycle may utilize. + description: Additional configuration options that are available when using this integration. These describe additional functionality that Cycle may utilize. properties: options: type: @@ -103,6 +103,10 @@ properties: type: boolean usable: type: boolean + description: Whether or not this integration can be used at this time. + deprecated: + type: boolean + description: If true, this integration is no longer being supported and may be removed in the future. New instances of this integration will not be able to be created. editable: type: boolean - description: If true, the Integration can be edited. Otherwise, to make a change it will need to be deleted and recreated. + description: If true, the integration can be edited. Otherwise, to make a change it will need to be deleted and recreated.