=", "$" ] }, "array_enum" : { "type" : "array", "items" : { "type" : "string", "enum" : [ "fish", "crab" ] } } } } SCHEMA; /** @var string $justSymbol */ private $justSymbol; /** @var string[] $arrayEnum */ private $arrayEnum; /** * Returns model schema. * * @param bool $assoc When TRUE, returned objects will be converted into associative arrays. Default FALSE. * * @return array */ public static function getOpenApiSchema($assoc = false) { return json_decode(static::MODEL_SCHEMA, $assoc); } }