- From: Robert Sanderson <azaroth42@gmail.com>
- Date: Fri, 7 Nov 2014 09:24:03 -0800
- To: Tor Skjøtskift <tor.skjotskift@amedia.no>
- Cc: "public-linked-json@w3.org" <public-linked-json@w3.org>
Received on Friday, 7 November 2014 17:24:32 UTC
So long as you don't also need to associate a language with the content,
and you only want to distinguish text/plain from text/html, you can do:
{
"@value": "<html>goes here</html",
"@type": "rdf:HTML"
}
On Fri, Nov 7, 2014 at 5:30 AM, Tor Skjøtskift <tor.skjotskift@amedia.no>
wrote:
> When we create an article in a cmd we usually have a rich text field for
> body text.
> How would we describe a newsArticle schema with a text-field containing
> rich media (text/html). We have the primitive data type text in schema.org,
> but it would be very usable to be able to differentiate between rich text
> and strings in order to create scaffolding mechanisms for json-ld
>
>
--
Rob Sanderson
Technology Collaboration Facilitator
Digital Library Systems and Services
Stanford, CA 94305
Received on Friday, 7 November 2014 17:24:32 UTC