[Blog](https://pigfox.ai/blog)structured datajson-ldschema.org

# JSON-LD basics for site owners

By Peter Sjolin · 28 November 2026

If you want your site to be easier for search engines and AI systems to interpret, structured data helps. For most business sites, the starting point is simple: describe your organisation, your website, and the main thing you actually offer.

This is usually best done with JSON-LD using [Schema.org](https://schema.org/) types. You do not need to mark up everything at once. Start with what is true, keep it consistent with the visible page, and avoid types that sound good but do not match reality.

## What JSON-LD is for

JSON-LD is a way to publish structured data in a machine-readable format. Google supports JSON-LD for structured data on pages, and Schema.org provides the vocabulary many sites use to describe entities such as organisations, products, services, articles, and websites. See Google's documentation at [https://developers.google.com/search/docs/appearance/structured-data/intro-structured-data](https://developers.google.com/search/docs/appearance/structured-data/intro-structured-data) and the Schema.org home page at [https://schema.org/](https://schema.org/).

For site owners, the practical goal is clarity. Structured data can help machines identify:

- who runs the site
- what the site is
- what the business offers
- which page is the canonical source for that information

It does not replace good page titles, descriptions, headings, and crawl access. It adds another clear layer of meaning.

## Start with Organization and WebSite

Two useful types for many sites are `Organization` and `WebSite`.

Use `Organization` to describe the business or entity behind the site. Common properties include:

- `name`
- `url`
- `logo`
- `sameAs`

Use `WebSite` to describe the website itself. Common properties include:

- `name`
- `url`
- `inLanguage`
- `publisher`

A simple pattern is to place both in one JSON-LD script on the homepage and connect them with `@id` values.

Here is a valid example:

```
{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "Organization",
      "@id": "https://example.com/#organization",
      "name": "Example Company",
      "url": "https://example.com/",
      "logo": {
        "@type": "ImageObject",
        "url": "https://example.com/logo.png"
      },
      "sameAs": [
        "https://www.linkedin.com/company/example-company"
      ]
    },
    {
      "@type": "WebSite",
      "@id": "https://example.com/#website",
      "url": "https://example.com/",
      "name": "Example Company",
      "inLanguage": "en",
      "publisher": {
        "@id": "https://example.com/#organization"
      }
    }
  ]
}
```

This does not need to be long. Short and correct is better than long and doubtful.

## Pick the type that is actually true

After `Organization` and `WebSite`, add the type that matches your real offer.

This part matters most. Many sites call everything a `Product`, even when they sell a service. Others mark up a whole company as `SoftwareApplication` when the page is really a marketing homepage, not the software itself. That creates ambiguity.

Use the Schema.org type that best fits the thing the page is about:

- `Product` for a product
- `Service` for a service
- `SoftwareApplication` for software applications
- `Article` for an article
- `FAQPage` for a page that contains a list of questions and answers visible on the page

Check the type definitions on Schema.org before you choose. For example:

- `Product`: [https://schema.org/Product](https://schema.org/Product)
- `Service`: [https://schema.org/Service](https://schema.org/Service)
- `SoftwareApplication`: [https://schema.org/SoftwareApplication](https://schema.org/SoftwareApplication)

A good rule is this: mark up the main entity the page is primarily about, not every possible thing related to it.

If your homepage is mainly about your company, `Organization` plus `WebSite` may be enough. If a page is specifically about one software tool, `SoftwareApplication` may fit that page. If a page sells consulting, `Service` is usually the better choice.

## A simple homepage example

Suppose your business sells a software product. You can describe the organisation, the website, and the product in one graph. Keep the facts aligned with what users can see on the page.

```
{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "Organization",
      "@id": "https://example.com/#organization",
      "name": "Example Company",
      "url": "https://example.com/"
    },
    {
      "@type": "WebSite",
      "@id": "https://example.com/#website",
      "url": "https://example.com/",
      "name": "Example Company",
      "publisher": {
        "@id": "https://example.com/#organization"
      }
    },
    {
      "@type": "SoftwareApplication",
      "@id": "https://example.com/#app",
      "name": "Example App",
      "url": "https://example.com/",
      "applicationCategory": "BusinessApplication",
      "operatingSystem": "Web",
      "publisher": {
        "@id": "https://example.com/#organization"
      }
    }
  ]
}
```

This is only a good fit if the page is truly about a software application. If the business mainly provides a managed service, use `Service` instead.

For a service page, the core could look like this:

```
{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "Organization",
      "@id": "https://example.com/#organization",
      "name": "Example Company",
      "url": "https://example.com/"
    },
    {
      "@type": "Service",
      "@id": "https://example.com/#service",
      "name": "Example Consulting Service",
      "provider": {
        "@id": "https://example.com/#organization"
      },
      "url": "https://example.com/services/example-consulting"
    }
  ]
}
```

## Common mistakes to avoid

The biggest problems are usually basic ones.

### Using types that are not true

Do not mark up a service as a product just because product markup looks more detailed. Do not add `FAQPage` unless the questions and answers are actually on the page. Do not describe reviews, ratings, prices, or offers unless those facts are present and accurate.

Schema.org is flexible, but that does not mean every property belongs on every page.

### Letting structured data contradict the page

Your JSON-LD should match the visible content, the page title, the canonical URL, and the business details elsewhere on the site. If your structured data says one name and your page shows another, machines get conflicting signals.

### Publishing broken JSON

A missing comma or quote breaks the whole block. Validate your JSON before publishing. Also make sure URLs are absolute, like `https://example.com/page`, not relative paths.

### Adding too much too early

You do not need a large graph on day one. A few correct entities are better than many weak ones. Start with your homepage and the key commercial pages.

## How to implement it well

For most sites, these steps are enough:

1. Put a JSON-LD script in the homepage `<head>` or HTML body.
2. Add `Organization` and `WebSite`.
3. On important pages, add the main page-specific type such as `Service`, `Product`, or `SoftwareApplication`.
4. Reuse stable `@id` URLs for the same entity across pages.
5. Keep names, URLs, and descriptions consistent with the visible page.

If you use a CMS, check whether it already outputs some structured data. Do not duplicate the same entity in conflicting ways.

You should also test the rest of the page signals around it. A page can have good JSON-LD and still be unclear if the title, description, headings, canonical URL, or language metadata are weak. A quick check with Pigfox AI's [SEO and AEO check](https://pigfox.ai/) can help you spot those gaps on the homepage.

## What to do next

Use this checklist:

- add `Organization` to the homepage
- add `WebSite` to the homepage
- choose one main Schema.org type per important page
- make sure the type is genuinely true of the page content
- validate the JSON-LD before publishing
- keep URLs, names, and descriptions consistent across the site

Start small, keep it accurate, and expand only when each addition reflects the page truthfully.

---

[More posts](https://pigfox.ai/blog) · [Check your site's SEO and AEO for free](https://pigfox.ai/)


---

The HTML version of this page: https://pigfox.ai/blog/2026/11/json-ld-basics-for-site-owners
