{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/zoho/main/json-schema/zoho-share-views-config-schema.json",
  "title": "ShareViewsConfig",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/zoho-sharing-collaboration-apis-api-openapi.yml#/components/schemas/ShareViewsConfig",
  "type": "object",
  "properties": {
    "emailIds": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "viewIds": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "groupIds": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "permissions": {
      "type": "object",
      "properties": {
        "read": {
          "type": "boolean"
        },
        "export": {
          "type": "boolean"
        },
        "vud": {
          "type": "boolean"
        },
        "addRow": {
          "type": "boolean"
        },
        "updateRow": {
          "type": "boolean"
        },
        "deleteRow": {
          "type": "boolean"
        },
        "deleteAllRows": {
          "type": "boolean"
        },
        "importAppend": {
          "type": "boolean"
        },
        "importAddOrUpdate": {
          "type": "boolean"
        },
        "importDeleteAllAdd": {
          "type": "boolean"
        },
        "importDeleteUpdateAdd": {
          "type": "boolean"
        },
        "drillDown": {
          "type": "boolean"
        },
        "share": {
          "type": "boolean"
        },
        "discussion": {
          "type": "boolean"
        }
      },
      "required": [
        "read"
      ]
    },
    "criteria": {
      "type": "string"
    },
    "inheritParentFilterCriteria": {
      "type": "boolean"
    },
    "inviteMail": {
      "type": "boolean"
    },
    "inviteMailCCMe": {
      "type": "boolean"
    },
    "mailSubject": {
      "type": "string"
    },
    "mailMessage": {
      "type": "string"
    },
    "domainName": {
      "type": "string"
    },
    "columns": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "tableName": {
            "type": "string"
          },
          "columnNames": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    },
    "vudColumns": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "tableName": {
            "type": "string"
          },
          "columnNames": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    },
    "drillColumns": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "tableName": {
            "type": "string"
          },
          "columnNames": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    },
    "includeAllColsForVUD": {
      "type": "boolean"
    }
  },
  "required": [
    "emailIds",
    "viewIds",
    "permissions"
  ]
}