{
  "$id": "schema.json",
  "type": "object",
  "schema": "http://json-schema.org/draft-07/schema#",
  "translate": true,
  "dynamicfields": true,
  "properties": {
    "ph_request_type": {
      "type": "string",
      "description": "type of request (internal to adapter)",
      "default": "assignRoleToUserOnProjectsOwnedByDomain",
      "enum": [
        "assignRoleToUserOnProjectsOwnedByDomain",
        "checkIfUserHasAnInheritedProjectRoleOnDomain",
        "revokeAnInheritedProjectRoleFromUserOnDomain",
        "assignRoleToGroupOnProjectsOwnedByADomain",
        "checkIfGroupHasAnInheritedProjectRoleOnDomain",
        "revokeAnInheritedProjectRoleFromGroupOnDomain",
        "listUserSInheritedProjectRolesOnADomain",
        "listGroupSInheritedProjectRolesOnDomain",
        "assignRoleToUserOnProjectsInASubtree",
        "checkIfUserHasAnInheritedProjectRoleOnProject",
        "revokeAnInheritedProjectRoleFromUserOnProject",
        "assignRoleToGroupOnProjectsInASubtree",
        "checkIfGroupHasAnInheritedProjectRoleOnProject",
        "revokeAnInheritedProjectRoleFromGroupOnProject",
        "listRoleAssignments"
      ],
      "external_name": "ph_request_type"
    },
    "domainId": {
      "type": "string",
      "description": "The domain ID.",
      "parse": false,
      "encode": false,
      "encrypt": {
        "type": "AES",
        "key": ""
      },
      "external_name": "domain_id"
    },
    "roleId": {
      "type": "string",
      "description": "Filters the response by a role ID.",
      "parse": false,
      "encode": false,
      "encrypt": {
        "type": "AES",
        "key": ""
      },
      "external_name": "role.id"
    },
    "userId": {
      "type": "string",
      "description": "Filters the response by a user ID.",
      "parse": false,
      "encode": false,
      "encrypt": {
        "type": "AES",
        "key": ""
      },
      "external_name": "user.id"
    },
    "groupId": {
      "type": "string",
      "description": "Filters the response by a group ID.",
      "parse": false,
      "encode": false,
      "encrypt": {
        "type": "AES",
        "key": ""
      },
      "external_name": "group.id"
    },
    "projectId": {
      "type": "string",
      "description": "The project ID.",
      "parse": false,
      "encode": false,
      "encrypt": {
        "type": "AES",
        "key": ""
      },
      "external_name": "project_id"
    },
    "includeNames": {
      "type": "boolean",
      "description": "If set to true, then the names of any entities returned will be include as well as their IDs. Any value other than 0 (including no value) will be interpreted as true.",
      "parse": false,
      "encode": false,
      "encrypt": {
        "type": "AES",
        "key": ""
      },
      "external_name": "include_names"
    },
    "includeSubtree": {
      "type": "boolean",
      "description": "If set to true, then relevant assignments in the project hierarchy below the project specified in the scope.project_id query parameter are also included in the response. ...(description truncated)",
      "parse": false,
      "encode": false,
      "encrypt": {
        "type": "AES",
        "key": ""
      },
      "external_name": "include_subtree"
    },
    "scopeDomainId": {
      "type": "string",
      "description": "Filters the response by a domain ID.",
      "parse": false,
      "encode": false,
      "encrypt": {
        "type": "AES",
        "key": ""
      },
      "external_name": "scope.domain.id"
    },
    "scopeOSINHERITInheritedTo": {
      "type": "string",
      "description": "Filters based on role assignments that are inherited. The only value of inherited_to that is currently supported is projects.",
      "parse": false,
      "encode": false,
      "encrypt": {
        "type": "AES",
        "key": ""
      },
      "external_name": "scope.OS-INHERIT:inherited_to"
    },
    "scopeProjectId": {
      "type": "string",
      "description": "Filters the response by a project ID.",
      "parse": false,
      "encode": false,
      "encrypt": {
        "type": "AES",
        "key": ""
      },
      "external_name": "scope.project.id"
    }
  },
  "definitions": {}
}