{
	"$schema": "http://json-schema.org/draft-04/schema#",
	"description": "Schema describing an OpenFlow group mod message, version 1.3",
	"id": "of13/ofp_group_mod.json",
	"type": "object",
	"required": [
		"header",
		"command",
		"type",
		"group_id"
	],
	"properties": {
		"header": {
			"allOf": [
				{
					"$ref": "definitions.json#/ofp_header"
				},
				{
					"properties": {
						"type": {
							"enum": [
								"OFPT_GROUP_MOD"
							],
							"default": "OFPT_GROUP_MOD"
						}
					}
				}
			]
		},
		"command": {
			"type": "string",
			"default": "OFPGC_ADD",
			"enum": [
				"OFPGC_ADD",
				"OFPGC_MODIFY",
				"OFPGC_DELETE"
			]
		},
		"type": {
			"type": "string",
			"default": "OFPGT_ALL",
			"enum": [
				"OFPGT_ALL",
				"OFPGT_SELECT",
				"OFPGT_INDIRECT",
				"OFPGT_FF"
			]
		},
		"group_id": {
			"type": "integer",
			"maximum": 4294967295,
			"default": 0
		},
		"buckets": {
			"type": "array",
			"items": {
				"$ref": "definitions.json#/ofp_bucket"
			}
		}
	}
}