diff --git a/core-person.json b/core-person.json index 6c017ac..85112e3 100644 --- a/core-person.json +++ b/core-person.json @@ -20,8 +20,8 @@ "email": { "$ref": "#/components/schemas/email" }, - "phoneNumber": { - "$ref": "#/components/schemas/phoneNumber" + "phone": { + "$ref": "#/components/schemas/phone" } }, "components": @@ -46,6 +46,7 @@ "nameType": { "type": "string" } + } }, "userName": { "type": "string" @@ -64,7 +65,9 @@ }, "emailType": { "type": "string" - }, + } + } + }, "phone": { "type": "object", "properties": { @@ -74,5 +77,8 @@ "phoneType": { "type": "string" } + } } } + } +}