{ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "DeviceKeyProtectionPolicy": { "description": "Protection policy for creating or loading a controller-local device key.", "enum": [ "hardware_only", "allow_os_protected_nonextractable" ], "type": "string" } }, "description": "Create a controller-local device key with a random key id.", "properties": { "accountUserId": { "type": "string" }, "clientId": { "type": "string" }, "protectionPolicy": { "anyOf": [ { "$ref": "#/definitions/DeviceKeyProtectionPolicy" }, { "type": "null" } ], "description": "Defaults to `hardware_only` when omitted." } }, "required": [ "accountUserId", "clientId" ], "title": "DeviceKeyCreateParams", "type": "object" }