Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

phone_numbers optional fields are never used #2569

Open
nacnudus opened this issue Dec 11, 2023 · 0 comments
Open

phone_numbers optional fields are never used #2569

nacnudus opened this issue Dec 11, 2023 · 0 comments

Comments

@nacnudus
Copy link

None of the documents currently in the live content store use any of the optional fields of phone_number. Is it possible to use them, or are they effectively deprecated?

I wonder whether the fact that the number field is required encourages users to put fax numbers into it, and then to set the title to "Fax", instead of using the optional fax field, for example.

phone_numbers: {
type: "array",
items: {
type: "object",
additionalProperties: false,
required: [
"title",
"number",
],
properties: {
title: {
type: "string",
},
number: {
type: "string",
},
textphone: {
type: "string",
},
international_phone: {
type: "string",
},
fax: {
type: "string",
},
description: {
type: "string",
},
open_hours: {
type: "string",
},
best_time_to_call: {
type: "string",
},
},
},
},

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant