FasterXML / FasterXML/jackson-module-jsonSchema

Support for "media" property

Aberta
#65 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Java
Estrelas
387
Forks
136
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

[Section 4.3](http://json-schema.org/latest/json-schema-hypermedia.html#anchor10) of the JSON Schema specification mentions the `media` property, which is used to give additional hints about the semantics of non-JSON data that is encoded as a JSON string. For example:

``` json
{
"type": "string",
"media": {
"binaryEncoding": "base64",
"type": "image/png"
}
}
```

I think an annotation of some sort might help perhaps. The serializer can check to see if an annotation is present on that property and if so, it can generate the `media` property.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.