Setting the file. One moment.
Skill 28 · Wix Headless Replatform
Subchapter 28.77
Scripts
scripts/36 filesschemas/common.schema.json
JSON33 lines1 KB
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://wix.com/replatform/0083/common.schema.json",
"$defs": {
"artifactBase": {
"type": "object",
"required": ["schemaVersion", "kind"],
"properties": {
"schemaVersion": { "const": "0083.1" },
"kind": { "type": "string" },
"extensions": {
"type": "object",
"propertyNames": { "pattern": "^[a-z0-9]+(?:[.-][a-z0-9]+)+$" },
"additionalProperties": true
}
}
},
"frozenSpec": {
"type": "object",
"required": ["schemaVersion", "kind", "id", "status", "gapRefs", "hash"],
"properties": {
"schemaVersion": { "const": "0083.1" },
"kind": { "type": "string" },
"id": { "type": "string", "minLength": 1 },
"status": { "enum": ["accepted", "provisional"] },
"gapRefs": { "type": "array", "items": { "type": "string" }, "uniqueItems": true },
"dependencyHashes": { "type": "array", "items": { "type": "string", "pattern": "^[a-f0-9]{64}$" }, "uniqueItems": true },
"hash": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
"extensions": { "type": "object", "additionalProperties": true }
}
}
}
}