{
"$ref": "#/definitions/registration-v1",
"definitions": {
"registration-v1": {
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "https://eips.ethereum.org/EIPS/eip-8004#registration-v1"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"image": {
"type": "string"
},
"services": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"version": {
"type": "string"
},
"skills": {
"type": "array",
"items": {}
},
"domains": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"name",
"endpoint"
],
"additionalProperties": false
}
},
"active": {
"type": "boolean"
},
"registrations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"agentId": {
"type": "string"
},
"agentRegistry": {
"type": "string"
}
},
"required": [
"agentId",
"agentRegistry"
],
"additionalProperties": false
}
},
"supportedTrust": {
"type": "array",
"items": {
"type": "string"
}
},
"leash": {
"type": "object",
"properties": {
"v": {
"type": "string",
"const": "0.1"
},
"rulesUri": {
"anyOf": [
{
"type": "string",
"format": "uri"
},
{
"type": "string",
"pattern": "^ipfs:\\/\\/.+"
}
]
},
"receiptsFeed": {
"type": "string"
},
"anchor": {
"type": "object",
"properties": {
"program": {
"type": "string"
},
"merkleAccount": {
"type": "string"
}
},
"required": [
"program",
"merkleAccount"
],
"additionalProperties": false
},
"killSwitch": {
"type": "object",
"properties": {
"onchain": {
"type": "string"
},
"endpoint": {
"type": "string",
"format": "uri"
}
},
"additionalProperties": false
}
},
"required": [
"v",
"rulesUri",
"receiptsFeed"
],
"additionalProperties": false
}
},
"required": [
"type",
"name",
"description",
"image"
],
"additionalProperties": false
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}