When parsing a schema of the following form:
{
"it": {
"properties": {
"question": {
"description": "The user's question",
"title": "Question",
"type": "string"
}
},
"required": [
"question"
],
"title": "it",
"type": "object"
}
}
The parsed result is of the form:
type: object
properties:
body:
type: string
description: The user's question
title: Question
required:
- body
instead of
type: object
properties:
body:
type: object
properties:
question:
type: string
description: The user's question
title: Question
required:
- question
required:
- body