JsonSchema
class JsonSchema
Methods
static Type
fromArray(array $schema)
Build a type from a raw array of the Hypervel-supported JSON Schema subset.
static Type
__callStatic(string $name, array $arguments)
Dynamically pass static methods to the schema instance.
static ObjectType
object(Closure|array<string $, Type> $properties = '[]')
No description
static IntegerType
integer()
No description
static NumberType
number()
No description
static StringType
string()
No description
static BooleanType
boolean()
No description
Details
at line 38
static Type
fromArray(array $schema)
Build a type from a raw array of the Hypervel-supported JSON Schema subset.
at line 46
static Type
__callStatic(string $name, array $arguments)
Dynamically pass static methods to the schema instance.
at line 29
static ObjectType
object(Closure|array<string $, Type> $properties = '[]')
No description
at line 29
static AnyOfType
anyOf(Closure|array<int $, Type> $schemas)
No description
at line 29
static IntegerType
integer()
No description
at line 29
static NumberType
number()
No description
at line 29
static StringType
string()
No description
at line 29
static BooleanType
boolean()
No description
at line 29
static ArrayType
array()
No description
at line 29
static UnionType
union(array<int $, string> $types)
No description