-
Notifications
You must be signed in to change notification settings - Fork 825
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
/additionalType should explicitly allow Text #3304
Comments
I can live with that and actually have used it as such in the past to define very specific |
I'm so torn on this topic, personally. On one hand, I would be strongly opposed to it if I really cared about additionalType. This waters down the usefulness of the field as any sort of actual standardized type usage. It turns it into "typing hint". However, since it was a hack to put it for a "mistake" made in the Microdata spec I don't really care. Google currently doesn't consume it as anything more than text for special cases ever (we don't map it automatically in some ways like we do for rdf:type-ish syntax). |
@rrlevering yeah, I feel your pain. It's close to our "strings where we'd prefer things" pragmatism, but for the special case of this already awkward property. The message should always be if you want to be fully unambiguous, don't leave it as a string. In terms of LLM capabilities, all of Claude+, ChatGPT(4.0) and Bard give sensible and reasonable answers to this super toy example:
However they differ (reasonably) on whether the second example is best handled with one of the explicit URIs or with a string. So like I say, for unambiguity, pointing to a real schema makes sense. I just want to avoid adding friction if people want to quickly add a bit more detail without creating a maintenance burden. |
One thing I will agree with is that people do it anyway. From my data, I can see that it's more often used incorrectly than correctly. I can see a lot of cases of "Product" or something like a schema.org co-type (even in JSON-LD) without an absolute URI, assuming that it would work like @type where a vocab prefix is assumed. |
Yes - been seeing that as well in people's expectations. |
This issue is being nudged due to inactivity. |
To add another use case, if Google Merchant Center ever decides to support cc: @rrlevering, @alex-jansen |
Looks like this was already included in Release 16.0 on 2023-05-16, so closing the issue. |
Reasoning:
The text was updated successfully, but these errors were encountered: