doc
property) with a special type called schema.Object that uses the embedded $schema
property to determine what type of GOBL payload is being used.
Alongside the doc
property inside an Envelope, you’ll find a head
of type head.Header and array of signatures (dsig.Signature) which ensure that the data is verifiable with any additional properties that help describe the payload.
You can find all the pre-built GOBL JSON Schema in the repository’s data directory