1
0
mirror of synced 2025-12-25 02:17:36 -05:00

add shortName as a required prop in the versions schema

This commit is contained in:
Sarah Schneider
2021-06-09 16:59:09 -04:00
parent 7a93a3a639
commit ca30a48ba6

View File

@@ -6,6 +6,7 @@ const delimiter = '@'
const versionPattern = `${planPattern}${delimiter}${releasePattern}`
module.exports = {
additionalProperties: false,
properties: {
version: {
required: true,
@@ -40,6 +41,11 @@ module.exports = {
description: 'the plan title', // this is the same as the version title, sans numbered release
type: 'string'
},
shortName: {
required: true,
description: 'the short name for the version to be used in Liquid conditionals',
type: 'string'
},
releases: {
required: true,
description: 'an array of all supported releases for the version',