File tree 1 file changed +42
-4
lines changed
1 file changed +42
-4
lines changed Original file line number Diff line number Diff line change 56
56
"document" : {
57
57
"description" : " The knowledge documents." ,
58
58
"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
+ }
63
72
],
64
73
"unevaluatedProperties" : false ,
65
74
"properties" : {
93
102
" folder/knowledge_doc.md"
94
103
]
95
104
}
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
+ }
96
134
}
97
135
}
98
136
}
You can’t perform that action at this time.
0 commit comments