load_schema
- asdf.schema.load_schema(url, resolver=None, resolve_references=False)[source]
Load a schema from the given URL.
- Parameters:
- urlstr
The path to the schema
- resolvercallable, optional
A callback function used to map URIs to other URIs. The callable must take a string and return a string or
None
. This is useful, for example, when a remote resource has a mirror on the local filesystem that you wish to use.- resolve_referencesbool, optional
If
True
, resolve all$ref
references.