99 lines
2.2 KiB
JSON
99 lines
2.2 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://khadhroony.local/schemas/composition.config.schema.json",
|
|
"title": "Khadhroony binary composition configuration",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"active_profile",
|
|
"sources",
|
|
"profiles"
|
|
],
|
|
"properties": {
|
|
"active_profile": {
|
|
"$ref": "#/$defs/non_empty_string"
|
|
},
|
|
"sources": {
|
|
"$ref": "#/$defs/sources"
|
|
},
|
|
"profiles": {
|
|
"type": "array",
|
|
"minItems": 1,
|
|
"items": {
|
|
"$ref": "#/$defs/profile"
|
|
}
|
|
}
|
|
},
|
|
"$defs": {
|
|
"non_empty_string": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"sources": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"logging",
|
|
"transport",
|
|
"listeners",
|
|
"store",
|
|
"wallet",
|
|
"execution"
|
|
],
|
|
"properties": {
|
|
"logging": {
|
|
"$ref": "#/$defs/non_empty_string"
|
|
},
|
|
"transport": {
|
|
"$ref": "#/$defs/non_empty_string"
|
|
},
|
|
"listeners": {
|
|
"$ref": "#/$defs/non_empty_string"
|
|
},
|
|
"store": {
|
|
"$ref": "#/$defs/non_empty_string"
|
|
},
|
|
"wallet": {
|
|
"$ref": "#/$defs/non_empty_string"
|
|
},
|
|
"execution": {
|
|
"$ref": "#/$defs/non_empty_string"
|
|
}
|
|
}
|
|
},
|
|
"profile": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"name"
|
|
],
|
|
"properties": {
|
|
"name": {
|
|
"$ref": "#/$defs/non_empty_string"
|
|
},
|
|
"application": {
|
|
"type": "object"
|
|
},
|
|
"logging_profile": {
|
|
"$ref": "#/$defs/non_empty_string"
|
|
},
|
|
"transport_profile": {
|
|
"$ref": "#/$defs/non_empty_string"
|
|
},
|
|
"listeners_profile": {
|
|
"$ref": "#/$defs/non_empty_string"
|
|
},
|
|
"store_profile": {
|
|
"$ref": "#/$defs/non_empty_string"
|
|
},
|
|
"wallet_profile": {
|
|
"$ref": "#/$defs/non_empty_string"
|
|
},
|
|
"execution_profile": {
|
|
"$ref": "#/$defs/non_empty_string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|