demo: validated: # @NotBlank -- blank is exactly what it rejects. name: " " # @Min(1) @Max(65535) port: 99999 # @Pattern(regexp = "https?://.*") endpoint: "ftp://files.example.com" pool: # @Min(1) @Max(100) on a nested record. Only checked because the component # carries @Valid; without it this passes. size: 4000