{ "format": "mailwoman.recognizer.ir", "version": 1, "hash": "1dec9f6187388b36ba93f10a287272aa4f81912ae48e10a22c961b0072642889", "family": "postcode_legacy", "terms": [], "shapes": [ { "id": "format.ca_postcode_one", "grammar": { "op": "pattern", "regex": "(?i-u:[A-Z][0-9][A-Z][0-9][A-Z][0-9])" }, "captures": [], "scope": "whole", "validator": null, "handler": null, "ambiguity": { "policy": "exclusive" }, "order": 1, "source": { "file": "postcode_legacy.definition.json", "line": 30 } }, { "id": "format.ca_postcode_two", "grammar": { "op": "pattern", "regex": "(?i-u:[A-Z][0-9][A-Z] [0-9][A-Z][0-9])" }, "captures": [], "scope": "whole", "validator": null, "handler": null, "ambiguity": { "policy": "exclusive" }, "order": 9, "source": { "file": "postcode_legacy.definition.json", "line": 130 } }, { "id": "format.cz_postcode_two", "grammar": { "op": "pattern", "regex": "[0-9]{3} [0-9]{2}" }, "captures": [], "scope": "whole", "validator": null, "handler": null, "ambiguity": { "policy": "may_overlap", "with": ["format.gr_postcode_two", "format.se_postcode_two", "format.sk_postcode_two"] }, "order": 11, "source": { "file": "postcode_legacy.definition.json", "line": 152 } }, { "id": "format.de_postcode_one", "grammar": { "op": "pattern", "regex": "[0-9]{5}" }, "captures": [], "scope": "whole", "validator": null, "handler": null, "ambiguity": { "policy": "may_overlap", "with": ["format.fr_postcode_one", "format.us_zip_one"] }, "order": 7, "source": { "file": "postcode_legacy.definition.json", "line": 104 } }, { "id": "format.fr_postcode_one", "grammar": { "op": "pattern", "regex": "[0-9]{5}" }, "captures": [], "scope": "whole", "validator": null, "handler": null, "ambiguity": { "policy": "may_overlap", "with": ["format.de_postcode_one", "format.us_zip_one"] }, "order": 6, "source": { "file": "postcode_legacy.definition.json", "line": 89 } }, { "id": "format.gr_postcode_two", "grammar": { "op": "pattern", "regex": "[0-9]{3} [0-9]{2}" }, "captures": [], "scope": "whole", "validator": null, "handler": null, "ambiguity": { "policy": "may_overlap", "with": ["format.cz_postcode_two", "format.se_postcode_two", "format.sk_postcode_two"] }, "order": 14, "source": { "file": "postcode_legacy.definition.json", "line": 200 } }, { "id": "format.jp_postcode_one", "grammar": { "op": "pattern", "regex": "〒?[0-9]{3}-[0-9]{4}" }, "captures": [], "scope": "whole", "validator": null, "handler": null, "ambiguity": { "policy": "exclusive" }, "order": 2, "source": { "file": "postcode_legacy.definition.json", "line": 41 } }, { "id": "format.nl_postcode_one", "grammar": { "op": "pattern", "regex": "(?i-u:[0-9]{4}[A-Z]{2})" }, "captures": [], "scope": "whole", "validator": null, "handler": null, "ambiguity": { "policy": "exclusive" }, "order": 4, "source": { "file": "postcode_legacy.definition.json", "line": 63 } }, { "id": "format.nl_postcode_two", "grammar": { "op": "pattern", "regex": "(?i-u:[0-9]{4} [A-Z]{2})" }, "captures": [], "scope": "whole", "validator": null, "handler": null, "ambiguity": { "policy": "exclusive" }, "order": 10, "source": { "file": "postcode_legacy.definition.json", "line": 141 } }, { "id": "format.se_postcode_two", "grammar": { "op": "pattern", "regex": "[0-9]{3} [0-9]{2}" }, "captures": [], "scope": "whole", "validator": null, "handler": null, "ambiguity": { "policy": "may_overlap", "with": ["format.cz_postcode_two", "format.gr_postcode_two", "format.sk_postcode_two"] }, "order": 13, "source": { "file": "postcode_legacy.definition.json", "line": 184 } }, { "id": "format.sk_postcode_two", "grammar": { "op": "pattern", "regex": "[0-9]{3} [0-9]{2}" }, "captures": [], "scope": "whole", "validator": null, "handler": null, "ambiguity": { "policy": "may_overlap", "with": ["format.cz_postcode_two", "format.gr_postcode_two", "format.se_postcode_two"] }, "order": 12, "source": { "file": "postcode_legacy.definition.json", "line": 168 } }, { "id": "format.uk_postcode_one", "grammar": { "op": "pattern", "regex": "(?i-u:[A-Z]{1,2}[0-9][A-Z0-9]?[0-9][A-Z]{2})" }, "captures": [], "scope": "whole", "validator": null, "handler": null, "ambiguity": { "policy": "exclusive" }, "order": 3, "source": { "file": "postcode_legacy.definition.json", "line": 52 } }, { "id": "format.uk_postcode_two", "grammar": { "op": "pattern", "regex": "(?i-u:[A-Z]{1,2}[0-9][A-Z0-9]? [0-9][A-Z]{2})" }, "captures": [], "scope": "whole", "validator": null, "handler": null, "ambiguity": { "policy": "exclusive" }, "order": 8, "source": { "file": "postcode_legacy.definition.json", "line": 119 } }, { "id": "format.us_zip4_one", "grammar": { "op": "pattern", "regex": "[0-9]{5}-[0-9]{4}" }, "captures": [], "scope": "whole", "validator": null, "handler": null, "ambiguity": { "policy": "exclusive" }, "order": 0, "source": { "file": "postcode_legacy.definition.json", "line": 19 } }, { "id": "format.us_zip_one", "grammar": { "op": "pattern", "regex": "[0-9]{5}" }, "captures": [], "scope": "whole", "validator": null, "handler": null, "ambiguity": { "policy": "may_overlap", "with": ["format.de_postcode_one", "format.fr_postcode_one"] }, "order": 5, "source": { "file": "postcode_legacy.definition.json", "line": 74 } }, { "id": "po_box.en", "grammar": { "op": "pattern", "regex": "(?i-u:po|p\\.o\\.|p\\.o|box)" }, "captures": [], "scope": "whole", "validator": null, "handler": null, "ambiguity": { "policy": "exclusive" }, "role": "po_box_leader", "source": { "file": "postcode_legacy.definition.json", "line": 216 } }, { "id": "po_box.es", "grammar": { "op": "pattern", "regex": "(?i-u:casilla|apartado)" }, "captures": [], "scope": "whole", "validator": null, "handler": null, "ambiguity": { "policy": "exclusive" }, "role": "po_box_leader", "source": { "file": "postcode_legacy.definition.json", "line": 243 } }, { "id": "po_box.fr", "grammar": { "op": "pattern", "regex": "(?i-u:bp|b\\.p\\.|b\\.p)" }, "captures": [], "scope": "whole", "validator": null, "handler": null, "ambiguity": { "policy": "exclusive" }, "role": "po_box_leader", "source": { "file": "postcode_legacy.definition.json", "line": 230 } } ] }