contentstack · Schema

LoginRequest

Credentials for user authentication.

Properties

Name Type Description
user object User credential object.
View JSON Schema on GitHub

JSON Schema

contentstack-loginrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/LoginRequest",
  "title": "LoginRequest",
  "type": "object",
  "description": "Credentials for user authentication.",
  "required": [
    "user"
  ],
  "properties": {
    "user": {
      "type": "object",
      "description": "User credential object.",
      "required": [
        "email",
        "password"
      ],
      "properties": {
        "email": {
          "type": "string",
          "format": "email",
          "description": "The user's email address."
        },
        "password": {
          "type": "string",
          "format": "password",
          "description": "The user's account password."
        }
      }
    }
  }
}