Skip to content

Commit 0174c9c

Browse files
feat: update schema
1 parent 7707d82 commit 0174c9c

File tree

5 files changed

+29
-2
lines changed

5 files changed

+29
-2
lines changed

.changeset/afraid-fans-compete.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@json-types/compose": minor
3+
---
4+
5+
Update schema

packages/compose/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ import schema from "@json-types/compose/schema.json";
2222

2323
TypeScript types generated automatically every night and published when there are changes.
2424

25-
- Last change: 2025-07-22T02:17:59.097Z
25+
- Last change: 2025-09-03T01:47:32.401Z
2626
- Source URL: https://raw.githubusercontent.com/compose-spec/compose-spec/master/schema/compose-spec.json

packages/compose/index.d.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1087,6 +1087,14 @@ export interface Service {
10871087
* Network mode to use for the build. Options include 'default', 'none', 'host', or a network name.
10881088
*/
10891089
network?: string;
1090+
/**
1091+
* Add a provenance attestation
1092+
*/
1093+
provenance?: string | boolean;
1094+
/**
1095+
* Add a SBOM attestation
1096+
*/
1097+
sbom?: string | boolean;
10901098
/**
10911099
* Always attempt to pull a newer version of the image.
10921100
*/

packages/compose/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"compose-spec"
1515
],
1616
"x-json-types": {
17-
"lastChangeDate": "2025-07-22T02:17:59.097Z"
17+
"lastChangeDate": "2025-09-03T01:47:32.401Z"
1818
},
1919
"homepage": "https://github.com/swordev/json-types/tree/main/packages/compose",
2020
"bugs": {

packages/compose/schema.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,20 @@
171171
"type": "string",
172172
"description": "Network mode to use for the build. Options include 'default', 'none', 'host', or a network name."
173173
},
174+
"provenance": {
175+
"type": [
176+
"string",
177+
"boolean"
178+
],
179+
"description": "Add a provenance attestation"
180+
},
181+
"sbom": {
182+
"type": [
183+
"string",
184+
"boolean"
185+
],
186+
"description": "Add a SBOM attestation"
187+
},
174188
"pull": {
175189
"type": [
176190
"boolean",

0 commit comments

Comments
 (0)