feat: harden CAD showcase skill and delivery pipeline
This commit is contained in:
31
schemas/variants_manifest.schema.json
Normal file
31
schemas/variants_manifest.schema.json
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://cad-building-showcase.local/schemas/variants-manifest-v1.json",
|
||||
"title": "CAD Building Showcase variants manifest",
|
||||
"type": "object",
|
||||
"required": ["manifest_version", "name", "default_key", "variants"],
|
||||
"properties": {
|
||||
"manifest_version": {"const": 1},
|
||||
"name": {"type": "string"},
|
||||
"default_key": {"type": "string"},
|
||||
"variants": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": ["key", "label", "file", "source_glb", "metadata", "spec"],
|
||||
"properties": {
|
||||
"key": {"type": "string", "minLength": 1},
|
||||
"label": {"type": "string"},
|
||||
"description": {"type": "string"},
|
||||
"file": {"type": "string"},
|
||||
"source_glb": {"type": "string"},
|
||||
"metadata": {"type": "string"},
|
||||
"spec": {"type": "string"}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
Reference in New Issue
Block a user