Support Hashmap field type

Editing schemas with hashmap fields is currently very uncomfortable:

  1. field looks like empty object and the only way to view it’s schema is to open settings dialog
  2. there is no way to define key pattern or set other validation for keys
  3. there is no way to set examples for keys, so generated examples are always require manual adjustment

Suggested ways to improve it:

  1. Add new field type “Hashmap” - it will be object type with defined additionalProperties/patternProperties and propertyNames fields (in json schema view)
  2. Support all string validation for keys (regexp pattern, enum, minLength, maxLength, etc)
  3. Support examples for keys
  4. Support Hashmap fields in example generation (based on examples in schema)

Thank you for your feedback! We’ll work on improving this feature in future updates.