{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "required": [
        "article",
        "order"
    ],
    "properties": {
        "article": {
            "type": "object",
            "required": [
                "resource",
                "onActions"
            ],
            "properties": {
                "resource": {
                    "type": "string",
                    "format": "topic",
                    "axRole": "inlet",
                    "description": "ID of the article resource to add to the cart"
                },
                "onActions": {
                    "type": "array",
                    "description": "adds the article to the cart",
                    "items": {
                        "type": "string",
                        "format": "topic",
                        "axRole": "inlet"
                    }
                }
            }
        },
        "order": {
            "type": "object",
            "required": [
                "target"
            ],
            "properties": {
                "target": {
                    "type": "string",
                    "description": "to be used in the navigateRequest for placing an order"
                }
            }
        }
    }
}