{
    "additionalProperties": false,
    "description": "Schema for a Google Analytics item hit",
    "properties": {
        "category": {
            "maxLength": 500,
            "type": [
                "string",
                "null"
            ]
        },
        "code": {
            "maxLength": 500,
            "type": [
                "string",
                "null"
            ]
        },
        "currencyCode": {
            "maxLength": 10,
            "type": [
                "string",
                "null"
            ]
        },
        "name": {
            "maxLength": 500,
            "type": "string"
        },
        "price": {
            "multipleOf": 0.01,
            "type": [
                "number",
                "null"
            ]
        },
        "quantity": {
            "type": [
                "integer",
                "null"
            ]
        },
        "transactionId": {
            "maxLength": 500,
            "type": "string"
        }
    },
    "required": [
        "transactionId",
        "name"
    ],
    "self": {
        "format": "jsonschema",
        "name": "item",
        "vendor": "com.google.analytics.measurement-protocol",
        "version": "1-0-0"
    },
    "type": "object"
}