required(value) {
    var attr = this.attr;
    attr.required = value === true;
  }
Declares an attribute as required. Currently, this is
not enforced and is only used for documentation purposes.

Example:
"required": true