All Downloads are FREE. Search and download functionalities are using the official Maven repository.

json.schema.entity.teams.user.json Maven / Gradle / Ivy

There is a newer version: 1.6.0-rc1
Show newest version
{
  "$id": "https://open-metadata.org/schema/entity/teams/user.json",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "User",
  "description": "A `User` represents a user of OpenMetadata. A user can be part of 0 or more teams. A special type of user called Bot is used for automation. A user can be an owner of zero or more data assets. A user can also follow zero or more data assets.",
  "type": "object",
  "javaType": "org.openmetadata.schema.entity.teams.User",
  "javaInterfaces": ["org.openmetadata.schema.EntityInterface"],
  "definitions": {
    "authenticationMechanism": {
      "type": "object",
      "description": "User/Bot Authentication Mechanism.",
      "javaType": "org.openmetadata.schema.entity.teams.AuthenticationMechanism",
      "properties": {
        "config": {
          "oneOf": [
            {
              "$ref": "../../auth/ssoAuth.json"
            },
            {
              "$ref": "../../auth/jwtAuth.json"
            },
            {
              "$ref": "../../auth/basicAuth.json"
            }
          ]
        },
        "authType": {
          "enum": ["JWT", "SSO", "BASIC"]
        }
      },
      "additionalProperties": false
    }
  },
  "properties": {
    "id": {
      "description": "Unique identifier that identifies a user entity instance.",
      "$ref": "../../type/basic.json#/definitions/uuid"
    },
    "name": {
      "description": "A unique name of the user, typically the user ID from an identity provider. Example - uid from LDAP.",
      "$ref": "../../type/basic.json#/definitions/entityName"
    },
    "fullyQualifiedName": {
      "description": "FullyQualifiedName same as `name`.",
      "$ref": "../../type/basic.json#/definitions/fullyQualifiedEntityName"
    },
    "description": {
      "description": "Used for user biography.",
      "$ref": "../../type/basic.json#/definitions/markdown"
    },
    "displayName": {
      "description": "Name used for display purposes. Example 'FirstName LastName'.",
      "type": "string"
    },
    "version": {
      "description": "Metadata version of the entity.",
      "$ref": "../../type/entityHistory.json#/definitions/entityVersion"
    },
    "updatedAt": {
      "description": "Last update time corresponding to the new version of the entity in Unix epoch time milliseconds.",
      "$ref": "../../type/basic.json#/definitions/timestamp"
    },
    "updatedBy": {
      "description": "User who made the update.",
      "type": "string"
    },
    "email": {
      "description": "Email address of the user.",
      "$ref": "../../type/basic.json#/definitions/email"
    },
    "href": {
      "description": "Link to the resource corresponding to this entity.",
      "$ref": "../../type/basic.json#/definitions/href"
    },
    "timezone": {
      "description": "Timezone of the user.",
      "type": "string",
      "format": "timezone"
    },
    "isBot": {
      "description": "When true indicates a special type of user called Bot.",
      "type": "boolean",
      "default": false
    },
    "isAdmin": {
      "description": "When true indicates user is an administrator for the system with superuser privileges.",
      "type": "boolean",
      "default": false
    },
    "authenticationMechanism": {
      "$ref": "#/definitions/authenticationMechanism"
    },
    "profile": {
      "description": "Profile of the user.",
      "$ref": "../../type/profile.json"
    },
    "teams": {
      "description": "Teams that the user belongs to.",
      "$ref": "../../type/entityReferenceList.json"
    },
    "defaultPersona": {
      "description": "Default Persona for the user from list of personas.",
      "$ref": "../../type/entityReference.json"
    },
    "personas": {
      "description": "Personas that the user assigned to.",
      "$ref": "../../type/entityReferenceList.json"
    },
    "owns": {
      "description": "List of entities owned by the user.",
      "$ref": "../../type/entityReferenceList.json"
    },
    "follows": {
      "description": "List of entities followed by the user.",
      "$ref": "../../type/entityReferenceList.json"
    },
    "changeDescription": {
      "description": "Change that lead to this version of the entity.",
      "$ref": "../../type/entityHistory.json#/definitions/changeDescription"
    },
    "deleted": {
      "description": "When `true` indicates the entity has been soft deleted.",
      "type": "boolean",
      "default": false
    },
    "roles": {
      "description": "Roles that the user has been assigned.",
      "$ref": "../../type/entityReferenceList.json"
    },
    "inheritedRoles": {
      "description": "Roles that a user is inheriting through membership in teams that have set team default roles.",
      "$ref": "../../type/entityReferenceList.json"
    },
    "isEmailVerified": {
      "description": "If the User has verified the mail",
      "type": "boolean"
    },
    "domains" : {
      "description": "Domain the User belongs to. This is inherited by the team the user belongs to.",
      "$ref": "../../type/entityReferenceList.json"
    }
  },
  "additionalProperties": false,
  "required": ["id", "name", "email"]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy