Github user chinmaykolhatkar commented on a diff in the pull request:

    
https://github.com/apache/incubator-apex-malhar/pull/163#discussion_r49313459
  
    --- Diff: contrib/src/test/resources/json-parser-schema.json ---
    @@ -0,0 +1,51 @@
    +{
    +    "$schema": "http://json-schema.org/draft-04/schema#";,
    +    "title": "Product set",
    +    "type": "object",
    +        "properties": {
    +            "id": {
    +                "description": "The unique identifier for a product",
    +                "type": "number"
    +            },
    +            "name": {
    +                "type": "string"
    +            },
    +            "price": {
    +                "type": "number",
    +                "minimum": 0,
    +                "exclusiveMinimum": true
    +            },
    +            "tags": {
    +                "type": "array",
    +                "items": {
    +                    "type": "string"
    +                },
    +                "minItems": 1,
    +                "uniqueItems": true
    +            },
    +            "dimensions": {
    +                "type": "object",
    +                "properties": {
    +                    "length": {"type": "number"},
    +                    "width": {"type": "number"},
    +                    "height": {"type": "number"}
    +                },
    +                "required": ["length", "width", "height"]
    +            },
    +            "warehouseLocation": {
    +                "description": "Coordinates of the warehouse with the 
product",
    +                "$ref": "http://json-schema.org/geo";
    +            },
    +            "dateOfManufacture": {
    +                "description": "manufacturing date",
    +                 "type": "string"
    +                
    +            }, 
    +            "dateOfExpiry": {
    +                "description": "expiry date",
    +                 "type": "string"
    +                
    +            }            
    +        },
    +        "required": ["id", "name", "price"]
    +}
    --- End diff --
    
    New line at the end of the file is missing.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to