airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shameera Rathnayaka (JIRA)" <>
Subject [jira] [Updated] (AIRAVATA-906) [GSoC-2013] Service and Applictation JSON Schemas
Date Sat, 31 Aug 2013 17:42:51 GMT


Shameera Rathnayaka updated AIRAVATA-906:

    Attachment: JSONSchema_upadte.patch

Hi Suresh, 

All schemas should be under draft-04, I have updated the patch according to that. Thanks for
pointing that out. we don't need to provide "required" parameter in every JSON property this
is an improvement done by draft-04. we can define required property in outer object as an
json array ( eg: "required": ["name" , "value"]  this means name and value properties are
required for that particular object but other properties define it not required). 

Following is a simple unbounded array
"tags": {
            "type": "array",
            "items": {
                "type": "string"
 we can define min and max count using "minItems" and "maxItems" properties.  

>  [GSoC-2013] Service and Applictation JSON Schemas  
> ----------------------------------------------------
>                 Key: AIRAVATA-906
>                 URL:
>             Project: Airavata
>          Issue Type: New Feature
>            Reporter: Shameera Rathnayaka
>         Attachments: JSONSchema.patch, JSONSchema_upadte.patch

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message