FasterXML / FasterXML/jackson-module-jsonSchema

Support for "media" property

Ouverte
#65 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Java
Étoiles
387
Forks
136
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

[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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.