Skip to content

[HELP] Can't make validator accept this "thumbnailUrl" cleanly #4452

@plroebuck

Description

@plroebuck

The Validator give me a warning that I don't understand.

The property additionalType is not recognized by the schema (e.g. schema.org) for an object of type URL.

SoftwareSourceCode contains thumbnailUrl of type URL.
And that class contains additionalType of type Thing (all my fields wind up under the latter's image property).

Haven't figured out why I need to add @type statements for the listed classes for thumbnailUrl and additionalType either as I'm just restating what the documentation already says.

{
  "@context": "https://schema.org",
  "@type": "SoftwareSourceCode",
  "schemaVersion": "https://schema.org/version/29.2",
  "sdDatePublished": "2025-05-15",
  "thumbnailUrl": {
    "@type": "URL",
    "additionalType": {
      "@type": "Thing",
      "image": {
        "encodingFormat": "image/png",
        "width": {
          "@type": "QuantitativeValue",
          "unitCode": "E37",
          "value": 96
        },
        "height": {
          "@type": "QuantitativeValue",
          "unitCode": "E37",
          "value": 64
        },  
        "description": "Logo",
        "url": "https://example.com/special/img/logo-96x64.png"
      }
    }
  }
}

As I still haven't gotten this going, what would be the canonical means of doing so?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions