function getDraftToUse(localDraft, jsonSchemaDialect) {
  return localDraft ? localDraft : jsonSchemaDialect;
}
Defines the draft to use in validation

@param {string} localDraft - the draft from the schema object
@param {string} jsonSchemaDialect - the draft from the OAS object
@returns {string} the draft to use