# Blog post about JSON Schema support

**URL:** <https://discuss.ai.google.dev/t/blog-post-about-json-schema-support/5178>\
**Category:** Community\
**Created:** [June 11, 2024, 3:17pm UTC](https://discuss.ai.google.dev/t/blog-post-about-json-schema-support/5178 "2024-06-11T15:17:05Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jkirstaetter](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/jkirstaetter/32/61_2.png) [@jkirstaetter](https://discuss.ai.google.dev/u/jkirstaetter)\
**Post date:** [January 17, 2025, 5:45am UTC](https://discuss.ai.google.dev/t/blog-post-about-json-schema-support/5178/2 "2025-01-17T05:45:08Z")

</div>

Hi @raymondcamden

Informative article, thanks for the write-up.

How did you come up with the JSON schemes? Wrote them manually or have them generated by a library? Asking because I’m facing an issue with nullable string properties and the generated value of `type` which is an array using multiple primitive types instead of a single one.

See here for more details.

> [@ResponseSchema and JSON Schema specs of "type" as array](https://discuss.ai.google.dev/t/responseschema-and-json-schema-specs-of-type-as-array/61211):
>
> Hi there, I’m facing an issue regarding the generation of JSON Schema used as value of GenerationConfig.ResponseSchema given the following scenario. The class is defined like this class Recipe { public string Name { get; set; } } Which is then passed into the property as a list / array in order to retrieve multiple suggestions from the Gemini API. var generationConfig = new GenerationConfig() { ResponseMimeType = "application/json", ResponseSchema = new List\<Recipe\>() }; The gen…

Cheers, JoKi

---

_[View the full topic](https://discuss.ai.google.dev/t/blog-post-about-json-schema-support/5178)._
