
    Mi                     "    S r SSKrSSKJr  S rg)zS
schemas.py
-------------

Tools for dealing with schemas, particularly JSONschema
    N   )decode_textc                    [        U [        5      (       a  U  Vs/ s H  n[        X!5      PM     sn$ [        U [        5      (       a  SU ;   a[  [	        UR                  U R                  S5      5      5      nU R                  [        R                  " U5      5        [        X5        U $ U R                  5        H  n[        X!5        M     U $ s  snf )a  
Given a JSON Schema containing `$ref` keys recursively
evaluate to find and replace referenced files with their
actual values using trimesh.resolvers.Resolver objects.

Parameters
---------------
item : any
  JSON schema including `$ref` to other files
resolver : trimesh.visual.resolver.Resolver
  Resolver to fetch referenced assets

Returns
----------
result : any
  JSONSchema with references replaced
z$ref)
isinstancelistresolvedictr   getpopupdatejsonloadsvalues)itemresolveriraws       i/var/www/eduai.edurigo.com/storigo/production/storigo_env/lib/python3.13/site-packages/trimesh/schemas.pyr   r      s    $ $.23d$d33	D$		T> hll488F+;<=CKK

3(D#
 K [[]$ #K 4s   C)__doc__r   utilr   r        r   <module>r      s     !r   