Update/jsonschemagraph #336
                
     Closed
            
            
          
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
When I had updated jsonschema, the primary dependency of jsonschemagraph a couple of months ago I didn't notice that the validation tests in grip-graphql were failing. Turns out that the underlying jsonschema validator package that I was using stopped validating "format" types, like date-time, UUID, etc automatically, and now i have to define my own formats, and add it to the jsonschema compiler.
Format docs:
https://json-schema.org/draft/2020-12/draft-bhutton-json-schema-validation-00#format
Jsonschema older drafts used to do this for you but now you have to do all this yourself with your own validator functions:
grip/server/metagraphs.go
Lines 167 to 173 in 9ca459b
So now along with the normal jsonschema validation errors that were schema based, it also validates the custom defined datatypes that were define in the jsonschema as well like it had been doing before the schema dep update I did a couple of months ago