(version=None, schema_file=SCHEMA_META)
return schema
Load JSON Schema to for either a `sigmf-meta` or `sigmf-collection`.

    In the future load specific schema versions.
Load JSON Schema to for either a `sigmf-meta` or `sigmf-collection`.
Load JSON Schema to for either a sigmf - meta or sigmf - collection .
def get_schema(version=None, schema_file=SCHEMA_META):
    '''
    Load JSON Schema to for either a `sigmf-meta` or `sigmf-collection`.

    In the future load specific schema versions.
    '''
    schema_path = os.path.join(
        utils.get_schema_path(os.path.dirname(utils.__file__)),
        schema_file
    )
    with open(schema_path, 'rb') as handle:
        schema = json.load(handle)
    return schema
def get_schema ( version = None , schema_file = SCHEMA_META ) : schema_path = os . path . join ( utils . get_schema_path ( os . path . dirname ( utils . __file__ ) ) , schema_file ) with open ( schema_path , 'rb' ) as handle : schema = json . load ( handle ) return schema