On Thu, Mar 10, 2016 at 2:41 PM, Sohani Weerasinghe <[email protected]> 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 <[email protected]>
> 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
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to