{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/PublishResult",
  "title": "PublishResult",
  "type": "object",
  "description": "Result of a publish or unpublish operation",
  "properties": {
    "isSuccess": {
      "type": "boolean",
      "description": "Whether the operation succeeded"
    },
    "errors": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "errorCode": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        }
      }
    }
  }
}