JSON 架构中是否有无符号整数

Is there an Unsigned Integer in JSON Schema

我刚刚创建了我的 JSON 模式,但我找不到是否有某种无符号整数。

JSON 架构中是否有可用的无符号整数类型?

不,没有。查看 the 'type' section 了解详情。但你可以做到

{
   "type" : "integer",
   "minimum" : 0
}