/**
 * Common Domain - Validation Utilities
 *
 * Generic validation schemas used across all domains.
 * These are pure schemas with no infrastructure dependencies.
 */

import { z } from "zod";

/**
 * UUID validation schema (v4)
 */
export const uuidSchema = z.string().uuid();

/**
 * Required non-empty string schema (trimmed)
 * Use for any string that must have a value
 */
export const requiredStringSchema = z.string().min(1, "This field is required").trim();

/**
 * Customer number / account number schema
 * Generic schema for customer/account identifiers
 */
export const customerNumberSchema = z.string().min(1, "Customer number is required").trim();
