Custom Validation Messages
Massdriver provides a straightforward way of adding custom validation messages for complex properties. Here is a simple example
title: "Read Capacity"
minimum: "must be larger than 1."
maxiumum: "must be less than 3000."
This example is overly simple. The stock validation messages for maximum and minimum are exactly this. However in situations with really complex regular expression matching, a simple message for the user will always be more useful than returing the regular expression and making a user parse it, which is the default behavior for RJSF.
Here is an example of a GCP GRN.
title: "GCP Resoruce Name (GRN)"
description: "Resrouce identifier provider by GCP"
pattern: "The provided GRN does not follow the expected pattern. See the examples for valid GRNs."