История изменений
Исправление FishHook, (текущая версия) :
Если в схеме будут всякие oneOf типа
{
"title": "Typed object",
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": ["list", "number", "null"]
},
"value": {
"oneOf": [
{
"title": "value is array (when type is list)",
"type": "array",
"items": {}
},
{
"title": "value is number (when type is number)",
"type": "number"
},
{
"title": "value is null (when type is null)",
"type": "null"
}
]
}
},
"required": ["type", "value"],
"additionalProperties": false
}
то без динамических структур вряд ли можно распарсить
Исходная версия FishHook, :
Если в схеме будут всякие oneOf типа
''' { «title»: «Typed object», «type»: «object», «properties»: { «type»: { «type»: «string», «enum»: [«list», «number», «null»] }, «value»: { «oneOf»: [ { «title»: «value is array (when type is list)», «type»: «array», «items»: {} }, { «title»: «value is number (when type is number)», «type»: «number» }, { «title»: «value is null (when type is null)», «type»: «null» } ] } }, «required»: [«type», «value»], «additionalProperties»: false } '''
то без динамических структур вряд ли можно распарсить