Consolidamos un montón de validaciones de nivel de controlador en JSON-Schema con palabras clave personalizadas.
We consolidated a whole bunch of controller-level validations into JSON-Schema with custom keywords.
"type" es una de las palabras clave más usadas en JSON-schemas.
"type" is one of the most commonly used keywords in JSON-schemas.
Aquí puede consultar la especificación JSON Schema y obtener más información sobre la misma.
The JSON Schema specification and more information about JSON Schema is available here.
Una gama de herramientas están disponibles para trabajar con JSON-Schema, incluyendo herramientas de validación y generación de formularios.
A range of tools are available for working with JSON-Schema, including validation and form generation tools.
Pasa casi todas las pruebas del conjunto de pruebas JSON-schema para validadores, y tiene una implementación bastante completa de referencias remotas.
It passes almost all the tests from the JSON-schema test suite for validators, and it has quite thorough implementation of remote references.
El estándar JSON-Schema le permite reutilizar las partes repetidas de esquemas usando referencias con la palabra clave"$ref".
The JSON-Schema standard allows you to reuse the repeated parts of schemas using references with the"$ref" keyword.
Puede ver los valores de referencia del rendimiento y cómo los distintos validadores pasan el conjunto de pruebas del estándar JSON-schema en el proyecto json-schema-benchmark.
You can see the benchmarks of performance and of how different validators pass the tests suite from the JSON-schema standard in the project json-schema-benchmark.
El soporte completo para la edición, validación y conversión de JSON incluye un editor gráfico de JSON Schema.
Comprehensive support for editing, validating, and converting JSON includes a graphical JSON Schema editor.
Ajv, el validador utilizado en el ejemplo, es el validador JSON-Schema más rápido para JavaScript.
Ajv, the validator used in the example, is the fastest JSON-Schema validator for JavaScript.
Si ha realizado la tarea 5, probablemente haya notado que algunos requisitos son difíciles de expresar con JSON-schema.
If you've done task 5, you probably have noticed that some requirements are difficult to express with JSON-schema.
Conținut posibil inadecvat
Exemplele au rolul de a te ajuta să traduci cuvinte sau expresii corect si adaptat la context. Nu sunt selectate sau validate manual, așadar pot conține termeni inadecvați. Te rugăm să raportezi exemplele pe care le consideri inadecvate. Traducerile vulgare sau colocviale sunt în general marcate cu roșu sau cu portocaliu.
Înregistrează-te pentru a accesa mai multe exemple