{
    "version": "18.00.0001",
    "description": "The official PostgreSQL ODBC Driver",
    "homepage": "https://odbc.postgresql.org/",
    "license": "LGPL-2.0-or-later",
    "architecture": {
        "64bit": {
            "url": "https://ftp.postgresql.org/pub/odbc/releases/REL-18_00_0001/psqlodbc_x64.msi",
            "hash": "c9d344829fd0492344e73aa055546f35337ffc742eac3a9f6dab0e3444414503",
            "extract_dir": "PFiles64\\psqlODBC\\1800"
        },
        "32bit": {
            "url": "https://ftp.postgresql.org/pub/odbc/releases/REL-18_00_0001/psqlodbc_x86.msi",
            "hash": "bb941a8ee009c064737830e08f957312cf53adbbbde923f1fa4d15554c5012d9",
            "extract_dir": "PFiles\\psqlODBC\\1800"
        }
    },
    "env_add_path": "bin",
    "checkver": {
        "url": "https://www.postgresql.org/ftp/odbc/releases/",
        "regex": "REL-(?<major>\\d+)_(?<minor>\\d+)_(?<patch>\\d+)",
        "replace": "${major}.${minor}.${patch}"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://ftp.postgresql.org/pub/odbc/releases/REL-$matchMajor_$matchMinor_$matchPatch/psqlodbc_x64.msi",
                "extract_dir": "PFiles64\\psqlODBC\\$matchMajor$matchMinor"
            },
            "32bit": {
                "url": "https://ftp.postgresql.org/pub/odbc/releases/REL-$matchMajor_$matchMinor_$matchPatch/psqlodbc_x86.msi",
                "extract_dir": "PFiles\\psqlODBC\\$matchMajor$matchMinor"
            }
        }
    }
}
