Pular para o conteudo principal
CuteJSON
↑↓ Navegar Enter Selecionar Esc Fechar

JSON Schema Validator

Check a JSON document against a JSON Schema and see every mismatch, each with the keyword that rejected it and the path to the value.

Voltar para todas as ferramentas

Atalhos de teclado

Estes funcionam onde a acao correspondente existe nesta pagina.

Abrir a paleta de comandos
Ctrl/Cmd + K
Executar a acao principal
Ctrl/Cmd + Enter
Formatar
Ctrl/Cmd + Shift + F
Minimizar
Ctrl/Cmd + Shift + M
Copiar saida
Ctrl/Cmd + Shift + C
Abrir arquivo
Ctrl/Cmd + Shift + O
Baixar saida
Ctrl/Cmd + S
Fechar este dialogo
Esc
Abrir este dialogo
F1 / ?

Dados locais

Tudo abaixo e armazenado apenas neste navegador, neste dispositivo. Nada e enviado a lugar nenhum, e fechar este dialogo nao e necessario para que isso continue verdade.

Rascunhos nao salvos
Ferramentas com opcoes lembradas

Arquivos abertos recentemente

    Nenhum arquivo aberto ainda neste dispositivo.

    Compartilhar via link

    O conteudo e empacotado na parte do link apos o #, que navegadores nunca enviam a um servidor.

    Compartilha a primeira entrada nesta pagina.

    Nada para compartilhar ainda.

    Schema

    Carregar de uma URL

    Busca a URL diretamente do seu navegador.

    Document

    Carregar de uma URL

    Busca a URL diretamente do seu navegador.

    Funciona inteiramente no seu navegador.

    Sobre esta ferramenta

    This validator covers the subset the schema generator on this site writes, so a schema produced here is a schema this page can apply: type, enum and const, the properties, patternProperties, additionalProperties, required, propertyNames, dependentRequired and dependentSchemas keywords, length, pattern and format on strings, bounds and multiples on numbers, items and uniqueItems on arrays, the allOf, anyOf, oneOf and not combinators, if-then-else, and local references through $defs or definitions. Keywords it does not implement are treated as annotations and ignored, which is what JSON Schema permits a validator to do. A reference that names nothing in the schema, or one that points outside it, stops the whole check and says so, because reporting a result for a schema that was never fully applied would be a lie. Every other failure is reported once, with the keyword that rejected it and a JSON pointer to the value, so a problem is a path you can walk to rather than a sentence you have to decode.

    Como usar

    1. Paste a schema into the left pane. Loading the sample fills both panes, so you can change the document and see what the schema rejects.
    2. Paste the document to check into the right pane.
    3. Press Validate. Each problem is listed with the keyword that rejected it and the path to the value.