Skip to content

Make JSON examples minimal #1666

@duncandewhurst

Description

@duncandewhurst

Following on from the discussion started in #1661 (comment):

To ease comprehension, we should have minimal (but coherent) examples. That is, the JSON files in docs/examples should contain only the fields needed to illustrate the specific documentation pages that they feature in. Minimal examples are also easier to maintain, for example, to reflect a schema change.

The purpose of this issue differs from the purpose of #1449, which is to avoid examples that are incoherent, or that are too abstract (e.g. Anytown buys widgets).

I'll review the examples to identify those whose clarity would be improved by removing fields. I'll do that after #1661 is done to avoid any duplication of effort.

Metadata

Metadata

Labels

Focus - ExamplesRelating to examples in the guidance

Type

No type

Projects

Status

Review in progress

Relationships

None yet

Development

No branches or pull requests

Issue actions