63 lines
1.3 KiB
JSON
63 lines
1.3 KiB
JSON
|
|
{
|
||
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
||
|
|
"title": "MixedGenericStruct_for_MyStruct_for_int32_and_Null_and_Boolean_and_Array_of_String_and_42_and_z",
|
||
|
|
"type": "object",
|
||
|
|
"required": [
|
||
|
|
"foo",
|
||
|
|
"generic"
|
||
|
|
],
|
||
|
|
"properties": {
|
||
|
|
"foo": {
|
||
|
|
"type": "integer",
|
||
|
|
"format": "int32"
|
||
|
|
},
|
||
|
|
"generic": {
|
||
|
|
"$ref": "#/definitions/MyStruct_for_int32_and_Null_and_Boolean_and_Array_of_String"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"definitions": {
|
||
|
|
"MySimpleStruct": {
|
||
|
|
"type": "object",
|
||
|
|
"required": [
|
||
|
|
"foo"
|
||
|
|
],
|
||
|
|
"properties": {
|
||
|
|
"foo": {
|
||
|
|
"type": "integer",
|
||
|
|
"format": "int32"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"MyStruct_for_int32_and_Null_and_Boolean_and_Array_of_String": {
|
||
|
|
"type": "object",
|
||
|
|
"required": [
|
||
|
|
"inner",
|
||
|
|
"t",
|
||
|
|
"u",
|
||
|
|
"v",
|
||
|
|
"w"
|
||
|
|
],
|
||
|
|
"properties": {
|
||
|
|
"inner": {
|
||
|
|
"$ref": "#/definitions/MySimpleStruct"
|
||
|
|
},
|
||
|
|
"t": {
|
||
|
|
"type": "integer",
|
||
|
|
"format": "int32"
|
||
|
|
},
|
||
|
|
"u": {
|
||
|
|
"type": "null"
|
||
|
|
},
|
||
|
|
"v": {
|
||
|
|
"type": "boolean"
|
||
|
|
},
|
||
|
|
"w": {
|
||
|
|
"type": "array",
|
||
|
|
"items": {
|
||
|
|
"type": "string"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|