{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/flipdish/refs/heads/main/json-schema/catalog-create-group-schema.json", "title": "CreateGroup", "description": "Create a Catalog Group", "type": "object", "properties": { "MinSelectCount": { "format": "int32", "description": "Minimum number of items that the user has to select", "type": "integer", "example": 3 }, "MaxSelectCount": { "format": "int32", "description": "Maximum number of items that the user has to select", "type": "integer", "nullable": true, "example": 3 }, "Products": { "description": "Collection of items associated with this group", "type": "array", "items": { "$ref": "#/components/schemas/CreateProductReference" }, "example": [] }, "Metafields": { "description": "Collection of metafields", "type": "array", "items": { "$ref": "#/components/schemas/Metafield" }, "example": [] }, "GroupType": { "description": "Type of group (ModifierGroup, etc)", "enum": [ "ModifierGroup" ], "type": "string", "example": "ModifierGroup" }, "Sku": { "description": "Stock Keeping Unit (SKU)", "maxLength": 30, "minLength": 0, "type": "string", "example": "string" }, "Name": { "description": "Group name", "maxLength": 300, "minLength": 0, "type": "string", "example": "Example Name" }, "AutogenerateDisplayText": { "description": "Autogenerate display text in ordering applications", "type": "boolean", "example": true }, "ImageFileName": { "description": "Image File Name", "maxLength": 512, "minLength": 0, "type": "string", "example": "Example Name" } }, "required": [ "GroupType", "Sku", "Name" ] }