{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wso2/refs/heads/main/json-structure/publisher-api-websub-subscription-configuration-structure.json",
  "name": "WebsubSubscriptionConfiguration",
  "description": "WebsubSubscriptionConfiguration schema from WSO2 API Manager",
  "type": "object",
  "properties": {
    "enable": {
      "type": "boolean",
      "default": false,
      "description": "Toggle enable WebSub subscription configuration"
    },
    "secret": {
      "type": "string",
      "description": "Secret key to be used for subscription"
    },
    "signingAlgorithm": {
      "type": "string",
      "description": "The algorithm used for signing"
    },
    "signatureHeader": {
      "type": "string",
      "description": "The header uses to send the signature"
    }
  }
}