Skip to main content
To ensure directory integrity and prevent database corruption, the Go Rest HRDb engine enforces strict schema validations on all inbound write operations (POST, PUT, PATCH). Before structuring your JSON request bodies, review the comprehensive field definitions, data types, and enum constraints detailed below.

HRDb Validation Rules

  1. Unique Email Address: The email field must be globally unique across the entire database directory. Attempting to onboard or update a profile using an email address that already exists inside the system will instantly fail and trigger an error.
  2. Strict Data Types: All text parameters must be submitted as strings enclosed in double quotes. Numeric variables (such as user tracking IDs) must be processed as raw integers.

HRDb Field Attributes

The following table defines the parameters required by the Go Rest HRDb schema:

Enforced Text Transformations

The Go Rest HRDb gateway automates standard normalization procedures on properties to optimize search across internal systems:
  • Case Insensitivity on Inbound Emails: While your client software can pass uppercase characters (e.g., JOHN.DOE@HRdb.fake), the database engine transforms the data layer into pure lowercase arrays prior to checking for unique index collisions.
  • Whitespace Trimming: The server systematically strips leading and trailing spaces from the name and email properties to prevent parsing errors inside target directory portals.