Skip to content

Commit

Permalink
Add country_code to location (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbrgn authored Apr 14, 2024
1 parent 549b69a commit cf6a350
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
9 changes: 9 additions & 0 deletions 15-draft.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,15 @@
"Antarctica/Palmer"
]
},
"country_code": {
"description": "Country code in ISO 3166 alpha-2 format",
"type": "string",
"examples": [
"CH",
"DE",
"UA"
]
},
"hint": {
"description": "Information that can be used to describe how to access your space, if it is not trivial to find when standing at the address",
"type": "string",
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Root level:
`location`:

- [added] The `hint` field was added ([#102])
- [added] The `country_code` field was added ([#108])
- [changed] Make entire `location` field optional to enable the inclusion of groups without physical location ([#106])

`sensors`:
Expand Down Expand Up @@ -107,3 +108,4 @@ Root level:
[#102]: https://github.com/SpaceApi/schema/pull/102
[#105]: https://github.com/SpaceApi/schema/pull/105
[#106]: https://github.com/SpaceApi/schema/pull/106
[#108]: https://github.com/SpaceApi/schema/pull/108

0 comments on commit cf6a350

Please sign in to comment.