العثور على أداة

↑↓ تنقل Enter فتح

ابحث باسم المهمة إذا لم تعرف الاسم الدقيق.

JSON Schema Validator

محلي فقط

JSON Schema Validator يتيح فحص البيانات مباشرة في المتصفح مع شرح واضح للنتيجة والحدود. تتضمن هذه الصفحة مثالاً فعلياً للإدخال والإخراج، وحدود التنفيذ، والمصادر الأولية لهذه الأداة.

تمت المراجعة · تم التحديث · مجاني · لا يحتاج إلى حساب

Draft 7 only. Local # references; no remote schema loading. Both inputs: up to 2 MiB. Validation does not modify data.

Result
Input stays in this tab. Required engine files load from this site.

ماذا تفعل JSON Schema Validator؟

JSON Schema Validator يتيح فحص البيانات مباشرة في المتصفح مع شرح واضح للنتيجة والحدود. القدرات المتحقق منها: Draft 7 meta-schema checking, Document-local references, Instance and schema error paths, JSON validation report export.

When should you use this tool?

Use schema validation to check a data contract. Use JSON Formatter for syntax alone, JSON Query to extract fields and Mock Data to create test cases. A successful validation is limited to the supplied schema and supported Draft 7 behavior.

كيف تستخدمها؟

  1. Paste JSON and a Draft 7 schema, or open the two local files; each is limited to 2 MiB.
  2. Select Run. A valid JSON document may still fail the schema; inspect the valid flag and error paths.
  3. Fix the data or schema and run again, then copy or download the report.

مثال فعلي للإدخال والإخراج

Check an integer age

الإدخال

JSON: {"age":"21"}
Schema: {"type":"object","properties":{"age":{"type":"integer","minimum":18}},"required":["age"]}

الإخراج

valid: false
instancePath: #/age
keyword: type

The string "21" is not an integer. Changing it to the number 21 passes this schema. Validation never changes the input.

أخطاء شائعة وطرق الإصلاح

العرضالسبب المحتملالإصلاح
The schema is rejected before data validation.Its syntax, keyword values or declared draft are unsupported.Use Draft 7, check keyword types, and replace newer keywords such as prefixItems with the Draft 7 equivalent.
A reference cannot be resolved.Only # references within this schema document are supported; no remote documents are fetched.Inline external definitions under definitions and reference them with #/definitions/name.

Supported behavior and limitations

حدّ محدد لهذه الأداة: Draft 7 only; absent $schema means Draft 7. Newer-draft keywords are rejected. Unknown extension keywords are ignored, not custom validation code. Local references must resolve within the document. Format checks follow the engine’s supported formats; they do not verify real email accounts or URLs. Schema nesting is capped at 100 levels, the report at 100 errors, and processing at 15 seconds. JavaScript number precision applies; keep large IDs as strings.

المعايير ومراجع التنفيذ

JSON Schema Validator — FAQ

Is my input uploaded?

No. Processing happens in a browser Worker. Engine files load from this website; tool input, output, and filenames are not sent to a processing API.

Do I need an account or API key?

No account, API key, or backend processing service is needed.

How do I save a result?

Review the result, then use the Copy or Download control available for that output. Modifying input clears stale results.

What are the limits?

Draft 7 only; absent $schema means Draft 7. Newer-draft keywords are rejected. Unknown extension keywords are ignored, not custom validation code. Local references must resolve within the document. Format checks follow the engine’s supported formats; they do not verify real email accounts or URLs. Schema nesting is capped at 100 levels, the report at 100 errors, and processing at 15 seconds. JavaScript number precision applies; keep large IDs as strings.

ما الذي تغيّر؟

تحديث جوهري: JSON Schema Validator: Added local processing, explicit size limits, cancellation, worked examples, error explanations, and downloadable results.

من يصون هذه الأداة؟

KL
KitLumi Engineeringيتولى فريق KitLumi Engineering صيانة السلوك والاختبارات والأمثلة وإفصاحات الخصوصية.