code: function runPropsValidator(props) {
    if (!validatorProps(props)) {
      console.log(
        'Error message from validator: ' + validatorProps.errors[0].message
      );
      console.log('Error message from validator: ', validatorProps.errors[0]);
      throw new error.InvalidParameterError(
        'Parameter props is not a well-defined JSON according to the the AST schema. Look at schema.properties.properties!'
      );
    }
  }
docs: /*
  Function to validate Properties for an AST structures.