1 | <?php |
||
38 | final class DraftFour extends RuleSetContainer |
||
39 | { |
||
40 | const DEFAULT_RULES = [ |
||
41 | AdditionalItems::KEYWORD => AdditionalItems::class, |
||
42 | AdditionalProperties::KEYWORD => AdditionalProperties::class, |
||
43 | AllOf::KEYWORD => AllOf::class, |
||
44 | Anyof::KEYWORD => AnyOf::class, |
||
45 | Dependencies::KEYWORD => Dependencies::class, |
||
46 | Enum::KEYWORD => Enum::class, |
||
47 | ExclusiveMaximum::KEYWORD => ExclusiveMaximum::class, |
||
48 | ExclusiveMinimum::KEYWORD => ExclusiveMinimum::class, |
||
49 | Format::KEYWORD => Format::class, |
||
50 | Items::KEYWORD => Items::class, |
||
51 | Maximum::KEYWORD => Maximum::class, |
||
52 | MaxItems::KEYWORD => MaxItems::class, |
||
53 | MaxLength::KEYWORD => MaxLength::class, |
||
54 | MaxProperties::KEYWORD => MaxProperties::class, |
||
55 | Minimum::KEYWORD => Minimum::class, |
||
56 | MinItems::KEYWORD => MinItems::class, |
||
57 | MinLength::KEYWORD => MinLength::class, |
||
58 | MinProperties::KEYWORD => MinProperties::class, |
||
59 | MultipleOf::KEYWORD => MultipleOf::class, |
||
60 | Not::KEYWORD => Not::class, |
||
61 | OneOF::KEYWORD => OneOf::class, |
||
62 | Pattern::KEYWORD => Pattern::class, |
||
63 | PatternProperties::KEYWORD => PatternProperties::class, |
||
64 | Properties::KEYWORD => Properties::class, |
||
65 | Required::KEYWORD => Required::class, |
||
66 | Type::KEYWORD => Type::class, |
||
67 | UniqueItems::KEYWORD => UniqueItems::class, |
||
68 | ]; |
||
69 | |||
70 | 242 | public function __construct(array $rules = []) |
|
74 | } |
||
75 |