v0.1.3-pre.009

This commit is contained in:
2026-08-15 21:25:08 +02:00
parent d1196c03e5
commit a5b4c748ea
17 changed files with 1121 additions and 42 deletions

View File

@@ -0,0 +1,25 @@
{
"format_version": 1,
"default_profile": "local_default",
"profiles": [
{
"profile_id": "local_default",
"documents": [
{
"component_id": "logging",
"file_id": "cfg.std.logging"
}
]
},
{
"profile_id": "local_explicit",
"documents": [
{
"component_id": "logging",
"file_id": "cfg.std.logging",
"profile_id": "local_dev"
}
]
}
]
}

View File

@@ -0,0 +1,62 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "KSP composite configuration",
"type": "object",
"additionalProperties": false,
"required": ["format_version", "default_profile", "profiles"],
"properties": {
"format_version": {
"const": 1
},
"default_profile": {
"type": "string",
"minLength": 1
},
"profiles": {
"type": "array",
"minItems": 1,
"items": {
"$ref": "#/$defs/composite_profile"
}
}
},
"$defs": {
"composite_profile": {
"type": "object",
"additionalProperties": false,
"required": ["profile_id", "documents"],
"properties": {
"profile_id": {
"type": "string",
"minLength": 1
},
"documents": {
"type": "array",
"minItems": 1,
"items": {
"$ref": "#/$defs/document_reference"
}
}
}
},
"document_reference": {
"type": "object",
"additionalProperties": false,
"required": ["component_id", "file_id"],
"properties": {
"component_id": {
"type": "string",
"minLength": 1
},
"file_id": {
"type": "string",
"pattern": "^cfg\\.std\\.[a-z0-9][a-z0-9._-]*$"
},
"profile_id": {
"type": "string",
"minLength": 1
}
}
}
}
}