FasterXML / FasterXML/jackson-module-jsonSchema

Support for "media" property

オープン
#65 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
387
フォーク
136
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。