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

      Ethics / Code of Conduct Stack

      Code of conduct pages with WebPage + Organization context, FAQs, and breadcrumb navigation.

      Open generatorValidate in Rich Results Test

      When to use this stack

      • Company code of conduct policies
      • Community guidelines for events or forums
      • Ethics policies with reporting channels

      What's included

      • Declares the policy page and its summary.

      • Organization
        Open generator

        Anchors the organization that owns the policy.

      • Frequently Asked Questions
        Open generator

        Answers enforcement, reporting, and scope questions.

      • Breadcrumb
        Open generator

        Provides navigation context for the policy page.

      Required properties (stack union)

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

      description
      itemListElement[].name
      logo
      mainEntity[].@type=Question
      mainEntity[].acceptedAnswer.text
      name
      url

      Recommended properties (stack union)

      dateModified
      description
      inLanguage
      itemListElement[].item
      mainEntity[].acceptedAnswer.text
      mainEntity[].author.name
      mainEntity[].name
      sameAs

      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": "WebPage",
          "@id": "https://www.example.com/policies/code-of-conduct#page",
          "name": "Code of Conduct",
          "description": "Expected behavior, reporting channels, and enforcement guidelines.",
          "url": "https://www.example.com/policies/code-of-conduct",
          "inLanguage": "en",
          "dateModified": "2025-02-01"
        },
        {
          "@context": "https://schema.org",
          "@type": "Organization",
          "@id": "https://www.example.com#org",
          "name": "Northwind",
          "url": "https://www.example.com",
          "logo": "https://www.example.com/images/northwind-logo.svg",
          "description": "Customer experience platform for modern teams."
        },
        {
          "@context": "https://schema.org",
          "@type": "FAQPage",
          "mainEntity": [
            {
              "@type": "Question",
              "name": "How do I report a violation?",
              "acceptedAnswer": {
                "@type": "Answer",
                "text": "Email ethics@northwind.example or use the anonymous reporting form on this page."
              }
            },
            {
              "@type": "Question",
              "name": "Does this policy apply to contractors?",
              "acceptedAnswer": {
                "@type": "Answer",
                "text": "Yes. The policy applies to employees, contractors, partners, and event attendees."
              }
            },
            {
              "@type": "Question",
              "name": "What happens after a report?",
              "acceptedAnswer": {
                "@type": "Answer",
                "text": "We investigate within five business days and follow up with appropriate actions."
              }
            }
          ]
        },
        {
          "@context": "https://schema.org",
          "@type": "BreadcrumbList",
          "itemListElement": [
            { "@type": "ListItem", "position": 1, "name": "Home", "item": "https://www.example.com" },
            { "@type": "ListItem", "position": 2, "name": "Policies", "item": "https://www.example.com/policies" },
            { "@type": "ListItem", "position": 3, "name": "Code of Conduct", "item": "https://www.example.com/policies/code-of-conduct" }
          ]
        }
      ]

      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

      Should I include enforcement examples?

      If examples are visible on the page, summarize them in FAQ answers for clarity.

      How do I handle multiple reporting channels?

      List all channels on the page and ensure the FAQ matches the visible reporting options.

      References