{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/johnson-controls/json-schema/johnson-controls-effective-permissions-schema.json",
  "title": "effectivePermissions",
  "description": "Describes the effective permissions the client has for the current object.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/johnson-controls-objects-api-openapi.yml#/components/schemas/effectivePermissions",
  "type": "object",
  "readOnly": true,
  "properties": {
    "canModify": {
      "type": "boolean",
      "description": "This value is `true` if the client can edit this object, `false` otherwise."
    },
    "canDelete": {
      "type": "boolean",
      "description": "This value is `true` if the client can delete this object, `false`\notherwise.\n\n**Note:** Folder objects (and other \"container\") objects can only be\ndeleted if this value is `true` for this object and for all of its\ndescendants. Use `/objects/{objectId}/objects?depth=-1` to list all the\nchildren of an object and see the `canDelete` value for each of them.\n"
    }
  }
}