Tools for dealing with schemas, particularly JSONschema
- trimesh.schemas.resolve(item, resolver)
Given a JSON Schema containing $ref keys recursively evaluate to find and replace referenced files with their actual values using trimesh.resolvers.Resolver objects.
item (any) – JSON schema including $ref to other files
resolver (trimesh.visual.resolver.Resolver) – Resolver to fetch referenced assets
result – JSONSchema with references replaced
- Return type