@@ -103,6 +103,7 @@ enum Platform {
103103}
104104
105105@ jsonSchema ("stage-list-v1.json" )
106+ @ extension ("additionalProperties" , false )
106107model StageList {
107108 /**
108109 * A list of [stages](https://blue-build.org/reference/stages/) that are executed before the build of the final image.
@@ -139,6 +140,7 @@ model Stage {
139140}
140141
141142@ jsonSchema ("module-list-v1.json" )
143+ @ extension ("additionalProperties" , false )
142144model ModuleList {
143145 /**
144146 * A list of [modules](https://blue-build.org/reference/module/) that is executed in order. Multiple of the same module can be included.
@@ -182,6 +184,7 @@ union Secret {
182184 SecretSsh ,
183185}
184186
187+ @ extension ("additionalProperties" , false )
185188model SecretEnv {
186189 /** A secret pulled from an environment variable. */
187190 type : "env" ;
@@ -193,6 +196,7 @@ model SecretEnv {
193196 mount : SecretMount ;
194197}
195198
199+ @ extension ("additionalProperties" , false )
196200model SecretFile {
197201 /** A secret pulled from a file. */
198202 type : "file" ;
@@ -207,6 +211,7 @@ model SecretFile {
207211 mount : SecretMount ;
208212}
209213
214+ @ extension ("additionalProperties" , false )
210215model SecretExec {
211216 /** A secret pulled from the stdout of a command. */
212217 type : "exec" ;
@@ -221,6 +226,7 @@ model SecretExec {
221226 mount : SecretMount ;
222227}
223228
229+ @ extension ("additionalProperties" , false )
224230model SecretSsh {
225231 /** Mount the SSH socket to use the hosts SSH socket. */
226232 type : "ssh" ;
@@ -231,6 +237,7 @@ union SecretMount {
231237 SecretMountFile ,
232238}
233239
240+ @ extension ("additionalProperties" , false )
234241model SecretMountEnv {
235242 /** A secret pulled from a file on the host system. */
236243 type : "env" ;
@@ -239,6 +246,7 @@ model SecretMountEnv {
239246 name : string ;
240247}
241248
249+ @ extension ("additionalProperties" , false )
242250model SecretMountFile {
243251 /** A secret pulled from a file on the host system. */
244252 type : "file" ;
0 commit comments