Implementation status
The supplied v1.1 draft describes a local Browser API. This repository does not yet ship assets/js/ail-sdk.js or window.AIL. The names below are proposed interface names, not callable functions on the current website. No install snippet or executable example is offered until the implementation and its return/error contracts are available.
Reference interface in the draft
parseInput(text): proposed JSON/HTML input parser.readFromHTML(html): proposed embedded declaration reader.toMeta(record): proposed safe HTML meta serializer.validateRecord(record, options): proposed asynchronous validation entry point.getVersion(record): proposed record version lookup.schemaURL(version): proposed schema resource lookup.
Argument validation, result objects, exceptions, limits and hosting behavior remain to be documented against an actual implementation. No SDK compatibility claim is made by this documentation update.
Available now
The v1.0 URL validator runs in the browser and fetches public resources directly. Its internal schema engine supports the keywords used by the v1.0 schema; it is not a universal Draft 2020-12 implementation. There is no HTTP validation endpoint and no POST /api/validate.
