Class OneOf
Validates successfully if it validates successfully against exactly one schema defined in oneOf attribute
- Phramework\Validate\BaseValidator
-
Phramework\Validate\AnyOf
-
Phramework\Validate\OneOf
Namespace: Phramework\Validate
License: Apache-2.0
Author: Xenofon Spafaridis nohponex@gmail.com
Since: 0.4.0
See: http://json-schema.org/latest/json-schema-validation.html#anchor88
Located at OneOf.php
License: Apache-2.0
Author: Xenofon Spafaridis nohponex@gmail.com
Since: 0.4.0
See: http://json-schema.org/latest/json-schema-validation.html#anchor88
Located at OneOf.php
Methods summary
public
|
|
public
|
Methods inherited from Phramework\Validate\BaseValidator
__get(),
__set(),
createFromArray(),
createFromJSON(),
createFromObject(),
createFromObjectForAdditional(),
getType(),
getTypeAttributes(),
parse(),
parseStatic(),
registerValidator(),
setDefault(),
setDescription(),
setEnum(),
setTitle(),
toArray(),
toJSON(),
toObject(),
validateCommon(),
validateEnum()
Properties summary
protected static
null
|
$type
Overwrite base class type |
#
null
|
protected static
string[]
|
$typeAttributes
Validator's attributes Can be overwritten |
#
[
'oneOf'
]
|
protected
string
|
$anyOfProperty
|
#
'oneOf'
|