schema

fun schema(formSchema: Schema<*>, path: Path): Schema<*>(source)
fun schema(formSchema: Schema<*>, path: String): Schema<*>(source)

Returns the single schema within formSchema matching path.

To get information about all schemas matching a path use schemaInfo instead.

Throws

If path matches no schemas or more than one schema.