ajv-formats
- date-time: date-time (time-zone is mandatory). - iso-time: time with optional time-zone.
Official Documentation ↗v3.0. Check the official docs for the latest API surface.Installation
npm install ajv-formatspnpm add ajv-formatsyarn add ajv-formatsMethods
No methods match this filter.
Overview
- date-time: date-time (time-zone is mandatory). - iso-time: time with optional time-zone.
API reference status
This page lists only entry points that appear verbatim in the official README examples: addFormats, Ajv. Parameter and return types are not given by the official README, so signatures are marked unverified.
Errors
The following points are quoted verbatim from the official documentation. 来源:https://cdn.jsdelivr.net/gh/ajv-validator/ajv-formats@latest/README.md · 取证方式:HTTP GET 官方 README/文档页(HTML 去标签) · 抓取时间:2026-11-07T13:48:04.682Z. Any error type, throw condition or recovery step not stated there is left unspecified; this page does not infer exception classes or return values.
- If format keyword is not present schema compilation will throw exception. (https://cdn.jsdelivr.net/gh/ajv-validator/ajv-formats@latest/README.md)
Verification notes
- Official source: https://github.com/ajv-validator/ajv-formats
- Evidence: https://cdn.jsdelivr.net/gh/ajv-validator/ajv-formats@latest/README.md
- Checked on 2026-11-04 by
scripts/phase11/build-api-profiles.mjs
API reference evidence
Fetched from official sources on 2026-11-08T17:23:00+08:00 via WebFetch https://raw.githubusercontent.com/ajv-validator/ajv-formats/master/src/index.ts;WebFetch https://ajv.js.org/api.html.
addFormats→ signature from https://raw.githubusercontent.com/ajv-validator/ajv-formats/master/src/index.ts; official text: “const formatsPlugin: FormatsPlugin = ( ajv: Ajv, opts: FormatsPluginOptions = {keywords: true} ): Ajv => {”Ajv→ signature from https://ajv.js.org/api.html; official text: “new Ajv(options: object)”
FAQ
- What does ajv-formats do?
- - date-time: date-time (time-zone is mandatory).
- How do I install ajv-formats?
- Run `npm install ajv-formats`.
- Where can I verify the API details?
- Official repository/documentation: https://github.com/ajv-validator/ajv-formats. Checked on 2026-11-04; signatures and return values not stated in the official README are marked unverified.
Report a problem with this API docOpens a pre-filled issue on GitHub.