FAQ Database Discussion Community

Creating a JSON-LD Context: Properties missing

I try to create my own Context for a project. However, after using Compact some Properties will be missing. Please see this example: { "@context": { "myvocab": "http://localhost:8080/schema.json#", "Information": { "@id": "myvocab:Information", "@type": "@id", "name": "http://schema.org/name", "active": "http://schema.org/Boolean" } }, "Information": [ { "@type": "myvocab:Information", "name": "myCustomName", "active": "true" }...

What are the advantages and disadvantages of pretty printing JSON? [closed]

Pretty printing JSON will tend to make it heavier than those rendered without pretty print. Beyond that I can't think else of something between pretty printing or not. Let's say you want to provide web services for a public RESTful Web API, will it affect server performance, round-trip time, etc.?...

Why does Thunderbird add “” to an html E-Mail?

I have been searching for an answer to my question on google and on stackoverflow. Haven't found anything.. I try to send the following JSON-LDand Microdata schemas as an E-Mail to my Gmail-account: <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "Person", "name": "Max Mustermann", "affiliation": "Musterfirma", "telephone": "01234/56789", "url": "http://example.com/" }...

Two properties, one type

When author and publisher of an article are one and the same, with Microdata it’s possible to markup in the following manner: <span itemprop="author publisher" itemscope="" itemtype="http://schema.org/Organization"> <span itemprop="name">Name of the Organization</span> </span> Is there another option other than the following when using JSON-LD? "author" : { "@type" : "Organization",...

Can't get Google Now card to trigger from email

I've followed the tutorial here: https://developers.google.com/schemas/tutorials/google-now-cards and I cannot get an event card to show up in my google now. I have noticed that some of the test emails I sent yesterday using this link http://gmail-actions.appspot.com/ (as suggested by the tutorial) have correctly showed the "Modify Reservation" button in Gmail...

Best JSON-LD practices: using multiple