HelloGov + iVisa have merged to create the world's largest passport and visa company. Read more

hellogov
Agent Quickstart

Fetch. Validate. Submit.

GovSchema publishes structured schemas for every government service. Fetch the inputs, validate your payload, submit through the managed pipeline.

resources hero meta
ai agents hero background
SCHEMAS

Available schemas

4,000+ travel lanes and growing. Full catalog at govschema.org.

Service active

California Vehicle Reg

Source / LaneSchema Target
InputDMV California inputdmv/US-CA
Outputjurisdictions/US-CA.json
Configuration Schema
  • schema/dmv/jurisdictions/US-CA.json
  • State-specific workflow enabled
Service active

U.S. Passport Renewal

Source / LaneSchema Target
InputPassport DS-82 inputpassport/US-DS82
OutputSchema target outputcountries/US.json
Configuration Schema
  • Mapped to schema/passport/countries/US.json
  • Accepts DS-82 valid forms
Service active

Brazil Tourist e-Visa

Source / LaneSchema Target
InputBrazil visa inputvisa/US-BR
OutputBrazil schema target outputlanes/US-BR.json
Configuration Schema
  • Mapped to schema/visa/lanes/US-BR.json
  • e-Visa endpoint integration
Service active

India Tourist e-Visa

Source / LaneSchema Target
InputIndia visa inputvisa/US-IN
OutputIndia schema target outputlanes/US-IN.json
Configuration Schema
  • Mapped to schema/visa/lanes/US-IN.json
  • Includes tourist ruleset
Service active

UK ETA

Source / LaneSchema Target
InputUK ETA inputeta/GB
Outputeta/GB.json
Configuration Schema
  • Mapped to schema/eta/GB.json
  • Standard ETA schema
Service active

California Vehicle Reg

Source / LaneSchema Target
InputDMV California inputdmv/US-CA
Outputjurisdictions/US-CA.json
Configuration Schema
  • schema/dmv/jurisdictions/US-CA.json
  • State-specific workflow enabled
Service active

U.S. Passport Renewal

Source / LaneSchema Target
InputPassport DS-82 inputpassport/US-DS82
OutputSchema target outputcountries/US.json
Configuration Schema
  • Mapped to schema/passport/countries/US.json
  • Accepts DS-82 valid forms
Service active

Brazil Tourist e-Visa

Source / LaneSchema Target
InputBrazil visa inputvisa/US-BR
OutputBrazil schema target outputlanes/US-BR.json
Configuration Schema
  • Mapped to schema/visa/lanes/US-BR.json
  • e-Visa endpoint integration
Service active

India Tourist e-Visa

Source / LaneSchema Target
InputIndia visa inputvisa/US-IN
OutputIndia schema target outputlanes/US-IN.json
Configuration Schema
  • Mapped to schema/visa/lanes/US-IN.json
  • Includes tourist ruleset
Service active

UK ETA

Source / LaneSchema Target
InputUK ETA inputeta/GB
Outputeta/GB.json
Configuration Schema
  • Mapped to schema/eta/GB.json
  • Standard ETA schema
INTEGRATION

Fetch, validate, submit — in 30 lines

Works with any runtime that supports fetch and JSON Schema validation. No SDK required.

VALIDATION_AGENT.JS
import Ajv from "ajv";
import addFormats from "ajv-formats";

// 1. Fetch the schema
const schema = await fetch(
  "https://govschema.org/schema/visa/lanes/US-BR.json"
).then((r) => r.json);

// 2. Compile validator
const ajv = new Ajv({ allErrors: true, strict: true });
addFormats(ajv);
const validate = ajv.compile(schema);

// 3. Validate agent output
const draft = await agent.invoke({
  input: "Prepare a Brazil tourist visa application",
  responseSchema: schema,
});

if (!validate(draft)) {
  // Handle remediation
  console.log(validate.errors);
}

// 4. Submit
await fetch("https://api.hellogov.com/v1/submit", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    lane: "visa/US-BR",
    schemaVersion: schema.schema_version,
    payload: draft,
    correlationId: crypto.randomUUID(),
  }),
});
Get Started

Expedite your passport through
our AI-powered platform

Whether you need a passport, visa, or want to partner with us — HelloGov makes it simple.

Start Application
HelloGov application dashboard showing a passport renewal in progress