Jsonschema2pojo

[Solved] Jsonschema2pojo | Scala - Code Explorer | yomemimo.com
Question : jsonschema2pojo maven

Answered by : red-team

{ "$schema":"http://json-schema.org/draft-04/schema", "definitions":{ "product":{ "type":"object", "properties":{ "type":{ "enum":[ "THIRD_PARTY", "PROPRIETARY" ], "type":"string" }, "price":{ "type":"string" } }, "additionalProperties": false }, "proprietaryProduct": { "type": "object", "properties": { "batchName": { "type": "string" } }, "extends": "#/definitions/product" }, "thirdPartyProduct": { "type": "object", "properties": { "thirdPartyName": { "type": "string" } }, "extends": "#/definitions/product" } }, "type":"object", "properties":{ "product":{ "type":"object", "$ref":"#/definitions/product" } }, "additionalProperties":false
}

Source : | Last Update : Sun, 19 Jun 22

Answers related to jsonschema2pojo

Code Explorer Popular Question For Scala