---
# System prepended metadata

title: DWN Protocols Stomping Grounds

---

# DWN Protocols Stomping Grounds

```json=
{
	method: "ProtocolsConfigure",
	protocolDefinition: {
	  "objects": {
	    "credentialApplication": {
	      "schema": "https://identity.foundation/schemas/credential-application"
	    },
	    "credentialResponse": {
	      "schema": "https://identity.foundation/schemas/credential-response"
	    }
	  },
	  "structure": {
	    "credentialApplication": {
	      "encryptionRequired": true,
	      "allow": { // Issuers would have this allow present
	        "anyone": {
	          "to": {
							"write": {
								"limit": 1,
								"onViolation": "block"
							}
						}
	        }
	      },
	      "records": {
	        "credentialResponse": {
	          "allow": {
	            "recipient": {
	              "of": "credentialApplication",
	              "to": {
									"write": {}
	              }
	            }
	          }
	        }
	      }
	    }
	  }
	}
}
```