Skip to main content

AdvancedDataProtectionSchemaLiteCollection Schema

Data structure for Advanced Data Protection Schema Lite Collection objects.

Item Type​

This is a collection (list) of AdvancedDataProtectionSchemaLite items.

Usage​

# Example: Working with AdvancedDataProtectionSchemaLiteCollection
items = [
{"schema":{"association_time":1,"deleted":true,"extensions":{"id":"extensions-id-1"}},"tokens":[]},
{"schema":{"association_time":2,"deleted":true,"extensions":{"id":"extensions-id-2"}},"tokens":[]}
]

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

JSON Example​

[
{
"schema": {
"association_time": 1,
"deleted": true,
"extensions": {
"id": "extensions-id-1"
}
},
"tokens": []
},
{
"schema": {
"association_time": 2,
"deleted": true,
"extensions": {
"id": "extensions-id-2"
}
},
"tokens": []
}
]