// Copyright © 2022-2026 Partium, Inc. DBA Partium /** * An error in a submission. */ export interface SubmissionError { /** * The context of the submission error. */ ctx: Record; /** * The location of the submission error. */ loc: Array; /** * The message of the submission error. */ msg: string; /** * The type of the submission error. */ type: string; } /** * A detail of a submission error. */ export type SubmissionErrorDetail = Array; /** * A base response for a submission. */ export interface BaseSubmissionResponse { /** * The details of the submission errors. */ detail?: SubmissionErrorDetail; }