JsonSchema
interface JsonSchema (View source)
Methods
string()
Create a new string property instance.
integer()
Create a new integer property instance.
number()
Create a new number property instance.
boolean()
Create a new boolean property instance.
Details
ObjectType
object(Closure|array $properties = [])
Create a new object schema instance.
ArrayType
array()
Create a new array property instance.
StringType
string()
Create a new string property instance.
IntegerType
integer()
Create a new integer property instance.
NumberType
number()
Create a new number property instance.
BooleanType
boolean()
Create a new boolean property instance.
UnionType
union(array $types)
Create a new multi-type union instance.
Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.