diff --git a/src/Annotations/Schema.php b/src/Annotations/Schema.php index bd851f8b8..be6e3e6d7 100644 --- a/src/Annotations/Schema.php +++ b/src/Annotations/Schema.php @@ -196,6 +196,18 @@ class Schema extends AbstractAnnotation */ public $allOf; + /** + * An instance validates successfully against this property if it validates successfully against at least one schema defined by this property's value. + * @var Schema[] + */ + public $anyOf; + + /** + * An instance validates successfully against this property if it validates successfully against exactly one schema defined by this property's value. + * @var type + */ + public $oneOf; + /** * http://json-schema.org/latest/json-schema-validation.html#anchor64 * @var bool|object