Skip to main content

InspectionRuleWrapperCollection Schema

Data structure for Inspection Rule Wrapper Collection objects.

Item Type​

This is a collection (list) of InspectionRule items.

Usage​

# Example: Working with InspectionRuleWrapperCollection
items = [
{"type":"type-value-1","names":[],"conditions":[]},
{"type":"type-value-2","names":[],"conditions":[]}
]

# Pass to an action that requires this collection type
resource.some_action(body=items)

JSON Example​

[
{
"type": "type-value-1",
"names": [],
"conditions": []
},
{
"type": "type-value-2",
"names": [],
"conditions": []
}
]