Hi,

In migrating the Data mapper tool for ESB we need to $subject in order to
differentiate between json schema and json files on loading from file
system and registry.

according to [1] the official mime type for json schema is "
application/schema+json" and we can go ahead with that as the media type
for json schema registry resources.

For local file system files we can use .jschema to identify json-schema
files.

WDYT?


[1] http://stackoverflow.com/questions/9391370/json-schema-file-extension

Regards
Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to