my opinion: knack is not playing faily with third-party developers who would like to obtain their Relations schema.

So here a simple method to obtain the mappings from the UI, using your Developer tools

prerequisite: reduce the zoom to the minimum possible, so that all the fields are displayed on the UI, even if you can't read them with a microscope

function getLabel(keyElement) {
    return keyElement.parentElement.getElementsByClassName('truncate')[0].innerHTML
}

const keys = document.getElementsByClassName('field-key-display')
const mapping = {}

// Build the mapping
Array.from(keys).forEach(keyElement => {
    const label = getLabel(keyElement)
    const key = keyElement.innerHTML
    mapping[label] = key
})

console.log('Label to Key Mapping:', JSON.stringify(mapping, null, 2))

This will print to the Console the complete mapping of your table