.jsc is commonly used for javascript configuration files [1] and .jsd is also in use according to [2], therefore IMO it is not suitable to use it for our purpose as it may introduce conflicts.
[1] http://www.file-extensions.org/jsc-file-extension [2] http://filext.com/file-extension/JSD Regards Awanthika Awanthika Senarath Software Engineer, WSO2 Inc. Mobile: +94717681791 On Thu, Mar 10, 2016 at 2:48 PM, Susinda Perera <susi...@wso2.com> wrote: > > > On Thu, Mar 10, 2016 at 2:41 PM, Sohani Weerasinghe <soh...@wso2.com> > wrote: > >> How about using something like .jsc ? >> >> When we were using avro schema we have used .avsc as the extension hence >> shall we use .jsc ? >> >> Thanks, >> Sohani >> >> Sohani Weerasinghe >> Software Engineer >> WSO2, Inc: http://wso2.com >> >> Mobile : +94 716439774 >> Blog :http://christinetechtips.blogspot.com/ >> Twitter : https://twitter.com/sohanichristine >> >> On Thu, Mar 10, 2016 at 2:38 PM, Awanthika Senarath <awanth...@wso2.com> >> wrote: >> >>> 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. >>> >> How about introducing mediatype (if not available) from the registry. and > file extension something like (.jsd similar to .xsd). > >> >>> 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 >>> >>> >>> >> > > > -- > *Susinda Perera* > Software Engineer > B.Sc.(Eng), M.Sc(Computer Science), AMIE(SL) > Mobile:(+94)716049075 > Blog: susinda.blogspot.com > WSO2 Inc. http://wso2.com/ > Tel : 94 11 214 5345 Fax :94 11 2145300 > >
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev