aura-protocol
Version:
Core TypeScript definitions and JSON Schema for the AURA protocol - making websites machine-readable for AI agents
78 lines • 1.76 kB
JSON
{
"description": "Resource - Defines where actions can be performed\nSeparated from capabilities for improved clarity",
"type": "object",
"properties": {
"uriPattern": {
"type": "string",
"title": "uriPattern"
},
"description": {
"type": "string",
"title": "description"
},
"operations": {
"type": "object",
"properties": {
"GET": {
"type": "object",
"properties": {
"capabilityId": {
"type": "string",
"title": "capabilityId"
}
},
"required": [
"capabilityId"
],
"title": "GET"
},
"POST": {
"type": "object",
"properties": {
"capabilityId": {
"type": "string",
"title": "capabilityId"
}
},
"required": [
"capabilityId"
],
"title": "POST"
},
"PUT": {
"type": "object",
"properties": {
"capabilityId": {
"type": "string",
"title": "capabilityId"
}
},
"required": [
"capabilityId"
],
"title": "PUT"
},
"DELETE": {
"type": "object",
"properties": {
"capabilityId": {
"type": "string",
"title": "capabilityId"
}
},
"required": [
"capabilityId"
],
"title": "DELETE"
}
},
"title": "operations"
}
},
"required": [
"description",
"operations",
"uriPattern"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}