Skip to content

Commit

Permalink
Merge pull request #1238 from IntersectMBO/fix/fix-empty-strings-drep…
Browse files Browse the repository at this point in the history
…-data-validation

fix: fix empty strings drep data validation
  • Loading branch information
MSzalowski authored Jun 11, 2024
2 parents a4e522f + 36584b9 commit 854ab5c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions govtool/metadata-validation/src/schemas/cipStandardSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ export const cipStandardSchema: StandardSpecification = {
'@value': Joi.string().valid('blake2b-256').required(),
}),
body: Joi.object({
bio: Joi.object({ '@value': Joi.string() }),
dRepName: Joi.object({ '@value': Joi.string() }),
email: Joi.object({ '@value': Joi.string() }),
bio: Joi.object({ '@value': Joi.string().allow('') }),
dRepName: Joi.object({ '@value': Joi.string().allow('') }),
email: Joi.object({ '@value': Joi.string().allow('') }),
references: Joi.array().items(
Joi.object({
'@type': Joi.string(),
Expand Down

0 comments on commit 854ab5c

Please sign in to comment.