Skip to content

Commit

Permalink
Make package name expectation explicit
Browse files Browse the repository at this point in the history
Using `type: string` & pattern, rather than `const` due to bug in
jsonvalidate
  • Loading branch information
AlexAxthelm committed Jan 31, 2024
1 parent bb34d9f commit b8c6018
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions inst/extdata/schema/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
},
"package": {
"description": "Name of the package that processed the file.",
"type": "string"
"type": "string",
"pattern": "^workflow\\.portfolio\\.parsing$"
},
"packageVersion": {
"description": "Version of the package that processed the file.",
Expand Down Expand Up @@ -140,7 +141,7 @@
"required": [
"input_filename",
"input_md5",
"portfolios"
"system_info"
]
}
}

0 comments on commit b8c6018

Please sign in to comment.