Skip to content

Commit

Permalink
Updating schemas, version, and Changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
samlown committed Jul 23, 2024
1 parent e938d21 commit e0580f0
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 10 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ All notable changes to GOBL will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). See also the [GOBL versions](https://docs.gobl.org/overview/versions) documentation site for more details.

## [v0.110.2] - 2024-07-23

### Added

- `org.Person`: now has `label` field.

### Changed

- `org`: Refining availablility of `label` field.

## [v0.110.0] - 2024-07-23

Multiple version upgrade after merging the [gobl.cli](https://github.com/invopop/gobl.cli) project directly here instead.
Expand Down
5 changes: 4 additions & 1 deletion data/schemas/org/address.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@
"label": {
"type": "string",
"title": "Label",
"description": "Useful identifier, such as home, work, etc."
"description": "Useful identifier, such as home, work, etc.",
"examples": [
"Office"
]
},
"po_box": {
"type": "string",
Expand Down
16 changes: 8 additions & 8 deletions data/schemas/org/party.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@
"title": "UUID",
"description": "Universally Unique Identifier."
},
"label": {
"type": "string",
"title": "Label",
"description": "Label can be used to provide a custom label for the party in a given\ncontext in a single language, for example \"Supplier\", \"Host\", or similar.",
"examples": [
"Supplier"
]
},
"name": {
"type": "string",
"title": "Name",
Expand All @@ -21,14 +29,6 @@
"title": "Alias",
"description": "Alternate short name."
},
"label": {
"type": "string",
"title": "Label",
"description": "Label can be used to provide a custom label for the party in a given\ncontext in a single language, for example \"Supplier\", \"Host\", or similar.",
"examples": [
"Supplier"
]
},
"tax_id": {
"$ref": "https://gobl.org/draft-0/tax/identity",
"title": "Tax Identity",
Expand Down
8 changes: 8 additions & 0 deletions data/schemas/org/person.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@
"title": "UUID",
"description": "Universally Unique Identifier."
},
"label": {
"type": "string",
"title": "Label",
"description": "Label can be used to identify the person in a given context in a single\nlanguage, for example \"Attn\", \"Contact\", \"Responsible\", etc.",
"examples": [
"Attn"
]
},
"name": {
"$ref": "https://gobl.org/draft-0/org/name",
"title": "Name",
Expand Down
7 changes: 7 additions & 0 deletions data/schemas/org/registration.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@
"title": "UUID",
"description": "Universally Unique Identifier."
},
"label": {
"type": "string",
"title": "Label",
"examples": [
"Registration"
]
},
"capital": {
"$ref": "https://gobl.org/draft-0/num/amount",
"title": "Capital"
Expand Down
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
type Version string

// VERSION is the current version of the GOBL library.
const VERSION Version = "v0.110.1"
const VERSION Version = "v0.110.2"

// Semver parses and returns semver
func (v Version) Semver() *semver.Version {
Expand Down

0 comments on commit e0580f0

Please sign in to comment.