{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/karbonhq/json-schema/karbonhq-integration-task-definitions-schema.json",
  "title": "IntegrationTaskDefinitions",
  "description": "A list of Integration Task Definitions",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/karbonhq-integrated-workflows-api-openapi.yml#/components/schemas/IntegrationTaskDefinitions",
  "type": "object",
  "properties": {
    "@odata.context": {
      "type": "string",
      "format": "uri"
    },
    "values": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/IntegrationTaskDefinition"
      }
    }
  },
  "$defs": {
    "IntegrationTaskDefinition": {
      "description": "A list of Integration Task Definitions",
      "type": "object",
      "properties": {
        "TaskDefinitionKey": {
          "type": "string",
          "description": "The unique ID of the specific Integration Task Definition"
        },
        "TaskName": {
          "type": "string",
          "description": "The name of the specific Integration Task Definition"
        },
        "TaskPrimaryLinkUrl": {
          "oneOf": [
            {
              "type": "string",
              "format": "uri",
              "maxLength": 200
            },
            {
              "type": "null"
            }
          ],
          "description": "The optional default primary link URL of the specific Integration Task Definition"
        },
        "TaskPrimaryLinkLabel": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 20
            },
            {
              "type": "null"
            }
          ],
          "description": "The optional default label for the primary link URL of the specific Integration Task Definition"
        },
        "TaskSecondaryLinkUrl": {
          "oneOf": [
            {
              "type": "string",
              "format": "uri",
              "maxLength": 200
            },
            {
              "type": "null"
            }
          ],
          "description": "The optional default primary link URL of the specific Integration Task Definition"
        },
        "TaskSecondaryLinkLabel": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 20
            },
            {
              "type": "null"
            }
          ],
          "description": "The optional default label for the primary link URL of the specific Integration Task Definition"
        },
        "Locales": {
          "description": "The list of locales and languages the integration task definition is suitable for use with, useful when different definitions are required for different languages or locales",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "AllowedTaskUrlHosts": {
          "description": "The list of allowed hostnames that the primary and secondary link URLs must match",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    }
  }
}