pengwius
12/30/2025, 1:37 PMError: Input schema is not valid (Field schema.properties.products.items.amount is not matching any input schema type definition. Please make sure that it's type is valid.)
when I change amount type to integer it works perfectly fine, but it doesn't want to work when I change it to number. I need it to be number, because I want to accept floating-point numbers
https://cdn.discordapp.com/attachments/1206131794261315594/1455555336831504515/image.png?ex=6955cfcb&is=69547e4b&hm=4273cf36d1db3b0229b74c692172a29d0a87c88a1cf093e9026b2e2c14d2edab&
https://cdn.discordapp.com/attachments/1206131794261315594/1455555337380696229/image.png?ex=6955cfcb&is=69547e4b&hm=53bfe7b9e0addcca524200fe308b64df503494edf7881d9082b6b4d48c4af17d&sa5ky
12/31/2025, 4:28 AMnumber is not working unless editor is explicitly set to number .
It works partially when the editor is explicitly set to number with schemaBased
- when properties like type, properties, required and additionalProperties are set âś…
- but not when the items -> type is set directly ❌ like:
json
"items": {
"type": "number",
"editor": "number"
}