{"openapi":"3.1.0","info":{"title":"Schema Mock API","version":"1.0.0","description":"Generate realistic mock data from a JSON Schema. Send any JSON Schema and get back data that conforms to it — honouring types, formats (email, uuid, date-time, uri, ipv4 and more), minimum/maximum, string length and patterns, enums, required fields, and nested objects and arrays. Ask for a single object or an array of up to 100. Add a \"faker\" keyword on a property (e.g. \"faker\":\"person.fullName\" or \"commerce.product\") to get specific realistic values powered by Faker. Unlike fixed-entity fake-data generators, the shape is entirely driven by your schema — perfect for API mocking, test fixtures, database seeding, prototyping and contract testing. Pure local generation — no key, no third-party service, instant. Live. 2 endpoints. Distinct from JSON Schema validation and from canned mock-data entities.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/schemamock-api","description":"oanor gateway"}],"tags":[{"name":"Mock"},{"name":"Meta"}],"components":{"securitySchemes":{"oanorKey":{"type":"apiKey","in":"header","name":"x-oanor-key","description":"Get your key at https://www.oanor.com/developer/keys"}}},"security":[{"oanorKey":[]}],"paths":{"/v1/generate":{"get":{"operationId":"get_v1_generate","tags":["Mock"],"summary":"Generate mock data from a JSON Schema","description":"","parameters":[{"name":"schema","in":"query","required":true,"description":"A JSON Schema","schema":{"type":"string"},"example":"{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"integer\",\"minimum\":1},\"name\":{\"type\":\"string\",\"faker\":\"person.fullName\"},\"email\":{\"type\":\"string\",\"format\":\"email\"}},\"required\":[\"id\",\"name\",\"email\"]}"},{"name":"count","in":"query","required":false,"description":"Number of items 1-100 (array)","schema":{"type":"string"}}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"data":{"id":78179330,"name":"Marcos Bernhard","email":"qhePOnhEaJhX@vnUcppcnXByhVVovGPsZayGLAoDMEYAZ.yfx"},"count":1},"meta":{"timestamp":"2026-06-02T16:51:57.618Z","request_id":"4cdc93fc-b058-4946-a4ad-81965564ecf7"},"status":"ok","message":"Generate mock data from a JSON Schema","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/meta":{"get":{"operationId":"get_v1_meta","tags":["Meta"],"summary":"Spec","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"auth":"none upstream; this gateway requires x-api-key","name":"Schema Mock API","note":"Generate realistic mock data that conforms to a JSON Schema. POST or pass ?schema= a JSON Schema (Draft-07 style) and optional ?count=1..100 for an array. Honours type, format (email, uuid, date-time, uri, ...), min/max, enum, required, nested objects/arrays. Use a \"faker\" keyword (e.g. \"faker\":\"person.fullName\") for specific realistic values. Distinct from JSON Schema validation and fixed-entity mock data. Instant, nothing stored.","source":"Local generation (json-schema-faker + faker) — no key, no upstream","endpoints":2},"meta":{"timestamp":"2026-06-02T16:51:57.717Z","request_id":"f14a3058-2cac-46a7-a7e8-e976352b6377"},"status":"ok","message":"Meta","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}}},"x-oanor-pricing":[{"slug":"free","name":"Free","price_cents_month":0,"monthly_call_quota":1420,"rps_limit":2,"hard_limit":true},{"slug":"starter","name":"Starter","price_cents_month":600,"monthly_call_quota":24000,"rps_limit":8,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":2560,"monthly_call_quota":174000,"rps_limit":20,"hard_limit":true},{"slug":"mega","name":"Mega","price_cents_month":6160,"monthly_call_quota":890000,"rps_limit":50,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/schemamock-api"}