Enable multiple values in sameAs and awards schemas

Created on 17 July 2024, 4 months ago
Updated 23 July 2024, 4 months ago

Problem/Motivation

Some field values, such as "sameAs" and "awards" accepts multiple values as an array.

<script type="application/ld+json">
    {
      "@context": "https://schema.org",
      "@type": "Organization",
      "image": "https://www.example.com/example_image.jpg",
      "url": "https://www.example.com",
      "sameAs": ["https://example.net/profile/example1234", "https://example.org/example1234"],
      "logo": "https://www.example.com/images/logo.png",
      "name": "Example Corporation",
      "description": "The example corporation is well-known for producing high-quality widgets",
      "email": "contact@example.com",
      "telephone": "+47-99-999-9999",
      "address": {
        "@type": "PostalAddress",
        "streetAddress": "Rue Improbable 99",
        "addressLocality": "Paris",
        "addressCountry": "FR",
        "addressRegion": "Ile-de-France",
        "postalCode": "75001"
      },
      "vatID": "FR12345678901",
      "iso6523Code": "0199:724500PMK2A2M1SQQ228"
    }
    </script>

Source: https://developers.google.com/search/docs/appearance/structured-data/org...

Steps to reproduce

For example, in Organization, add the "sameAs" field. It's only possible to fill with a single text value.

Proposed resolution

Create the multiple value field type, enabling the format like:

"sameAs": ["https://example.net/profile/example1234", "https://example.org/example1234"]

This field type must be available for sameAs and awards.
Possibly, other schema types may have the same need.

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇧🇷Brazil nataliaalves

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024