@autoagentprotocol/types
v1.2.0
Published
TypeScript types for the Auto Agent Protocol
Downloads
318
Readme
@autoagentprotocol/types
TypeScript types for Auto Agent Protocol (AAP), generated from the AAP JSON Schemas — one interface per request, response, and shared object.
Install
npm install --save-dev @autoagentprotocol/typesUsage
import type {
InventorySearchRequest,
InventorySearchResponse,
Vehicle,
} from "@autoagentprotocol/types";
function handleSearch(req: InventorySearchRequest): InventorySearchResponse {
// ...
}The types are generated from the JSON Schema 2020-12 sources for the current AAP version — see the schemas and the versioning policy.
- Runtime validation:
@autoagentprotocol/validator - Raw JSON Schema modules:
@autoagentprotocol/schemas
License
Apache-2.0
