Skip to content

Commit

Permalink
Support units in metadata schemas and display them
Browse files Browse the repository at this point in the history
  • Loading branch information
hevp committed Jan 8, 2021
1 parent 58e57ed commit c5f8337
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions b2share/modules/schemas/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
# the properties which are defined must have this structure
"title": {"type": "string"},
"description": {"type": "string"},
"unit": {"type": "string"},
"type": {
"enum": ["boolean", "integer", "number", "string", "array"]
},
Expand Down

0 comments on commit c5f8337

Please sign in to comment.