JsonSchema:MetaSchema/Dependencies
JsonSchema:MetaSchema/Dependencies
From Wikisphere
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation
Jump to search
| $schema | "http://json-schema.org/draft-07/schema#" |
|---|
| title | "DependencyCondition" |
|---|
| oneOf | | title | "Simple Value" |
|---|
| type | "object" |
|---|
| additionalProperties | | type | | "string" |
| "number" |
| "boolean" |
| "null" |
|
|---|
|
|---|
| minProperties | 1 |
|---|
| maxProperties | 1 |
|---|
|
| title | "Atomic Condition" |
|---|
| $ref | "#/definitions/atomicCondition" |
|---|
|
| title | "AND Condition" |
|---|
| $ref | "#/definitions/andCondition" |
|---|
|
| title | "OR Condition" |
|---|
| $ref | "#/definitions/orCondition" |
|---|
|
| title | "NOT Condition" |
|---|
| $ref | "#/definitions/notCondition" |
|---|
|
|
|---|
| definitions | | operator | | type | "string" |
|---|
| enum | | "==" |
| "!=" |
| ">" |
| "<" |
| ">=" |
| "<=" |
|
|---|
|
|---|
| atomicCondition | | title | "Atomic Condition" |
|---|
| type | "object" |
|---|
| x-input | "OO.ui.DropdownInputWidget" |
|---|
| oneOf | | title | "Compare Current Field to Constant" |
|---|
| type | "object" |
|---|
| properties | | op | | $ref | "#/definitions/operator" |
|---|
|
|---|
| value | | type | | "string" |
| "number" |
| "boolean" |
| "null" |
|
|---|
|
|---|
|
|---|
| required | |
|---|
| additionalProperties | false |
|---|
|
| title | "Compare Another Field to Constant" |
|---|
| type | "object" |
|---|
| properties | | path | |
|---|
| op | | $ref | "#/definitions/operator" |
|---|
|
|---|
| value | | type | | "string" |
| "number" |
| "boolean" |
| "null" |
|
|---|
|
|---|
|
|---|
| required | |
|---|
| additionalProperties | false |
|---|
|
| title | "Compare Current Field to Another Field" |
|---|
| type | "object" |
|---|
| properties | | path | |
|---|
| op | | type | "string" |
|---|
| enum | | "==" |
| "!=" |
| ">" |
| "<" |
| ">=" |
| "<=" |
|
|---|
|
|---|
|
|---|
| required | |
|---|
| additionalProperties | false |
|---|
|
| title | "Exists Check" |
|---|
| type | "object" |
|---|
| properties | | op | | type | "string" |
|---|
| const | "exists" |
|---|
|
|---|
| path | |
|---|
|
|---|
| required | |
|---|
| additionalProperties | false |
|---|
|
| title | "Matches Regex" |
|---|
| type | "object" |
|---|
| properties | | op | | type | "string" |
|---|
| const | "matches" |
|---|
|
|---|
| value | |
|---|
| path | |
|---|
|
|---|
| required | |
|---|
| additionalProperties | false |
|---|
|
|
|---|
|
|---|
| andCondition | | title | "AND Condition" |
|---|
| type | "object" |
|---|
| properties | | and | | type | "array" |
|---|
| items | | oneOf | | title | "Atomic Condition" |
|---|
| $ref | "#/definitions/atomicCondition" |
|---|
|
| title | "Nested AND" |
|---|
| $ref | "#/definitions/andCondition" |
|---|
|
| title | "Nested OR" |
|---|
| $ref | "#/definitions/orCondition" |
|---|
|
| title | "Nested NOT" |
|---|
| $ref | "#/definitions/notCondition" |
|---|
|
|
|---|
|
|---|
| minItems | 1 |
|---|
|
|---|
|
|---|
| required | |
|---|
| additionalProperties | false |
|---|
|
|---|
| orCondition | | title | "OR Condition" |
|---|
| type | "object" |
|---|
| properties | | or | | type | "array" |
|---|
| items | | oneOf | | title | "Atomic Condition" |
|---|
| $ref | "#/definitions/atomicCondition" |
|---|
|
| title | "Nested AND" |
|---|
| $ref | "#/definitions/andCondition" |
|---|
|
| title | "Nested OR" |
|---|
| $ref | "#/definitions/orCondition" |
|---|
|
| title | "Nested NOT" |
|---|
| $ref | "#/definitions/notCondition" |
|---|
|
|
|---|
|
|---|
| minItems | 1 |
|---|
|
|---|
|
|---|
| required | |
|---|
| additionalProperties | false |
|---|
|
|---|
| notCondition | | title | "NOT Condition" |
|---|
| type | "object" |
|---|
| properties | | not | | oneOf | | title | "Atomic Condition" |
|---|
| $ref | "#/definitions/atomicCondition" |
|---|
|
| title | "Nested AND" |
|---|
| $ref | "#/definitions/andCondition" |
|---|
|
| title | "Nested OR" |
|---|
| $ref | "#/definitions/orCondition" |
|---|
|
| title | "Nested NOT" |
|---|
| $ref | "#/definitions/notCondition" |
|---|
|
|
|---|
|
|---|
|
|---|
| required | |
|---|
| additionalProperties | false |
|---|
|
|---|
|
|---|