{
    "additionalProperties": false,
    "description": "Schema for configuration of currency-conversion enrichment",
    "properties": {
        "enabled": {
            "type": "boolean"
        },
        "name": {
            "type": "string"
        },
        "parameters": {
            "additionalProperties": false,
            "properties": {
                "accountType": {
                    "enum": [
                        "DEVELOPER",
                        "ENTERPRISE",
                        "UNLIMITED"
                    ],
                    "type": "string"
                },
                "apiKey": {
                    "type": "string"
                },
                "baseCurrency": {
                    "type": "string"
                },
                "rateAt": {
                    "enum": [
                        "EOD_PRIOR"
                    ]
                }
            },
            "required": [
                "apiKey",
                "baseCurrency",
                "rateAt",
                "accountType"
            ],
            "type": "object"
        },
        "vendor": {
            "type": "string"
        }
    },
    "required": [
        "name",
        "vendor",
        "enabled",
        "parameters"
    ],
    "self": {
        "format": "jsonschema",
        "name": "currency_conversion_config",
        "vendor": "com.snowplowanalytics.snowplow",
        "version": "1-0-0"
    },
    "type": "object"
}