{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/plans.patch-422", "title": "plans.patch-422", "properties": { "details": { "type": "array", "items": { "anyOf": [ { "title": "USER_ACCOUNT_CLOSED", "properties": { "issue": { "type": "string", "enum": [ "USER_ACCOUNT_CLOSED" ] }, "description": { "type": "string", "enum": [ "User account locked or closed." ] } } }, { "title": "PLAN_STATUS_INACTIVE", "properties": { "issue": { "type": "string", "enum": [ "PLAN_STATUS_INACTIVE" ] }, "description": { "type": "string", "enum": [ "Status update is the only patchable filed on an inactive plan." ] } } } ] } } } }