@shopify/cli-kit
    Preparing search index...

    Function normaliseJsonSchema

    • Normalises a JSON Schema by standardising it's internal implementation.

      We prefer to not use $ref elements in our schemas, so we inline them; it's easier then to process errors.

      Parameters

      • schema: string

        The JSON schema (as a string) to normalise.

      Returns Promise<SchemaObject>

      The normalised JSON schema.