/v1/schema
Infer a JSON Schema
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/jsontypes-api/v1/schema" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/jsontypes-api/v1/schema", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/jsontypes-api/v1/schema");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/jsontypes-api/v1/schema",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"schema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id",
"name",
"email",
"age",
"tags",
"address"
],
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"age": {
"type": "integer"
},
"name": {
"type": "string"
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"email": {
"type": "string",
"format": "email"
},
"address": {
"type": "object",
"required": [
"city"
],
"properties": {
"city": {
"type": "string"
}
}
}
}
}
},
"meta": {
"timestamp": "2026-06-01T23:40:43.723Z",
"request_id": "c05b17de-8632-4242-a781-e2f13828f84d"
},
"status": "ok",
"message": "Schema inferred",
"success": true
}