{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-entity-resolution/refs/heads/main/json-structure/amazon-entity-resolution-rule-structure.json", "name": "Rule", "description": "An object containing RuleName, and MatchingKeys.", "type": "object", "properties": { "matchingKeys": { "allOf": [ { "$ref": "#/components/schemas/RuleMatchingKeysList" }, { "description": "A list of MatchingKeys. The MatchingKeys must have been defined in the SchemaMapping. Two records are considered to match according to this rule if all of the MatchingKeys match." } ] }, "ruleName": { "allOf": [ { "$ref": "#/components/schemas/RuleRuleNameString" }, { "description": "A name for the matching rule." } ] } }, "required": [ "matchingKeys", "ruleName" ] }