80trust / 100

Schema Map

by NetIntel in Weather & location

x402 APIPassing, checked 2 h ago

Transform a source object into a target schema — matches fields by alias and structure deterministically, uses an LLM only for semantic mapping when needed, and supports mapping hints, transforms, and defaults, so agents can reshape data between systems with per-field confidence and a clear report of what mapped and what didn't.

POST https://netintel.dev/schema/map

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
196 ms typical, 277 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://netintel.dev/schema/map" \
  -H "content-type: application/json" \
  -d '{"source":{"cost":"19.99","internal_id":7741,"name":"Jane Doe"},"target_schema":{"full_name":"string","price":"number"}}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fnetintel.dev%2Fschema%2Fmap
const res = await pay("https://netintel.dev/schema/map", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"source":{"cost":"19.99","internal_id":7741,"name":"Jane Doe"},"target_schema":{"full_name":"string","price":"number"}}),
});
console.log(await res.json());

Example input

{
  "source": {
    "cost": "19.99",
    "internal_id": 7741,
    "name": "Jane Doe"
  },
  "target_schema": {
    "full_name": "string",
    "price": "number"
  }
}

Example output

{
  "findings": [],
  "grade": "A",
  "mapped": {
    "full_name": "Jane Doe",
    "price": 19.99
  },
  "mapped_fields": [
    {
      "confidence": 1,
      "method": "alias",
      "source": "name",
      "target": "full_name"
    },
    {
      "confidence": 1,
      "method": "alias",
      "source": "cost",
      "target": "price"
    }
  ],
  "missing_target": [],
  "schema_valid": true,
  "score": 100,
  "type_conversions": [
    {
      "field": "price",
      "from": "string",
      "to": "number"
    }
  ],
  "unmapped_source": [
    "internal_id"
  ],
  "warnings": []
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402190 ms$0.04
6 h agoPassed402266 ms$0.04
10 h agoPassed402362 ms$0.04
13 h agoPassed402186 ms$0.04
17 h agoPassed402277 ms$0.04
20 h agoPassed402196 ms$0.04
24 h agoPassed402210 ms$0.04
29 h agoPassed402176 ms$0.04