{
    "additionalProperties": false,
    "description": "Schema for a transaction event",
    "properties": {
        "affiliation": {
            "type": "string"
        },
        "category": {
            "type": "string"
        },
        "currency": {
            "type": "string"
        },
        "name": {
            "type": "string"
        },
        "quantity": {
            "minimum": 0,
            "type": "number"
        },
        "revenue": {
            "minimum": 0,
            "type": "number"
        },
        "shipping": {
            "minimum": 0,
            "type": "number"
        },
        "sku": {
            "type": "string"
        },
        "tax": {
            "minimum": 0,
            "type": "number"
        },
        "transactionId": {
            "type": "string"
        },
        "unitPrice": {
            "minimum": 0,
            "type": "number"
        }
    },
    "required": [
        "name",
        "sku"
    ],
    "self": {
        "format": "jsonschema",
        "name": "transaction_event",
        "vendor": "com.mparticle.snowplow",
        "version": "1-0-0"
    },
    "type": "object"
}