{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cm-com/json-schema/cm-com-login-dto-schema.json",
  "title": "LoginDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cm-com-authentication-api-openapi.yml#/components/schemas/LoginDto",
  "type": "object",
  "properties": {
    "username": {
      "type": "string",
      "description": "Can be a username, an e-mail, or both, depending on how the user was created"
    },
    "password": {
      "type": "string",
      "minLength": 12,
      "description": "Password have a minimum length of 12 characters and should contain at least one lowercase, one uppercase, one symbol and one number."
    },
    "organisationUuid": {
      "type": "string",
      "description": "Providing organisationUuid instantly logs user into that organisation and skips step 2"
    },
    "entrancePlanUuid": {
      "type": "string",
      "description": "Providing entrancePlanUuid instantly logs user into that entrancePlan and skips step 2"
    }
  },
  "required": [
    "username",
    "password"
  ]
}