| operator | | type | "string" |
|---|
| enum | | "=" |
| "!=" |
| "starts" |
| "!starts" |
| "contains" |
| "!contains" |
| "ends" |
| "!ends" |
| "!null" |
|
|---|
|
|---|
| simpleCondition | | type | "object" |
|---|
| oneOf | | title | "Article" |
|---|
| type | "object" |
|---|
| properties | | type | | const | "article" |
|---|
| x-hidden | true |
|---|
|
|---|
| value | | type | "string" |
|---|
| minLength | 1 |
|---|
| x-input | "mw.widgets.TitleInputWidget" |
|---|
|
|---|
|
|---|
| required | |
|---|
|
| title | "Category" |
|---|
| type | "object" |
|---|
| properties | | type | | const | "category" |
|---|
| x-hidden | true |
|---|
|
|---|
| value | | type | "string" |
|---|
| minLength | 1 |
|---|
| x-input | "mw.widgets.TitleInputWidget" |
|---|
| x-input-config | |
|---|
|
|---|
|
|---|
| required | |
|---|
|
| title | "Property" |
|---|
| type | "object" |
|---|
| properties | | type | | const | "property" |
|---|
| x-hidden | true |
|---|
|
|---|
| property | | type | "string" |
|---|
| minLength | 1 |
|---|
| x-input | "mw.widgets.TitleInputWidget" |
|---|
| x-input-config | |
|---|
|
|---|
| op | | $ref | "#/definitions/operator" |
|---|
|
|---|
| value | |
|---|
|
|---|
| required | | "type" |
| "property" |
| "op" |
| "value" |
|
|---|
|
|
|---|
|
|---|
| orCondition | | title | "Nested OR" |
|---|
| type | "object" |
|---|
| properties | | type | |
|---|
| or | | x-no-title | true |
|---|
| type | "array" |
|---|
| items | | $ref | "#/definitions/condition" |
|---|
|
|---|
|
|---|
|
|---|
| required | |
|---|
|
|---|
| condition | | type | "object" |
|---|
| oneOf | | title | "AND Condition" |
|---|
| type | "array" |
|---|
| x-layout | "tabs" |
|---|
| items | | $ref | "#/definitions/simpleCondition" |
|---|
|
|---|
|
| title | "Nested OR" |
|---|
| $ref | "#/definitions/orCondition" |
|---|
|
|
|---|
|
|---|