Skip to content

Commit ec34d49

Browse files
committed
confluence documents
yaml example: ``` document: confluence: host: "https://spaces.redhat.com" spaces: - name: telco5gocp patterns: - Debugging an OCP host ``` Signed-off-by: Costa Shulyupin <[email protected]>
1 parent 78b3b9a commit ec34d49

File tree

1 file changed

+42
-4
lines changed

1 file changed

+42
-4
lines changed

v2/knowledge.json

+42-4
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,19 @@
5656
"document": {
5757
"description": "The knowledge documents.",
5858
"type": "object",
59-
"required": [
60-
"repo",
61-
"commit",
62-
"patterns"
59+
"anyOf": [
60+
{
61+
"required": [
62+
"repo",
63+
"commit",
64+
"patterns"
65+
]
66+
},
67+
{
68+
"required": [
69+
"confluence"
70+
]
71+
}
6372
],
6473
"unevaluatedProperties": false,
6574
"properties": {
@@ -93,6 +102,35 @@
93102
"folder/knowledge_doc.md"
94103
]
95104
}
105+
},
106+
"confluence": {
107+
"type": "object",
108+
"required": [
109+
"host",
110+
"spaces"
111+
],
112+
"properties": {
113+
"host": {
114+
"type": "string"
115+
},
116+
"spaces": {
117+
"type": "array",
118+
"items": {
119+
"type": "object",
120+
"properties": {
121+
"name": {
122+
"type": "string"
123+
},
124+
"patterns": {
125+
"type": "array",
126+
"items": {
127+
"type": "string"
128+
}
129+
}
130+
}
131+
}
132+
}
133+
}
96134
}
97135
}
98136
}

0 commit comments

Comments
 (0)