|
45 | 45 | * @property Schema[]|Reference[] $oneOf
|
46 | 46 | * @property Schema[]|Reference[] $anyOf
|
47 | 47 | * @property Schema|Reference|null $not
|
| 48 | + * @property Schema|Reference|null $if |
| 49 | + * @property Schema|Reference|null $then |
| 50 | + * @property Schema|Reference|null $else |
| 51 | + * @property Schema[]|Reference[]|null $dependentSchemas |
| 52 | + * @property Schema[]|Reference[]|null $prefixItems |
48 | 53 | * @property Schema|Reference|null $items
|
| 54 | + * @property Schema|Reference|null $contains |
49 | 55 | * @property Schema[]|Reference[] $properties
|
| 56 | + * @property Schema[]|Reference[] $patternProperties |
50 | 57 | * @property Schema|Reference|bool $additionalProperties
|
| 58 | + * @property Schema|Reference|null $propertyNames |
| 59 | + * @property Schema|Reference|null $unevaluatedItems |
| 60 | + * @property Schema|Reference|null $unevaluatedProperties |
51 | 61 | * @property string $description
|
52 | 62 | * @property string $format
|
53 | 63 | * @property mixed $default
|
@@ -94,9 +104,19 @@ protected function attributes(): array
|
94 | 104 | 'oneOf' => [Schema::class],
|
95 | 105 | 'anyOf' => [Schema::class],
|
96 | 106 | 'not' => Schema::class,
|
| 107 | + 'if' => Schema::class, |
| 108 | + 'then' => Schema::class, |
| 109 | + 'else' => Schema::class, |
| 110 | + 'dependentSchemas' => [Type::STRING, Schema::class], |
| 111 | + 'prefixItems' => [Schema::class], |
97 | 112 | 'items' => Schema::class,
|
| 113 | + 'contains' => Schema::class, |
98 | 114 | 'properties' => [Type::STRING, Schema::class],
|
| 115 | + 'patternProperties' => [Type::STRING, Schema::class], |
99 | 116 | //'additionalProperties' => 'boolean' | ['string', Schema::class], handled in constructor
|
| 117 | + 'propertyNames' => Schema::class, |
| 118 | + 'unevaluatedItems' => Schema::class, |
| 119 | + 'unevaluatedProperties' => Schema::class, |
100 | 120 | 'description' => Type::STRING,
|
101 | 121 | 'format' => Type::STRING,
|
102 | 122 | 'default' => Type::ANY,
|
|
0 commit comments