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

json.schema.auth.passwordResetToken.json Maven / Gradle / Ivy

There is a newer version: 1.6.0-rc1
Show newest version
{
  "$id": "https://open-metadata.org/schema/auth/passwordResetToken.json",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "PasswordResetToken",
  "description": "This schema defines Password Verification Token Schema.",
  "type": "object",
  "javaType": "org.openmetadata.schema.auth.PasswordResetToken",
  "javaInterfaces": ["org.openmetadata.schema.TokenInterface"],
  "properties": {
    "token": {
      "description": "Unique Refresh Token for user",
      "$ref": "../type/basic.json#/definitions/uuid"
    },
    "userId": {
      "description": "User Id of the User this refresh token is given to",
      "$ref": "../type/basic.json#/definitions/uuid"
    },
    "tokenType": {
      "description": "Token Type",
      "$ref": "./emailVerificationToken.json#/definitions/tokenType",
      "default": "PASSWORD_RESET"
    },
    "expiryDate": {
      "description": "Expiry Date-Time of the token",
      "$ref": "../type/basic.json#/definitions/timestamp"
    },
    "isActive": {
      "description": "Expiry Date-Time of the token",
      "type": "boolean",
      "default": true
    },
    "isClaimed": {
      "description": "Expiry Date-Time of the token",
      "type": "boolean",
      "default": false
    }
  },
  "required": [
    "token",
    "userId",
    "expiryDate"
  ],
  "additionalProperties": false
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy