Annotation Type PatternProperty
-
@Target({}) @Retention(RUNTIME) public @interface PatternProperty
A regular expression and an associated schema.Used with
Schema.patternProperties()
, properties with names that matchregex()
must have values which validate againstschema()
.- See Also:
Schema.patternProperties()
-
-
Element Detail
-
regex
String regex
A regular expression to match against property names.- Returns:
- an ECMA-262 regular expression
-
-