changedInput schema / properties / sinks / items / anyOf
Previous value: -[
- {
- "oneOf": [
- {
- "additionalProperties": false,
- "properties": {
- "settings": {
- "additionalProperties": false,
- "properties": {
- "headers": {
- "additionalProperties": {
- "type": "string"
- },
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "url": {
- "description": "Write-only sink URL. The API validates allowed origins.",
- "format": "uri",
- "type": "string"
- }
- },
- "required": [
- "url"
- ],
- "type": "object"
- },
- "type": {
- "const": "http",
- "type": "string"
- }
- },
- "required": [
- "type",
- "settings"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "settings": {
- "additionalProperties": false,
- "properties": {
- "database": {
- "pattern": "^[A-Za-z][A-Za-z0-9_]{0,63}$",
- "type": "string"
- },
- "table": {
- "pattern": "^[A-Za-z][A-Za-z0-9_]{0,63}$",
- "type": "string"
- }
- },
- "required": [
- "database",
- "table"
- ],
- "type": "object"
- },
- "type": {
- "const": "table",
- "type": "string"
- }
- },
- "required": [
- "type",
- "settings"
- ],
- "type": "object"
- }
- ]
- },
- {
- "additionalProperties": false,
- "properties": {
- "id": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "settings": {
- "additionalProperties": false,
- "properties": {
- "headers": {
- "additionalProperties": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "url": {
- "description": "Write-only sink URL. The API validates allowed origins.",
- "format": "uri",
- "type": "string"
- }
- },
- "type": "object"
- },
- "type": {
- "const": "http",
- "type": "string"
- }
- },
- "required": [
- "type",
- "id"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "id": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "settings": {
- "additionalProperties": false,
- "properties": {
- "database": {
- "pattern": "^[A-Za-z][A-Za-z0-9_]{0,63}$",
- "type": "string"
- },
- "table": {
- "pattern": "^[A-Za-z][A-Za-z0-9_]{0,63}$",
- "type": "string"
- }
- },
- "required": [
- "database",
- "table"
- ],
- "type": "object"
- },
- "type": {
- "const": "table",
- "type": "string"
- }
- },
- "required": [
- "type",
- "settings",
- "id"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "settings": {
+ "additionalProperties": false,
+ "properties": {
+ "headers": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "url": {
+ "description": "Write-only sink URL. The API validates allowed origins.",
+ "format": "uri",
+ "type": "string"
+ }
+ },
+ "required": [
+ "url"
+ ],
+ "type": "object"
+ },
+ "type": {
+ "const": "http",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "settings"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "settings": {
+ "additionalProperties": false,
+ "properties": {
+ "database": {
+ "pattern": "^[A-Za-z][A-Za-z0-9_]{0,63}$",
+ "type": "string"
+ },
+ "table": {
+ "pattern": "^[A-Za-z][A-Za-z0-9_]{0,63}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "database",
+ "table"
+ ],
+ "type": "object"
+ },
+ "type": {
+ "const": "table",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "settings"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "settings": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "channel_name": {
+ "description": "Slack channel name, such as #alerts. Resolved to its channel ID on every save.",
+ "type": "string"
+ },
+ "integration_id": {
+ "description": "Slack integration connected to the organization, from list-integrations. list-integrations needs a user credential such as OAuth; with an API key, reuse the integration_id of an existing Slack sink or ask the user for it.",
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "integration_id",
+ "channel_name"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "channel_id": {
+ "description": "Slack channel ID, such as C0123456789. Send back the saved channel_id to keep an existing sink without a Slack lookup.",
+ "pattern": "^[A-Z0-9]{2,64}$",
+ "type": "string"
+ },
+ "integration_id": {
+ "description": "Slack integration connected to the organization, from list-integrations. list-integrations needs a user credential such as OAuth; with an API key, reuse the integration_id of an existing Slack sink or ask the user for it.",
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "integration_id",
+ "channel_id"
+ ],
+ "type": "object"
+ }
+ ],
+ "description": "integration_id and exactly one of channel_name or channel_id. The RawTree app must be a member of private channels."
+ },
+ "type": {
+ "const": "slack",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "settings"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "settings": {
+ "additionalProperties": false,
+ "properties": {
+ "headers": {
+ "additionalProperties": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "url": {
+ "description": "Write-only sink URL. The API validates allowed origins.",
+ "format": "uri",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": {
+ "const": "http",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "id"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "settings": {
+ "additionalProperties": false,
+ "properties": {
+ "database": {
+ "pattern": "^[A-Za-z][A-Za-z0-9_]{0,63}$",
+ "type": "string"
+ },
+ "table": {
+ "pattern": "^[A-Za-z][A-Za-z0-9_]{0,63}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "database",
+ "table"
+ ],
+ "type": "object"
+ },
+ "type": {
+ "const": "table",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "settings",
+ "id"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "settings": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "channel_name": {
+ "description": "Slack channel name, such as #alerts. Resolved to its channel ID on every save.",
+ "type": "string"
+ },
+ "integration_id": {
+ "description": "Slack integration connected to the organization, from list-integrations. list-integrations needs a user credential such as OAuth; with an API key, reuse the integration_id of an existing Slack sink or ask the user for it.",
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "integration_id",
+ "channel_name"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "channel_id": {
+ "description": "Slack channel ID, such as C0123456789. Send back the saved channel_id to keep an existing sink without a Slack lookup.",
+ "pattern": "^[A-Z0-9]{2,64}$",
+ "type": "string"
+ },
+ "integration_id": {
+ "description": "Slack integration connected to the organization, from list-integrations. list-integrations needs a user credential such as OAuth; with an API key, reuse the integration_id of an existing Slack sink or ask the user for it.",
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "integration_id",
+ "channel_id"
+ ],
+ "type": "object"
+ }
+ ],
+ "description": "integration_id and exactly one of channel_name or channel_id. The RawTree app must be a member of private channels."
+ },
+ "type": {
+ "const": "slack",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "settings",
+ "id"
+ ],
+ "type": "object"
+ }
+]