Skip to main content Skip to secondary navigation

Make Your Content Machine-Readable with Schema.org Metadata

Main content start

Schema.org metadata is a shared vocabulary of tags you add to your web pages to describe what your content actually is (an event, a person, a news article, a course) in a structured way that AI agents can read. It creates a JSON-LD tucked into the page's code that is not visible to site visitors. 

Like HTML metadata, search engines, social platforms, and AI assistants can use your Schema.org tags to understand your page instead of just guessing from the text. For example, an event page can surface its date and location, a course can show its instructor and department, and a news article can display its author and publish date. 

How to edit Schema.org tags

Tabs showing location of the Meta Tags feature on a Basic Page.

Schema.org tags are available as one of the sections of the Meta Tag feature, which can be accessed in the bottom or sidebar tabs for most page types. The tags that are available may vary based on the content type (event, person, etc.)

To access the Schema.org tags for editing.

Basic Page Meta Tag sections.
  1. Open the Meta Tags tab
  2. Scroll down to the bottom of the metatag options. It may be faster to use the toggles to close the Basic Tags, Advanced, Open Graph, and Twitter Card sections. Schema.org tags are contained in the last sections. 
  3. Open the Schema.org section most appropriate for your content type.
  4. When done, save your page.

 

Schema.org resources

Guidance around metadata is constantly evolving. We encourage you to explore these useful resources to learn more about how Schema.org tags are used and interpreted.

 

Useful Schema.org tags by content type

The following are recommendations for basic schema based on Stanford Sites Content Type. Meta Tags/Schema are not yet available on Opportunity, Policy, or Audio/Visual.

Front page

Schema.org:WebSite

  • @type (required)
  • name
  • description
  • image 

Schema.org:Organization

  • @type (required)
  • name
  • description

Basic pages

Schema.org:WebPage

  • @type (required)
  • name
  • description
  • image 

News

Schema.org:Article

  • @type (required)
  • headline
  • description
  • datePublished. Required by Google.
  • author 
    • @type (required)
    • name
  • publisher. Typically, your group or Stanford University.

Course

Schema.org:Course

  • @type (required)
  • name
  • courseCode
  • description
  • provider
    • @type (required)
    • name

Events

Schema.org:Event

  • @type (required)
  • name
  • description
  • startDate
  • endDate
  • location
    • @type
    • name
  • organizer
    • @type
    • name
    • url
  • eventAttendanceMode

Person

Schema.org:Person

  • @type (required)
  • name
  • jobTitle
  • affiliation
    • @type
    • name
    • url

Publication

Publications have two options.

Schema.org:Article

  • @type (required)
  • headline
  • description
  • datePublished
  • author
    • @type
    • name

Schema.org:Book

  • @type (required)
  • name
  • description
  • datePublished
  • author
    • @type
    • name

Related topics

Metadata is information you can add about a page or other content. You can add an image and description for each page of your site.