{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sybase/json-schema/sybase-login-create-request-schema.json",
  "title": "LoginCreateRequest",
  "description": "Request body for creating a new server login.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sybase-users-api-openapi.yml#/components/schemas/LoginCreateRequest",
  "type": "object",
  "required": [
    "name",
    "password"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "The login name to create.",
      "maxLength": 30
    },
    "password": {
      "type": "string",
      "description": "The password for the new login.",
      "format": "password"
    },
    "defaultDatabase": {
      "type": "string",
      "description": "The default database to assign."
    },
    "roles": {
      "type": "array",
      "description": "List of server roles to assign.",
      "items": {
        "type": "string"
      }
    }
  }
}