{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/UserRegistration", "title": "UserRegistration", "required": [ "loginName" ], "type": "object", "properties": { "preferences": { "$ref": "#/components/schemas/UserRequestPreferences" }, "address": { "$ref": "#/components/schemas/UserAddress" }, "phoneNumber": { "type": "string" }, "loginName": { "maxLength": 150, "minLength": 3, "type": "string" }, "name": { "$ref": "#/components/schemas/Name" }, "email": { "type": "string" }, "segmentName": { "type": "string" } } }