JsonSchemaTypeFactory
class JsonSchemaTypeFactory extends JsonSchema implements JsonSchema
Methods
static Type
__callStatic(string $name, array $arguments)
Dynamically pass static methods to the schema instance.
from
JsonSchema
object(Type> $properties = [])
Create a new object schema instance.
integer()
Create a new integer property instance.
number()
Create a new number property instance.
string()
Create a new string property instance.
boolean()
Create a new boolean property instance.
Details
in
JsonSchema at line 23
static Type
__callStatic(string $name, array $arguments)
Dynamically pass static methods to the schema instance.
at line 17
ObjectType
object(Type> $properties = [])
Create a new object schema instance.
at line 45
IntegerType
integer()
Create a new integer property instance.
at line 53
NumberType
number()
Create a new number property instance.
at line 37
StringType
string()
Create a new string property instance.
at line 61
BooleanType
boolean()
Create a new boolean property instance.
at line 29
ArrayType
array()
Create a new array property instance.