mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 22:12:53 +01:00
116 lines
2.3 KiB
JSON
116 lines
2.3 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"title": "Array_of_ApplicationConfiguration",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/ApplicationConfiguration"
|
|
},
|
|
"definitions": {
|
|
"ApplicationConfiguration": {
|
|
"type": "object",
|
|
"required": [
|
|
"identifier",
|
|
"name"
|
|
],
|
|
"properties": {
|
|
"identifier": {
|
|
"$ref": "#/definitions/IdWithIdentifier"
|
|
},
|
|
"ignore_identifiers": {
|
|
"type": [
|
|
"array",
|
|
"null"
|
|
],
|
|
"items": {
|
|
"$ref": "#/definitions/MatchingRule"
|
|
}
|
|
},
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"options": {
|
|
"type": [
|
|
"array",
|
|
"null"
|
|
],
|
|
"items": {
|
|
"$ref": "#/definitions/ApplicationOptions"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"ApplicationIdentifier": {
|
|
"type": "string",
|
|
"enum": [
|
|
"Exe",
|
|
"Class",
|
|
"Title",
|
|
"Path"
|
|
]
|
|
},
|
|
"ApplicationOptions": {
|
|
"type": "string",
|
|
"enum": [
|
|
"object_name_change",
|
|
"layered",
|
|
"tray_and_multi_window",
|
|
"force",
|
|
"border_overflow"
|
|
]
|
|
},
|
|
"IdWithIdentifier": {
|
|
"type": "object",
|
|
"required": [
|
|
"id",
|
|
"kind"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"$ref": "#/definitions/ApplicationIdentifier"
|
|
},
|
|
"matching_strategy": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/definitions/MatchingStrategy"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"MatchingRule": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/definitions/IdWithIdentifier"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/IdWithIdentifier"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"MatchingStrategy": {
|
|
"type": "string",
|
|
"enum": [
|
|
"Legacy",
|
|
"Equals",
|
|
"StartsWith",
|
|
"EndsWith",
|
|
"Contains",
|
|
"Regex",
|
|
"DoesNotEndWith",
|
|
"DoesNotStartWith",
|
|
"DoesNotEqual",
|
|
"DoesNotContain"
|
|
]
|
|
}
|
|
}
|
|
}
|