array of LocalBusinessJsonLd Schema using next-seo

0 votes

 trying to add multiple local business schema in my next js application, I am using next-seo package for this

import { LocalBusinessJsonLd } from 'next-seo'

{locations.map((location) => (
    <LocalBusinessJsonLd 
      type="Store"
      name={location.node.name}
      description={location.node.description}
      telephone={location.node.phone}
      address={{
        streetAddress: `${location.node.street}`,
        addressLocality: `${location.node.city}`,
        postalCode: `${location.node.postalCode}`,
        addressCountry: `${location.node.countryIso}`,
      }}
    />
))}


its not showing array of schema 
Feb 13, 2022 in Others by Kichu
• 19,050 points
814 views

1 answer to this question.

0 votes
specify the unique keyoverride properties if you page needs multiple instances for a JSON-LD

<ExampleJsonLd keyOverride="my-new-key" />
take this as an example

: next-seo - Handling multiple instances use this for more info
answered Feb 14, 2022 by narikkadan
• 63,700 points

Related Questions In Others

0 votes
1 answer

How to concatenate elements of a single-dimensional array using VBA?

Using Microsoft 365's UNIQUE and SORT in VBA ' This is a ...READ MORE

answered Feb 16, 2023 in Others by narikkadan
• 63,700 points
421 views
0 votes
1 answer

Reducing sequences in an array of strings

I've written a C# app to solves ...READ MORE

answered Nov 2, 2018 in Others by DataKing99
• 8,240 points
758 views
0 votes
1 answer
0 votes
1 answer

Can you please let m know what are the timings of next batch of AWS

Hey Anil,  As you can see from the ...READ MORE

answered Mar 26, 2020 in Others by Vardhan
• 13,190 points
924 views
0 votes
1 answer

React Server Components Performance on SEO

for rendering into html  you have to ...READ MORE

answered Feb 14, 2022 in Others by narikkadan
• 63,700 points
470 views
0 votes
1 answer

React Server Components Performance on SEO

const html = readFileSync(       path.resolve(__dirname, '../build/index.html'),       'utf8'     );     // Note: this ...READ MORE

answered Feb 25, 2022 in Others by narikkadan
• 63,700 points
704 views
0 votes
1 answer
0 votes
1 answer

array of LocalBusinessJsonLd Schema using next-seo

" If your page requires multiple instances of ...READ MORE

answered Feb 24, 2022 in Others by narikkadan
• 63,700 points
342 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP