Function resolveSchema

  • Resolve the given schema path in order to obtain a subschema.

    Parameters

    • schema: JsonSchema

      the root schema from which to start

    • schemaPath: string

      the schema path to be resolved

    • rootSchema: JsonSchema

      the actual root schema

    Returns JsonSchema

    the resolved sub-schema