Closed alexanderdean closed 7 years ago
Let's extract an extract_schema(uri) function from the current fix_schema(prefix, schema) as it's quite useful functionality:
extract_schema(uri)
fix_schema(prefix, schema)
extract_schema("iglu:com.acme-corporation_underscore/event_name-dash/jsonschema/1-10-1") {'version': '1-10-1', 'vendor': 'com.acme-corporation_underscore', 'name': 'event_name-dash', 'format': 'jsonschema'}
Let's extract an
extract_schema(uri)
function from the currentfix_schema(prefix, schema)
as it's quite useful functionality: