Skip to content

Commit

Permalink
update model metadata schema model weight date can be empty for algor…
Browse files Browse the repository at this point in the history
…ithmic models
  • Loading branch information
LennyN95 committed Apr 13, 2024
1 parent d2865be commit 917311f
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/schemas/meta.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -313,9 +313,17 @@
"type": "object",
"properties": {
"weights": {
"type": "string",
"description": "The date of model weights (yyy-mm-dd).",
"format": "date"
"anyOf": [
{
"type": "string",
"format": "date"
},
{
"type": "string",
"maxLength": 0
}
]
},
"code": {
"type": "string",
Expand Down

0 comments on commit 917311f

Please sign in to comment.