{"type":"model","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-2/76fd4bb9d069fd2530d7a02f0b3a4ca00eccfd35/7c48c18b-6630-3205-a601-ed557f355784","info":{"title":"APIs exposed by Grouping service","description":"Crosswork Grouping APIs allow the user to perform CRUD operations on grouping service.","contact":{"name":"Crosswork Team, Cisco","email":"support@cisco.com"},"license":{"name":"Cisco Software License Agreement","url":"http://www.cisco.com/public/sw-license-agreement.html"},"version":"7.2.0"},"x-parser-conf":{"overview":{"markdownPath":"reference/INFRA/GROUPING/grouping-service-overview.md"}},"openapi":"3.1.0","servers":[{"url":"http://localhost:8080/v1/grouping","description":"Generated server url"}]},"spec":{"description":"Set of rule conditions applicable to ports, including default conditions for administrative status, operational status, name, and speed.","properties":{"conditions":{"type":"array","description":"Adds a dynamic rule condition to the existing set of conditions.","items":{"description":"Data Transfer Object representing a rule condition, including its attribute name, type, and operators.","properties":{"attributeName":{"type":"string","description":"Name of the attribute associated with the condition."},"type":{"type":"string","description":"Type of the rule condition, determining if it applies to strings or numbers.","enum":["STRING","NUMBER","UNKNOWN"]},"operators":{"type":"array","description":"Set of operators applicable to the rule condition.","items":{"description":"Data Transfer Object representing an operator for rule conditions, including its name and optional predefined values.","properties":{"operatorName":{"type":"string","description":"Name of the operator, which is required."},"preDefinedValues":{"type":"array","description":"Set of predefined values associated with the operator, if applicable.","items":{"type":"object","description":"Set of predefined values associated with the operator, if applicable."},"uniqueItems":true}},"required":["operatorName"],"$$ref":"#/components/schemas/RuleOperatorDTOObject"},"uniqueItems":true}},"required":["attributeName","operators","type"],"$$ref":"#/components/schemas/RuleConditionDTOObject"},"uniqueItems":true}},"required":["conditions"],"$$ref":"#/components/schemas/AllRuleConditionsForPortsDTO","title":"AllRuleConditionsForPortsDTO"}}