Files
tech-log-frontend/schemas/artifacts/build-manifest.schema.json
T

117 lines
2.3 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"buildContext": {
"additionalProperties": false,
"properties": {
"nodeVersion": {
"minLength": 1,
"type": "string"
},
"packageManagerVersion": {
"minLength": 1,
"type": "string"
},
"runnerImage": {
"minLength": 1,
"type": "string"
},
"sourceDateEpoch": {
"anyOf": [
{
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"nodeVersion",
"packageManagerVersion",
"runnerImage",
"sourceDateEpoch"
],
"type": "object"
},
"buildId": {
"minLength": 1,
"type": "string"
},
"commitSha": {
"minLength": 1,
"type": "string"
},
"generatedAt": {
"minLength": 1,
"type": "string"
},
"moduleInventoryHash": {
"minLength": 1,
"type": "string"
},
"outputs": {
"additionalProperties": false,
"properties": {
"directory": {
"minLength": 1,
"type": "string"
},
"moduleInventory": {
"minLength": 1,
"type": "string"
},
"routeChunks": {
"additionalProperties": {
"minLength": 1,
"type": "string"
},
"propertyNames": {
"minLength": 1,
"type": "string"
},
"type": "object"
},
"runtimeConfigSchema": {
"minLength": 1,
"type": "string"
},
"viteManifest": {
"minLength": 1,
"type": "string"
}
},
"required": [
"directory",
"viteManifest",
"moduleInventory",
"routeChunks",
"runtimeConfigSchema"
],
"type": "object"
},
"releaseId": {
"minLength": 1,
"type": "string"
},
"schemaVersion": {
"const": 1,
"type": "number"
}
},
"required": [
"schemaVersion",
"buildId",
"commitSha",
"releaseId",
"moduleInventoryHash",
"generatedAt",
"buildContext",
"outputs"
],
"type": "object"
}