@sinet/validation
Advanced tools
Comparing version 1.3.15-f to 1.3.15-g
{ | ||
"name": "@sinet/validation", | ||
"version": "1.3.15f", | ||
"version": "1.3.15g", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -8,5 +8,5 @@ 'use strict'; | ||
'mcId' : Joi.string().guid().required().description( 'The microcredentials id' ), | ||
'overallPurpose' : Joi.string().required().description( 'The purpose of the microcredentials' ), | ||
'overallPurpose' : Joi.string().required().allow( [ null, '' ] ).description( 'The purpose of the microcredentials' ), | ||
'badgeFilename' : Joi.string().required().description( 'The microcredentials\'s badge location' ), | ||
'requiredCompetencies' : Joi.string().required().description( 'The requirements to complete the mc' ) | ||
'requiredCompetencies' : Joi.string().required().allow( [ null, '' ] ).description( 'The requirements to complete the mc' ) | ||
}; |
@@ -8,3 +8,3 @@ 'use strict'; | ||
'title' : Joi.string().required().description( 'The microcredentials title' ), | ||
'description' : Joi.string().optional().allow( null ).description( 'The microcredentials description' ), | ||
'description' : Joi.string().optional().allow( [ null, '' ] ).description( 'The microcredentials description' ), | ||
'level' : Joi.any().valid( [ 'basic', 'premium' ] ).required().description( 'The level for the mc' ), | ||
@@ -11,0 +11,0 @@ 'creator' : Joi.string().required().description( 'The id of the microcredentials creator' ), |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
36056