Class: GOBL::Head::Header
- Defined in:
- lib/generated/gobl/head/header.rb
Overview
Header defines the metadata of the body.
Constant Summary collapse
- SCHEMA_ID =
The Schema ID of the GOBL Header structure
'https://gobl.org/draft-0/head/header'
Instance Attribute Summary collapse
-
#dig ⇒ GOBL::DSig::Digest
readonly
Digest of the canonical JSON body.
-
#draft ⇒ Boolean
readonly
When true, implies that this document should not be considered final.
-
#meta ⇒ GOBL::CBC::Meta
readonly
Additional semi-structured information about this envelope.
-
#notes ⇒ String
readonly
Any information that may be relevant to other humans about this envelope.
-
#stamps ⇒ Array<GOBL::Head::Stamp>
readonly
Seals of approval from other organisations that can only be added to non-draft envelopes.
-
#tags ⇒ Array<String>
readonly
Set of labels that describe but have no influence on the data.
-
#uuid ⇒ String
readonly
Unique UUIDv1 identifier for the envelope.
Method Summary
Methods inherited from Object
Methods inherited from Struct
#as_json, from_data, from_json!, #to_json
Instance Attribute Details
#dig ⇒ GOBL::DSig::Digest (readonly)
Digest of the canonical JSON body.
24 |
# File 'lib/generated/gobl/head/header.rb', line 24 property :dig, GOBL::DSig::Digest |
#draft ⇒ Boolean (readonly)
When true, implies that this document should not be considered final. Digital signatures are optional.
50 |
# File 'lib/generated/gobl/head/header.rb', line 50 property :draft, Boolean |
#meta ⇒ GOBL::CBC::Meta (readonly)
Additional semi-structured information about this envelope.
40 |
# File 'lib/generated/gobl/head/header.rb', line 40 property :meta, GOBL::CBC::Meta |
#notes ⇒ String (readonly)
Any information that may be relevant to other humans about this envelope
45 |
# File 'lib/generated/gobl/head/header.rb', line 45 property :notes, String |
#stamps ⇒ Array<GOBL::Head::Stamp> (readonly)
Seals of approval from other organisations that can only be added to non-draft envelopes.
30 |
# File 'lib/generated/gobl/head/header.rb', line 30 property :stamps, [GOBL::Head::Stamp] |
#tags ⇒ Array<String> (readonly)
Set of labels that describe but have no influence on the data.
35 |
# File 'lib/generated/gobl/head/header.rb', line 35 property :tags, [String] |
#uuid ⇒ String (readonly)
Unique UUIDv1 identifier for the envelope.
18 |
# File 'lib/generated/gobl/head/header.rb', line 18 property :uuid, String |