{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-gamelift/refs/heads/main/json-structure/gamelift-matchmaking-rule-set-structure.json", "name": "MatchmakingRuleSet", "description": "

Set of rule statements, used with FlexMatch, that determine how to build your player matches. Each rule set describes a type of group to be created and defines the parameters for acceptable player matches.

A rule set may define the following elements for a match. For detailed information and examples showing how to construct a rule set, see Build a FlexMatch rule set.

", "type": "object", "properties": { "RuleSetName": { "allOf": [ { "$ref": "#/components/schemas/MatchmakingIdStringModel" }, { "description": "A unique identifier for the matchmaking rule set" } ] }, "RuleSetArn": { "allOf": [ { "$ref": "#/components/schemas/MatchmakingRuleSetArn" }, { "description": "The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift matchmaking rule set resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:<region>::matchmakingruleset/<ruleset name>. In a GameLift rule set ARN, the resource ID matches the RuleSetName value." } ] }, "RuleSetBody": { "allOf": [ { "$ref": "#/components/schemas/RuleSetBody" }, { "description": "A collection of matchmaking rules, formatted as a JSON string. Comments are not allowed in JSON, but most elements support a description field." } ] }, "CreationTime": { "allOf": [ { "$ref": "#/components/schemas/Timestamp" }, { "description": "A time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example \"1469498468.057\")." } ] } }, "required": [ "RuleSetBody" ] }