Skip to content
Search
DSL · Json

schema_from_json_schema

Definition

/**
 * Convert a JSON Schema (https://json-schema.org) document into a Flow Schema.
 *
 * @param array<string, mixed>|Path|string $json_schema - decoded document, raw JSON document or a path to a schema file
 * @param null|ClientInterface $client - PSR-18 http client, required to resolve remote http(s) references
 * @param null|RequestFactoryInterface $request_factory - PSR-17 request factory, required to resolve remote http(s) references
 */
schema_from_json_schema(Path|array|string $json_schema, ?ClientInterface $client, ?RequestFactoryInterface $request_factory) : Schema

Contributors

Built in the open.

Join us on GitHub
scroll back to top