- Issue created by @duaelfr
- πΊπΈUnited States jrockowitz Brooklyn, NY
A https://schema.org/TextObject defines a text document (not a string of text), and https://schema.org/Text is a data type.
I don't think mapping a Paragraph to either TextObject or Text makes sense. It might make sense to map a paragraph to a https://schema.org/Thing, or personally I like https://schema.org/WebContent.
- π«π·France duaelfr Montpellier, France
@jrockowitz Thank you for your answer.
My current issue is that I am trying to map one of my existing content types, which uses Paragraphs for its main content, to a
NewsArticle
schema.org type, which expects anarticleBody
attribute of typeText
. When I'm choosing myentity reference revision
field, no Text content is rendered in the attribute. If my paragraphs are mapped to a schema.org type, these are rendered as an array in the attribute, what's not the expected type.Am I completely wrong trying to map this paragraphs based content to this attribute?
- πΊπΈUnited States jrockowitz Brooklyn, NY
You can probably use the schemadotorg_jsonld_custom.module to extract the 'text' from the paragraph.