Skip to content

Commit

Permalink
Merge pull request #1743 from nextstrain/property-url-schema
Browse files Browse the repository at this point in the history
schema-export-v2: explicitly allow node attributes to include url
  • Loading branch information
joverlee521 authored Feb 4, 2025
2 parents 28febb1 + 518005a commit 325b37b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

## __NEXT__

### Bug Fixes

* schema: document node property values support `url`. This feature has been supported in Auspice since v2.25.0. [#1743][] (@joverlee521)

[#1743]: https://github.com/nextstrain/augur/pull/1743

## 28.0.0 (30 January 2025)

Expand Down
6 changes: 6 additions & 0 deletions augur/data/schema-export-v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,12 @@
"value": {
"type": ["string", "number", "boolean"]
},
"url": {
"description": "URL for the property value.",
"$comment": "If a url is specified, then the value is rendered as a link in the on-click panel.",
"type": "string",
"pattern": "^https?://.+$"
},
"confidence": {
"description": "Confidence of the trait date",
"$comment": "Should we use different keys for the two structures here?",
Expand Down

0 comments on commit 325b37b

Please sign in to comment.