get
https://customer.my.onetrust.com/api/inventory/v2/schemas/
Use this API to retrieve the schema (attribute definitions) for a specific inventory type. The schema defines all available attributes, their types, and validation rules for the specified inventory category.
This is useful for understanding the structure of inventory records before creating or updating them, or for dynamically building forms and validation logic.
Example Request
GET https://{hostname}/api/inventory/v2/schemas/{type}
GET https://trial.onetrust.com/api/inventory/v2/schemas/processing-activities
