From 367ac2325f8a5a8193888a5f2e045288fb02ee05 Mon Sep 17 00:00:00 2001 From: Danilo Bargen Date: Thu, 11 Apr 2024 23:25:12 +0200 Subject: [PATCH] Add country_code to location --- 15-draft.json | 9 +++++++++ CHANGELOG.md | 2 ++ 2 files changed, 11 insertions(+) diff --git a/15-draft.json b/15-draft.json index 8d3f6cd..66686c4 100644 --- a/15-draft.json +++ b/15-draft.json @@ -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", diff --git a/CHANGELOG.md b/CHANGELOG.md index e61d528..94917e6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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`: @@ -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