{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/zoho/main/json-schema/zoho-update-shared-details-config-schema.json",
  "title": "UpdateSharedDetailsConfig",
  "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/UpdateSharedDetailsConfig",
  "type": "object",
  "properties": {
    "emailIds": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "groupIds": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "columns": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ColumnPermissionObject"
      }
    },
    "permissions": {
      "$ref": "#/$defs/PermissionAttributes"
    },
    "criteria": {
      "type": "string"
    },
    "inheritParentFilterCriteria": {
      "type": "boolean"
    },
    "domainName": {
      "type": "string"
    },
    "vudColumns": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ColumnPermissionObject"
      }
    },
    "drillColumns": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ColumnPermissionObject"
      }
    },
    "includeAllColsForVUD": {
      "type": "boolean"
    }
  },
  "required": [
    "permissions"
  ],
  "$defs": {
    "ColumnPermissionObject": {
      "type": "object",
      "properties": {
        "tableName": {
          "type": "string"
        },
        "columnNames": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "PermissionAttributes": {
      "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"
        },
        "insight": {
          "type": "boolean"
        }
      }
    }
  }
}