/v1/management/customers/recordBehavior
Server only. Requires an owner-issued Management credential with the explicit contacts:record permission. The site backend must authenticate and authorize its administrator; never expose this credential to a browser or use it as an anonymous customer form. The credential fixes one tenant/site/integration. Customer phone verification, public booking intake, bot state and customer sessions are not prerequisites. Atomically creates a new canonical contact and mapping, or links an unambiguous existing same-business contact. Existing names/languages/block state are preserved; a blocked contact, ambiguous canonical phone, external-ID rebinding or detached mapping is refused. A new mapping is owner_reviewed, not customer-verified; no customer session, booking, consent or message is created. An unchanged existing verified mapping keeps its assurance. businessCustomerId is the canonical contact ID; mappingId is the distinct identifier used as customerId by Integration Customer APIs. Save the original Idempotency-Key before sending. On uncertainty retry the same body/key or recover contact-operations/{operationId}; never issue a fresh command merely because its response was lost. receipt is immutable; current is reread and becomes null if the contact is unavailable or identity changed.
Authentication
ManagementCredential
Credential rules
One server-only owner-issued wbm_ API key can carry both management and integration permissions. Additional permissions require an explicit owner-issued grant. GET /v1/management returns the management discovery view, which may be empty for a booking-only key. For credentials with appointments:read, this discovery view omits whatsapp-templates:read, whatsapp-templates:write, whatsapp-profile:read and whatsapp-profile:write to preserve calendar-client compatibility. Discover these grants through GET /v1/management/messaging-capabilities. Template/profile command authorization still uses the stored grants. Server-only owner-issued Management authority with explicit application permissions. Calling this API does not expand a credential's grants. contacts:read/write/block/sync/fields:read/fields:write are separate approvals for canonical business contacts; fields also require current typed owner grants. contacts:record remains contact recording/recovery only. These grants create no customer phone proof, booking authority, messaging consent or automatic synchronization. Hours/blocks retain their independent resource grants. booking-policy:read/write separately delegate whole-business booking settings, without schedule/provider grants; write requires read. They preserve existing appointments and create no duration-rewrite authority. Provider duration policy additionally requires explicit provider-booking-policy:read/write and exact current providerIds; booking-duration:rewrite is separately approved and does not itself grant policy read/write. Service catalogue requires explicit services:read/write, independent of provider/calendar/schedule resources; write requires read. These operations do not expand an existing credential's grants. Public presentation and reviewed service selection require explicit website-content:read/write; write requires read, independently from services:* and provider resources. Existing provider metadata/activity/assignment additionally requires providers:read/write and a nonempty explicit current providerIds grant; write requires read. This grants no provider creation, deletion, login, invitation or schedule authority. WhatsApp template/profile management requires separate whatsapp-templates:read, whatsapp-templates:write, whatsapp-profile:read and whatsapp-profile:write application scopes. Write requires its matching read scope. These grants require explicit owner approval; Meta OAuth permissions remain separate.
Required application permissions
contacts:record
A separate owner-issued management credential authorizes an authenticated administration backend. It is not safe for a browser or anonymous customer form. A new contact mapping is owner_reviewed, without customer proof, booking authority or WhatsApp consent. Preserve the distinct businessCustomerId and mappingId.
Request
Idempotency and recovery
Persist one UUID and the exact request before sending. After an uncertain result, retain that UUID, body and preconditions; do not create a replacement operation just to retry.
Idempotency-Keyheader · stringRequiredPersist a UUID before this command. Reuse it with the same input for recovery; a changed command conflicts.
Format and constraints
{ "type": "string", "format": "uuid" }
Request body · required
application/json · ManagementContactCommand
-
externalCustomerIdstringRequiredStable website-owned customer/account identifier. Namespaced by this integration; no leading/trailing whitespace. Never an authorization token.
minLength:1maxLength:120 -
phonestringRequiredpattern:"^\\+[1-9][0-9]{7,14}$" -
displayNamestringRequiredminLength:1maxLength:100 -
languagestringRequiredAllowed values:
["he","ar","en"] -
additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
{
"type": "object",
"additionalProperties": false,
"required": [
"externalCustomerId",
"phone",
"displayName",
"language"
],
"properties": {
"externalCustomerId": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"description": "Stable website-owned customer/account identifier. Namespaced by this integration; no leading/trailing whitespace. Never an authorization token."
},
"phone": {
"type": "string",
"pattern": "^\\+[1-9][0-9]{7,14}$"
},
"displayName": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"language": {
"type": "string",
"enum": [
"he",
"ar",
"en"
]
}
}
} Successful responses
200 · ManagementContactResult
Linked existing contact, already linked identity, or exact accepted replay.
application/json · ManagementContactResult
-
receiptobjectRequiredView nested fields
-
operationIdstring · uuidRequired -
businessCustomerIdstring · uuidRequired -
mappingIdstring · uuidRequired -
outcomestringRequiredAllowed values:
["created","linked_existing","already_linked"] -
recordedAtstring · date-timeRequired -
additionalPropertiesno value allowedSchema rule
-
-
currentanyOf (object; allOf (unspecified) | null)RequiredAt least one of these variants must match.
View nested fields
-
anyOf 1 · status = "active"object; allOf (unspecified)Schema branchAll of these schema rules apply together.
View branch fields and rules
-
externalCustomerIdanyOf (string | null)Required in this branchAt least one of these variants must match.
View nested fields
-
anyOf 1stringSchema branch -
anyOf 2nullSchema branch
-
-
statusstringRequired in this branchValue:
"active" -
versionintegerRequired in this branchminimum:1 -
displayNameanyOf (string | null)Optional in this branchAt least one of these variants must match.
View nested fields
-
anyOf 1stringSchema branch -
anyOf 2nullSchema branch
-
-
languageanyOf (string | null)Optional in this branchAt least one of these variants must match.
View nested fields
-
anyOf 1stringSchema branchAllowed values:
["he","ar","en"] -
anyOf 2nullSchema branch
-
-
phonestringRequired in this branchpattern:"^\\+[1-9][0-9]{7,14}$" -
fieldSourcesobjectOptional in this branchView nested fields
-
additionalPropertiesobjectSchema ruleView branch fields and rules
-
sourcestringRequired in this branch -
versionintegerRequired in this branch -
updated_atstring · date-timeRequired in this branch -
additionalPropertiesno value allowedSchema rule
-
-
-
identityAssurancestringRequired in this branchowner_reviewed is an administrative record, never phone proof or customer authentication. It grants no consent or history. Existing customer_verified assurance is preserved only for an unchanged identity.
Allowed values:
["customer_verified","owner_reviewed"] -
displayNameUnavailableReasonstringOptional in this branchPresent only when the active displayName is unavailable (null). Canonical CRAD text is preserved, not truncated or cleared. Do not echo null as a source-field deletion.
Allowed values:
["not_set","blank","too_long","unsupported_characters"] -
businessCustomerIdstring · uuidRequired in this branchCanonical business contact ID (profiles identity), distinct from the integration mappingId.
-
mappingIdstring · uuidRequired in this branchIntegration mapping ID, accepted as customerId by existing scoped Integration Customer APIs.
-
allOf 1unspecifiedSchema branchView branch fields and rules
-
ifunspecifiedSchema ruleView branch fields and rules
-
displayNameUnavailableReasonunspecifiedCondition predicatePresence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.
-
-
thenobjectSchema ruleView branch fields and rules
-
statusstringOptional in this branchValue:
"active" -
displayNamenullRequired in this branch
-
-
-
additionalPropertiesno value allowedSchema rule
-
-
anyOf 2nullSchema branch
-
-
currentUnavailableReasonnull | stringRequiredAllowed values:
[null,"contact_unavailable"] -
replayedbooleanRequired -
additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
{
"type": "object",
"additionalProperties": false,
"required": [
"receipt",
"current",
"currentUnavailableReason",
"replayed"
],
"properties": {
"receipt": {
"type": "object",
"additionalProperties": false,
"required": [
"operationId",
"businessCustomerId",
"mappingId",
"outcome",
"recordedAt"
],
"properties": {
"operationId": {
"type": "string",
"format": "uuid"
},
"businessCustomerId": {
"type": "string",
"format": "uuid"
},
"mappingId": {
"type": "string",
"format": "uuid"
},
"outcome": {
"enum": [
"created",
"linked_existing",
"already_linked"
]
},
"recordedAt": {
"type": "string",
"format": "date-time"
}
}
},
"current": {
"anyOf": [
{
"type": "object",
"additionalProperties": false,
"required": [
"externalCustomerId",
"status",
"version",
"businessCustomerId",
"mappingId",
"phone",
"identityAssurance"
],
"properties": {
"externalCustomerId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"status": {
"const": "active"
},
"version": {
"type": "integer",
"minimum": 1
},
"displayName": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"language": {
"anyOf": [
{
"type": "string",
"enum": [
"he",
"ar",
"en"
]
},
{
"type": "null"
}
]
},
"phone": {
"type": "string",
"pattern": "^\\+[1-9][0-9]{7,14}$"
},
"fieldSources": {
"type": "object",
"additionalProperties": {
"type": "object",
"additionalProperties": false,
"properties": {
"source": {
"type": "string"
},
"version": {
"type": "integer"
},
"updated_at": {
"type": "string",
"format": "date-time"
}
},
"required": [
"source",
"version",
"updated_at"
]
}
},
"identityAssurance": {
"enum": [
"customer_verified",
"owner_reviewed"
],
"description": "owner_reviewed is an administrative record, never phone proof or customer authentication. It grants no consent or history. Existing customer_verified assurance is preserved only for an unchanged identity."
},
"displayNameUnavailableReason": {
"enum": [
"not_set",
"blank",
"too_long",
"unsupported_characters"
],
"description": "Present only when the active displayName is unavailable (null). Canonical CRAD text is preserved, not truncated or cleared. Do not echo null as a source-field deletion."
},
"businessCustomerId": {
"type": "string",
"format": "uuid",
"description": "Canonical business contact ID (profiles identity), distinct from the integration mappingId."
},
"mappingId": {
"type": "string",
"format": "uuid",
"description": "Integration mapping ID, accepted as customerId by existing scoped Integration Customer APIs."
}
},
"allOf": [
{
"if": {
"required": [
"displayNameUnavailableReason"
]
},
"then": {
"required": [
"displayName"
],
"properties": {
"status": {
"const": "active"
},
"displayName": {
"type": "null"
}
}
}
}
]
},
{
"type": "null"
}
]
},
"currentUnavailableReason": {
"enum": [
null,
"contact_unavailable"
]
},
"replayed": {
"type": "boolean"
}
}
} 201 · ManagementContactResult
New contact and mapping committed atomically. No notification is sent.
application/json · ManagementContactResult
-
receiptobjectRequiredView nested fields
-
operationIdstring · uuidRequired -
businessCustomerIdstring · uuidRequired -
mappingIdstring · uuidRequired -
outcomestringRequiredAllowed values:
["created","linked_existing","already_linked"] -
recordedAtstring · date-timeRequired -
additionalPropertiesno value allowedSchema rule
-
-
currentanyOf (object; allOf (unspecified) | null)RequiredAt least one of these variants must match.
View nested fields
-
anyOf 1 · status = "active"object; allOf (unspecified)Schema branchAll of these schema rules apply together.
View branch fields and rules
-
externalCustomerIdanyOf (string | null)Required in this branchAt least one of these variants must match.
View nested fields
-
anyOf 1stringSchema branch -
anyOf 2nullSchema branch
-
-
statusstringRequired in this branchValue:
"active" -
versionintegerRequired in this branchminimum:1 -
displayNameanyOf (string | null)Optional in this branchAt least one of these variants must match.
View nested fields
-
anyOf 1stringSchema branch -
anyOf 2nullSchema branch
-
-
languageanyOf (string | null)Optional in this branchAt least one of these variants must match.
View nested fields
-
anyOf 1stringSchema branchAllowed values:
["he","ar","en"] -
anyOf 2nullSchema branch
-
-
phonestringRequired in this branchpattern:"^\\+[1-9][0-9]{7,14}$" -
fieldSourcesobjectOptional in this branchView nested fields
-
additionalPropertiesobjectSchema ruleView branch fields and rules
-
sourcestringRequired in this branch -
versionintegerRequired in this branch -
updated_atstring · date-timeRequired in this branch -
additionalPropertiesno value allowedSchema rule
-
-
-
identityAssurancestringRequired in this branchowner_reviewed is an administrative record, never phone proof or customer authentication. It grants no consent or history. Existing customer_verified assurance is preserved only for an unchanged identity.
Allowed values:
["customer_verified","owner_reviewed"] -
displayNameUnavailableReasonstringOptional in this branchPresent only when the active displayName is unavailable (null). Canonical CRAD text is preserved, not truncated or cleared. Do not echo null as a source-field deletion.
Allowed values:
["not_set","blank","too_long","unsupported_characters"] -
businessCustomerIdstring · uuidRequired in this branchCanonical business contact ID (profiles identity), distinct from the integration mappingId.
-
mappingIdstring · uuidRequired in this branchIntegration mapping ID, accepted as customerId by existing scoped Integration Customer APIs.
-
allOf 1unspecifiedSchema branchView branch fields and rules
-
ifunspecifiedSchema ruleView branch fields and rules
-
displayNameUnavailableReasonunspecifiedCondition predicatePresence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.
-
-
thenobjectSchema ruleView branch fields and rules
-
statusstringOptional in this branchValue:
"active" -
displayNamenullRequired in this branch
-
-
-
additionalPropertiesno value allowedSchema rule
-
-
anyOf 2nullSchema branch
-
-
currentUnavailableReasonnull | stringRequiredAllowed values:
[null,"contact_unavailable"] -
replayedbooleanRequired -
additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
{
"type": "object",
"additionalProperties": false,
"required": [
"receipt",
"current",
"currentUnavailableReason",
"replayed"
],
"properties": {
"receipt": {
"type": "object",
"additionalProperties": false,
"required": [
"operationId",
"businessCustomerId",
"mappingId",
"outcome",
"recordedAt"
],
"properties": {
"operationId": {
"type": "string",
"format": "uuid"
},
"businessCustomerId": {
"type": "string",
"format": "uuid"
},
"mappingId": {
"type": "string",
"format": "uuid"
},
"outcome": {
"enum": [
"created",
"linked_existing",
"already_linked"
]
},
"recordedAt": {
"type": "string",
"format": "date-time"
}
}
},
"current": {
"anyOf": [
{
"type": "object",
"additionalProperties": false,
"required": [
"externalCustomerId",
"status",
"version",
"businessCustomerId",
"mappingId",
"phone",
"identityAssurance"
],
"properties": {
"externalCustomerId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"status": {
"const": "active"
},
"version": {
"type": "integer",
"minimum": 1
},
"displayName": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"language": {
"anyOf": [
{
"type": "string",
"enum": [
"he",
"ar",
"en"
]
},
{
"type": "null"
}
]
},
"phone": {
"type": "string",
"pattern": "^\\+[1-9][0-9]{7,14}$"
},
"fieldSources": {
"type": "object",
"additionalProperties": {
"type": "object",
"additionalProperties": false,
"properties": {
"source": {
"type": "string"
},
"version": {
"type": "integer"
},
"updated_at": {
"type": "string",
"format": "date-time"
}
},
"required": [
"source",
"version",
"updated_at"
]
}
},
"identityAssurance": {
"enum": [
"customer_verified",
"owner_reviewed"
],
"description": "owner_reviewed is an administrative record, never phone proof or customer authentication. It grants no consent or history. Existing customer_verified assurance is preserved only for an unchanged identity."
},
"displayNameUnavailableReason": {
"enum": [
"not_set",
"blank",
"too_long",
"unsupported_characters"
],
"description": "Present only when the active displayName is unavailable (null). Canonical CRAD text is preserved, not truncated or cleared. Do not echo null as a source-field deletion."
},
"businessCustomerId": {
"type": "string",
"format": "uuid",
"description": "Canonical business contact ID (profiles identity), distinct from the integration mappingId."
},
"mappingId": {
"type": "string",
"format": "uuid",
"description": "Integration mapping ID, accepted as customerId by existing scoped Integration Customer APIs."
}
},
"allOf": [
{
"if": {
"required": [
"displayNameUnavailableReason"
]
},
"then": {
"required": [
"displayName"
],
"properties": {
"status": {
"const": "active"
},
"displayName": {
"type": "null"
}
}
}
}
]
},
{
"type": "null"
}
]
},
"currentUnavailableReason": {
"enum": [
null,
"contact_unavailable"
]
},
"replayed": {
"type": "boolean"
}
}
} Errors and recovery
Input validation
413REQUEST_TOO_LARGEThe JSON request body exceeds 8,192 bytes.
415JSON_REQUIREDSend Content-Type: application/json.
Error responses declared in the contract (11)
The preview contract shares generic error definitions across operations. This list is not an exhaustive list of runtime errors.
401 · Structured error.
application/json · Error
-
errorobjectRequiredView nested fields
-
codestringRequired -
requestIdstring · uuidRequired -
retryAfterintegerOptionalminimum:1 -
additionalPropertiesno value allowedSchema rule
-
-
additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
{
"type": "object",
"additionalProperties": false,
"properties": {
"error": {
"type": "object",
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"requestId": {
"type": "string",
"format": "uuid"
},
"retryAfter": {
"type": "integer",
"minimum": 1
}
},
"required": [
"code",
"requestId"
]
}
},
"required": [
"error"
]
} 403 · Structured error.
application/json · Error
-
errorobjectRequiredView nested fields
-
codestringRequired -
requestIdstring · uuidRequired -
retryAfterintegerOptionalminimum:1 -
additionalPropertiesno value allowedSchema rule
-
-
additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
{
"type": "object",
"additionalProperties": false,
"properties": {
"error": {
"type": "object",
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"requestId": {
"type": "string",
"format": "uuid"
},
"retryAfter": {
"type": "integer",
"minimum": 1
}
},
"required": [
"code",
"requestId"
]
}
},
"required": [
"error"
]
} 404 · Structured error.
application/json · Error
-
errorobjectRequiredView nested fields
-
codestringRequired -
requestIdstring · uuidRequired -
retryAfterintegerOptionalminimum:1 -
additionalPropertiesno value allowedSchema rule
-
-
additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
{
"type": "object",
"additionalProperties": false,
"properties": {
"error": {
"type": "object",
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"requestId": {
"type": "string",
"format": "uuid"
},
"retryAfter": {
"type": "integer",
"minimum": 1
}
},
"required": [
"code",
"requestId"
]
}
},
"required": [
"error"
]
} 405 · Structured error.
application/json · Error
-
errorobjectRequiredView nested fields
-
codestringRequired -
requestIdstring · uuidRequired -
retryAfterintegerOptionalminimum:1 -
additionalPropertiesno value allowedSchema rule
-
-
additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
{
"type": "object",
"additionalProperties": false,
"properties": {
"error": {
"type": "object",
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"requestId": {
"type": "string",
"format": "uuid"
},
"retryAfter": {
"type": "integer",
"minimum": 1
}
},
"required": [
"code",
"requestId"
]
}
},
"required": [
"error"
]
} 409 · Identity conflict or changed idempotent command. No contact is merged or overwritten.
application/json · Error
-
errorobjectRequiredView nested fields
-
codestringRequired -
requestIdstring · uuidRequired -
retryAfterintegerOptionalminimum:1 -
additionalPropertiesno value allowedSchema rule
-
-
additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
{
"type": "object",
"additionalProperties": false,
"properties": {
"error": {
"type": "object",
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"requestId": {
"type": "string",
"format": "uuid"
},
"retryAfter": {
"type": "integer",
"minimum": 1
}
},
"required": [
"code",
"requestId"
]
}
},
"required": [
"error"
]
} 413 · Structured error.
application/json · Error
-
errorobjectRequiredView nested fields
-
codestringRequired -
requestIdstring · uuidRequired -
retryAfterintegerOptionalminimum:1 -
additionalPropertiesno value allowedSchema rule
-
-
additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
{
"type": "object",
"additionalProperties": false,
"properties": {
"error": {
"type": "object",
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"requestId": {
"type": "string",
"format": "uuid"
},
"retryAfter": {
"type": "integer",
"minimum": 1
}
},
"required": [
"code",
"requestId"
]
}
},
"required": [
"error"
]
} 415 · Structured error.
application/json · Error
-
errorobjectRequiredView nested fields
-
codestringRequired -
requestIdstring · uuidRequired -
retryAfterintegerOptionalminimum:1 -
additionalPropertiesno value allowedSchema rule
-
-
additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
{
"type": "object",
"additionalProperties": false,
"properties": {
"error": {
"type": "object",
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"requestId": {
"type": "string",
"format": "uuid"
},
"retryAfter": {
"type": "integer",
"minimum": 1
}
},
"required": [
"code",
"requestId"
]
}
},
"required": [
"error"
]
} 422 · Structured error.
application/json · Error
-
errorobjectRequiredView nested fields
-
codestringRequired -
requestIdstring · uuidRequired -
retryAfterintegerOptionalminimum:1 -
additionalPropertiesno value allowedSchema rule
-
-
additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
{
"type": "object",
"additionalProperties": false,
"properties": {
"error": {
"type": "object",
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"requestId": {
"type": "string",
"format": "uuid"
},
"retryAfter": {
"type": "integer",
"minimum": 1
}
},
"required": [
"code",
"requestId"
]
}
},
"required": [
"error"
]
} 428 · Structured error.
application/json · Error
-
errorobjectRequiredView nested fields
-
codestringRequired -
requestIdstring · uuidRequired -
retryAfterintegerOptionalminimum:1 -
additionalPropertiesno value allowedSchema rule
-
-
additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
{
"type": "object",
"additionalProperties": false,
"properties": {
"error": {
"type": "object",
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"requestId": {
"type": "string",
"format": "uuid"
},
"retryAfter": {
"type": "integer",
"minimum": 1
}
},
"required": [
"code",
"requestId"
]
}
},
"required": [
"error"
]
} 429 · Structured error.
application/json · Error
-
errorobjectRequiredView nested fields
-
codestringRequired -
requestIdstring · uuidRequired -
retryAfterintegerOptionalminimum:1 -
additionalPropertiesno value allowedSchema rule
-
-
additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
{
"type": "object",
"additionalProperties": false,
"properties": {
"error": {
"type": "object",
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"requestId": {
"type": "string",
"format": "uuid"
},
"retryAfter": {
"type": "integer",
"minimum": 1
}
},
"required": [
"code",
"requestId"
]
}
},
"required": [
"error"
]
} 503 · Result may be uncertain. Keep the original operation UUID and reconcile.
application/json · Error
-
errorobjectRequiredView nested fields
-
codestringRequired -
requestIdstring · uuidRequired -
retryAfterintegerOptionalminimum:1 -
additionalPropertiesno value allowedSchema rule
-
-
additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
{
"type": "object",
"additionalProperties": false,
"properties": {
"error": {
"type": "object",
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"requestId": {
"type": "string",
"format": "uuid"
},
"retryAfter": {
"type": "integer",
"minimum": 1
}
},
"required": [
"code",
"requestId"
]
}
},
"required": [
"error"
]
}