Introduction | schema-org-go | Spatie       

 SPATIE  

schema-org-go
=============

spatie.be/open-source

  [Docs](https://spatie.be/docs)  [Schema-org-go](https://spatie.be/docs/schema-org-go/v1)  Introduction

 Version   v1      

 Other versions for crawler [v1](https://spatie.be/docs/schema-org-go/v1) 

  Introduction    
- [ Introduction ](https://spatie.be/docs/schema-org-go/v1/introduction)
- [ Installation and setup ](https://spatie.be/docs/schema-org-go/v1/installation-and-setup)
- [ Usage ](https://spatie.be/docs/schema-org-go/v1/usage)
- [ Advanced usage ](https://spatie.be/docs/schema-org-go/v1/advanced-usage)
- [ Graph - multiple items ](https://spatie.be/docs/schema-org-go/v1/graphs)
- [ Multi typed entities ](https://spatie.be/docs/schema-org-go/v1/multi-typed-entities)
- [ Generating types ](https://spatie.be/docs/schema-org-go/v1/generating-types)
- [ Testing ](https://spatie.be/docs/schema-org-go/v1/testing)
- [ Releasing ](https://spatie.be/docs/schema-org-go/v1/releasing)
- [ Changelog ](https://spatie.be/docs/schema-org-go/v1/changelog)
- [ Support us ](https://spatie.be/docs/schema-org-go/v1/support-us)

  Schema-org-go 
===============

 Generate Schema.org structured data in Go 

### Useful links

- [Repository](https://github.com/spatie/schema-org-go)
- [Discussions](https://github.com/spatie/schema-org-go/discussions)

Introduction
------------

`schema-org-go` provides a fluent builder for Schema.org types and their properties. The generated code comes from Schema.org's JSON-LD standards file, so it provides constructors and methods for the entire non-primitive vocabulary.

Build a local business with its name, email and contact point, then render it as a JSON-LD script. Nested entities remain live, so you can fill them out elsewhere before rendering.

The package includes graphs for multiple items, node identifiers, references, multi-typed entities and enumeration constants. Script output escapes HTML delimiters and CSP nonce attributes.

This is the Go port of [spatie/schema-org](https://github.com/spatie/schema-org). It is framework-independent and has no runtime dependencies. It follows the PHP package's permissive property behavior. It does not validate your structured data against Google's requirements.

Start with [installation and setup](installation-and-setup), then read [usage](usage).

 A good
match?
-------------

### What we do best

- All things Laravel
- Custom frontend components
- Building APIs
- AI-powered features
- Simplifying things
- Clean solutions
- Integrating services

### Not our cup of tea

- WordPress themes
- Cutting corners
- Free mockups to win a job
- "Just execute the briefing"

 In short: we'd like to be a **substantial part** of your project.

 [ Get in touch via email ](mailto:info@spatie.be?subject=A%20good%20match%21&body=Tell%20us%20as%20much%20as%20you%20can%20about%0A-%20your%20online%20project%0A-%20your%20planning%0A-%20your%20budget%0A-%20%E2%80%A6%0A%0AAnything%20that%20helps%20us%20to%20start%20straightforward%21)
