Validate Shiftyasan solver input
validate_shift_inputValidate shift scheduling request payloads against the Shiftyasan public API schema before using the solver. Get a validation summary or specific field-level errors.
Instructions
Validate a shift solver request payload against the Shiftyasan public API schema. Free of charge (does not run the solver). Use this before solve_shift to confirm the request shape is correct, especially when constructing the payload programmatically. Returns either {valid: true, ...summary} or an RFC 7807 problem detail with field-level errors.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes | The full SolveRequest payload (schedule_period, shifts, duties, employees, constraints, options). Schema: GET <base URL>/v1/public/openapi.json (base URL = SHIFTYASAN_BASE_URL, default https://api.shiftyasan.com). |