feat(visibility): add the candidate publication, hiding and search status contract

This commit is contained in:
shira committed 2026-10-07 00:15:52 +03:00
1 parent 4436f626a3
commit 0529601021
87 files changed
+21456 -83

No files matched your search

@@ -61,7 +61,7 @@ schemas:
type: array
maxItems: 100
description: >-
Field-level reasons for validation_failed. Other codes omit it.
Field-level reasons. validation_failed always carries them; state_conflict may carry one as a disambiguator when one code covers several conflicts (for example consent_required and limit_reached). Other codes omit it. A problem writer must not strip errors from a non-validation response.
items:
$ref: "#/schemas/ProblemFieldError"
ProblemCode:
@@ -138,8 +138,10 @@ schemas:
pattern: "^[a-z][a-z0-9_]*$"
description: >-
Stable field reason. Current values are `required` (missing value)
and `invalid` (malformed value or a value outside the schema).
Clients must tolerate new values.
and `invalid` (malformed value or a value outside the schema), and,
on a state_conflict, `consent_required` (the operation needs a
consent that is not active) and `limit_reached` (a per-account
bound is reached). Clients must tolerate new values.
message:
type: string
minLength: 1