{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/emporix/json-schema/emporix-cgrelation-list-schema.json",
  "title": "Collection of customer-group relation",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/emporix-customer-group-relations-api-openapi.yml#/components/schemas/CGRelationList",
  "type": "array",
  "items": {
    "$ref": "#/$defs/CGRelation"
  },
  "$defs": {
    "CGRelation": {
      "title": "Customer-group relation",
      "description": "Customer-group relation allows to assign user for specific group.",
      "type": "object",
      "properties": {
        "customerId": {
          "description": "Customer unique identifier.",
          "type": "string"
        },
        "groupId": {
          "description": "Group's unique identifier.",
          "type": "string"
        }
      }
    }
  }
}