zaraz_custom-managed-component

APIs.ioEngineeringPlatform
View JSON Schema on GitHub

JSON Schema

apis-io-engineering-platform-zaraz-custom-managed-component-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/zaraz_custom-managed-component",
  "title": "zaraz_custom-managed-component",
  "allOf": [
    {
      "$ref": "#/components/schemas/zaraz_base-mc"
    },
    {
      "properties": {
        "type": {
          "enum": [
            "custom-mc"
          ],
          "type": "string"
        },
        "worker": {
          "description": "Cloudflare worker that acts as a managed component",
          "properties": {
            "escapedWorkerName": {
              "type": "string"
            },
            "workerTag": {
              "type": "string"
            }
          },
          "required": [
            "workerTag",
            "escapedWorkerName"
          ],
          "type": "object"
        }
      },
      "required": [
        "worker",
        "type"
      ]
    }
  ]
}