-
Beta Was this translation helpful? Give feedback.
Answered by
Julian
Sep 23, 2021
Replies: 1 comment 1 reply
-
You mean The error is telling you that your schema is invalid because the description validator, which is a validator in JSON Schema, requires a string, and you gave it something else, a dict, the dict Hope that helps. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
jrmcmah2
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You mean
{"properties": everything_you_have_there}
.The error is telling you that your schema is invalid because the description validator, which is a validator in JSON Schema, requires a string, and you gave it something else, a dict, the dict
{"type": "string}
. But you don't mean to use that validator at all, you're trying to define a property of your instance.Hope that helps.