DDFM now derives the French department from the address postal code, not only
from a note typed by hand — the catalog def gains the address OR-rule (\d{2}\d{3}
-> Dxx), France+Corsica scope, and version 2. On next launch every operator whose
DDFM is unedited auto-upgrades to it (user-edited copies are offered it); the
materialised award_refs then recompute so ~500+ French QSOs gain their department.
Also: a catalog definition update now clears the award_refs backfill flag, so any
future catalog bump self-heals the stored columns without a manual flag bump.
35 lines
608 B
JSON
35 lines
608 B
JSON
{
|
|
"def": {
|
|
"code": "DDFM",
|
|
"name": "Départements Français Métropolitains",
|
|
"valid": true,
|
|
"protected": true,
|
|
"type": "QSOFIELDS",
|
|
"field": "note",
|
|
"pattern": "(?i)\\b(D\\d{1,2}[AB]?)\\b",
|
|
"or_rules": [
|
|
{
|
|
"field": "address",
|
|
"match_by": "code",
|
|
"pattern": "\\b(\\d{2})\\d{3}\\b",
|
|
"prefix": "D"
|
|
}
|
|
],
|
|
"dxcc_filter": [
|
|
227,
|
|
214
|
|
],
|
|
"confirm": [
|
|
"lotw",
|
|
"qsl"
|
|
],
|
|
"validate": [
|
|
"lotw"
|
|
],
|
|
"ref_display": "name",
|
|
"total": 96,
|
|
"builtin": true,
|
|
"version": 2
|
|
}
|
|
}
|