{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/plans.create-400", "title": "plans.create-400", "properties": { "details": { "type": "array", "items": { "anyOf": [ { "title": "INVALID_PARAMETER_SYNTAX", "properties": { "issue": { "type": "string", "enum": [ "INVALID_PARAMETER_SYNTAX" ] }, "description": { "type": "string", "enum": [ "The value of a field does not conform to the expected format." ] } } }, { "title": "INVALID_PARAMETER_VALUE", "properties": { "issue": { "type": "string", "enum": [ "INVALID_PARAMETER_VALUE" ] }, "description": { "type": "string", "enum": [ "The value of a field is invalid." ] } } }, { "title": "MISSING_REQUIRED_PARAMETER", "properties": { "issue": { "type": "string", "enum": [ "MISSING_REQUIRED_PARAMETER" ] }, "description": { "type": "string", "enum": [ "A required field is missing." ] } } }, { "title": "INVALID_STRING_MIN_LENGTH", "properties": { "issue": { "type": "string", "enum": [ "INVALID_STRING_MIN_LENGTH" ] }, "description": { "type": "string", "enum": [ "The value of a field is too short." ] } } }, { "title": "INVALID_STRING_MAX_LENGTH", "properties": { "issue": { "type": "string", "enum": [ "INVALID_STRING_MAX_LENGTH" ] }, "description": { "type": "string", "enum": [ "The value of a field is too long." ] } } }, { "title": "INVALID_INTEGER_MIN_VALUE", "properties": { "issue": { "type": "string", "enum": [ "INVALID_INTEGER_MIN_VALUE" ] }, "description": { "type": "string", "enum": [ "The integer value of a field is too small." ] } } }, { "title": "INVALID_INTEGER_MAX_VALUE", "properties": { "issue": { "type": "string", "enum": [ "INVALID_INTEGER_MAX_VALUE" ] }, "description": { "type": "string", "enum": [ "The integer value of a field is too large." ] } } } ] } } } }