{"library":"asyncapi-validator","type":"library","category":null,"description":"Validate messages against AsyncAPI schemas (v2.0.0 and above). Supports loading schemas from local files or URLs in JSON/YAML format. Current stable version: 5.1.1. Provides class method fromSource() and instance method validate() for payload validation against channel operations. Distinguishes itself by supporting both 'publish'/'subscribe' and 'send'/'receive' operations, with support for message identifier keys. Includes deprecated validateByMessageId() method for older schemas. Actively maintained with TypeScript typings.","language":"javascript","status":"active","version":"5.1.1","tags":["javascript","asyncapi","kafka","rabbitmq","test","validator","api","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install asyncapi-validator","imports":["import AsyncApiValidator from 'asyncapi-validator'","AsyncApiValidator.fromSource(source, options)","validator.validate(key, payload, channel, operation)"]},{"cmd":"yarn add asyncapi-validator","imports":[]},{"cmd":"pnpm add asyncapi-validator","imports":[]}],"homepage":"https://github.com/WaleedAshraf/asyncapi-validator#readme","github":"https://github.com/WaleedAshraf/asyncapi-validator","docs":null,"changelog":null,"pypi":null,"npm":"asyncapi-validator","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}