• qaws

    (@qaws)


    My website is an “Organization” type but contact is not through telephone or e-mail. On the “Corporate Contacts” tab in the general settings, if I leave all those fields empty, I get a validation error in the contactPoint structure (“One of telephone or url must be provided.”, because it’s published the contactType=”Customer Service” data item). I don’t think the contactPoint field is mandatory, so we should be able either to disable that section, or the code should not be generated if all the fields are left in the default state.

    The same idea should also be applied to other non-mandatory fields.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author kcseopro

    (@kcseopro)

    Hello,

    Organization have some required field to generate schema, So you cant avoid that field.

    Thanks

    Thread Starter qaws

    (@qaws)

    If you check the original definition, that’s not a mandatory field.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Distinguish between mandatory and optional fields’ is closed to new replies.