Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions packages/seo-graph-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,10 @@ missing pieces during development.

### Piece builders

All builders take an input object and the `IdFactory`, and return a plain
object with `@type` and `@id`. Builders for CreativeWork subtypes (`WebSite`,
The dedicated builders take an input object and the `IdFactory`, and return a
plain object with `@type` and `@id`. `buildPiece` is the exception: it takes
only the input object — pass `@id` and `@type` inline in that object. Builders
for CreativeWork subtypes (`WebSite`,
`WebPage`, `Article`) share a common set of optional fields via
`CreativeWorkFields`: `description`, `inLanguage`, `datePublished`,
`dateModified`, `about`, `copyrightHolder`, `copyrightYear`,
Expand Down