Search code examples
schema.orgjson-ld

JSON-LD example uses 'name' property for 'Person', but the property is not in Schema.org


I am a newbie to JSON-LD. I saw the following example JSON-LD from http://json-ld.org/playground/

    {
       "@context": "http://schema.org/",
       "@type": "Person",
       "name": "Jane Doe",
       "jobTitle": "Professor",
       "telephone": "(425) 123-4567",
       "url": "http://www.janedoe.com"
    }

When I look at the Person schema, the property name is not there. There is givenName and familyName.

How is this a valid structure?


Solution

  • Person type is a subtype of Thing. More specific types inherit properties of the parent type.

    See the Schema.org Person type page. You'll see a list of recognized properties for Person type but further down on the page you'll also see a list of recognized properties for Thing type. The recognized Thing type properties can be marked up for Person type. The name property is listed in Thing type.