Cookies & analytics

    We use cookies for analytics and to serve ads. Accept to enable Google Analytics and AdSense. You can decline to stay opt-out.

    SwiftSchema Logo

    SwiftSchema

    Intuitive Schema Generation at Your Fingertips

    AboutLearnContact
      Stack

      Campus / Education Stack

      Campus or department pages with educational org, courses, instances, FAQs, and breadcrumb context.

      Open generatorValidate in Rich Results Test

      When to use this stack

      • Campus/department hubs listing courses and cohorts
      • Program pages needing schedule clarity and navigation
      • Pages where FAQs clarify prerequisites, modality, and aid

      What's included

      Required properties (stack union)

      Ensure every applicable required property is present in your implementation. Nested props reference their parent objects (for example, `offers.priceCurrency`).

      address.addressCountry
      courseMode
      description
      hasCourseInstance[].@id
      itemListElement[].name
      location.name
      mainEntity[].@type=Question
      mainEntity[].acceptedAnswer.text
      name
      provider.@id
      startDate
      url

      Recommended properties (stack union)

      address.addressLocality
      address.addressRegion
      courseCode
      educationalCredentialAwarded
      endDate
      instructor.name
      itemListElement[].item
      learningResourceType
      logo
      mainEntity[].acceptedAnswer.text
      mainEntity[].author.name
      mainEntity[].name
      offers.price
      offers.priceCurrency
      offers.url

      Combined JSON-LD

      Paste as a single script tag. Keep product details, offer data, shipping/returns, and FAQ answers in sync with the page.

      Validate
      [
        {
          "@context": "https://schema.org",
          "@type": "EducationalOrganization",
          "@id": "https://www.example.edu/departments/data#org",
          "name": "Example University — Data Science Dept",
          "url": "https://www.example.edu/departments/data",
          "logo": "https://www.example.edu/images/logo.png",
          "address": { "@type": "PostalAddress", "addressCountry": "US" }
        },
        {
          "@context": "https://schema.org",
          "@type": "Course",
          "@id": "https://www.example.edu/courses/data-101#course",
          "name": "Data Science 101",
          "description": "Intro to Python, stats, and data visualization.",
          "provider": { "@id": "https://www.example.edu/departments/data#org" },
          "hasCourseInstance": [
            { "@id": "https://www.example.edu/courses/data-101#spring" }
          ],
          "courseCode": "DATA101",
          "educationalCredentialAwarded": "Certificate"
        },
        {
          "@context": "https://schema.org",
          "@type": "CourseInstance",
          "@id": "https://www.example.edu/courses/data-101#spring",
          "name": "Spring 2026 — Data Science 101",
          "courseMode": "InPerson",
          "startDate": "2026-03-20",
          "endDate": "2026-06-10",
          "location": { "@type": "Place", "name": "Main Campus" },
          "instructor": { "@type": "Person", "name": "Dr. Priya Desai" },
          "offers": { "@type": "Offer", "price": "1200.00", "priceCurrency": "USD", "url": "https://www.example.edu/courses/data-101/apply" }
        },
        {
          "@context": "https://schema.org",
          "@type": "FAQPage",
          "mainEntity": [
            { "@type": "Question", "name": "Are there prerequisites?", "acceptedAnswer": { "@type": "Answer", "text": "No prerequisites. Familiarity with spreadsheets helps." } },
            { "@type": "Question", "name": "Is there financial aid?", "acceptedAnswer": { "@type": "Answer", "text": "Yes. Scholarships are available; see the apply page." } }
          ]
        },
        {
          "@context": "https://schema.org",
          "@type": "BreadcrumbList",
          "itemListElement": [
            { "@type": "ListItem", "position": 1, "name": "Home", "item": "https://www.example.edu" },
            { "@type": "ListItem", "position": 2, "name": "Departments", "item": "https://www.example.edu/departments" },
            { "@type": "ListItem", "position": 3, "name": "Data Science", "item": "https://www.example.edu/departments/data" }
          ]
        }
      ]

      Implementation steps

      1. Start from your live product detail page content; ensure titles, prices, and availability match the page.
      2. Embed one JSON-LD script in the head or just before the closing body tag using the combined example as a template.
      3. Fill shipping details for each region you serve and keep them aligned with on-page shipping tables.
      4. Attach your canonical MerchantReturnPolicy URL and keep the policy text in sync with Merchant Center.
      5. Add 3–6 FAQs that address purchase blockers (shipping, returns, compatibility) and keep answers consistent with visible content.
      6. Validate in the Rich Results Test and revalidate after price/availability/policy changes.

      Common errors and fixes

      FAQs

      Do I need CourseInstance for self-paced?

      Use CourseInstance for scheduled cohorts. For self-paced, omit CourseInstance and focus on Course.

      Can I list multiple courses?

      Include only courses visible on the page. For catalogs, see the Course Marketplace stack.

      References