aura-protocol
Version:
Core TypeScript definitions and JSON Schema for the AURA protocol - making websites machine-readable for AI agents
54 lines • 1.09 kB
JSON
{
"description": "HttpAction - Defines how to execute a capability via HTTP\nIncludes security, encoding, and parameter mapping",
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "HTTP",
"title": "type"
},
"method": {
"enum": [
"DELETE",
"GET",
"POST",
"PUT"
],
"type": "string",
"title": "method"
},
"urlTemplate": {
"type": "string",
"title": "urlTemplate"
},
"cors": {
"type": "boolean",
"title": "cors"
},
"encoding": {
"enum": [
"json",
"query"
],
"type": "string",
"title": "encoding"
},
"parameterMapping": {
"$ref": "#/definitions/Record<string,string>",
"title": "parameterMapping"
}
},
"required": [
"method",
"parameterMapping",
"type",
"urlTemplate"
],
"definitions": {
"Record<string,string>": {
"title": "Record<string,string>",
"type": "object"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}