JsonSchema:MetaSchema/Dependencies

JsonSchema:MetaSchema/Dependencies

From Wikisphere
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"
minProperties1
maxProperties1
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
"op"
"value"
additionalPropertiesfalse
title"Compare Another Field to Constant"
type"object"
properties
path
type"string"
op
$ref"#/definitions/operator"
value
type
"string"
"number"
"boolean"
"null"
required
"path"
"op"
"value"
additionalPropertiesfalse
title"Compare Current Field to Another Field"
type"object"
properties
path
type"string"
op
type"string"
enum
"=="
"!="
">"
"<"
">="
"<="
required
"path"
"op"
additionalPropertiesfalse
title"Exists Check"
type"object"
properties
op
type"string"
const"exists"
path
type"string"
required
"op"
"path"
additionalPropertiesfalse
title"Matches Regex"
type"object"
properties
op
type"string"
const"matches"
value
type"string"
path
type"string"
required
"op"
"value"
additionalPropertiesfalse
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"
minItems1
required
"and"
additionalPropertiesfalse
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"
minItems1
required
"or"
additionalPropertiesfalse
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
"not"
additionalPropertiesfalse