40 lines
916 B
YAML
40 lines
916 B
YAML
$schema: "informational"
|
|
title: UI Design Code Bundle Manifest (informal schema)
|
|
type: object
|
|
required:
|
|
- id
|
|
- version
|
|
- description
|
|
- entries
|
|
properties:
|
|
id:
|
|
type: string
|
|
version:
|
|
type: integer
|
|
description:
|
|
type: string
|
|
conflict_policy:
|
|
type: string
|
|
enum: [overwrite, skip, merge-manual]
|
|
variables:
|
|
type: array
|
|
items:
|
|
type: object
|
|
required: [name]
|
|
properties:
|
|
name: { type: string }
|
|
required: { type: boolean }
|
|
default: {}
|
|
entries:
|
|
type: array
|
|
items:
|
|
type: object
|
|
required: [from, to]
|
|
properties:
|
|
from: { type: string, description: "path under kit/" }
|
|
to: { type: string, description: "path under host repo root" }
|
|
template: { type: boolean }
|
|
mode: { type: string, enum: [file, dir] }
|
|
conflict_policy: { type: string, enum: [overwrite, skip, merge-manual] }
|
|
|