Parsing the schema should come before trying to persist the String definition. That way, if the parse fails on an invalid definition, we don't keep having the error when using the URL.